From fb2fda128e3246132a25fbadefcb2d59621bcd55 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 7 Jan 2022 18:52:12 +0000 Subject: [PATCH 01/18] chore: release 2.3.2-SNAPSHOT (#694) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- google-cloud-kms-bom/pom.xml | 8 ++++---- google-cloud-kms/pom.xml | 4 ++-- grpc-google-cloud-kms-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-kms-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/google-cloud-kms-bom/pom.xml b/google-cloud-kms-bom/pom.xml index bf4314c3..9022bd6a 100644 --- a/google-cloud-kms-bom/pom.xml +++ b/google-cloud-kms-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-kms-bom - 2.3.1 + 2.3.2-SNAPSHOT pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-kms - 2.3.1 + 2.3.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-kms-v1 - 0.94.1 + 0.94.2-SNAPSHOT com.google.api.grpc proto-google-cloud-kms-v1 - 0.94.1 + 0.94.2-SNAPSHOT diff --git a/google-cloud-kms/pom.xml b/google-cloud-kms/pom.xml index 620b9acd..d3dcdebd 100644 --- a/google-cloud-kms/pom.xml +++ b/google-cloud-kms/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-kms - 2.3.1 + 2.3.2-SNAPSHOT jar Google Cloud KMS https://github.com/googleapis/java-kms @@ -11,7 +11,7 @@ com.google.cloud google-cloud-kms-parent - 2.3.1 + 2.3.2-SNAPSHOT google-cloud-kms diff --git a/grpc-google-cloud-kms-v1/pom.xml b/grpc-google-cloud-kms-v1/pom.xml index 139eeb19..9b876c8c 100644 --- a/grpc-google-cloud-kms-v1/pom.xml +++ b/grpc-google-cloud-kms-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.94.1 + 0.94.2-SNAPSHOT grpc-google-cloud-kms-v1 GRPC library for grpc-google-cloud-kms-v1 com.google.cloud google-cloud-kms-parent - 2.3.1 + 2.3.2-SNAPSHOT diff --git a/pom.xml b/pom.xml index 38581228..9152ca39 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-kms-parent pom - 2.3.1 + 2.3.2-SNAPSHOT Google Cloud KMS Parent https://github.com/googleapis/java-kms @@ -61,17 +61,17 @@ com.google.api.grpc proto-google-cloud-kms-v1 - 0.94.1 + 0.94.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-kms-v1 - 0.94.1 + 0.94.2-SNAPSHOT com.google.cloud google-cloud-kms - 2.3.1 + 2.3.2-SNAPSHOT com.google.cloud diff --git a/proto-google-cloud-kms-v1/pom.xml b/proto-google-cloud-kms-v1/pom.xml index 57a805cb..4a37bb10 100644 --- a/proto-google-cloud-kms-v1/pom.xml +++ b/proto-google-cloud-kms-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-kms-v1 - 0.94.1 + 0.94.2-SNAPSHOT proto-google-cloud-kms-v1 PROTO library for proto-google-cloud-kms-v1 com.google.cloud google-cloud-kms-parent - 2.3.1 + 2.3.2-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index c34c284b..849a3c0f 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-kms - 2.3.1 + 2.3.2-SNAPSHOT diff --git a/versions.txt b/versions.txt index 8197cfe0..d94555ef 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-kms:2.3.1:2.3.1 -grpc-google-cloud-kms-v1:0.94.1:0.94.1 -proto-google-cloud-kms-v1:0.94.1:0.94.1 +google-cloud-kms:2.3.1:2.3.2-SNAPSHOT +grpc-google-cloud-kms-v1:0.94.1:0.94.2-SNAPSHOT +proto-google-cloud-kms-v1:0.94.1:0.94.2-SNAPSHOT From eadb1dfbc27dadff05348525310bcec6681c634c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 7 Jan 2022 19:54:11 +0100 Subject: [PATCH 02/18] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.4 (#690) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.2` -> `1.2.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.4/compatibility-slim/1.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.4/confidence-slim/1.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v1.2.4`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​124-httpswwwgithubcomgoogleapisjava-shared-configcomparev123v124-2022-01-06) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.3...v1.2.4) ### [`v1.2.3`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​123-httpswwwgithubcomgoogleapisjava-shared-configcomparev122v123-2022-01-04) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.2...v1.2.3)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-kms). --- google-cloud-kms-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-cloud-kms-bom/pom.xml b/google-cloud-kms-bom/pom.xml index 9022bd6a..ed505686 100644 --- a/google-cloud-kms-bom/pom.xml +++ b/google-cloud-kms-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.2 + 1.2.4 Google Cloud kms BOM From d57cb9b18fd795737ac5706a51c1ffc4da5d8442 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 10 Jan 2022 19:22:17 +0000 Subject: [PATCH 03/18] chore(owlbot-java): disable re-writing clirr file in owlbot java post-processor (#1320) (#697) --- .github/.OwlBot.lock.yaml | 2 +- .kokoro/build.sh | 10 +++++----- README.md | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 3d2f8282..20c6ee3c 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:a4d7b2cfc6a9d6b378a6b2458740eae15fcab28854bd23dad3a15102d2e47c87 + digest: sha256:efbfc5e9ff713005a037941f8ebcc0c69cc630e3ad934675ee26868705a30897 diff --git a/.kokoro/build.sh b/.kokoro/build.sh index e813dbaa..d8a66e08 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -47,15 +47,15 @@ set +e case ${JOB_TYPE} in test) - mvn test -B -Dclirr.skip=true -Denforcer.skip=true + mvn test -B -ntp -Dclirr.skip=true -Denforcer.skip=true RETURN_CODE=$? ;; lint) - mvn com.coveo:fmt-maven-plugin:check + mvn com.coveo:fmt-maven-plugin:check -B -ntp RETURN_CODE=$? ;; javadoc) - mvn javadoc:javadoc javadoc:test-javadoc + mvn javadoc:javadoc javadoc:test-javadoc -B -ntp RETURN_CODE=$? ;; integration) @@ -71,7 +71,7 @@ integration) ;; graalvm) # Run Unit and Integration Tests with Native Image - mvn -ntp -Pnative -Penable-integration-tests test + mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test RETURN_CODE=$? ;; samples) @@ -104,7 +104,7 @@ samples) fi ;; clirr) - mvn -B -Denforcer.skip=true clirr:check + mvn -B -ntp -Denforcer.skip=true clirr:check RETURN_CODE=$? ;; *) diff --git a/README.md b/README.md index 7a64b3b6..2d02d72e 100644 --- a/README.md +++ b/README.md @@ -57,13 +57,13 @@ implementation 'com.google.cloud:google-cloud-kms' If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-kms:2.3.0' +implementation 'com.google.cloud:google-cloud-kms:2.3.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "2.3.0" +libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "2.3.1" ``` ## Authentication From f46b833cf35819d31ee336d7fdff9cdd0d58b9ce Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Mon, 10 Jan 2022 18:54:27 -0500 Subject: [PATCH 04/18] chore: change name to api_shortname in .repo-metadata.json (#698) --- .repo-metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.repo-metadata.json b/.repo-metadata.json index 844c0ee3..32027c8e 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -1,5 +1,5 @@ { - "name": "cloudkms", + "api_shortname": "cloudkms", "name_pretty": "Cloud Key Management Service", "product_documentation": "https://cloud.google.com/kms", "client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-kms/latest/history", From 580cf742f747e9efdf277808bad710c58bc37211 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 11 Jan 2022 18:28:25 +0000 Subject: [PATCH 05/18] chore(java): update variable name to api_shortname in README template (#1323) (#699) --- .github/.OwlBot.lock.yaml | 2 +- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 20c6ee3c..dddb13b8 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:efbfc5e9ff713005a037941f8ebcc0c69cc630e3ad934675ee26868705a30897 + digest: sha256:7f737996c88586c499f7b0c25294c760f9f5eec092289a0e08d2d3f42a069ebb diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 58069ae0..81b0ae07 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -21,7 +21,7 @@ If you are still having issues, please include as much information as possible: General, Core, and Other are also allowed as types 2. OS type and version: 3. Java version: -4. cloudkms version(s): +4. version(s): #### Steps to reproduce diff --git a/README.md b/README.md index 2d02d72e..c7f4aa2b 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:24.1.2') +implementation platform('com.google.cloud:libraries-bom:24.2.0') implementation 'com.google.cloud:google-cloud-kms' ``` From a125547442b04db181dfb85089faae6bbf9471e5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 12 Jan 2022 18:02:27 +0100 Subject: [PATCH 06/18] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.5 (#700) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.4` -> `1.2.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.5/compatibility-slim/1.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.5/confidence-slim/1.2.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v1.2.5`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​125-httpsgithubcomgoogleapisjava-shared-configcomparev124v125-2022-01-11) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.4...v1.2.5)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-kms). --- google-cloud-kms-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-kms-bom/pom.xml b/google-cloud-kms-bom/pom.xml index ed505686..7212d42d 100644 --- a/google-cloud-kms-bom/pom.xml +++ b/google-cloud-kms-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.4 + 1.2.5 Google Cloud kms BOM diff --git a/pom.xml b/pom.xml index 9152ca39..e2499401 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.4 + 1.2.5 From e84883269e7d42cc23b62260e7162dd0f2ade711 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 13 Jan 2022 14:32:15 -0500 Subject: [PATCH 07/18] chore: update release-level in .repo-metadata.json (#703) --- .repo-metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.repo-metadata.json b/.repo-metadata.json index 32027c8e..20694ef9 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -4,7 +4,7 @@ "product_documentation": "https://cloud.google.com/kms", "client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-kms/latest/history", "issue_tracker": "https://issuetracker.google.com/savedsearches/5264932", - "release_level": "ga", + "release_level": "stable", "repo": "googleapis/java-kms", "repo_short": "java-kms", "distribution_name": "com.google.cloud:google-cloud-kms", From 781aab1f1d1276a64f8932fd2b6377008b4cc60a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 17 Jan 2022 19:20:35 +0100 Subject: [PATCH 08/18] chore(deps): update dependency com.google.cloud:google-cloud-kms-bom to v2.3.1 (#695) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-kms-bom](https://togithub.com/googleapis/java-kms) | `2.3.0` -> `2.3.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-kms-bom/2.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-kms-bom/2.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-kms-bom/2.3.1/compatibility-slim/2.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-kms-bom/2.3.1/confidence-slim/2.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-kms ### [`v2.3.1`](https://togithub.com/googleapis/java-kms/blob/HEAD/CHANGELOG.md#​231-httpswwwgithubcomgoogleapisjava-kmscomparev230v231-2022-01-07) [Compare Source](https://togithub.com/googleapis/java-kms/compare/v2.3.0...v2.3.1)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-kms). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e2499401..f670fea4 100644 --- a/pom.xml +++ b/pom.xml @@ -76,7 +76,7 @@ com.google.cloud google-cloud-kms-bom - 2.3.0 + 2.3.1 From 00b8a5a00ed546d19c58c76553db83b4a461d6b6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 17 Jan 2022 19:24:14 +0100 Subject: [PATCH 09/18] chore(deps): update dependency com.google.cloud:google-cloud-kms to v2.3.1 (#696) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-kms](https://togithub.com/googleapis/java-kms) | `2.3.0` -> `2.3.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-kms/2.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-kms/2.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-kms/2.3.1/compatibility-slim/2.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-kms/2.3.1/confidence-slim/2.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-kms ### [`v2.3.1`](https://togithub.com/googleapis/java-kms/blob/HEAD/CHANGELOG.md#​231-httpswwwgithubcomgoogleapisjava-kmscomparev230v231-2022-01-07) [Compare Source](https://togithub.com/googleapis/java-kms/compare/v2.3.0...v2.3.1)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-kms). --- README.md | 2 +- samples/install-without-bom/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c7f4aa2b..0501809a 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-kms - 2.3.0 + 2.3.1 ``` diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 765997e2..e9f925cd 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-kms - 2.3.0 + 2.3.1 From 13f2fd3f8fd0a3f1ddadd3280b244c9f3a6f0dcf Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 17 Jan 2022 21:20:19 +0000 Subject: [PATCH 10/18] chore(java): update release_type choices to stable and preview (#1331) (#704) --- .github/.OwlBot.lock.yaml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index dddb13b8..dcdda8c6 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:7f737996c88586c499f7b0c25294c760f9f5eec092289a0e08d2d3f42a069ebb + digest: sha256:9669c169d0582f13d6b2d319a43a78fc49f296a883aa48519bd0e5c7d34087c4 diff --git a/README.md b/README.md index 0501809a..434c520b 100644 --- a/README.md +++ b/README.md @@ -243,7 +243,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-kms/java8-win.html [kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-kms/java11.svg [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-kms/java11.html -[stability-image]: https://img.shields.io/badge/stability-ga-green +[stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-kms.svg [maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-kms&core=gav [authentication]: https://github.com/googleapis/google-cloud-java#authentication From 063ad1e7b9e0d329f6fe991503665f77b5096188 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Jan 2022 20:02:34 +0100 Subject: [PATCH 11/18] build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.3.0 (#693) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.codehaus.mojo:build-helper-maven-plugin](http://www.mojohaus.org/build-helper-maven-plugin/) ([source](https://togithub.com/mojohaus/build-helper-maven-plugin)) | `3.2.0` -> `3.3.0` | [![age](https://badges.renovateapi.com/packages/maven/org.codehaus.mojo:build-helper-maven-plugin/3.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.codehaus.mojo:build-helper-maven-plugin/3.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.codehaus.mojo:build-helper-maven-plugin/3.3.0/compatibility-slim/3.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.codehaus.mojo:build-helper-maven-plugin/3.3.0/confidence-slim/3.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-kms). --- 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 e9f925cd..2af99ea7 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -58,7 +58,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.2.0 + 3.3.0 add-snippets-source diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 849a3c0f..67c13b19 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -57,7 +57,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.2.0 + 3.3.0 add-snippets-source From 9407c6d4aca50fd22025fd7cb368e34c69ce06bd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 20 Jan 2022 02:35:14 +0100 Subject: [PATCH 12/18] deps: update dependency com.google.protobuf:protobuf-java-util to v3.19.3 (#701) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * deps: update dependency com.google.protobuf:protobuf-java-util to v3.19.3 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- 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 2af99ea7..4816053b 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -36,7 +36,7 @@ com.google.protobuf protobuf-java-util - 3.19.2 + 3.19.3 junit diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 67c13b19..86e54237 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -35,7 +35,7 @@ com.google.protobuf protobuf-java-util - 3.19.2 + 3.19.3 junit From 4388e447c7c9e0c5b4214f9b511c65ecc1b09d4e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 Jan 2022 00:14:21 +0100 Subject: [PATCH 13/18] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.6 (#707) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.5` -> `1.2.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.6/compatibility-slim/1.2.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.6/confidence-slim/1.2.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v1.2.6`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​126-httpsgithubcomgoogleapisjava-shared-configcomparev125v126-2022-01-19) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.5...v1.2.6)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-kms). --- google-cloud-kms-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-kms-bom/pom.xml b/google-cloud-kms-bom/pom.xml index 7212d42d..a16010bd 100644 --- a/google-cloud-kms-bom/pom.xml +++ b/google-cloud-kms-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.5 + 1.2.6 Google Cloud kms BOM diff --git a/pom.xml b/pom.xml index f670fea4..31de90f7 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.5 + 1.2.6 From 34baff6a551778e1490280353b0edddffff7078e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 1 Feb 2022 04:42:33 +0100 Subject: [PATCH 14/18] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 (#711) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.6.0` -> `2.7.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.7.0/compatibility-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.7.0/confidence-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v2.7.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​270-httpsgithubcomgoogleapisjava-shared-dependenciescomparev260v270-2022-01-28) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.6.0...v2.7.0) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.13.1 ([#​555](https://togithub.com/googleapis/java-shared-dependencies/issues/555)) ([67b5663](https://togithub.com/googleapis/java-shared-dependencies/commit/67b56635509215fd132b2ffbcaed995a6de93879)) - update dependency com.google.api-client:google-api-client-bom to v1.33.1 ([#​580](https://togithub.com/googleapis/java-shared-dependencies/issues/580)) ([895dba2](https://togithub.com/googleapis/java-shared-dependencies/commit/895dba2afef6c295b0e21a4ccd27feee1b6af8e2)) - update dependency com.google.api:api-common to v2.1.3 ([#​587](https://togithub.com/googleapis/java-shared-dependencies/issues/587)) ([5dbbce8](https://togithub.com/googleapis/java-shared-dependencies/commit/5dbbce80baa045818757912e6db4f222c12b75f6)) - update dependency com.google.auth:google-auth-library-bom to v1.4.0 ([#​578](https://togithub.com/googleapis/java-shared-dependencies/issues/578)) ([c274c62](https://togithub.com/googleapis/java-shared-dependencies/commit/c274c62905192bcc48c82104bf50cbeaa1894c2b)) - update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#​582](https://togithub.com/googleapis/java-shared-dependencies/issues/582)) ([314da38](https://togithub.com/googleapis/java-shared-dependencies/commit/314da38c9f12cf425b5d1be8297e9f2a78d13948)) - update dependency com.google.http-client:google-http-client-bom to v1.41.2 ([#​579](https://togithub.com/googleapis/java-shared-dependencies/issues/579)) ([c8df06d](https://togithub.com/googleapis/java-shared-dependencies/commit/c8df06ddb3f4a975e928bbdd9dfae293e81efa39)) - update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.0 ([#​576](https://togithub.com/googleapis/java-shared-dependencies/issues/576)) ([3315988](https://togithub.com/googleapis/java-shared-dependencies/commit/3315988059ca0223f078b0f760960674bfa8c04a)) - update dependency com.google.protobuf:protobuf-bom to v3.19.3 ([#​571](https://togithub.com/googleapis/java-shared-dependencies/issues/571)) ([c1931e1](https://togithub.com/googleapis/java-shared-dependencies/commit/c1931e1c4611ca3d1e2afac1c9e983cf1ec4a7de)) - update dependency io.grpc:grpc-bom to v1.44.0 ([#​586](https://togithub.com/googleapis/java-shared-dependencies/issues/586)) ([52c47b7](https://togithub.com/googleapis/java-shared-dependencies/commit/52c47b7425af438ba1a82dac87f9002353a6a87a)) - update dependency org.checkerframework:checker-qual to v3.21.1 ([#​554](https://togithub.com/googleapis/java-shared-dependencies/issues/554)) ([81bbb91](https://togithub.com/googleapis/java-shared-dependencies/commit/81bbb91774ab67161371bfd0dfd143de89dee4c9)) - update gax.version to v2.11.0 ([#​581](https://togithub.com/googleapis/java-shared-dependencies/issues/581)) ([1899612](https://togithub.com/googleapis/java-shared-dependencies/commit/189961226f84cdd4e283780d2c7d4a4dffc3e00c)) - update gax.version to v2.9.0 ([#​573](https://togithub.com/googleapis/java-shared-dependencies/issues/573)) ([ee5e38e](https://togithub.com/googleapis/java-shared-dependencies/commit/ee5e38efea574eeb2b5803192da98ba1ce1c8e6e)) - update google.common-protos.version to v2.7.2 ([#​588](https://togithub.com/googleapis/java-shared-dependencies/issues/588)) ([caac0e6](https://togithub.com/googleapis/java-shared-dependencies/commit/caac0e68e336b801becb6322b5b81fce1824ad8a)) - update google.core.version to v2.4.0 ([#​589](https://togithub.com/googleapis/java-shared-dependencies/issues/589)) ([6a292e3](https://togithub.com/googleapis/java-shared-dependencies/commit/6a292e3530a06d6b228f3154ed4e979ef68d7aeb)) - update iam.version to v1.2.1 ([#​569](https://togithub.com/googleapis/java-shared-dependencies/issues/569)) ([62dd270](https://togithub.com/googleapis/java-shared-dependencies/commit/62dd2705b257c4bb539bfe619234f38d0e13b138)) - update opencensus.version to v0.30.0 ([#​552](https://togithub.com/googleapis/java-shared-dependencies/issues/552)) ([ebae62e](https://togithub.com/googleapis/java-shared-dependencies/commit/ebae62eca75234db4fd571f42b8ed0f6ce1bd1f7)) - update opencensus.version to v0.31.0 ([#​585](https://togithub.com/googleapis/java-shared-dependencies/issues/585)) ([021b066](https://togithub.com/googleapis/java-shared-dependencies/commit/021b066a833af1629c89fcca593d16b9786ee0bf))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-kms). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 31de90f7..5a6abf94 100644 --- a/pom.xml +++ b/pom.xml @@ -82,7 +82,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.6.0 + 2.7.0 pom import From cfbfc034039efec3d0e2987b3642dd3425a456e1 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 2 Feb 2022 04:52:49 +0000 Subject: [PATCH 15/18] deps(java): update actions/github-script action to v5 (#1339) (#708) --- .github/.OwlBot.lock.yaml | 15 ++++++++++++++- .github/workflows/approve-readme.yaml | 2 +- .github/workflows/auto-release.yaml | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index dcdda8c6..be3b9bde 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,16 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# 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. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:9669c169d0582f13d6b2d319a43a78fc49f296a883aa48519bd0e5c7d34087c4 + digest: sha256:7062473f423f339256346ddbee3d81fb1de6b784fabc2a4d959d7df2c720e375 diff --git a/.github/workflows/approve-readme.yaml b/.github/workflows/approve-readme.yaml index 7513acae..c5132427 100644 --- a/.github/workflows/approve-readme.yaml +++ b/.github/workflows/approve-readme.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' steps: - - uses: actions/github-script@v3 + - uses: actions/github-script@v5 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} script: | diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index 9b4fd4d8..59c7cadd 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: contains(github.head_ref, 'release-please') steps: - - uses: actions/github-script@v3 + - uses: actions/github-script@v5 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} debug: true From 659a2323a6964ffa8b7ff30d2f1ff8b53b4ac76f Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 3 Feb 2022 00:02:19 -0500 Subject: [PATCH 16/18] feat: add a new EkmService API (#712) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add a new EkmService API PiperOrigin-RevId: 425982419 Source-Link: https://github.com/googleapis/googleapis/commit/8dff5691cc4d4a0c61af8cdef85b6460ae560f0d Source-Link: https://github.com/googleapis/googleapis-gen/commit/b1538df1643922606d00ec0365c1e0a51bfbcabf Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjE1MzhkZjE2NDM5MjI2MDZkMDBlYzAzNjVjMWUwYTUxYmZiY2FiZiJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../google/cloud/kms/v1/EkmServiceClient.java | 889 ++++ .../cloud/kms/v1/EkmServiceSettings.java | 258 ++ .../kms/v1/KeyManagementServiceClient.java | 8 +- .../google/cloud/kms/v1/gapic_metadata.json | 30 + .../com/google/cloud/kms/v1/package-info.java | 20 + .../cloud/kms/v1/stub/EkmServiceStub.java | 82 + .../kms/v1/stub/EkmServiceStubSettings.java | 513 +++ .../stub/GrpcEkmServiceCallableFactory.java | 113 + .../cloud/kms/v1/stub/GrpcEkmServiceStub.java | 376 ++ .../cloud/kms/v1/EkmServiceClientTest.java | 560 +++ .../v1/KeyManagementServiceClientTest.java | 21 + .../google/cloud/kms/v1/MockEkmService.java | 59 + .../cloud/kms/v1/MockEkmServiceImpl.java | 145 + .../google/cloud/kms/v1/EkmServiceGrpc.java | 725 ++++ .../kms/v1/KeyManagementServiceGrpc.java | 528 ++- .../kms/v1/AsymmetricDecryptRequest.java | 431 +- .../v1/AsymmetricDecryptRequestOrBuilder.java | 107 +- .../kms/v1/AsymmetricDecryptResponse.java | 378 +- .../AsymmetricDecryptResponseOrBuilder.java | 94 +- .../cloud/kms/v1/AsymmetricSignRequest.java | 866 ++-- .../v1/AsymmetricSignRequestOrBuilder.java | 216 +- .../cloud/kms/v1/AsymmetricSignResponse.java | 486 ++- .../v1/AsymmetricSignResponseOrBuilder.java | 122 +- .../com/google/cloud/kms/v1/Certificate.java | 2328 +++++++++++ .../cloud/kms/v1/CertificateOrBuilder.java | 310 ++ .../cloud/kms/v1/CreateCryptoKeyRequest.java | 106 +- .../v1/CreateCryptoKeyRequestOrBuilder.java | 26 +- .../kms/v1/CreateCryptoKeyVersionRequest.java | 77 +- ...reateCryptoKeyVersionRequestOrBuilder.java | 19 +- .../kms/v1/CreateEkmConnectionRequest.java | 1163 ++++++ .../CreateEkmConnectionRequestOrBuilder.java | 129 + .../cloud/kms/v1/CreateImportJobRequest.java | 63 +- .../v1/CreateImportJobRequestOrBuilder.java | 15 +- .../cloud/kms/v1/CreateKeyRingRequest.java | 63 +- .../kms/v1/CreateKeyRingRequestOrBuilder.java | 15 +- .../com/google/cloud/kms/v1/CryptoKey.java | 1085 +++-- .../cloud/kms/v1/CryptoKeyOrBuilder.java | 239 +- .../google/cloud/kms/v1/CryptoKeyVersion.java | 694 ++-- .../kms/v1/CryptoKeyVersionOrBuilder.java | 150 +- .../kms/v1/CryptoKeyVersionTemplate.java | 132 +- .../v1/CryptoKeyVersionTemplateOrBuilder.java | 32 +- .../google/cloud/kms/v1/DecryptRequest.java | 797 ++-- .../cloud/kms/v1/DecryptRequestOrBuilder.java | 199 +- .../google/cloud/kms/v1/DecryptResponse.java | 382 +- .../kms/v1/DecryptResponseOrBuilder.java | 95 +- .../v1/DestroyCryptoKeyVersionRequest.java | 27 +- ...stroyCryptoKeyVersionRequestOrBuilder.java | 6 +- .../google/cloud/kms/v1/EkmConnection.java | 3578 +++++++++++++++++ .../cloud/kms/v1/EkmConnectionName.java | 227 ++ .../cloud/kms/v1/EkmConnectionOrBuilder.java | 202 + .../google/cloud/kms/v1/EkmServiceProto.java | 253 ++ .../google/cloud/kms/v1/EncryptRequest.java | 940 +++-- .../cloud/kms/v1/EncryptRequestOrBuilder.java | 236 +- .../google/cloud/kms/v1/EncryptResponse.java | 504 ++- .../kms/v1/EncryptResponseOrBuilder.java | 127 +- .../v1/ExternalProtectionLevelOptions.java | 235 +- ...ternalProtectionLevelOptionsOrBuilder.java | 37 +- .../kms/v1/GenerateRandomBytesRequest.java | 48 +- .../GenerateRandomBytesRequestOrBuilder.java | 12 +- .../kms/v1/GenerateRandomBytesResponse.java | 270 +- .../GenerateRandomBytesResponseOrBuilder.java | 66 +- .../cloud/kms/v1/GetCryptoKeyRequest.java | 27 +- .../kms/v1/GetCryptoKeyRequestOrBuilder.java | 6 +- .../kms/v1/GetCryptoKeyVersionRequest.java | 27 +- .../GetCryptoKeyVersionRequestOrBuilder.java | 6 +- .../cloud/kms/v1/GetEkmConnectionRequest.java | 656 +++ .../v1/GetEkmConnectionRequestOrBuilder.java | 56 + .../cloud/kms/v1/GetImportJobRequest.java | 27 +- .../kms/v1/GetImportJobRequestOrBuilder.java | 6 +- .../cloud/kms/v1/GetKeyRingRequest.java | 27 +- .../kms/v1/GetKeyRingRequestOrBuilder.java | 6 +- .../cloud/kms/v1/GetPublicKeyRequest.java | 34 +- .../kms/v1/GetPublicKeyRequestOrBuilder.java | 8 +- .../kms/v1/ImportCryptoKeyVersionRequest.java | 316 +- ...mportCryptoKeyVersionRequestOrBuilder.java | 90 +- .../com/google/cloud/kms/v1/ImportJob.java | 504 ++- .../cloud/kms/v1/ImportJobOrBuilder.java | 103 +- .../cloud/kms/v1/KeyOperationAttestation.java | 1895 ++++++++- .../v1/KeyOperationAttestationOrBuilder.java | 42 + .../java/com/google/cloud/kms/v1/KeyRing.java | 63 +- .../google/cloud/kms/v1/KeyRingOrBuilder.java | 15 +- .../cloud/kms/v1/KmsResourcesProto.java | 293 +- .../kms/v1/ListCryptoKeyVersionsRequest.java | 75 +- ...ListCryptoKeyVersionsRequestOrBuilder.java | 18 +- .../kms/v1/ListCryptoKeyVersionsResponse.java | 46 +- ...istCryptoKeyVersionsResponseOrBuilder.java | 11 +- .../cloud/kms/v1/ListCryptoKeysRequest.java | 78 +- .../v1/ListCryptoKeysRequestOrBuilder.java | 19 +- .../cloud/kms/v1/ListCryptoKeysResponse.java | 39 +- .../v1/ListCryptoKeysResponseOrBuilder.java | 9 +- .../kms/v1/ListEkmConnectionsRequest.java | 1364 +++++++ .../ListEkmConnectionsRequestOrBuilder.java | 166 + .../kms/v1/ListEkmConnectionsResponse.java | 1241 ++++++ .../ListEkmConnectionsResponseOrBuilder.java | 120 + .../cloud/kms/v1/ListImportJobsRequest.java | 78 +- .../v1/ListImportJobsRequestOrBuilder.java | 19 +- .../cloud/kms/v1/ListImportJobsResponse.java | 39 +- .../v1/ListImportJobsResponseOrBuilder.java | 9 +- .../cloud/kms/v1/ListKeyRingsRequest.java | 71 +- .../kms/v1/ListKeyRingsRequestOrBuilder.java | 17 +- .../cloud/kms/v1/ListKeyRingsResponse.java | 39 +- .../kms/v1/ListKeyRingsResponseOrBuilder.java | 9 +- .../google/cloud/kms/v1/LocationMetadata.java | 30 +- .../kms/v1/LocationMetadataOrBuilder.java | 6 +- .../google/cloud/kms/v1/MacSignRequest.java | 410 +- .../cloud/kms/v1/MacSignRequestOrBuilder.java | 102 +- .../google/cloud/kms/v1/MacSignResponse.java | 406 +- .../kms/v1/MacSignResponseOrBuilder.java | 102 +- .../google/cloud/kms/v1/MacVerifyRequest.java | 750 ++-- .../kms/v1/MacVerifyRequestOrBuilder.java | 187 +- .../cloud/kms/v1/MacVerifyResponse.java | 259 +- .../kms/v1/MacVerifyResponseOrBuilder.java | 66 +- .../google/cloud/kms/v1/ProtectionLevel.java | 28 +- .../com/google/cloud/kms/v1/PublicKey.java | 239 +- .../cloud/kms/v1/PublicKeyOrBuilder.java | 61 +- .../v1/RestoreCryptoKeyVersionRequest.java | 27 +- ...storeCryptoKeyVersionRequestOrBuilder.java | 6 +- .../UpdateCryptoKeyPrimaryVersionRequest.java | 48 +- ...yptoKeyPrimaryVersionRequestOrBuilder.java | 12 +- .../cloud/kms/v1/UpdateCryptoKeyRequest.java | 6 +- .../kms/v1/UpdateCryptoKeyVersionRequest.java | 42 +- ...pdateCryptoKeyVersionRequestOrBuilder.java | 9 +- .../kms/v1/UpdateEkmConnectionRequest.java | 1053 +++++ .../UpdateEkmConnectionRequestOrBuilder.java | 107 + .../google/cloud/kms/v1/ekm_service.proto | 293 ++ .../proto/google/cloud/kms/v1/resources.proto | 551 ++- .../proto/google/cloud/kms/v1/service.proto | 1293 +++--- 127 files changed, 29230 insertions(+), 6451 deletions(-) create mode 100644 google-cloud-kms/src/main/java/com/google/cloud/kms/v1/EkmServiceClient.java create mode 100644 google-cloud-kms/src/main/java/com/google/cloud/kms/v1/EkmServiceSettings.java create mode 100644 google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/EkmServiceStub.java create mode 100644 google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/EkmServiceStubSettings.java create mode 100644 google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcEkmServiceCallableFactory.java create mode 100644 google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcEkmServiceStub.java create mode 100644 google-cloud-kms/src/test/java/com/google/cloud/kms/v1/EkmServiceClientTest.java create mode 100644 google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockEkmService.java create mode 100644 google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockEkmServiceImpl.java create mode 100644 grpc-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmServiceGrpc.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/Certificate.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CertificateOrBuilder.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateEkmConnectionRequest.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateEkmConnectionRequestOrBuilder.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmConnection.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmConnectionName.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmConnectionOrBuilder.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmServiceProto.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetEkmConnectionRequest.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetEkmConnectionRequestOrBuilder.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsRequest.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsRequestOrBuilder.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsResponse.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsResponseOrBuilder.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateEkmConnectionRequest.java create mode 100644 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateEkmConnectionRequestOrBuilder.java create mode 100644 proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/ekm_service.proto diff --git a/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/EkmServiceClient.java b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/EkmServiceClient.java new file mode 100644 index 00000000..61b470ee --- /dev/null +++ b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/EkmServiceClient.java @@ -0,0 +1,889 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://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. + */ + +package com.google.cloud.kms.v1; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.kms.v1.stub.EkmServiceStub; +import com.google.cloud.kms.v1.stub.EkmServiceStubSettings; +import com.google.common.util.concurrent.MoreExecutors; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.protobuf.FieldMask; +import java.io.IOException; +import java.util.List; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: Google Cloud Key Management EKM Service + * + *

Manages external cryptographic keys and operations using those keys. Implements a REST model + * with the following objects: + * + *

    + *
  • [EkmConnection][google.cloud.kms.v1.EkmConnection] + *
+ * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

{@code
+ * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+ *   EkmConnectionName name = EkmConnectionName.of("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]");
+ *   EkmConnection response = ekmServiceClient.getEkmConnection(name);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the EkmServiceClient object to clean up resources such as + * threads. In the example above, try-with-resources is used, which automatically calls close(). + * + *

The surface of this class includes several types of Java methods for each of the API's + * methods: + * + *

    + *
  1. A "flattened" method. With this type of method, the fields of the request type have been + * converted into function parameters. It may be the case that not all fields are available as + * parameters, and not every API method will have a flattened method entry point. + *
  2. A "request object" method. This type of method only takes one parameter, a request object, + * which must be constructed before the call. Not every API method will have a request object + * method. + *
  3. A "callable" method. This type of method takes no parameters and returns an immutable API + * callable object, which can be used to initiate calls to the service. + *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of EkmServiceSettings to + * create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * EkmServiceSettings ekmServiceSettings =
+ *     EkmServiceSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * EkmServiceClient ekmServiceClient = EkmServiceClient.create(ekmServiceSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * EkmServiceSettings ekmServiceSettings =
+ *     EkmServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * EkmServiceClient ekmServiceClient = EkmServiceClient.create(ekmServiceSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class EkmServiceClient implements BackgroundResource { + private final EkmServiceSettings settings; + private final EkmServiceStub stub; + + /** Constructs an instance of EkmServiceClient with default settings. */ + public static final EkmServiceClient create() throws IOException { + return create(EkmServiceSettings.newBuilder().build()); + } + + /** + * Constructs an instance of EkmServiceClient, using the given settings. The channels are created + * based on the settings passed in, or defaults for any settings that are not set. + */ + public static final EkmServiceClient create(EkmServiceSettings settings) throws IOException { + return new EkmServiceClient(settings); + } + + /** + * Constructs an instance of EkmServiceClient, using the given stub for making calls. This is for + * advanced usage - prefer using create(EkmServiceSettings). + */ + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public static final EkmServiceClient create(EkmServiceStub stub) { + return new EkmServiceClient(stub); + } + + /** + * Constructs an instance of EkmServiceClient, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected EkmServiceClient(EkmServiceSettings settings) throws IOException { + this.settings = settings; + this.stub = ((EkmServiceStubSettings) settings.getStubSettings()).createStub(); + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + protected EkmServiceClient(EkmServiceStub stub) { + this.settings = null; + this.stub = stub; + } + + public final EkmServiceSettings getSettings() { + return settings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public EkmServiceStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   for (EkmConnection element : ekmServiceClient.listEkmConnections(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The resource name of the location associated with the + * [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format + * `projects/*/locations/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListEkmConnectionsPagedResponse listEkmConnections(LocationName parent) { + ListEkmConnectionsRequest request = + ListEkmConnectionsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listEkmConnections(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   for (EkmConnection element : ekmServiceClient.listEkmConnections(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The resource name of the location associated with the + * [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format + * `projects/*/locations/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListEkmConnectionsPagedResponse listEkmConnections(String parent) { + ListEkmConnectionsRequest request = + ListEkmConnectionsRequest.newBuilder().setParent(parent).build(); + return listEkmConnections(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   ListEkmConnectionsRequest request =
+   *       ListEkmConnectionsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setFilter("filter-1274492040")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .build();
+   *   for (EkmConnection element : ekmServiceClient.listEkmConnections(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @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 ListEkmConnectionsPagedResponse listEkmConnections( + ListEkmConnectionsRequest request) { + return listEkmConnectionsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   ListEkmConnectionsRequest request =
+   *       ListEkmConnectionsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setFilter("filter-1274492040")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .build();
+   *   ApiFuture future =
+   *       ekmServiceClient.listEkmConnectionsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (EkmConnection element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listEkmConnectionsPagedCallable() { + return stub.listEkmConnectionsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   ListEkmConnectionsRequest request =
+   *       ListEkmConnectionsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setFilter("filter-1274492040")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .build();
+   *   while (true) {
+   *     ListEkmConnectionsResponse response =
+   *         ekmServiceClient.listEkmConnectionsCallable().call(request);
+   *     for (EkmConnection element : response.getResponsesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listEkmConnectionsCallable() { + return stub.listEkmConnectionsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns metadata for a given [EkmConnection][google.cloud.kms.v1.EkmConnection]. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   EkmConnectionName name = EkmConnectionName.of("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]");
+   *   EkmConnection response = ekmServiceClient.getEkmConnection(name);
+   * }
+   * }
+ * + * @param name Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the + * [EkmConnection][google.cloud.kms.v1.EkmConnection] to get. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final EkmConnection getEkmConnection(EkmConnectionName name) { + GetEkmConnectionRequest request = + GetEkmConnectionRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getEkmConnection(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns metadata for a given [EkmConnection][google.cloud.kms.v1.EkmConnection]. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   String name = EkmConnectionName.of("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]").toString();
+   *   EkmConnection response = ekmServiceClient.getEkmConnection(name);
+   * }
+   * }
+ * + * @param name Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the + * [EkmConnection][google.cloud.kms.v1.EkmConnection] to get. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final EkmConnection getEkmConnection(String name) { + GetEkmConnectionRequest request = GetEkmConnectionRequest.newBuilder().setName(name).build(); + return getEkmConnection(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns metadata for a given [EkmConnection][google.cloud.kms.v1.EkmConnection]. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   GetEkmConnectionRequest request =
+   *       GetEkmConnectionRequest.newBuilder()
+   *           .setName(
+   *               EkmConnectionName.of("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]").toString())
+   *           .build();
+   *   EkmConnection response = ekmServiceClient.getEkmConnection(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 EkmConnection getEkmConnection(GetEkmConnectionRequest request) { + return getEkmConnectionCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns metadata for a given [EkmConnection][google.cloud.kms.v1.EkmConnection]. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   GetEkmConnectionRequest request =
+   *       GetEkmConnectionRequest.newBuilder()
+   *           .setName(
+   *               EkmConnectionName.of("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       ekmServiceClient.getEkmConnectionCallable().futureCall(request);
+   *   // Do something.
+   *   EkmConnection response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getEkmConnectionCallable() { + return stub.getEkmConnectionCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given Project and + * Location. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   String ekmConnectionId = "ekmConnectionId-445017408";
+   *   EkmConnection ekmConnection = EkmConnection.newBuilder().build();
+   *   EkmConnection response =
+   *       ekmServiceClient.createEkmConnection(parent, ekmConnectionId, ekmConnection);
+   * }
+   * }
+ * + * @param parent Required. The resource name of the location associated with the + * [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format + * `projects/*/locations/*`. + * @param ekmConnectionId Required. It must be unique within a location and match the regular + * expression `[a-zA-Z0-9_-]{1,63}`. + * @param ekmConnection Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with + * initial field values. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final EkmConnection createEkmConnection( + LocationName parent, String ekmConnectionId, EkmConnection ekmConnection) { + CreateEkmConnectionRequest request = + CreateEkmConnectionRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setEkmConnectionId(ekmConnectionId) + .setEkmConnection(ekmConnection) + .build(); + return createEkmConnection(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given Project and + * Location. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   String ekmConnectionId = "ekmConnectionId-445017408";
+   *   EkmConnection ekmConnection = EkmConnection.newBuilder().build();
+   *   EkmConnection response =
+   *       ekmServiceClient.createEkmConnection(parent, ekmConnectionId, ekmConnection);
+   * }
+   * }
+ * + * @param parent Required. The resource name of the location associated with the + * [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format + * `projects/*/locations/*`. + * @param ekmConnectionId Required. It must be unique within a location and match the regular + * expression `[a-zA-Z0-9_-]{1,63}`. + * @param ekmConnection Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with + * initial field values. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final EkmConnection createEkmConnection( + String parent, String ekmConnectionId, EkmConnection ekmConnection) { + CreateEkmConnectionRequest request = + CreateEkmConnectionRequest.newBuilder() + .setParent(parent) + .setEkmConnectionId(ekmConnectionId) + .setEkmConnection(ekmConnection) + .build(); + return createEkmConnection(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given Project and + * Location. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   CreateEkmConnectionRequest request =
+   *       CreateEkmConnectionRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setEkmConnectionId("ekmConnectionId-445017408")
+   *           .setEkmConnection(EkmConnection.newBuilder().build())
+   *           .build();
+   *   EkmConnection response = ekmServiceClient.createEkmConnection(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 EkmConnection createEkmConnection(CreateEkmConnectionRequest request) { + return createEkmConnectionCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given Project and + * Location. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   CreateEkmConnectionRequest request =
+   *       CreateEkmConnectionRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setEkmConnectionId("ekmConnectionId-445017408")
+   *           .setEkmConnection(EkmConnection.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       ekmServiceClient.createEkmConnectionCallable().futureCall(request);
+   *   // Do something.
+   *   EkmConnection response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + createEkmConnectionCallable() { + return stub.createEkmConnectionCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   EkmConnection ekmConnection = EkmConnection.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   EkmConnection response = ekmServiceClient.updateEkmConnection(ekmConnection, updateMask);
+   * }
+   * }
+ * + * @param ekmConnection Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated + * values. + * @param updateMask Required. List of fields to be updated in this request. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final EkmConnection updateEkmConnection( + EkmConnection ekmConnection, FieldMask updateMask) { + UpdateEkmConnectionRequest request = + UpdateEkmConnectionRequest.newBuilder() + .setEkmConnection(ekmConnection) + .setUpdateMask(updateMask) + .build(); + return updateEkmConnection(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   UpdateEkmConnectionRequest request =
+   *       UpdateEkmConnectionRequest.newBuilder()
+   *           .setEkmConnection(EkmConnection.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   EkmConnection response = ekmServiceClient.updateEkmConnection(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 EkmConnection updateEkmConnection(UpdateEkmConnectionRequest request) { + return updateEkmConnectionCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   UpdateEkmConnectionRequest request =
+   *       UpdateEkmConnectionRequest.newBuilder()
+   *           .setEkmConnection(EkmConnection.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       ekmServiceClient.updateEkmConnectionCallable().futureCall(request);
+   *   // Do something.
+   *   EkmConnection response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + updateEkmConnectionCallable() { + return stub.updateEkmConnectionCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on the specified resource. Replacesany existing policy. + * + *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   SetIamPolicyRequest request =
+   *       SetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]")
+   *                   .toString())
+   *           .setPolicy(Policy.newBuilder().build())
+   *           .build();
+   *   Policy response = ekmServiceClient.setIamPolicy(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 Policy setIamPolicy(SetIamPolicyRequest request) { + return setIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on the specified resource. Replacesany existing policy. + * + *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   SetIamPolicyRequest request =
+   *       SetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]")
+   *                   .toString())
+   *           .setPolicy(Policy.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = ekmServiceClient.setIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable setIamPolicyCallable() { + return stub.setIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a resource. Returns an empty policyif the resource exists + * and does not have a policy set. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   GetIamPolicyRequest request =
+   *       GetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]")
+   *                   .toString())
+   *           .setOptions(GetPolicyOptions.newBuilder().build())
+   *           .build();
+   *   Policy response = ekmServiceClient.getIamPolicy(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 Policy getIamPolicy(GetIamPolicyRequest request) { + return getIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a resource. Returns an empty policyif the resource exists + * and does not have a policy set. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   GetIamPolicyRequest request =
+   *       GetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]")
+   *                   .toString())
+   *           .setOptions(GetPolicyOptions.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = ekmServiceClient.getIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getIamPolicyCallable() { + return stub.getIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that a caller has on the specified resource. If theresource does not exist, + * this will return an empty set ofpermissions, not a `NOT_FOUND` error. + * + *

Note: This operation is designed to be used for buildingpermission-aware UIs and + * command-line tools, not for authorizationchecking. This operation may "fail open" without + * warning. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   TestIamPermissionsRequest request =
+   *       TestIamPermissionsRequest.newBuilder()
+   *           .setResource(
+   *               CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]")
+   *                   .toString())
+   *           .addAllPermissions(new ArrayList())
+   *           .build();
+   *   TestIamPermissionsResponse response = ekmServiceClient.testIamPermissions(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 TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) { + return testIamPermissionsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that a caller has on the specified resource. If theresource does not exist, + * this will return an empty set ofpermissions, not a `NOT_FOUND` error. + * + *

Note: This operation is designed to be used for buildingpermission-aware UIs and + * command-line tools, not for authorizationchecking. This operation may "fail open" without + * warning. + * + *

Sample code: + * + *

{@code
+   * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+   *   TestIamPermissionsRequest request =
+   *       TestIamPermissionsRequest.newBuilder()
+   *           .setResource(
+   *               CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]")
+   *                   .toString())
+   *           .addAllPermissions(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       ekmServiceClient.testIamPermissionsCallable().futureCall(request);
+   *   // Do something.
+   *   TestIamPermissionsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + testIamPermissionsCallable() { + return stub.testIamPermissionsCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class ListEkmConnectionsPagedResponse + extends AbstractPagedListResponse< + ListEkmConnectionsRequest, + ListEkmConnectionsResponse, + EkmConnection, + ListEkmConnectionsPage, + ListEkmConnectionsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListEkmConnectionsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListEkmConnectionsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListEkmConnectionsPagedResponse(ListEkmConnectionsPage page) { + super(page, ListEkmConnectionsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListEkmConnectionsPage + extends AbstractPage< + ListEkmConnectionsRequest, + ListEkmConnectionsResponse, + EkmConnection, + ListEkmConnectionsPage> { + + private ListEkmConnectionsPage( + PageContext context, + ListEkmConnectionsResponse response) { + super(context, response); + } + + private static ListEkmConnectionsPage createEmptyPage() { + return new ListEkmConnectionsPage(null, null); + } + + @Override + protected ListEkmConnectionsPage createPage( + PageContext context, + ListEkmConnectionsResponse response) { + return new ListEkmConnectionsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListEkmConnectionsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListEkmConnectionsRequest, + ListEkmConnectionsResponse, + EkmConnection, + ListEkmConnectionsPage, + ListEkmConnectionsFixedSizeCollection> { + + private ListEkmConnectionsFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListEkmConnectionsFixedSizeCollection createEmptyCollection() { + return new ListEkmConnectionsFixedSizeCollection(null, 0); + } + + @Override + protected ListEkmConnectionsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListEkmConnectionsFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/EkmServiceSettings.java b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/EkmServiceSettings.java new file mode 100644 index 00000000..f965f566 --- /dev/null +++ b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/EkmServiceSettings.java @@ -0,0 +1,258 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://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. + */ + +package com.google.cloud.kms.v1; + +import static com.google.cloud.kms.v1.EkmServiceClient.ListEkmConnectionsPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.kms.v1.stub.EkmServiceStubSettings; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link EkmServiceClient}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (cloudkms.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

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 getEkmConnection to 30 seconds: + * + *

{@code
+ * EkmServiceSettings.Builder ekmServiceSettingsBuilder = EkmServiceSettings.newBuilder();
+ * ekmServiceSettingsBuilder
+ *     .getEkmConnectionSettings()
+ *     .setRetrySettings(
+ *         ekmServiceSettingsBuilder
+ *             .getEkmConnectionSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * EkmServiceSettings ekmServiceSettings = ekmServiceSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class EkmServiceSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to listEkmConnections. */ + public PagedCallSettings< + ListEkmConnectionsRequest, ListEkmConnectionsResponse, ListEkmConnectionsPagedResponse> + listEkmConnectionsSettings() { + return ((EkmServiceStubSettings) getStubSettings()).listEkmConnectionsSettings(); + } + + /** Returns the object with the settings used for calls to getEkmConnection. */ + public UnaryCallSettings getEkmConnectionSettings() { + return ((EkmServiceStubSettings) getStubSettings()).getEkmConnectionSettings(); + } + + /** Returns the object with the settings used for calls to createEkmConnection. */ + public UnaryCallSettings + createEkmConnectionSettings() { + return ((EkmServiceStubSettings) getStubSettings()).createEkmConnectionSettings(); + } + + /** Returns the object with the settings used for calls to updateEkmConnection. */ + public UnaryCallSettings + updateEkmConnectionSettings() { + return ((EkmServiceStubSettings) getStubSettings()).updateEkmConnectionSettings(); + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings setIamPolicySettings() { + return ((EkmServiceStubSettings) getStubSettings()).setIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to getIamPolicy. */ + public UnaryCallSettings getIamPolicySettings() { + return ((EkmServiceStubSettings) getStubSettings()).getIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return ((EkmServiceStubSettings) getStubSettings()).testIamPermissionsSettings(); + } + + public static final EkmServiceSettings create(EkmServiceStubSettings stub) throws IOException { + return new EkmServiceSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return EkmServiceStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return EkmServiceStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return EkmServiceStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return EkmServiceStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return EkmServiceStubSettings.defaultGrpcTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return EkmServiceStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return EkmServiceStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected EkmServiceSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for EkmServiceSettings. */ + public static class Builder extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(EkmServiceStubSettings.newBuilder(clientContext)); + } + + protected Builder(EkmServiceSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(EkmServiceStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(EkmServiceStubSettings.newBuilder()); + } + + public EkmServiceStubSettings.Builder getStubSettingsBuilder() { + return ((EkmServiceStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to listEkmConnections. */ + public PagedCallSettings.Builder< + ListEkmConnectionsRequest, ListEkmConnectionsResponse, ListEkmConnectionsPagedResponse> + listEkmConnectionsSettings() { + return getStubSettingsBuilder().listEkmConnectionsSettings(); + } + + /** Returns the builder for the settings used for calls to getEkmConnection. */ + public UnaryCallSettings.Builder + getEkmConnectionSettings() { + return getStubSettingsBuilder().getEkmConnectionSettings(); + } + + /** Returns the builder for the settings used for calls to createEkmConnection. */ + public UnaryCallSettings.Builder + createEkmConnectionSettings() { + return getStubSettingsBuilder().createEkmConnectionSettings(); + } + + /** Returns the builder for the settings used for calls to updateEkmConnection. */ + public UnaryCallSettings.Builder + updateEkmConnectionSettings() { + return getStubSettingsBuilder().updateEkmConnectionSettings(); + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder setIamPolicySettings() { + return getStubSettingsBuilder().setIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to getIamPolicy. */ + public UnaryCallSettings.Builder getIamPolicySettings() { + return getStubSettingsBuilder().getIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return getStubSettingsBuilder().testIamPermissionsSettings(); + } + + @Override + public EkmServiceSettings build() throws IOException { + return new EkmServiceSettings(this); + } + } +} diff --git a/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceClient.java b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceClient.java index 6661626e..5ef2baa4 100644 --- a/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceClient.java +++ b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceClient.java @@ -2946,6 +2946,8 @@ public final UnaryCallable decryptCallable() { * @param digest Optional. The digest of the data to sign. The digest must be produced with the * same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + *

This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] is supplied. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AsymmetricSignResponse asymmetricSign(CryptoKeyVersionName name, Digest digest) { @@ -2983,6 +2985,8 @@ public final AsymmetricSignResponse asymmetricSign(CryptoKeyVersionName name, Di * @param digest Optional. The digest of the data to sign. The digest must be produced with the * same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + *

This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] is supplied. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AsymmetricSignResponse asymmetricSign(String name, Digest digest) { @@ -3515,8 +3519,8 @@ public final UnaryCallable macVerifyCallabl * @param lengthBytes The length in bytes of the amount of randomness to retrieve. Minimum 8 * bytes, maximum 1024 bytes. * @param protectionLevel The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when - * generating the random data. Defaults to - * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE]. + * generating the random data. Currently, only [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] + * protection level is supported. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final GenerateRandomBytesResponse generateRandomBytes( diff --git a/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/gapic_metadata.json b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/gapic_metadata.json index 892870aa..9c81ee9a 100644 --- a/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/gapic_metadata.json +++ b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/gapic_metadata.json @@ -5,6 +5,36 @@ "protoPackage": "google.cloud.kms.v1", "libraryPackage": "com.google.cloud.kms.v1", "services": { + "EkmService": { + "clients": { + "grpc": { + "libraryClient": "EkmServiceClient", + "rpcs": { + "CreateEkmConnection": { + "methods": ["createEkmConnection", "createEkmConnection", "createEkmConnection", "createEkmConnectionCallable"] + }, + "GetEkmConnection": { + "methods": ["getEkmConnection", "getEkmConnection", "getEkmConnection", "getEkmConnectionCallable"] + }, + "GetIamPolicy": { + "methods": ["getIamPolicy", "getIamPolicyCallable"] + }, + "ListEkmConnections": { + "methods": ["listEkmConnections", "listEkmConnections", "listEkmConnections", "listEkmConnectionsPagedCallable", "listEkmConnectionsCallable"] + }, + "SetIamPolicy": { + "methods": ["setIamPolicy", "setIamPolicyCallable"] + }, + "TestIamPermissions": { + "methods": ["testIamPermissions", "testIamPermissionsCallable"] + }, + "UpdateEkmConnection": { + "methods": ["updateEkmConnection", "updateEkmConnection", "updateEkmConnectionCallable"] + } + } + } + } + }, "KeyManagementService": { "clients": { "grpc": { diff --git a/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/package-info.java b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/package-info.java index 387836b4..3e84e7a8 100644 --- a/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/package-info.java +++ b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/package-info.java @@ -19,6 +19,26 @@ * *

The interfaces provided are listed below, along with usage samples. * + *

======================= EkmServiceClient ======================= + * + *

Service Description: Google Cloud Key Management EKM Service + * + *

Manages external cryptographic keys and operations using those keys. Implements a REST model + * with the following objects: + * + *

    + *
  • [EkmConnection][google.cloud.kms.v1.EkmConnection] + *
+ * + *

Sample for EkmServiceClient: + * + *

{@code
+ * try (EkmServiceClient ekmServiceClient = EkmServiceClient.create()) {
+ *   EkmConnectionName name = EkmConnectionName.of("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]");
+ *   EkmConnection response = ekmServiceClient.getEkmConnection(name);
+ * }
+ * }
+ * *

======================= KeyManagementServiceClient ======================= * *

Service Description: Google Cloud Key Management Service diff --git a/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/EkmServiceStub.java b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/EkmServiceStub.java new file mode 100644 index 00000000..83e1f143 --- /dev/null +++ b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/EkmServiceStub.java @@ -0,0 +1,82 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://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. + */ + +package com.google.cloud.kms.v1.stub; + +import static com.google.cloud.kms.v1.EkmServiceClient.ListEkmConnectionsPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.kms.v1.CreateEkmConnectionRequest; +import com.google.cloud.kms.v1.EkmConnection; +import com.google.cloud.kms.v1.GetEkmConnectionRequest; +import com.google.cloud.kms.v1.ListEkmConnectionsRequest; +import com.google.cloud.kms.v1.ListEkmConnectionsResponse; +import com.google.cloud.kms.v1.UpdateEkmConnectionRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the EkmService service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class EkmServiceStub implements BackgroundResource { + + public UnaryCallable + listEkmConnectionsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listEkmConnectionsPagedCallable()"); + } + + public UnaryCallable + listEkmConnectionsCallable() { + throw new UnsupportedOperationException("Not implemented: listEkmConnectionsCallable()"); + } + + public UnaryCallable getEkmConnectionCallable() { + throw new UnsupportedOperationException("Not implemented: getEkmConnectionCallable()"); + } + + public UnaryCallable createEkmConnectionCallable() { + throw new UnsupportedOperationException("Not implemented: createEkmConnectionCallable()"); + } + + public UnaryCallable updateEkmConnectionCallable() { + throw new UnsupportedOperationException("Not implemented: updateEkmConnectionCallable()"); + } + + public UnaryCallable setIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); + } + + public UnaryCallable getIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); + } + + public UnaryCallable + testIamPermissionsCallable() { + throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/EkmServiceStubSettings.java b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/EkmServiceStubSettings.java new file mode 100644 index 00000000..9e39abf8 --- /dev/null +++ b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/EkmServiceStubSettings.java @@ -0,0 +1,513 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://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. + */ + +package com.google.cloud.kms.v1.stub; + +import static com.google.cloud.kms.v1.EkmServiceClient.ListEkmConnectionsPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.kms.v1.CreateEkmConnectionRequest; +import com.google.cloud.kms.v1.EkmConnection; +import com.google.cloud.kms.v1.GetEkmConnectionRequest; +import com.google.cloud.kms.v1.ListEkmConnectionsRequest; +import com.google.cloud.kms.v1.ListEkmConnectionsResponse; +import com.google.cloud.kms.v1.UpdateEkmConnectionRequest; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link EkmServiceStub}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (cloudkms.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

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 getEkmConnection to 30 seconds: + * + *

{@code
+ * EkmServiceStubSettings.Builder ekmServiceSettingsBuilder = EkmServiceStubSettings.newBuilder();
+ * ekmServiceSettingsBuilder
+ *     .getEkmConnectionSettings()
+ *     .setRetrySettings(
+ *         ekmServiceSettingsBuilder
+ *             .getEkmConnectionSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * EkmServiceStubSettings ekmServiceSettings = ekmServiceSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class EkmServiceStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/cloud-platform") + .add("https://www.googleapis.com/auth/cloudkms") + .build(); + + private final PagedCallSettings< + ListEkmConnectionsRequest, ListEkmConnectionsResponse, ListEkmConnectionsPagedResponse> + listEkmConnectionsSettings; + private final UnaryCallSettings getEkmConnectionSettings; + private final UnaryCallSettings + createEkmConnectionSettings; + private final UnaryCallSettings + updateEkmConnectionSettings; + private final UnaryCallSettings setIamPolicySettings; + private final UnaryCallSettings getIamPolicySettings; + private final UnaryCallSettings + testIamPermissionsSettings; + + private static final PagedListDescriptor< + ListEkmConnectionsRequest, ListEkmConnectionsResponse, EkmConnection> + LIST_EKM_CONNECTIONS_PAGE_STR_DESC = + new PagedListDescriptor< + ListEkmConnectionsRequest, ListEkmConnectionsResponse, EkmConnection>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListEkmConnectionsRequest injectToken( + ListEkmConnectionsRequest payload, String token) { + return ListEkmConnectionsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListEkmConnectionsRequest injectPageSize( + ListEkmConnectionsRequest payload, int pageSize) { + return ListEkmConnectionsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListEkmConnectionsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListEkmConnectionsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListEkmConnectionsResponse payload) { + return payload.getEkmConnectionsList() == null + ? ImmutableList.of() + : payload.getEkmConnectionsList(); + } + }; + + private static final PagedListResponseFactory< + ListEkmConnectionsRequest, ListEkmConnectionsResponse, ListEkmConnectionsPagedResponse> + LIST_EKM_CONNECTIONS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListEkmConnectionsRequest, + ListEkmConnectionsResponse, + ListEkmConnectionsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListEkmConnectionsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext + pageContext = + PageContext.create( + callable, LIST_EKM_CONNECTIONS_PAGE_STR_DESC, request, context); + return ListEkmConnectionsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to listEkmConnections. */ + public PagedCallSettings< + ListEkmConnectionsRequest, ListEkmConnectionsResponse, ListEkmConnectionsPagedResponse> + listEkmConnectionsSettings() { + return listEkmConnectionsSettings; + } + + /** Returns the object with the settings used for calls to getEkmConnection. */ + public UnaryCallSettings getEkmConnectionSettings() { + return getEkmConnectionSettings; + } + + /** Returns the object with the settings used for calls to createEkmConnection. */ + public UnaryCallSettings + createEkmConnectionSettings() { + return createEkmConnectionSettings; + } + + /** Returns the object with the settings used for calls to updateEkmConnection. */ + public UnaryCallSettings + updateEkmConnectionSettings() { + return updateEkmConnectionSettings; + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the object with the settings used for calls to getIamPolicy. */ + public UnaryCallSettings getIamPolicySettings() { + return getIamPolicySettings; + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public EkmServiceStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcEkmServiceStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "cloudkms.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "cloudkms.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(EkmServiceStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected EkmServiceStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + listEkmConnectionsSettings = settingsBuilder.listEkmConnectionsSettings().build(); + getEkmConnectionSettings = settingsBuilder.getEkmConnectionSettings().build(); + createEkmConnectionSettings = settingsBuilder.createEkmConnectionSettings().build(); + updateEkmConnectionSettings = settingsBuilder.updateEkmConnectionSettings().build(); + setIamPolicySettings = settingsBuilder.setIamPolicySettings().build(); + getIamPolicySettings = settingsBuilder.getIamPolicySettings().build(); + testIamPermissionsSettings = settingsBuilder.testIamPermissionsSettings().build(); + } + + /** Builder for EkmServiceStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final PagedCallSettings.Builder< + ListEkmConnectionsRequest, ListEkmConnectionsResponse, ListEkmConnectionsPagedResponse> + listEkmConnectionsSettings; + private final UnaryCallSettings.Builder + getEkmConnectionSettings; + private final UnaryCallSettings.Builder + createEkmConnectionSettings; + private final UnaryCallSettings.Builder + updateEkmConnectionSettings; + private final UnaryCallSettings.Builder setIamPolicySettings; + private final UnaryCallSettings.Builder getIamPolicySettings; + private final UnaryCallSettings.Builder + testIamPermissionsSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "retry_policy_1_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(100L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("retry_policy_1_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + listEkmConnectionsSettings = PagedCallSettings.newBuilder(LIST_EKM_CONNECTIONS_PAGE_STR_FACT); + getEkmConnectionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createEkmConnectionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateEkmConnectionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + testIamPermissionsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + listEkmConnectionsSettings, + getEkmConnectionSettings, + createEkmConnectionSettings, + updateEkmConnectionSettings, + setIamPolicySettings, + getIamPolicySettings, + testIamPermissionsSettings); + initDefaults(this); + } + + protected Builder(EkmServiceStubSettings settings) { + super(settings); + + listEkmConnectionsSettings = settings.listEkmConnectionsSettings.toBuilder(); + getEkmConnectionSettings = settings.getEkmConnectionSettings.toBuilder(); + createEkmConnectionSettings = settings.createEkmConnectionSettings.toBuilder(); + updateEkmConnectionSettings = settings.updateEkmConnectionSettings.toBuilder(); + setIamPolicySettings = settings.setIamPolicySettings.toBuilder(); + getIamPolicySettings = settings.getIamPolicySettings.toBuilder(); + testIamPermissionsSettings = settings.testIamPermissionsSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + listEkmConnectionsSettings, + getEkmConnectionSettings, + createEkmConnectionSettings, + updateEkmConnectionSettings, + setIamPolicySettings, + getIamPolicySettings, + testIamPermissionsSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .listEkmConnectionsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); + + builder + .getEkmConnectionSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); + + builder + .createEkmConnectionSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); + + builder + .updateEkmConnectionSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); + + builder + .setIamPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); + + builder + .getIamPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); + + builder + .testIamPermissionsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to listEkmConnections. */ + public PagedCallSettings.Builder< + ListEkmConnectionsRequest, ListEkmConnectionsResponse, ListEkmConnectionsPagedResponse> + listEkmConnectionsSettings() { + return listEkmConnectionsSettings; + } + + /** Returns the builder for the settings used for calls to getEkmConnection. */ + public UnaryCallSettings.Builder + getEkmConnectionSettings() { + return getEkmConnectionSettings; + } + + /** Returns the builder for the settings used for calls to createEkmConnection. */ + public UnaryCallSettings.Builder + createEkmConnectionSettings() { + return createEkmConnectionSettings; + } + + /** Returns the builder for the settings used for calls to updateEkmConnection. */ + public UnaryCallSettings.Builder + updateEkmConnectionSettings() { + return updateEkmConnectionSettings; + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to getIamPolicy. */ + public UnaryCallSettings.Builder getIamPolicySettings() { + return getIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + @Override + public EkmServiceStubSettings build() throws IOException { + return new EkmServiceStubSettings(this); + } + } +} diff --git a/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcEkmServiceCallableFactory.java b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcEkmServiceCallableFactory.java new file mode 100644 index 00000000..d3dbd85f --- /dev/null +++ b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcEkmServiceCallableFactory.java @@ -0,0 +1,113 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://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. + */ + +package com.google.cloud.kms.v1.stub; + +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the EkmService service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class GrpcEkmServiceCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcEkmServiceStub.java b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcEkmServiceStub.java new file mode 100644 index 00000000..a7172bce --- /dev/null +++ b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcEkmServiceStub.java @@ -0,0 +1,376 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://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. + */ + +package com.google.cloud.kms.v1.stub; + +import static com.google.cloud.kms.v1.EkmServiceClient.ListEkmConnectionsPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.kms.v1.CreateEkmConnectionRequest; +import com.google.cloud.kms.v1.EkmConnection; +import com.google.cloud.kms.v1.GetEkmConnectionRequest; +import com.google.cloud.kms.v1.ListEkmConnectionsRequest; +import com.google.cloud.kms.v1.ListEkmConnectionsResponse; +import com.google.cloud.kms.v1.UpdateEkmConnectionRequest; +import com.google.common.collect.ImmutableMap; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.stub.GrpcOperationsStub; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the EkmService service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class GrpcEkmServiceStub extends EkmServiceStub { + private static final MethodDescriptor + listEkmConnectionsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.kms.v1.EkmService/ListEkmConnections") + .setRequestMarshaller( + ProtoUtils.marshaller(ListEkmConnectionsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListEkmConnectionsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + getEkmConnectionMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.kms.v1.EkmService/GetEkmConnection") + .setRequestMarshaller( + ProtoUtils.marshaller(GetEkmConnectionRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(EkmConnection.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createEkmConnectionMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.kms.v1.EkmService/CreateEkmConnection") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateEkmConnectionRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(EkmConnection.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + updateEkmConnectionMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.kms.v1.EkmService/UpdateEkmConnection") + .setRequestMarshaller( + ProtoUtils.marshaller(UpdateEkmConnectionRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(EkmConnection.getDefaultInstance())) + .build(); + + private static final MethodDescriptor setIamPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v1.IAMPolicy/SetIamPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getIamPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v1.IAMPolicy/GetIamPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + testIamPermissionsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v1.IAMPolicy/TestIamPermissions") + .setRequestMarshaller( + ProtoUtils.marshaller(TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(TestIamPermissionsResponse.getDefaultInstance())) + .build(); + + private final UnaryCallable + listEkmConnectionsCallable; + private final UnaryCallable + listEkmConnectionsPagedCallable; + private final UnaryCallable getEkmConnectionCallable; + private final UnaryCallable + createEkmConnectionCallable; + private final UnaryCallable + updateEkmConnectionCallable; + private final UnaryCallable setIamPolicyCallable; + private final UnaryCallable getIamPolicyCallable; + private final UnaryCallable + testIamPermissionsCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcEkmServiceStub create(EkmServiceStubSettings settings) + throws IOException { + return new GrpcEkmServiceStub(settings, ClientContext.create(settings)); + } + + public static final GrpcEkmServiceStub create(ClientContext clientContext) throws IOException { + return new GrpcEkmServiceStub(EkmServiceStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcEkmServiceStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcEkmServiceStub( + EkmServiceStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcEkmServiceStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected GrpcEkmServiceStub(EkmServiceStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcEkmServiceCallableFactory()); + } + + /** + * Constructs an instance of GrpcEkmServiceStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected GrpcEkmServiceStub( + EkmServiceStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings + listEkmConnectionsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listEkmConnectionsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getEkmConnectionTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getEkmConnectionMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + createEkmConnectionTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createEkmConnectionMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings + updateEkmConnectionTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateEkmConnectionMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put( + "ekm_connection.name", + String.valueOf(request.getEkmConnection().getName())); + return params.build(); + }) + .build(); + GrpcCallSettings setIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("resource", String.valueOf(request.getResource())); + return params.build(); + }) + .build(); + GrpcCallSettings getIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("resource", String.valueOf(request.getResource())); + return params.build(); + }) + .build(); + GrpcCallSettings + testIamPermissionsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("resource", String.valueOf(request.getResource())); + return params.build(); + }) + .build(); + + this.listEkmConnectionsCallable = + callableFactory.createUnaryCallable( + listEkmConnectionsTransportSettings, + settings.listEkmConnectionsSettings(), + clientContext); + this.listEkmConnectionsPagedCallable = + callableFactory.createPagedCallable( + listEkmConnectionsTransportSettings, + settings.listEkmConnectionsSettings(), + clientContext); + this.getEkmConnectionCallable = + callableFactory.createUnaryCallable( + getEkmConnectionTransportSettings, settings.getEkmConnectionSettings(), clientContext); + this.createEkmConnectionCallable = + callableFactory.createUnaryCallable( + createEkmConnectionTransportSettings, + settings.createEkmConnectionSettings(), + clientContext); + this.updateEkmConnectionCallable = + callableFactory.createUnaryCallable( + updateEkmConnectionTransportSettings, + settings.updateEkmConnectionSettings(), + clientContext); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.getIamPolicyCallable = + callableFactory.createUnaryCallable( + getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public UnaryCallable + listEkmConnectionsCallable() { + return listEkmConnectionsCallable; + } + + @Override + public UnaryCallable + listEkmConnectionsPagedCallable() { + return listEkmConnectionsPagedCallable; + } + + @Override + public UnaryCallable getEkmConnectionCallable() { + return getEkmConnectionCallable; + } + + @Override + public UnaryCallable createEkmConnectionCallable() { + return createEkmConnectionCallable; + } + + @Override + public UnaryCallable updateEkmConnectionCallable() { + return updateEkmConnectionCallable; + } + + @Override + public UnaryCallable setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/EkmServiceClientTest.java b/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/EkmServiceClientTest.java new file mode 100644 index 00000000..1d3fe2ec --- /dev/null +++ b/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/EkmServiceClientTest.java @@ -0,0 +1,560 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://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. + */ + +package com.google.cloud.kms.v1; + +import static com.google.cloud.kms.v1.EkmServiceClient.ListEkmConnectionsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.common.collect.Lists; +import com.google.iam.v1.Binding; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.GetPolicyOptions; +import com.google.iam.v1.MockIAMPolicy; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.ByteString; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class EkmServiceClientTest { + private static MockEkmService mockEkmService; + private static MockIAMPolicy mockIAMPolicy; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private EkmServiceClient client; + + @BeforeClass + public static void startStaticServer() { + mockEkmService = new MockEkmService(); + mockIAMPolicy = new MockIAMPolicy(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), + Arrays.asList(mockEkmService, mockIAMPolicy)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + EkmServiceSettings settings = + EkmServiceSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = EkmServiceClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void listEkmConnectionsTest() throws Exception { + EkmConnection responsesElement = EkmConnection.newBuilder().build(); + ListEkmConnectionsResponse expectedResponse = + ListEkmConnectionsResponse.newBuilder() + .setNextPageToken("") + .addAllEkmConnections(Arrays.asList(responsesElement)) + .build(); + mockEkmService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListEkmConnectionsPagedResponse pagedListResponse = client.listEkmConnections(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getEkmConnectionsList().get(0), resources.get(0)); + + List actualRequests = mockEkmService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListEkmConnectionsRequest actualRequest = ((ListEkmConnectionsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listEkmConnectionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEkmService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listEkmConnections(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listEkmConnectionsTest2() throws Exception { + EkmConnection responsesElement = EkmConnection.newBuilder().build(); + ListEkmConnectionsResponse expectedResponse = + ListEkmConnectionsResponse.newBuilder() + .setNextPageToken("") + .addAllEkmConnections(Arrays.asList(responsesElement)) + .build(); + mockEkmService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListEkmConnectionsPagedResponse pagedListResponse = client.listEkmConnections(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getEkmConnectionsList().get(0), resources.get(0)); + + List actualRequests = mockEkmService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListEkmConnectionsRequest actualRequest = ((ListEkmConnectionsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listEkmConnectionsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEkmService.addException(exception); + + try { + String parent = "parent-995424086"; + client.listEkmConnections(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getEkmConnectionTest() throws Exception { + EkmConnection expectedResponse = + EkmConnection.newBuilder() + .setName(EkmConnectionName.of("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .addAllServiceResolvers(new ArrayList()) + .setEtag("etag3123477") + .build(); + mockEkmService.addResponse(expectedResponse); + + EkmConnectionName name = EkmConnectionName.of("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"); + + EkmConnection actualResponse = client.getEkmConnection(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEkmService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetEkmConnectionRequest actualRequest = ((GetEkmConnectionRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getEkmConnectionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEkmService.addException(exception); + + try { + EkmConnectionName name = EkmConnectionName.of("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"); + client.getEkmConnection(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getEkmConnectionTest2() throws Exception { + EkmConnection expectedResponse = + EkmConnection.newBuilder() + .setName(EkmConnectionName.of("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .addAllServiceResolvers(new ArrayList()) + .setEtag("etag3123477") + .build(); + mockEkmService.addResponse(expectedResponse); + + String name = "name3373707"; + + EkmConnection actualResponse = client.getEkmConnection(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEkmService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetEkmConnectionRequest actualRequest = ((GetEkmConnectionRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getEkmConnectionExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEkmService.addException(exception); + + try { + String name = "name3373707"; + client.getEkmConnection(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createEkmConnectionTest() throws Exception { + EkmConnection expectedResponse = + EkmConnection.newBuilder() + .setName(EkmConnectionName.of("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .addAllServiceResolvers(new ArrayList()) + .setEtag("etag3123477") + .build(); + mockEkmService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + String ekmConnectionId = "ekmConnectionId-445017408"; + EkmConnection ekmConnection = EkmConnection.newBuilder().build(); + + EkmConnection actualResponse = + client.createEkmConnection(parent, ekmConnectionId, ekmConnection); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEkmService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateEkmConnectionRequest actualRequest = ((CreateEkmConnectionRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(ekmConnectionId, actualRequest.getEkmConnectionId()); + Assert.assertEquals(ekmConnection, actualRequest.getEkmConnection()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createEkmConnectionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEkmService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + String ekmConnectionId = "ekmConnectionId-445017408"; + EkmConnection ekmConnection = EkmConnection.newBuilder().build(); + client.createEkmConnection(parent, ekmConnectionId, ekmConnection); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createEkmConnectionTest2() throws Exception { + EkmConnection expectedResponse = + EkmConnection.newBuilder() + .setName(EkmConnectionName.of("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .addAllServiceResolvers(new ArrayList()) + .setEtag("etag3123477") + .build(); + mockEkmService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + String ekmConnectionId = "ekmConnectionId-445017408"; + EkmConnection ekmConnection = EkmConnection.newBuilder().build(); + + EkmConnection actualResponse = + client.createEkmConnection(parent, ekmConnectionId, ekmConnection); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEkmService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateEkmConnectionRequest actualRequest = ((CreateEkmConnectionRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(ekmConnectionId, actualRequest.getEkmConnectionId()); + Assert.assertEquals(ekmConnection, actualRequest.getEkmConnection()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createEkmConnectionExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEkmService.addException(exception); + + try { + String parent = "parent-995424086"; + String ekmConnectionId = "ekmConnectionId-445017408"; + EkmConnection ekmConnection = EkmConnection.newBuilder().build(); + client.createEkmConnection(parent, ekmConnectionId, ekmConnection); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateEkmConnectionTest() throws Exception { + EkmConnection expectedResponse = + EkmConnection.newBuilder() + .setName(EkmConnectionName.of("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .addAllServiceResolvers(new ArrayList()) + .setEtag("etag3123477") + .build(); + mockEkmService.addResponse(expectedResponse); + + EkmConnection ekmConnection = EkmConnection.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + EkmConnection actualResponse = client.updateEkmConnection(ekmConnection, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEkmService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateEkmConnectionRequest actualRequest = ((UpdateEkmConnectionRequest) actualRequests.get(0)); + + Assert.assertEquals(ekmConnection, actualRequest.getEkmConnection()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateEkmConnectionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEkmService.addException(exception); + + try { + EkmConnection ekmConnection = EkmConnection.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateEkmConnection(ekmConnection, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockIAMPolicy.addResponse(expectedResponse); + + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder() + .setResource( + CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") + .toString()) + .setPolicy(Policy.newBuilder().build()) + .build(); + + Policy actualResponse = client.setIamPolicy(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockIAMPolicy.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getResource(), actualRequest.getResource()); + Assert.assertEquals(request.getPolicy(), actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockIAMPolicy.addException(exception); + + try { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder() + .setResource( + CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") + .toString()) + .setPolicy(Policy.newBuilder().build()) + .build(); + client.setIamPolicy(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockIAMPolicy.addResponse(expectedResponse); + + GetIamPolicyRequest request = + GetIamPolicyRequest.newBuilder() + .setResource( + CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") + .toString()) + .setOptions(GetPolicyOptions.newBuilder().build()) + .build(); + + Policy actualResponse = client.getIamPolicy(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockIAMPolicy.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getResource(), actualRequest.getResource()); + Assert.assertEquals(request.getOptions(), actualRequest.getOptions()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockIAMPolicy.addException(exception); + + try { + GetIamPolicyRequest request = + GetIamPolicyRequest.newBuilder() + .setResource( + CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") + .toString()) + .setOptions(GetPolicyOptions.newBuilder().build()) + .build(); + client.getIamPolicy(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockIAMPolicy.addResponse(expectedResponse); + + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource( + CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") + .toString()) + .addAllPermissions(new ArrayList()) + .build(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockIAMPolicy.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getResource(), actualRequest.getResource()); + Assert.assertEquals(request.getPermissionsList(), actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockIAMPolicy.addException(exception); + + try { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource( + CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") + .toString()) + .addAllPermissions(new ArrayList()) + .build(); + client.testIamPermissions(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/KeyManagementServiceClientTest.java b/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/KeyManagementServiceClientTest.java index 7edd5bc3..e9f3b96e 100644 --- a/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/KeyManagementServiceClientTest.java +++ b/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/KeyManagementServiceClientTest.java @@ -548,6 +548,9 @@ public void getCryptoKeyTest() throws Exception { .putAllLabels(new HashMap()) .setImportOnly(true) .setDestroyScheduledDuration(Duration.newBuilder().build()) + .setCryptoKeyBackend( + CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") + .toString()) .build(); mockKeyManagementService.addResponse(expectedResponse); @@ -596,6 +599,9 @@ public void getCryptoKeyTest2() throws Exception { .putAllLabels(new HashMap()) .setImportOnly(true) .setDestroyScheduledDuration(Duration.newBuilder().build()) + .setCryptoKeyBackend( + CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") + .toString()) .build(); mockKeyManagementService.addResponse(expectedResponse); @@ -1030,6 +1036,9 @@ public void createCryptoKeyTest() throws Exception { .putAllLabels(new HashMap()) .setImportOnly(true) .setDestroyScheduledDuration(Duration.newBuilder().build()) + .setCryptoKeyBackend( + CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") + .toString()) .build(); mockKeyManagementService.addResponse(expectedResponse); @@ -1083,6 +1092,9 @@ public void createCryptoKeyTest2() throws Exception { .putAllLabels(new HashMap()) .setImportOnly(true) .setDestroyScheduledDuration(Duration.newBuilder().build()) + .setCryptoKeyBackend( + CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") + .toString()) .build(); mockKeyManagementService.addResponse(expectedResponse); @@ -1453,6 +1465,9 @@ public void updateCryptoKeyTest() throws Exception { .putAllLabels(new HashMap()) .setImportOnly(true) .setDestroyScheduledDuration(Duration.newBuilder().build()) + .setCryptoKeyBackend( + CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") + .toString()) .build(); mockKeyManagementService.addResponse(expectedResponse); @@ -1563,6 +1578,9 @@ public void updateCryptoKeyPrimaryVersionTest() throws Exception { .putAllLabels(new HashMap()) .setImportOnly(true) .setDestroyScheduledDuration(Duration.newBuilder().build()) + .setCryptoKeyBackend( + CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") + .toString()) .build(); mockKeyManagementService.addResponse(expectedResponse); @@ -1615,6 +1633,9 @@ public void updateCryptoKeyPrimaryVersionTest2() throws Exception { .putAllLabels(new HashMap()) .setImportOnly(true) .setDestroyScheduledDuration(Duration.newBuilder().build()) + .setCryptoKeyBackend( + CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") + .toString()) .build(); mockKeyManagementService.addResponse(expectedResponse); diff --git a/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockEkmService.java b/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockEkmService.java new file mode 100644 index 00000000..e96818e0 --- /dev/null +++ b/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockEkmService.java @@ -0,0 +1,59 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://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. + */ + +package com.google.cloud.kms.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockEkmService implements MockGrpcService { + private final MockEkmServiceImpl serviceImpl; + + public MockEkmService() { + serviceImpl = new MockEkmServiceImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockEkmServiceImpl.java b/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockEkmServiceImpl.java new file mode 100644 index 00000000..392f937f --- /dev/null +++ b/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockEkmServiceImpl.java @@ -0,0 +1,145 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://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. + */ + +package com.google.cloud.kms.v1; + +import com.google.api.core.BetaApi; +import com.google.cloud.kms.v1.EkmServiceGrpc.EkmServiceImplBase; +import com.google.protobuf.AbstractMessage; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockEkmServiceImpl extends EkmServiceImplBase { + private List requests; + private Queue responses; + + public MockEkmServiceImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void listEkmConnections( + ListEkmConnectionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListEkmConnectionsResponse) { + requests.add(request); + responseObserver.onNext(((ListEkmConnectionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListEkmConnections, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListEkmConnectionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getEkmConnection( + GetEkmConnectionRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof EkmConnection) { + requests.add(request); + responseObserver.onNext(((EkmConnection) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetEkmConnection, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + EkmConnection.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createEkmConnection( + CreateEkmConnectionRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof EkmConnection) { + requests.add(request); + responseObserver.onNext(((EkmConnection) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateEkmConnection, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + EkmConnection.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateEkmConnection( + UpdateEkmConnectionRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof EkmConnection) { + requests.add(request); + responseObserver.onNext(((EkmConnection) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateEkmConnection, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + EkmConnection.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/grpc-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmServiceGrpc.java b/grpc-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmServiceGrpc.java new file mode 100644 index 00000000..10c55e92 --- /dev/null +++ b/grpc-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmServiceGrpc.java @@ -0,0 +1,725 @@ +/* + * 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 + * + * https://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. + */ +package com.google.cloud.kms.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Google Cloud Key Management EKM Service
+ * Manages external cryptographic keys and operations using those keys.
+ * Implements a REST model with the following objects:
+ * * [EkmConnection][google.cloud.kms.v1.EkmConnection]
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/kms/v1/ekm_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class EkmServiceGrpc { + + private EkmServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.kms.v1.EkmService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.kms.v1.ListEkmConnectionsRequest, + com.google.cloud.kms.v1.ListEkmConnectionsResponse> + getListEkmConnectionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEkmConnections", + requestType = com.google.cloud.kms.v1.ListEkmConnectionsRequest.class, + responseType = com.google.cloud.kms.v1.ListEkmConnectionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.kms.v1.ListEkmConnectionsRequest, + com.google.cloud.kms.v1.ListEkmConnectionsResponse> + getListEkmConnectionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.kms.v1.ListEkmConnectionsRequest, + com.google.cloud.kms.v1.ListEkmConnectionsResponse> + getListEkmConnectionsMethod; + if ((getListEkmConnectionsMethod = EkmServiceGrpc.getListEkmConnectionsMethod) == null) { + synchronized (EkmServiceGrpc.class) { + if ((getListEkmConnectionsMethod = EkmServiceGrpc.getListEkmConnectionsMethod) == null) { + EkmServiceGrpc.getListEkmConnectionsMethod = + getListEkmConnectionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEkmConnections")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.kms.v1.ListEkmConnectionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.kms.v1.ListEkmConnectionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new EkmServiceMethodDescriptorSupplier("ListEkmConnections")) + .build(); + } + } + } + return getListEkmConnectionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.kms.v1.GetEkmConnectionRequest, com.google.cloud.kms.v1.EkmConnection> + getGetEkmConnectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEkmConnection", + requestType = com.google.cloud.kms.v1.GetEkmConnectionRequest.class, + responseType = com.google.cloud.kms.v1.EkmConnection.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.kms.v1.GetEkmConnectionRequest, com.google.cloud.kms.v1.EkmConnection> + getGetEkmConnectionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.kms.v1.GetEkmConnectionRequest, com.google.cloud.kms.v1.EkmConnection> + getGetEkmConnectionMethod; + if ((getGetEkmConnectionMethod = EkmServiceGrpc.getGetEkmConnectionMethod) == null) { + synchronized (EkmServiceGrpc.class) { + if ((getGetEkmConnectionMethod = EkmServiceGrpc.getGetEkmConnectionMethod) == null) { + EkmServiceGrpc.getGetEkmConnectionMethod = + getGetEkmConnectionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEkmConnection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.kms.v1.GetEkmConnectionRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.kms.v1.EkmConnection.getDefaultInstance())) + .setSchemaDescriptor( + new EkmServiceMethodDescriptorSupplier("GetEkmConnection")) + .build(); + } + } + } + return getGetEkmConnectionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.kms.v1.CreateEkmConnectionRequest, com.google.cloud.kms.v1.EkmConnection> + getCreateEkmConnectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEkmConnection", + requestType = com.google.cloud.kms.v1.CreateEkmConnectionRequest.class, + responseType = com.google.cloud.kms.v1.EkmConnection.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.kms.v1.CreateEkmConnectionRequest, com.google.cloud.kms.v1.EkmConnection> + getCreateEkmConnectionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.kms.v1.CreateEkmConnectionRequest, + com.google.cloud.kms.v1.EkmConnection> + getCreateEkmConnectionMethod; + if ((getCreateEkmConnectionMethod = EkmServiceGrpc.getCreateEkmConnectionMethod) == null) { + synchronized (EkmServiceGrpc.class) { + if ((getCreateEkmConnectionMethod = EkmServiceGrpc.getCreateEkmConnectionMethod) == null) { + EkmServiceGrpc.getCreateEkmConnectionMethod = + getCreateEkmConnectionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateEkmConnection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.kms.v1.CreateEkmConnectionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.kms.v1.EkmConnection.getDefaultInstance())) + .setSchemaDescriptor( + new EkmServiceMethodDescriptorSupplier("CreateEkmConnection")) + .build(); + } + } + } + return getCreateEkmConnectionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.kms.v1.UpdateEkmConnectionRequest, com.google.cloud.kms.v1.EkmConnection> + getUpdateEkmConnectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEkmConnection", + requestType = com.google.cloud.kms.v1.UpdateEkmConnectionRequest.class, + responseType = com.google.cloud.kms.v1.EkmConnection.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.kms.v1.UpdateEkmConnectionRequest, com.google.cloud.kms.v1.EkmConnection> + getUpdateEkmConnectionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.kms.v1.UpdateEkmConnectionRequest, + com.google.cloud.kms.v1.EkmConnection> + getUpdateEkmConnectionMethod; + if ((getUpdateEkmConnectionMethod = EkmServiceGrpc.getUpdateEkmConnectionMethod) == null) { + synchronized (EkmServiceGrpc.class) { + if ((getUpdateEkmConnectionMethod = EkmServiceGrpc.getUpdateEkmConnectionMethod) == null) { + EkmServiceGrpc.getUpdateEkmConnectionMethod = + getUpdateEkmConnectionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateEkmConnection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.kms.v1.UpdateEkmConnectionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.kms.v1.EkmConnection.getDefaultInstance())) + .setSchemaDescriptor( + new EkmServiceMethodDescriptorSupplier("UpdateEkmConnection")) + .build(); + } + } + } + return getUpdateEkmConnectionMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static EkmServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EkmServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EkmServiceStub(channel, callOptions); + } + }; + return EkmServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static EkmServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EkmServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EkmServiceBlockingStub(channel, callOptions); + } + }; + return EkmServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static EkmServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EkmServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EkmServiceFutureStub(channel, callOptions); + } + }; + return EkmServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Google Cloud Key Management EKM Service
+   * Manages external cryptographic keys and operations using those keys.
+   * Implements a REST model with the following objects:
+   * * [EkmConnection][google.cloud.kms.v1.EkmConnection]
+   * 
+ */ + public abstract static class EkmServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ */ + public void listEkmConnections( + com.google.cloud.kms.v1.ListEkmConnectionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListEkmConnectionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns metadata for a given
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+     * 
+ */ + public void getEkmConnection( + com.google.cloud.kms.v1.GetEkmConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetEkmConnectionMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given
+     * Project and Location.
+     * 
+ */ + public void createEkmConnection( + com.google.cloud.kms.v1.CreateEkmConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateEkmConnectionMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata.
+     * 
+ */ + public void updateEkmConnection( + com.google.cloud.kms.v1.UpdateEkmConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateEkmConnectionMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListEkmConnectionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.kms.v1.ListEkmConnectionsRequest, + com.google.cloud.kms.v1.ListEkmConnectionsResponse>( + this, METHODID_LIST_EKM_CONNECTIONS))) + .addMethod( + getGetEkmConnectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.kms.v1.GetEkmConnectionRequest, + com.google.cloud.kms.v1.EkmConnection>(this, METHODID_GET_EKM_CONNECTION))) + .addMethod( + getCreateEkmConnectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.kms.v1.CreateEkmConnectionRequest, + com.google.cloud.kms.v1.EkmConnection>(this, METHODID_CREATE_EKM_CONNECTION))) + .addMethod( + getUpdateEkmConnectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.kms.v1.UpdateEkmConnectionRequest, + com.google.cloud.kms.v1.EkmConnection>(this, METHODID_UPDATE_EKM_CONNECTION))) + .build(); + } + } + + /** + * + * + *
+   * Google Cloud Key Management EKM Service
+   * Manages external cryptographic keys and operations using those keys.
+   * Implements a REST model with the following objects:
+   * * [EkmConnection][google.cloud.kms.v1.EkmConnection]
+   * 
+ */ + public static final class EkmServiceStub extends io.grpc.stub.AbstractAsyncStub { + private EkmServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EkmServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EkmServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ */ + public void listEkmConnections( + com.google.cloud.kms.v1.ListEkmConnectionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEkmConnectionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns metadata for a given
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+     * 
+ */ + public void getEkmConnection( + com.google.cloud.kms.v1.GetEkmConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEkmConnectionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given
+     * Project and Location.
+     * 
+ */ + public void createEkmConnection( + com.google.cloud.kms.v1.CreateEkmConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEkmConnectionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata.
+     * 
+ */ + public void updateEkmConnection( + com.google.cloud.kms.v1.UpdateEkmConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEkmConnectionMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Google Cloud Key Management EKM Service
+   * Manages external cryptographic keys and operations using those keys.
+   * Implements a REST model with the following objects:
+   * * [EkmConnection][google.cloud.kms.v1.EkmConnection]
+   * 
+ */ + public static final class EkmServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private EkmServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EkmServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EkmServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ */ + public com.google.cloud.kms.v1.ListEkmConnectionsResponse listEkmConnections( + com.google.cloud.kms.v1.ListEkmConnectionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEkmConnectionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns metadata for a given
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+     * 
+ */ + public com.google.cloud.kms.v1.EkmConnection getEkmConnection( + com.google.cloud.kms.v1.GetEkmConnectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEkmConnectionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given
+     * Project and Location.
+     * 
+ */ + public com.google.cloud.kms.v1.EkmConnection createEkmConnection( + com.google.cloud.kms.v1.CreateEkmConnectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEkmConnectionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata.
+     * 
+ */ + public com.google.cloud.kms.v1.EkmConnection updateEkmConnection( + com.google.cloud.kms.v1.UpdateEkmConnectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEkmConnectionMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Google Cloud Key Management EKM Service
+   * Manages external cryptographic keys and operations using those keys.
+   * Implements a REST model with the following objects:
+   * * [EkmConnection][google.cloud.kms.v1.EkmConnection]
+   * 
+ */ + public static final class EkmServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private EkmServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EkmServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EkmServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.kms.v1.ListEkmConnectionsResponse> + listEkmConnections(com.google.cloud.kms.v1.ListEkmConnectionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEkmConnectionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns metadata for a given
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getEkmConnection(com.google.cloud.kms.v1.GetEkmConnectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEkmConnectionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given
+     * Project and Location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createEkmConnection(com.google.cloud.kms.v1.CreateEkmConnectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEkmConnectionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateEkmConnection(com.google.cloud.kms.v1.UpdateEkmConnectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEkmConnectionMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_EKM_CONNECTIONS = 0; + private static final int METHODID_GET_EKM_CONNECTION = 1; + private static final int METHODID_CREATE_EKM_CONNECTION = 2; + private static final int METHODID_UPDATE_EKM_CONNECTION = 3; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final EkmServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(EkmServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_EKM_CONNECTIONS: + serviceImpl.listEkmConnections( + (com.google.cloud.kms.v1.ListEkmConnectionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_EKM_CONNECTION: + serviceImpl.getEkmConnection( + (com.google.cloud.kms.v1.GetEkmConnectionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_EKM_CONNECTION: + serviceImpl.createEkmConnection( + (com.google.cloud.kms.v1.CreateEkmConnectionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_EKM_CONNECTION: + serviceImpl.updateEkmConnection( + (com.google.cloud.kms.v1.UpdateEkmConnectionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class EkmServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + EkmServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("EkmService"); + } + } + + private static final class EkmServiceFileDescriptorSupplier + extends EkmServiceBaseDescriptorSupplier { + EkmServiceFileDescriptorSupplier() {} + } + + private static final class EkmServiceMethodDescriptorSupplier + extends EkmServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + EkmServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (EkmServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EkmServiceFileDescriptorSupplier()) + .addMethod(getListEkmConnectionsMethod()) + .addMethod(getGetEkmConnectionMethod()) + .addMethod(getCreateEkmConnectionMethod()) + .addMethod(getUpdateEkmConnectionMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceGrpc.java b/grpc-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceGrpc.java index f61de131..4326ebd1 100644 --- a/grpc-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceGrpc.java +++ b/grpc-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceGrpc.java @@ -1370,8 +1370,9 @@ public void getKeyRing( * * *
-     * Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its
-     * [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as
+     * well as its [primary][google.cloud.kms.v1.CryptoKey.primary]
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
*/ public void getCryptoKey( @@ -1385,7 +1386,8 @@ public void getCryptoKey( * * *
-     * Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * Returns metadata for a given
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
*/ public void getCryptoKeyVersion( @@ -1399,9 +1401,11 @@ public void getCryptoKeyVersion( * * *
-     * Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The
+     * Returns the public key for the given
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The
      * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
-     * [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or
+     * [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]
+     * or
      * [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].
      * 
*/ @@ -1430,7 +1434,8 @@ public void getImportJob( * * *
-     * Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location.
+     * Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and
+     * Location.
      * 
*/ public void createKeyRing( @@ -1444,7 +1449,8 @@ public void createKeyRing( * * *
-     * Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing].
+     * Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a
+     * [KeyRing][google.cloud.kms.v1.KeyRing].
      * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and
      * [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm]
      * are required.
@@ -1461,7 +1467,8 @@ public void createCryptoKey(
      *
      *
      * 
-     * Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey].
+     * Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * The server will assign the next sequential id. If unset,
      * [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to
      * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED].
@@ -1478,11 +1485,13 @@ public void createCryptoKeyVersion(
      *
      *
      * 
-     * Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
-     * All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is
-     * additionally specified in the request, key material will be reimported into
-     * that version. Otherwise, a new version will be created, and will be
-     * assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey].
+     * Import wrapped key material into a
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If
+     * a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally
+     * specified in the request, key material will be reimported into that
+     * version. Otherwise, a new version will be created, and will be assigned the
+     * next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 
*/ public void importCryptoKeyVersion( @@ -1496,8 +1505,10 @@ public void importCryptoKeyVersion( * * *
-     * Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing].
-     * [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required.
+     * Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a
+     * [KeyRing][google.cloud.kms.v1.KeyRing].
+     * [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is
+     * required.
      * 
*/ public void createImportJob( @@ -1525,12 +1536,17 @@ public void updateCryptoKey( * * *
-     * Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata.
+     * Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s
+     * metadata.
      * [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between
-     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and
-     * [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this
-     * method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to
-     * move between other states.
+     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
+     * and
+     * [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED]
+     * using this method. See
+     * [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion]
+     * and
+     * [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]
+     * to move between other states.
      * 
*/ public void updateCryptoKeyVersion( @@ -1544,7 +1560,9 @@ public void updateCryptoKeyVersion( * * *
-     * Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
+     * Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that
+     * will be used in
+     * [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
      * Returns an error if called on a key whose purpose is not
      * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
@@ -1560,17 +1578,25 @@ public void updateCryptoKeyPrimaryVersion( * * *
-     * Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction.
-     * Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to
+     * Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for
+     * destruction.
+     * Upon calling this method,
+     * [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will
+     * be set to
      * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED],
-     * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time
-     * [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the
-     * future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will
-     * automatically change to
-     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key
-     * material will be irrevocably destroyed.
-     * Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached,
-     * [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process.
+     * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will
+     * be set to the time
+     * [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration]
+     * in the future. At that time, the
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically
+     * change to
+     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED],
+     * and the key material will be irrevocably destroyed.
+     * Before the
+     * [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is
+     * reached,
+     * [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]
+     * may be called to reverse the process.
      * 
*/ public void destroyCryptoKeyVersion( @@ -1587,9 +1613,11 @@ public void destroyCryptoKeyVersion( * Restore a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state. - * Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - * will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + * Upon restoration of the CryptoKeyVersion, + * [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + * [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + * be cleared. *
*/ public void restoreCryptoKeyVersion( @@ -1603,8 +1631,9 @@ public void restoreCryptoKeyVersion( * * *
-     * Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
-     * The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
+     * Encrypts data, so that it can only be recovered by a call to
+     * [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
      * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
*/ @@ -1618,8 +1647,10 @@ public void encrypt( * * *
-     * Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
+     * Decrypts data that was protected by
+     * [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
*/ public void decrypt( @@ -1632,9 +1663,11 @@ public void decrypt( * * *
-     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
+     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
      * ASYMMETRIC_SIGN, producing a signature that can be verified with the public
-     * key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
+     * key retrieved from
+     * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
      * 
*/ public void asymmetricSign( @@ -1650,8 +1683,10 @@ public void asymmetricSign( * *
      * Decrypts data that was encrypted with a public key retrieved from
-     * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
-     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT.
+     * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]
+     * corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
+     * ASYMMETRIC_DECRYPT.
      * 
*/ public void asymmetricDecrypt( @@ -1666,9 +1701,9 @@ public void asymmetricDecrypt( * * *
-     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * MAC, producing a tag that can be verified by another source with the
-     * same key.
+     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC,
+     * producing a tag that can be verified by another source with the same key.
      * 
*/ public void macSign( @@ -1681,9 +1716,10 @@ public void macSign( * * *
-     * Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * MAC, and returns a response that indicates whether or not the verification
-     * was successful.
+     * Verifies MAC tag using a
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns
+     * a response that indicates whether or not the verification was successful.
      * 
*/ public void macVerify( @@ -1997,8 +2033,9 @@ public void getKeyRing( * * *
-     * Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its
-     * [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as
+     * well as its [primary][google.cloud.kms.v1.CryptoKey.primary]
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
*/ public void getCryptoKey( @@ -2014,7 +2051,8 @@ public void getCryptoKey( * * *
-     * Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * Returns metadata for a given
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
*/ public void getCryptoKeyVersion( @@ -2030,9 +2068,11 @@ public void getCryptoKeyVersion( * * *
-     * Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The
+     * Returns the public key for the given
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The
      * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
-     * [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or
+     * [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]
+     * or
      * [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].
      * 
*/ @@ -2065,7 +2105,8 @@ public void getImportJob( * * *
-     * Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location.
+     * Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and
+     * Location.
      * 
*/ public void createKeyRing( @@ -2081,7 +2122,8 @@ public void createKeyRing( * * *
-     * Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing].
+     * Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a
+     * [KeyRing][google.cloud.kms.v1.KeyRing].
      * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and
      * [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm]
      * are required.
@@ -2100,7 +2142,8 @@ public void createCryptoKey(
      *
      *
      * 
-     * Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey].
+     * Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * The server will assign the next sequential id. If unset,
      * [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to
      * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED].
@@ -2119,11 +2162,13 @@ public void createCryptoKeyVersion(
      *
      *
      * 
-     * Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
-     * All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is
-     * additionally specified in the request, key material will be reimported into
-     * that version. Otherwise, a new version will be created, and will be
-     * assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey].
+     * Import wrapped key material into a
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If
+     * a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally
+     * specified in the request, key material will be reimported into that
+     * version. Otherwise, a new version will be created, and will be assigned the
+     * next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 
*/ public void importCryptoKeyVersion( @@ -2139,8 +2184,10 @@ public void importCryptoKeyVersion( * * *
-     * Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing].
-     * [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required.
+     * Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a
+     * [KeyRing][google.cloud.kms.v1.KeyRing].
+     * [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is
+     * required.
      * 
*/ public void createImportJob( @@ -2172,12 +2219,17 @@ public void updateCryptoKey( * * *
-     * Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata.
+     * Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s
+     * metadata.
      * [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between
-     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and
-     * [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this
-     * method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to
-     * move between other states.
+     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
+     * and
+     * [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED]
+     * using this method. See
+     * [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion]
+     * and
+     * [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]
+     * to move between other states.
      * 
*/ public void updateCryptoKeyVersion( @@ -2193,7 +2245,9 @@ public void updateCryptoKeyVersion( * * *
-     * Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
+     * Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that
+     * will be used in
+     * [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
      * Returns an error if called on a key whose purpose is not
      * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
@@ -2211,17 +2265,25 @@ public void updateCryptoKeyPrimaryVersion( * * *
-     * Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction.
-     * Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to
+     * Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for
+     * destruction.
+     * Upon calling this method,
+     * [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will
+     * be set to
      * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED],
-     * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time
-     * [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the
-     * future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will
-     * automatically change to
-     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key
-     * material will be irrevocably destroyed.
-     * Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached,
-     * [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process.
+     * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will
+     * be set to the time
+     * [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration]
+     * in the future. At that time, the
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically
+     * change to
+     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED],
+     * and the key material will be irrevocably destroyed.
+     * Before the
+     * [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is
+     * reached,
+     * [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]
+     * may be called to reverse the process.
      * 
*/ public void destroyCryptoKeyVersion( @@ -2240,9 +2302,11 @@ public void destroyCryptoKeyVersion( * Restore a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state. - * Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - * will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + * Upon restoration of the CryptoKeyVersion, + * [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + * [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + * be cleared. *
*/ public void restoreCryptoKeyVersion( @@ -2258,8 +2322,9 @@ public void restoreCryptoKeyVersion( * * *
-     * Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
-     * The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
+     * Encrypts data, so that it can only be recovered by a call to
+     * [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
      * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
*/ @@ -2274,8 +2339,10 @@ public void encrypt( * * *
-     * Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
+     * Decrypts data that was protected by
+     * [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
*/ public void decrypt( @@ -2289,9 +2356,11 @@ public void decrypt( * * *
-     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
+     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
      * ASYMMETRIC_SIGN, producing a signature that can be verified with the public
-     * key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
+     * key retrieved from
+     * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
      * 
*/ public void asymmetricSign( @@ -2309,8 +2378,10 @@ public void asymmetricSign( * *
      * Decrypts data that was encrypted with a public key retrieved from
-     * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
-     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT.
+     * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]
+     * corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
+     * ASYMMETRIC_DECRYPT.
      * 
*/ public void asymmetricDecrypt( @@ -2327,9 +2398,9 @@ public void asymmetricDecrypt( * * *
-     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * MAC, producing a tag that can be verified by another source with the
-     * same key.
+     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC,
+     * producing a tag that can be verified by another source with the same key.
      * 
*/ public void macSign( @@ -2343,9 +2414,10 @@ public void macSign( * * *
-     * Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * MAC, and returns a response that indicates whether or not the verification
-     * was successful.
+     * Verifies MAC tag using a
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns
+     * a response that indicates whether or not the verification was successful.
      * 
*/ public void macVerify( @@ -2471,8 +2543,9 @@ public com.google.cloud.kms.v1.KeyRing getKeyRing( * * *
-     * Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its
-     * [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as
+     * well as its [primary][google.cloud.kms.v1.CryptoKey.primary]
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
*/ public com.google.cloud.kms.v1.CryptoKey getCryptoKey( @@ -2485,7 +2558,8 @@ public com.google.cloud.kms.v1.CryptoKey getCryptoKey( * * *
-     * Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * Returns metadata for a given
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
*/ public com.google.cloud.kms.v1.CryptoKeyVersion getCryptoKeyVersion( @@ -2498,9 +2572,11 @@ public com.google.cloud.kms.v1.CryptoKeyVersion getCryptoKeyVersion( * * *
-     * Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The
+     * Returns the public key for the given
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The
      * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
-     * [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or
+     * [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]
+     * or
      * [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].
      * 
*/ @@ -2527,7 +2603,8 @@ public com.google.cloud.kms.v1.ImportJob getImportJob( * * *
-     * Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location.
+     * Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and
+     * Location.
      * 
*/ public com.google.cloud.kms.v1.KeyRing createKeyRing( @@ -2540,7 +2617,8 @@ public com.google.cloud.kms.v1.KeyRing createKeyRing( * * *
-     * Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing].
+     * Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a
+     * [KeyRing][google.cloud.kms.v1.KeyRing].
      * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and
      * [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm]
      * are required.
@@ -2556,7 +2634,8 @@ public com.google.cloud.kms.v1.CryptoKey createCryptoKey(
      *
      *
      * 
-     * Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey].
+     * Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * The server will assign the next sequential id. If unset,
      * [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to
      * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED].
@@ -2572,11 +2651,13 @@ public com.google.cloud.kms.v1.CryptoKeyVersion createCryptoKeyVersion(
      *
      *
      * 
-     * Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
-     * All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is
-     * additionally specified in the request, key material will be reimported into
-     * that version. Otherwise, a new version will be created, and will be
-     * assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey].
+     * Import wrapped key material into a
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If
+     * a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally
+     * specified in the request, key material will be reimported into that
+     * version. Otherwise, a new version will be created, and will be assigned the
+     * next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 
*/ public com.google.cloud.kms.v1.CryptoKeyVersion importCryptoKeyVersion( @@ -2589,8 +2670,10 @@ public com.google.cloud.kms.v1.CryptoKeyVersion importCryptoKeyVersion( * * *
-     * Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing].
-     * [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required.
+     * Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a
+     * [KeyRing][google.cloud.kms.v1.KeyRing].
+     * [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is
+     * required.
      * 
*/ public com.google.cloud.kms.v1.ImportJob createImportJob( @@ -2616,12 +2699,17 @@ public com.google.cloud.kms.v1.CryptoKey updateCryptoKey( * * *
-     * Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata.
+     * Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s
+     * metadata.
      * [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between
-     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and
-     * [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this
-     * method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to
-     * move between other states.
+     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
+     * and
+     * [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED]
+     * using this method. See
+     * [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion]
+     * and
+     * [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]
+     * to move between other states.
      * 
*/ public com.google.cloud.kms.v1.CryptoKeyVersion updateCryptoKeyVersion( @@ -2634,7 +2722,9 @@ public com.google.cloud.kms.v1.CryptoKeyVersion updateCryptoKeyVersion( * * *
-     * Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
+     * Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that
+     * will be used in
+     * [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
      * Returns an error if called on a key whose purpose is not
      * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
@@ -2649,17 +2739,25 @@ public com.google.cloud.kms.v1.CryptoKey updateCryptoKeyPrimaryVersion( * * *
-     * Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction.
-     * Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to
+     * Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for
+     * destruction.
+     * Upon calling this method,
+     * [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will
+     * be set to
      * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED],
-     * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time
-     * [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the
-     * future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will
-     * automatically change to
-     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key
-     * material will be irrevocably destroyed.
-     * Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached,
-     * [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process.
+     * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will
+     * be set to the time
+     * [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration]
+     * in the future. At that time, the
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically
+     * change to
+     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED],
+     * and the key material will be irrevocably destroyed.
+     * Before the
+     * [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is
+     * reached,
+     * [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]
+     * may be called to reverse the process.
      * 
*/ public com.google.cloud.kms.v1.CryptoKeyVersion destroyCryptoKeyVersion( @@ -2675,9 +2773,11 @@ public com.google.cloud.kms.v1.CryptoKeyVersion destroyCryptoKeyVersion( * Restore a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state. - * Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - * will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + * Upon restoration of the CryptoKeyVersion, + * [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + * [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + * be cleared. *
*/ public com.google.cloud.kms.v1.CryptoKeyVersion restoreCryptoKeyVersion( @@ -2690,8 +2790,9 @@ public com.google.cloud.kms.v1.CryptoKeyVersion restoreCryptoKeyVersion( * * *
-     * Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
-     * The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
+     * Encrypts data, so that it can only be recovered by a call to
+     * [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
      * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
*/ @@ -2705,8 +2806,10 @@ public com.google.cloud.kms.v1.EncryptResponse encrypt( * * *
-     * Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
+     * Decrypts data that was protected by
+     * [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
*/ public com.google.cloud.kms.v1.DecryptResponse decrypt( @@ -2719,9 +2822,11 @@ public com.google.cloud.kms.v1.DecryptResponse decrypt( * * *
-     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
+     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
      * ASYMMETRIC_SIGN, producing a signature that can be verified with the public
-     * key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
+     * key retrieved from
+     * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
      * 
*/ public com.google.cloud.kms.v1.AsymmetricSignResponse asymmetricSign( @@ -2735,8 +2840,10 @@ public com.google.cloud.kms.v1.AsymmetricSignResponse asymmetricSign( * *
      * Decrypts data that was encrypted with a public key retrieved from
-     * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
-     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT.
+     * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]
+     * corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
+     * ASYMMETRIC_DECRYPT.
      * 
*/ public com.google.cloud.kms.v1.AsymmetricDecryptResponse asymmetricDecrypt( @@ -2749,9 +2856,9 @@ public com.google.cloud.kms.v1.AsymmetricDecryptResponse asymmetricDecrypt( * * *
-     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * MAC, producing a tag that can be verified by another source with the
-     * same key.
+     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC,
+     * producing a tag that can be verified by another source with the same key.
      * 
*/ public com.google.cloud.kms.v1.MacSignResponse macSign( @@ -2764,9 +2871,10 @@ public com.google.cloud.kms.v1.MacSignResponse macSign( * * *
-     * Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * MAC, and returns a response that indicates whether or not the verification
-     * was successful.
+     * Verifies MAC tag using a
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns
+     * a response that indicates whether or not the verification was successful.
      * 
*/ public com.google.cloud.kms.v1.MacVerifyResponse macVerify( @@ -2891,8 +2999,9 @@ protected KeyManagementServiceFutureStub build( * * *
-     * Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its
-     * [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as
+     * well as its [primary][google.cloud.kms.v1.CryptoKey.primary]
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -2905,7 +3014,8 @@ protected KeyManagementServiceFutureStub build( * * *
-     * Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * Returns metadata for a given
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -2919,9 +3029,11 @@ protected KeyManagementServiceFutureStub build( * * *
-     * Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The
+     * Returns the public key for the given
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The
      * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
-     * [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or
+     * [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]
+     * or
      * [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].
      * 
*/ @@ -2948,7 +3060,8 @@ protected KeyManagementServiceFutureStub build( * * *
-     * Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location.
+     * Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and
+     * Location.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -2961,7 +3074,8 @@ protected KeyManagementServiceFutureStub build( * * *
-     * Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing].
+     * Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a
+     * [KeyRing][google.cloud.kms.v1.KeyRing].
      * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and
      * [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm]
      * are required.
@@ -2977,7 +3091,8 @@ protected KeyManagementServiceFutureStub build(
      *
      *
      * 
-     * Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey].
+     * Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * The server will assign the next sequential id. If unset,
      * [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to
      * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED].
@@ -2994,11 +3109,13 @@ protected KeyManagementServiceFutureStub build(
      *
      *
      * 
-     * Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
-     * All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is
-     * additionally specified in the request, key material will be reimported into
-     * that version. Otherwise, a new version will be created, and will be
-     * assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey].
+     * Import wrapped key material into a
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If
+     * a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally
+     * specified in the request, key material will be reimported into that
+     * version. Otherwise, a new version will be created, and will be assigned the
+     * next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3012,8 +3129,10 @@ protected KeyManagementServiceFutureStub build( * * *
-     * Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing].
-     * [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required.
+     * Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a
+     * [KeyRing][google.cloud.kms.v1.KeyRing].
+     * [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is
+     * required.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -3039,12 +3158,17 @@ protected KeyManagementServiceFutureStub build( * * *
-     * Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata.
+     * Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s
+     * metadata.
      * [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between
-     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and
-     * [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this
-     * method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to
-     * move between other states.
+     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
+     * and
+     * [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED]
+     * using this method. See
+     * [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion]
+     * and
+     * [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]
+     * to move between other states.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3058,7 +3182,9 @@ protected KeyManagementServiceFutureStub build( * * *
-     * Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
+     * Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that
+     * will be used in
+     * [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
      * Returns an error if called on a key whose purpose is not
      * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
@@ -3075,17 +3201,25 @@ protected KeyManagementServiceFutureStub build( * * *
-     * Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction.
-     * Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to
+     * Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for
+     * destruction.
+     * Upon calling this method,
+     * [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will
+     * be set to
      * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED],
-     * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time
-     * [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the
-     * future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will
-     * automatically change to
-     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key
-     * material will be irrevocably destroyed.
-     * Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached,
-     * [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process.
+     * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will
+     * be set to the time
+     * [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration]
+     * in the future. At that time, the
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically
+     * change to
+     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED],
+     * and the key material will be irrevocably destroyed.
+     * Before the
+     * [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is
+     * reached,
+     * [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]
+     * may be called to reverse the process.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3102,9 +3236,11 @@ protected KeyManagementServiceFutureStub build( * Restore a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state. - * Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - * will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + * Upon restoration of the CryptoKeyVersion, + * [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + * [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + * and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + * be cleared. *
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3118,8 +3254,9 @@ protected KeyManagementServiceFutureStub build( * * *
-     * Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
-     * The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
+     * Encrypts data, so that it can only be recovered by a call to
+     * [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
      * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
*/ @@ -3134,8 +3271,10 @@ protected KeyManagementServiceFutureStub build( * * *
-     * Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
+     * Decrypts data that was protected by
+     * [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3149,9 +3288,11 @@ protected KeyManagementServiceFutureStub build( * * *
-     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
+     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
      * ASYMMETRIC_SIGN, producing a signature that can be verified with the public
-     * key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
+     * key retrieved from
+     * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3166,8 +3307,10 @@ protected KeyManagementServiceFutureStub build( * *
      * Decrypts data that was encrypted with a public key retrieved from
-     * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
-     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT.
+     * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]
+     * corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
+     * ASYMMETRIC_DECRYPT.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3181,9 +3324,9 @@ protected KeyManagementServiceFutureStub build( * * *
-     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * MAC, producing a tag that can be verified by another source with the
-     * same key.
+     * Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC,
+     * producing a tag that can be verified by another source with the same key.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3197,9 +3340,10 @@ protected KeyManagementServiceFutureStub build( * * *
-     * Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * MAC, and returns a response that indicates whether or not the verification
-     * was successful.
+     * Verifies MAC tag using a
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns
+     * a response that indicates whether or not the verification was successful.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptRequest.java index 06751b1e..8b2ab727 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt].
+ * Request message for
+ * [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt].
  * 
* * Protobuf type {@code google.cloud.kms.v1.AsymmetricDecryptRequest} @@ -138,7 +139,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
    * decryption.
    * 
* @@ -164,7 +166,8 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
    * decryption.
    * 
* @@ -193,8 +196,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public
-   * key using OAEP.
+   * Required. The data encrypted with the named
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using
+   * OAEP.
    * 
* * bytes ciphertext = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -212,19 +216,25 @@ public com.google.protobuf.ByteString getCiphertext() { * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-   * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-   * limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+   * is equal to
+   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -241,19 +251,25 @@ public boolean hasCiphertextCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-   * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-   * limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+   * is equal to
+   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -272,19 +288,25 @@ public com.google.protobuf.Int64Value getCiphertextCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-   * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-   * limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+   * is equal to
+   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -482,7 +504,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt].
+   * Request message for
+   * [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt].
    * 
* * Protobuf type {@code google.cloud.kms.v1.AsymmetricDecryptRequest} @@ -661,7 +684,8 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
      * decryption.
      * 
* @@ -686,7 +710,8 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
      * decryption.
      * 
* @@ -711,7 +736,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
      * decryption.
      * 
* @@ -735,7 +761,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
      * decryption.
      * 
* @@ -755,7 +782,8 @@ public Builder clearName() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
      * decryption.
      * 
* @@ -782,8 +810,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public
-     * key using OAEP.
+     * Required. The data encrypted with the named
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using
+     * OAEP.
      * 
* * bytes ciphertext = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -798,8 +827,9 @@ public com.google.protobuf.ByteString getCiphertext() { * * *
-     * Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public
-     * key using OAEP.
+     * Required. The data encrypted with the named
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using
+     * OAEP.
      * 
* * bytes ciphertext = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -820,8 +850,9 @@ public Builder setCiphertext(com.google.protobuf.ByteString value) { * * *
-     * Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public
-     * key using OAEP.
+     * Required. The data encrypted with the named
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using
+     * OAEP.
      * 
* * bytes ciphertext = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -845,19 +876,25 @@ public Builder clearCiphertext() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-     * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-     * limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+     * is equal to
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -873,19 +910,25 @@ public boolean hasCiphertextCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-     * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-     * limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+     * is equal to
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -907,19 +950,25 @@ public com.google.protobuf.Int64Value getCiphertextCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-     * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-     * limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+     * is equal to
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -943,19 +992,25 @@ public Builder setCiphertextCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-     * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-     * limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+     * is equal to
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -976,19 +1031,25 @@ public Builder setCiphertextCrc32C(com.google.protobuf.Int64Value.Builder builde * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-     * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-     * limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+     * is equal to
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1016,19 +1077,25 @@ public Builder mergeCiphertextCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-     * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-     * limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+     * is equal to
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1050,19 +1117,25 @@ public Builder clearCiphertextCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-     * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-     * limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+     * is equal to
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1078,19 +1151,25 @@ public com.google.protobuf.Int64Value.Builder getCiphertextCrc32CBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-     * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-     * limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+     * is equal to
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1110,19 +1189,25 @@ public com.google.protobuf.Int64ValueOrBuilder getCiphertextCrc32COrBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-     * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-     * limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+     * is equal to
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptRequestOrBuilder.java index f4ad9103..c44d9efe 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface AsymmetricDecryptRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
    * decryption.
    * 
* @@ -42,7 +43,8 @@ public interface AsymmetricDecryptRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
    * decryption.
    * 
* @@ -58,8 +60,9 @@ public interface AsymmetricDecryptRequestOrBuilder * * *
-   * Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public
-   * key using OAEP.
+   * Required. The data encrypted with the named
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using
+   * OAEP.
    * 
* * bytes ciphertext = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -72,19 +75,25 @@ public interface AsymmetricDecryptRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-   * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-   * limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+   * is equal to
+   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -98,19 +107,25 @@ public interface AsymmetricDecryptRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-   * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-   * limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+   * is equal to
+   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -124,19 +139,25 @@ public interface AsymmetricDecryptRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
-   * If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to
-   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a
-   * limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
+   * is equal to
+   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptResponse.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptResponse.java index 26a81834..b235d933 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptResponse.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptResponse.java @@ -22,7 +22,8 @@ * * *
- * Response message for [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt].
+ * Response message for
+ * [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt].
  * 
* * Protobuf type {@code google.cloud.kms.v1.AsymmetricDecryptResponse} @@ -162,16 +163,18 @@ public com.google.protobuf.ByteString getPlaintext() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-   * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-   * your results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+   * An integrity check of
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+   * can be performed by computing the CRC32C checksum of
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -187,16 +190,18 @@ public boolean hasPlaintextCrc32C() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-   * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-   * your results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+   * An integrity check of
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+   * can be performed by computing the CRC32C checksum of
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -214,16 +219,18 @@ public com.google.protobuf.Int64Value getPlaintextCrc32C() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-   * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-   * your results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+   * An integrity check of
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+   * can be performed by computing the CRC32C checksum of
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -240,13 +247,19 @@ public com.google.protobuf.Int64ValueOrBuilder getPlaintextCrc32COrBuilder() { * *
    * Integrity verification field. A flag indicating whether
-   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. A false value of this
-   * field indicates either that [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
-   * was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If
-   * you've set [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] but this field is
-   * still false, discard the response and perform a limited number of retries.
+   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. A
+   * false value of this field indicates either that
+   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_ciphertext_crc32c = 3; @@ -264,7 +277,9 @@ public boolean getVerifiedCiphertextCrc32C() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * decryption.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; @@ -279,7 +294,9 @@ public int getProtectionLevelValue() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * decryption.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; @@ -491,7 +508,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt].
+   * Response message for
+   * [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt].
    * 
* * Protobuf type {@code google.cloud.kms.v1.AsymmetricDecryptResponse} @@ -737,16 +755,18 @@ public Builder clearPlaintext() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-     * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-     * your results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+     * An integrity check of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -761,16 +781,18 @@ public boolean hasPlaintextCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-     * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-     * your results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+     * An integrity check of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -791,16 +813,18 @@ public com.google.protobuf.Int64Value getPlaintextCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-     * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-     * your results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+     * An integrity check of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -823,16 +847,18 @@ public Builder setPlaintextCrc32C(com.google.protobuf.Int64Value value) { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-     * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-     * your results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+     * An integrity check of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -852,16 +878,18 @@ public Builder setPlaintextCrc32C(com.google.protobuf.Int64Value.Builder builder * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-     * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-     * your results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+     * An integrity check of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -888,16 +916,18 @@ public Builder mergePlaintextCrc32C(com.google.protobuf.Int64Value value) { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-     * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-     * your results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+     * An integrity check of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -918,16 +948,18 @@ public Builder clearPlaintextCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-     * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-     * your results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+     * An integrity check of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -942,16 +974,18 @@ public com.google.protobuf.Int64Value.Builder getPlaintextCrc32CBuilder() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-     * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-     * your results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+     * An integrity check of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -970,16 +1004,18 @@ public com.google.protobuf.Int64ValueOrBuilder getPlaintextCrc32COrBuilder() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-     * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-     * your results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+     * An integrity check of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -1007,13 +1043,19 @@ public com.google.protobuf.Int64ValueOrBuilder getPlaintextCrc32COrBuilder() { * *
      * Integrity verification field. A flag indicating whether
-     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. A false value of this
-     * field indicates either that [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
-     * was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If
-     * you've set [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] but this field is
-     * still false, discard the response and perform a limited number of retries.
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. A
+     * false value of this field indicates either that
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_ciphertext_crc32c = 3; @@ -1029,13 +1071,19 @@ public boolean getVerifiedCiphertextCrc32C() { * *
      * Integrity verification field. A flag indicating whether
-     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. A false value of this
-     * field indicates either that [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
-     * was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If
-     * you've set [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] but this field is
-     * still false, discard the response and perform a limited number of retries.
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. A
+     * false value of this field indicates either that
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_ciphertext_crc32c = 3; @@ -1054,13 +1102,19 @@ public Builder setVerifiedCiphertextCrc32C(boolean value) { * *
      * Integrity verification field. A flag indicating whether
-     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. A false value of this
-     * field indicates either that [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
-     * was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If
-     * you've set [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] but this field is
-     * still false, discard the response and perform a limited number of retries.
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. A
+     * false value of this field indicates either that
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_ciphertext_crc32c = 3; @@ -1079,7 +1133,9 @@ public Builder clearVerifiedCiphertextCrc32C() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * decryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; @@ -1094,7 +1150,9 @@ public int getProtectionLevelValue() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * decryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; @@ -1112,7 +1170,9 @@ public Builder setProtectionLevelValue(int value) { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * decryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; @@ -1130,7 +1190,9 @@ public com.google.cloud.kms.v1.ProtectionLevel getProtectionLevel() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * decryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; @@ -1151,7 +1213,9 @@ public Builder setProtectionLevel(com.google.cloud.kms.v1.ProtectionLevel value) * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * decryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptResponseOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptResponseOrBuilder.java index 8270f28c..2a20036c 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptResponseOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptResponseOrBuilder.java @@ -41,16 +41,18 @@ public interface AsymmetricDecryptResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-   * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-   * your results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+   * An integrity check of
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+   * can be performed by computing the CRC32C checksum of
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -63,16 +65,18 @@ public interface AsymmetricDecryptResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-   * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-   * your results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+   * An integrity check of
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+   * can be performed by computing the CRC32C checksum of
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -85,16 +89,18 @@ public interface AsymmetricDecryptResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of
-   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the
-   * CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing
-   * your results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext].
+   * An integrity check of
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+   * can be performed by computing the CRC32C checksum of
+   * [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -106,13 +112,19 @@ public interface AsymmetricDecryptResponseOrBuilder * *
    * Integrity verification field. A flag indicating whether
-   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. A false value of this
-   * field indicates either that [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
-   * was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If
-   * you've set [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] but this field is
-   * still false, discard the response and perform a limited number of retries.
+   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. A
+   * false value of this field indicates either that
+   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_ciphertext_crc32c = 3; @@ -125,7 +137,9 @@ public interface AsymmetricDecryptResponseOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * decryption.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; @@ -137,7 +151,9 @@ public interface AsymmetricDecryptResponseOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * decryption.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignRequest.java index 9e41135f..b2778bb4 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign].
+ * Request message for
+ * [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign].
  * 
* * Protobuf type {@code google.cloud.kms.v1.AsymmetricSignRequest} @@ -168,7 +169,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * signing.
    * 
* * @@ -193,7 +196,9 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * signing.
    * 
* * @@ -224,6 +229,9 @@ public com.google.protobuf.ByteString getNameBytes() { * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. *
* * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -241,6 +249,9 @@ public boolean hasDigest() { * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. *
* * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -258,6 +269,9 @@ public com.google.cloud.kms.v1.Digest getDigest() { * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. *
* * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -273,19 +287,25 @@ public com.google.cloud.kms.v1.DigestOrBuilder getDigestOrBuilder() { * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+   * is equal to
+   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value digest_crc32c = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -301,19 +321,25 @@ public boolean hasDigestCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+   * is equal to
+   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value digest_crc32c = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -331,19 +357,25 @@ public com.google.protobuf.Int64Value getDigestCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+   * is equal to
+   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value digest_crc32c = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -360,9 +392,10 @@ public com.google.protobuf.Int64ValueOrBuilder getDigestCrc32COrBuilder() { * * *
-   * Optional. This field will only be honored for RAW_PKCS1 keys.
-   * The data to sign. A digest is computed over the data that will be signed,
-   * PKCS #1 padding is applied to the digest directly and then encrypted.
+   * Optional. The data to sign.
+   * It can't be supplied if
+   * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+   * is supplied.
    * 
* * bytes data = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -380,19 +413,25 @@ public com.google.protobuf.ByteString getData() { * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+   * is equal to
+   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -408,19 +447,25 @@ public boolean hasDataCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+   * is equal to
+   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -436,19 +481,25 @@ public com.google.protobuf.Int64Value getDataCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+   * is equal to
+   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -673,7 +724,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign].
+   * Request message for
+   * [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign].
    * 
* * Protobuf type {@code google.cloud.kms.v1.AsymmetricSignRequest} @@ -879,7 +931,9 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * signing.
      * 
* * @@ -903,7 +957,9 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * signing.
      * 
* * @@ -927,7 +983,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * signing.
      * 
* * @@ -950,7 +1008,9 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * signing.
      * 
* * @@ -969,7 +1029,9 @@ public Builder clearName() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * signing.
      * 
* * @@ -1003,6 +1065,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. *
* * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1020,6 +1085,9 @@ public boolean hasDigest() { * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. * * * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1041,6 +1109,9 @@ public com.google.cloud.kms.v1.Digest getDigest() { * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. * * * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1066,6 +1137,9 @@ public Builder setDigest(com.google.cloud.kms.v1.Digest value) { * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. * * * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1088,6 +1162,9 @@ public Builder setDigest(com.google.cloud.kms.v1.Digest.Builder builderForValue) * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. * * * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1115,6 +1192,9 @@ public Builder mergeDigest(com.google.cloud.kms.v1.Digest value) { * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. * * * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1138,6 +1218,9 @@ public Builder clearDigest() { * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. * * * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1155,6 +1238,9 @@ public com.google.cloud.kms.v1.Digest.Builder getDigestBuilder() { * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. * * * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1174,6 +1260,9 @@ public com.google.cloud.kms.v1.DigestOrBuilder getDigestOrBuilder() { * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. * * * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1206,19 +1295,25 @@ public com.google.cloud.kms.v1.DigestOrBuilder getDigestOrBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+     * is equal to
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1234,19 +1329,25 @@ public boolean hasDigestCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+     * is equal to
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1268,19 +1369,25 @@ public com.google.protobuf.Int64Value getDigestCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+     * is equal to
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1304,19 +1411,25 @@ public Builder setDigestCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+     * is equal to
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1337,19 +1450,25 @@ public Builder setDigestCrc32C(com.google.protobuf.Int64Value.Builder builderFor * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+     * is equal to
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1377,19 +1496,25 @@ public Builder mergeDigestCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+     * is equal to
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1411,19 +1536,25 @@ public Builder clearDigestCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+     * is equal to
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1439,19 +1570,25 @@ public com.google.protobuf.Int64Value.Builder getDigestCrc32CBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+     * is equal to
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1471,19 +1608,25 @@ public com.google.protobuf.Int64ValueOrBuilder getDigestCrc32COrBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+     * is equal to
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1512,9 +1655,10 @@ public com.google.protobuf.Int64ValueOrBuilder getDigestCrc32COrBuilder() { * * *
-     * Optional. This field will only be honored for RAW_PKCS1 keys.
-     * The data to sign. A digest is computed over the data that will be signed,
-     * PKCS #1 padding is applied to the digest directly and then encrypted.
+     * Optional. The data to sign.
+     * It can't be supplied if
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+     * is supplied.
      * 
* * bytes data = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -1529,9 +1673,10 @@ public com.google.protobuf.ByteString getData() { * * *
-     * Optional. This field will only be honored for RAW_PKCS1 keys.
-     * The data to sign. A digest is computed over the data that will be signed,
-     * PKCS #1 padding is applied to the digest directly and then encrypted.
+     * Optional. The data to sign.
+     * It can't be supplied if
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+     * is supplied.
      * 
* * bytes data = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -1552,9 +1697,10 @@ public Builder setData(com.google.protobuf.ByteString value) { * * *
-     * Optional. This field will only be honored for RAW_PKCS1 keys.
-     * The data to sign. A digest is computed over the data that will be signed,
-     * PKCS #1 padding is applied to the digest directly and then encrypted.
+     * Optional. The data to sign.
+     * It can't be supplied if
+     * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+     * is supplied.
      * 
* * bytes data = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -1578,19 +1724,25 @@ public Builder clearData() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+     * is equal to
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1605,19 +1757,25 @@ public boolean hasDataCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+     * is equal to
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1638,19 +1796,25 @@ public com.google.protobuf.Int64Value getDataCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+     * is equal to
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1673,19 +1837,25 @@ public Builder setDataCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+     * is equal to
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1705,19 +1875,25 @@ public Builder setDataCrc32C(com.google.protobuf.Int64Value.Builder builderForVa * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+     * is equal to
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1744,19 +1920,25 @@ public Builder mergeDataCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+     * is equal to
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1777,19 +1959,25 @@ public Builder clearDataCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+     * is equal to
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1804,19 +1992,25 @@ public com.google.protobuf.Int64Value.Builder getDataCrc32CBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+     * is equal to
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1835,19 +2029,25 @@ public com.google.protobuf.Int64ValueOrBuilder getDataCrc32COrBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+     * is equal to
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignRequestOrBuilder.java index 17a12c0d..a11eadba 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignRequestOrBuilder.java @@ -27,7 +27,9 @@ public interface AsymmetricSignRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * signing.
    * 
* * @@ -41,7 +43,9 @@ public interface AsymmetricSignRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * signing.
    * 
* * @@ -59,6 +63,9 @@ public interface AsymmetricSignRequestOrBuilder * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. * * * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -73,6 +80,9 @@ public interface AsymmetricSignRequestOrBuilder * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. * * * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -87,6 +97,9 @@ public interface AsymmetricSignRequestOrBuilder * Optional. The digest of the data to sign. The digest must be produced with * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + * This field may not be supplied if + * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + * is supplied. * * * .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -97,19 +110,25 @@ public interface AsymmetricSignRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+   * is equal to
+   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value digest_crc32c = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -122,19 +141,25 @@ public interface AsymmetricSignRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+   * is equal to
+   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value digest_crc32c = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -147,19 +172,25 @@ public interface AsymmetricSignRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to
-   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest])
+   * is equal to
+   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value digest_crc32c = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -171,9 +202,10 @@ public interface AsymmetricSignRequestOrBuilder * * *
-   * Optional. This field will only be honored for RAW_PKCS1 keys.
-   * The data to sign. A digest is computed over the data that will be signed,
-   * PKCS #1 padding is applied to the digest directly and then encrypted.
+   * Optional. The data to sign.
+   * It can't be supplied if
+   * [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]
+   * is supplied.
    * 
* * bytes data = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -186,19 +218,25 @@ public interface AsymmetricSignRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+   * is equal to
+   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -211,19 +249,25 @@ public interface AsymmetricSignRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+   * is equal to
+   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -236,19 +280,25 @@ public interface AsymmetricSignRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to
-   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data])
+   * is equal to
+   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignResponse.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignResponse.java index 558131fb..58c65505 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignResponse.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignResponse.java @@ -22,7 +22,8 @@ * * *
- * Response message for [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign].
+ * Response message for
+ * [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign].
  * 
* * Protobuf type {@code google.cloud.kms.v1.AsymmetricSignResponse} @@ -175,16 +176,18 @@ public com.google.protobuf.ByteString getSignature() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-   * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+   * An integrity check of
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+   * can be performed by computing the CRC32C checksum of
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -200,16 +203,18 @@ public boolean hasSignatureCrc32C() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-   * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+   * An integrity check of
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+   * can be performed by computing the CRC32C checksum of
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -227,16 +232,18 @@ public com.google.protobuf.Int64Value getSignatureCrc32C() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-   * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+   * An integrity check of
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+   * can be performed by computing the CRC32C checksum of
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -253,13 +260,19 @@ public com.google.protobuf.Int64ValueOrBuilder getSignatureCrc32COrBuilder() { * *
    * Integrity verification field. A flag indicating whether
-   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value of this field
-   * indicates either that [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was left
-   * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-   * set [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] but this field is still false,
-   * discard the response and perform a limited number of retries.
+   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value
+   * of this field indicates either that
+   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_digest_crc32c = 3; @@ -277,8 +290,9 @@ public boolean getVerifiedDigestCrc32C() { * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-   * this field to verify that the intended resource was used for signing.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * Check this field to verify that the intended resource was used for signing.
    * 
* * string name = 4; @@ -301,8 +315,9 @@ public java.lang.String getName() { * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-   * this field to verify that the intended resource was used for signing.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * Check this field to verify that the intended resource was used for signing.
    * 
* * string name = 4; @@ -329,13 +344,19 @@ public com.google.protobuf.ByteString getNameBytes() { * *
    * Integrity verification field. A flag indicating whether
-   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of this field
-   * indicates either that [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was left
-   * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-   * set [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] but this field is still false,
-   * discard the response and perform a limited number of retries.
+   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of
+   * this field indicates either that
+   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_data_crc32c = 5; @@ -353,7 +374,8 @@ public boolean getVerifiedDataCrc32C() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; @@ -368,7 +390,8 @@ public int getProtectionLevelValue() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; @@ -598,7 +621,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign].
+   * Response message for
+   * [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign].
    * 
* * Protobuf type {@code google.cloud.kms.v1.AsymmetricSignResponse} @@ -855,16 +879,18 @@ public Builder clearSignature() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-     * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+     * An integrity check of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -879,16 +905,18 @@ public boolean hasSignatureCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-     * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+     * An integrity check of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -909,16 +937,18 @@ public com.google.protobuf.Int64Value getSignatureCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-     * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+     * An integrity check of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -941,16 +971,18 @@ public Builder setSignatureCrc32C(com.google.protobuf.Int64Value value) { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-     * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+     * An integrity check of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -970,16 +1002,18 @@ public Builder setSignatureCrc32C(com.google.protobuf.Int64Value.Builder builder * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-     * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+     * An integrity check of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -1006,16 +1040,18 @@ public Builder mergeSignatureCrc32C(com.google.protobuf.Int64Value value) { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-     * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+     * An integrity check of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -1036,16 +1072,18 @@ public Builder clearSignatureCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-     * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+     * An integrity check of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -1060,16 +1098,18 @@ public com.google.protobuf.Int64Value.Builder getSignatureCrc32CBuilder() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-     * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+     * An integrity check of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -1088,16 +1128,18 @@ public com.google.protobuf.Int64ValueOrBuilder getSignatureCrc32COrBuilder() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-     * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+     * An integrity check of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * can be performed by computing the CRC32C checksum of
+     * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -1125,13 +1167,19 @@ public com.google.protobuf.Int64ValueOrBuilder getSignatureCrc32COrBuilder() { * *
      * Integrity verification field. A flag indicating whether
-     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value of this field
-     * indicates either that [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value
+     * of this field indicates either that
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_digest_crc32c = 3; @@ -1147,13 +1195,19 @@ public boolean getVerifiedDigestCrc32C() { * *
      * Integrity verification field. A flag indicating whether
-     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value of this field
-     * indicates either that [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value
+     * of this field indicates either that
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_digest_crc32c = 3; @@ -1172,13 +1226,19 @@ public Builder setVerifiedDigestCrc32C(boolean value) { * *
      * Integrity verification field. A flag indicating whether
-     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value of this field
-     * indicates either that [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value
+     * of this field indicates either that
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_digest_crc32c = 3; @@ -1197,8 +1257,9 @@ public Builder clearVerifiedDigestCrc32C() { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-     * this field to verify that the intended resource was used for signing.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * Check this field to verify that the intended resource was used for signing.
      * 
* * string name = 4; @@ -1220,8 +1281,9 @@ public java.lang.String getName() { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-     * this field to verify that the intended resource was used for signing.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * Check this field to verify that the intended resource was used for signing.
      * 
* * string name = 4; @@ -1243,8 +1305,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-     * this field to verify that the intended resource was used for signing.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * Check this field to verify that the intended resource was used for signing.
      * 
* * string name = 4; @@ -1265,8 +1328,9 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-     * this field to verify that the intended resource was used for signing.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * Check this field to verify that the intended resource was used for signing.
      * 
* * string name = 4; @@ -1283,8 +1347,9 @@ public Builder clearName() { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-     * this field to verify that the intended resource was used for signing.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * Check this field to verify that the intended resource was used for signing.
      * 
* * string name = 4; @@ -1309,13 +1374,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * *
      * Integrity verification field. A flag indicating whether
-     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of this field
-     * indicates either that [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of
+     * this field indicates either that
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_data_crc32c = 5; @@ -1331,13 +1402,19 @@ public boolean getVerifiedDataCrc32C() { * *
      * Integrity verification field. A flag indicating whether
-     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of this field
-     * indicates either that [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of
+     * this field indicates either that
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_data_crc32c = 5; @@ -1356,13 +1433,19 @@ public Builder setVerifiedDataCrc32C(boolean value) { * *
      * Integrity verification field. A flag indicating whether
-     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of this field
-     * indicates either that [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of
+     * this field indicates either that
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_data_crc32c = 5; @@ -1381,7 +1464,8 @@ public Builder clearVerifiedDataCrc32C() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; @@ -1396,7 +1480,8 @@ public int getProtectionLevelValue() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; @@ -1414,7 +1499,8 @@ public Builder setProtectionLevelValue(int value) { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; @@ -1432,7 +1518,8 @@ public com.google.cloud.kms.v1.ProtectionLevel getProtectionLevel() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; @@ -1453,7 +1540,8 @@ public Builder setProtectionLevel(com.google.cloud.kms.v1.ProtectionLevel value) * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignResponseOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignResponseOrBuilder.java index a435b80c..aa60274e 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignResponseOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignResponseOrBuilder.java @@ -41,16 +41,18 @@ public interface AsymmetricSignResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-   * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+   * An integrity check of
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+   * can be performed by computing the CRC32C checksum of
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -63,16 +65,18 @@ public interface AsymmetricSignResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-   * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+   * An integrity check of
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+   * can be performed by computing the CRC32C checksum of
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -85,16 +89,18 @@ public interface AsymmetricSignResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of
-   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the
-   * CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature].
+   * An integrity check of
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+   * can be performed by computing the CRC32C checksum of
+   * [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value signature_crc32c = 2; @@ -106,13 +112,19 @@ public interface AsymmetricSignResponseOrBuilder * *
    * Integrity verification field. A flag indicating whether
-   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value of this field
-   * indicates either that [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was left
-   * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-   * set [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] but this field is still false,
-   * discard the response and perform a limited number of retries.
+   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value
+   * of this field indicates either that
+   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_digest_crc32c = 3; @@ -125,8 +137,9 @@ public interface AsymmetricSignResponseOrBuilder * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-   * this field to verify that the intended resource was used for signing.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * Check this field to verify that the intended resource was used for signing.
    * 
* * string name = 4; @@ -138,8 +151,9 @@ public interface AsymmetricSignResponseOrBuilder * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-   * this field to verify that the intended resource was used for signing.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * Check this field to verify that the intended resource was used for signing.
    * 
* * string name = 4; @@ -153,13 +167,19 @@ public interface AsymmetricSignResponseOrBuilder * *
    * Integrity verification field. A flag indicating whether
-   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of this field
-   * indicates either that [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was left
-   * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-   * set [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] but this field is still false,
-   * discard the response and perform a limited number of retries.
+   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of
+   * this field indicates either that
+   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_data_crc32c = 5; @@ -172,7 +192,8 @@ public interface AsymmetricSignResponseOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; @@ -184,7 +205,8 @@ public interface AsymmetricSignResponseOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/Certificate.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/Certificate.java new file mode 100644 index 00000000..61c8b1c3 --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/Certificate.java @@ -0,0 +1,2328 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +/** + * + * + *
+ * A [Certificate][google.cloud.kms.v1.Certificate] represents an X.509
+ * certificate used to authenticate HTTPS connections to EKM replicas.
+ * 
+ * + * Protobuf type {@code google.cloud.kms.v1.Certificate} + */ +public final class Certificate extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.kms.v1.Certificate) + CertificateOrBuilder { + private static final long serialVersionUID = 0L; + // Use Certificate.newBuilder() to construct. + private Certificate(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Certificate() { + rawDer_ = com.google.protobuf.ByteString.EMPTY; + issuer_ = ""; + subject_ = ""; + subjectAlternativeDnsNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + serialNumber_ = ""; + sha256Fingerprint_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Certificate(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Certificate( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + rawDer_ = input.readBytes(); + break; + } + case 16: + { + parsed_ = input.readBool(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + issuer_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + subject_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + subjectAlternativeDnsNames_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + subjectAlternativeDnsNames_.add(s); + break; + } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (notBeforeTime_ != null) { + subBuilder = notBeforeTime_.toBuilder(); + } + notBeforeTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(notBeforeTime_); + notBeforeTime_ = subBuilder.buildPartial(); + } + + break; + } + case 58: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (notAfterTime_ != null) { + subBuilder = notAfterTime_.toBuilder(); + } + notAfterTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(notAfterTime_); + notAfterTime_ = subBuilder.buildPartial(); + } + + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + + serialNumber_ = s; + break; + } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); + + sha256Fingerprint_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + subjectAlternativeDnsNames_ = subjectAlternativeDnsNames_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_Certificate_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_Certificate_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.Certificate.class, + com.google.cloud.kms.v1.Certificate.Builder.class); + } + + public static final int RAW_DER_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString rawDer_; + /** + * + * + *
+   * Required. The raw certificate bytes in DER format.
+   * 
+ * + * bytes raw_der = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The rawDer. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRawDer() { + return rawDer_; + } + + public static final int PARSED_FIELD_NUMBER = 2; + private boolean parsed_; + /** + * + * + *
+   * Output only. True if the certificate was parsed successfully.
+   * 
+ * + * bool parsed = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The parsed. + */ + @java.lang.Override + public boolean getParsed() { + return parsed_; + } + + public static final int ISSUER_FIELD_NUMBER = 3; + private volatile java.lang.Object issuer_; + /** + * + * + *
+   * Output only. The issuer distinguished name in RFC 2253 format. Only present
+   * if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string issuer = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The issuer. + */ + @java.lang.Override + public java.lang.String getIssuer() { + java.lang.Object ref = issuer_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + issuer_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The issuer distinguished name in RFC 2253 format. Only present
+   * if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string issuer = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for issuer. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIssuerBytes() { + java.lang.Object ref = issuer_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + issuer_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUBJECT_FIELD_NUMBER = 4; + private volatile java.lang.Object subject_; + /** + * + * + *
+   * Output only. The subject distinguished name in RFC 2253 format. Only
+   * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The subject. + */ + @java.lang.Override + public java.lang.String getSubject() { + java.lang.Object ref = subject_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subject_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The subject distinguished name in RFC 2253 format. Only
+   * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for subject. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSubjectBytes() { + java.lang.Object ref = subject_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subject_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUBJECT_ALTERNATIVE_DNS_NAMES_FIELD_NUMBER = 5; + private com.google.protobuf.LazyStringList subjectAlternativeDnsNames_; + /** + * + * + *
+   * Output only. The subject Alternative DNS names. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return A list containing the subjectAlternativeDnsNames. + */ + public com.google.protobuf.ProtocolStringList getSubjectAlternativeDnsNamesList() { + return subjectAlternativeDnsNames_; + } + /** + * + * + *
+   * Output only. The subject Alternative DNS names. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The count of subjectAlternativeDnsNames. + */ + public int getSubjectAlternativeDnsNamesCount() { + return subjectAlternativeDnsNames_.size(); + } + /** + * + * + *
+   * Output only. The subject Alternative DNS names. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index of the element to return. + * @return The subjectAlternativeDnsNames at the given index. + */ + public java.lang.String getSubjectAlternativeDnsNames(int index) { + return subjectAlternativeDnsNames_.get(index); + } + /** + * + * + *
+   * Output only. The subject Alternative DNS names. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index of the value to return. + * @return The bytes of the subjectAlternativeDnsNames at the given index. + */ + public com.google.protobuf.ByteString getSubjectAlternativeDnsNamesBytes(int index) { + return subjectAlternativeDnsNames_.getByteString(index); + } + + public static final int NOT_BEFORE_TIME_FIELD_NUMBER = 6; + private com.google.protobuf.Timestamp notBeforeTime_; + /** + * + * + *
+   * Output only. The certificate is not valid before this time. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the notBeforeTime field is set. + */ + @java.lang.Override + public boolean hasNotBeforeTime() { + return notBeforeTime_ != null; + } + /** + * + * + *
+   * Output only. The certificate is not valid before this time. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The notBeforeTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getNotBeforeTime() { + return notBeforeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : notBeforeTime_; + } + /** + * + * + *
+   * Output only. The certificate is not valid before this time. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getNotBeforeTimeOrBuilder() { + return getNotBeforeTime(); + } + + public static final int NOT_AFTER_TIME_FIELD_NUMBER = 7; + private com.google.protobuf.Timestamp notAfterTime_; + /** + * + * + *
+   * Output only. The certificate is not valid after this time. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the notAfterTime field is set. + */ + @java.lang.Override + public boolean hasNotAfterTime() { + return notAfterTime_ != null; + } + /** + * + * + *
+   * Output only. The certificate is not valid after this time. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The notAfterTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getNotAfterTime() { + return notAfterTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : notAfterTime_; + } + /** + * + * + *
+   * Output only. The certificate is not valid after this time. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getNotAfterTimeOrBuilder() { + return getNotAfterTime(); + } + + public static final int SERIAL_NUMBER_FIELD_NUMBER = 8; + private volatile java.lang.Object serialNumber_; + /** + * + * + *
+   * Output only. The certificate serial number as a hex string. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string serial_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The serialNumber. + */ + @java.lang.Override + public java.lang.String getSerialNumber() { + java.lang.Object ref = serialNumber_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serialNumber_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The certificate serial number as a hex string. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string serial_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for serialNumber. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSerialNumberBytes() { + java.lang.Object ref = serialNumber_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serialNumber_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SHA256_FINGERPRINT_FIELD_NUMBER = 9; + private volatile java.lang.Object sha256Fingerprint_; + /** + * + * + *
+   * Output only. The SHA-256 certificate fingerprint as a hex string. Only
+   * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string sha256_fingerprint = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The sha256Fingerprint. + */ + @java.lang.Override + public java.lang.String getSha256Fingerprint() { + java.lang.Object ref = sha256Fingerprint_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sha256Fingerprint_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The SHA-256 certificate fingerprint as a hex string. Only
+   * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string sha256_fingerprint = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for sha256Fingerprint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSha256FingerprintBytes() { + java.lang.Object ref = sha256Fingerprint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sha256Fingerprint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!rawDer_.isEmpty()) { + output.writeBytes(1, rawDer_); + } + if (parsed_ != false) { + output.writeBool(2, parsed_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, issuer_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, subject_); + } + for (int i = 0; i < subjectAlternativeDnsNames_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, subjectAlternativeDnsNames_.getRaw(i)); + } + if (notBeforeTime_ != null) { + output.writeMessage(6, getNotBeforeTime()); + } + if (notAfterTime_ != null) { + output.writeMessage(7, getNotAfterTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serialNumber_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, serialNumber_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sha256Fingerprint_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, sha256Fingerprint_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!rawDer_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, rawDer_); + } + if (parsed_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, parsed_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, issuer_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, subject_); + } + { + int dataSize = 0; + for (int i = 0; i < subjectAlternativeDnsNames_.size(); i++) { + dataSize += computeStringSizeNoTag(subjectAlternativeDnsNames_.getRaw(i)); + } + size += dataSize; + size += 1 * getSubjectAlternativeDnsNamesList().size(); + } + if (notBeforeTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getNotBeforeTime()); + } + if (notAfterTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getNotAfterTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serialNumber_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, serialNumber_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sha256Fingerprint_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, sha256Fingerprint_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.kms.v1.Certificate)) { + return super.equals(obj); + } + com.google.cloud.kms.v1.Certificate other = (com.google.cloud.kms.v1.Certificate) obj; + + if (!getRawDer().equals(other.getRawDer())) return false; + if (getParsed() != other.getParsed()) return false; + if (!getIssuer().equals(other.getIssuer())) return false; + if (!getSubject().equals(other.getSubject())) return false; + if (!getSubjectAlternativeDnsNamesList().equals(other.getSubjectAlternativeDnsNamesList())) + return false; + if (hasNotBeforeTime() != other.hasNotBeforeTime()) return false; + if (hasNotBeforeTime()) { + if (!getNotBeforeTime().equals(other.getNotBeforeTime())) return false; + } + if (hasNotAfterTime() != other.hasNotAfterTime()) return false; + if (hasNotAfterTime()) { + if (!getNotAfterTime().equals(other.getNotAfterTime())) return false; + } + if (!getSerialNumber().equals(other.getSerialNumber())) return false; + if (!getSha256Fingerprint().equals(other.getSha256Fingerprint())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RAW_DER_FIELD_NUMBER; + hash = (53 * hash) + getRawDer().hashCode(); + hash = (37 * hash) + PARSED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getParsed()); + hash = (37 * hash) + ISSUER_FIELD_NUMBER; + hash = (53 * hash) + getIssuer().hashCode(); + hash = (37 * hash) + SUBJECT_FIELD_NUMBER; + hash = (53 * hash) + getSubject().hashCode(); + if (getSubjectAlternativeDnsNamesCount() > 0) { + hash = (37 * hash) + SUBJECT_ALTERNATIVE_DNS_NAMES_FIELD_NUMBER; + hash = (53 * hash) + getSubjectAlternativeDnsNamesList().hashCode(); + } + if (hasNotBeforeTime()) { + hash = (37 * hash) + NOT_BEFORE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getNotBeforeTime().hashCode(); + } + if (hasNotAfterTime()) { + hash = (37 * hash) + NOT_AFTER_TIME_FIELD_NUMBER; + hash = (53 * hash) + getNotAfterTime().hashCode(); + } + hash = (37 * hash) + SERIAL_NUMBER_FIELD_NUMBER; + hash = (53 * hash) + getSerialNumber().hashCode(); + hash = (37 * hash) + SHA256_FINGERPRINT_FIELD_NUMBER; + hash = (53 * hash) + getSha256Fingerprint().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.kms.v1.Certificate parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.Certificate parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.Certificate parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.Certificate parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.Certificate parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.Certificate parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.Certificate parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.Certificate parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.Certificate parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.Certificate parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.Certificate parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.Certificate parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.kms.v1.Certificate prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A [Certificate][google.cloud.kms.v1.Certificate] represents an X.509
+   * certificate used to authenticate HTTPS connections to EKM replicas.
+   * 
+ * + * Protobuf type {@code google.cloud.kms.v1.Certificate} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.kms.v1.Certificate) + com.google.cloud.kms.v1.CertificateOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_Certificate_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_Certificate_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.Certificate.class, + com.google.cloud.kms.v1.Certificate.Builder.class); + } + + // Construct using com.google.cloud.kms.v1.Certificate.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + rawDer_ = com.google.protobuf.ByteString.EMPTY; + + parsed_ = false; + + issuer_ = ""; + + subject_ = ""; + + subjectAlternativeDnsNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + if (notBeforeTimeBuilder_ == null) { + notBeforeTime_ = null; + } else { + notBeforeTime_ = null; + notBeforeTimeBuilder_ = null; + } + if (notAfterTimeBuilder_ == null) { + notAfterTime_ = null; + } else { + notAfterTime_ = null; + notAfterTimeBuilder_ = null; + } + serialNumber_ = ""; + + sha256Fingerprint_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_Certificate_descriptor; + } + + @java.lang.Override + public com.google.cloud.kms.v1.Certificate getDefaultInstanceForType() { + return com.google.cloud.kms.v1.Certificate.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.kms.v1.Certificate build() { + com.google.cloud.kms.v1.Certificate result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.kms.v1.Certificate buildPartial() { + com.google.cloud.kms.v1.Certificate result = new com.google.cloud.kms.v1.Certificate(this); + int from_bitField0_ = bitField0_; + result.rawDer_ = rawDer_; + result.parsed_ = parsed_; + result.issuer_ = issuer_; + result.subject_ = subject_; + if (((bitField0_ & 0x00000001) != 0)) { + subjectAlternativeDnsNames_ = subjectAlternativeDnsNames_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.subjectAlternativeDnsNames_ = subjectAlternativeDnsNames_; + if (notBeforeTimeBuilder_ == null) { + result.notBeforeTime_ = notBeforeTime_; + } else { + result.notBeforeTime_ = notBeforeTimeBuilder_.build(); + } + if (notAfterTimeBuilder_ == null) { + result.notAfterTime_ = notAfterTime_; + } else { + result.notAfterTime_ = notAfterTimeBuilder_.build(); + } + result.serialNumber_ = serialNumber_; + result.sha256Fingerprint_ = sha256Fingerprint_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.kms.v1.Certificate) { + return mergeFrom((com.google.cloud.kms.v1.Certificate) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.kms.v1.Certificate other) { + if (other == com.google.cloud.kms.v1.Certificate.getDefaultInstance()) return this; + if (other.getRawDer() != com.google.protobuf.ByteString.EMPTY) { + setRawDer(other.getRawDer()); + } + if (other.getParsed() != false) { + setParsed(other.getParsed()); + } + if (!other.getIssuer().isEmpty()) { + issuer_ = other.issuer_; + onChanged(); + } + if (!other.getSubject().isEmpty()) { + subject_ = other.subject_; + onChanged(); + } + if (!other.subjectAlternativeDnsNames_.isEmpty()) { + if (subjectAlternativeDnsNames_.isEmpty()) { + subjectAlternativeDnsNames_ = other.subjectAlternativeDnsNames_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSubjectAlternativeDnsNamesIsMutable(); + subjectAlternativeDnsNames_.addAll(other.subjectAlternativeDnsNames_); + } + onChanged(); + } + if (other.hasNotBeforeTime()) { + mergeNotBeforeTime(other.getNotBeforeTime()); + } + if (other.hasNotAfterTime()) { + mergeNotAfterTime(other.getNotAfterTime()); + } + if (!other.getSerialNumber().isEmpty()) { + serialNumber_ = other.serialNumber_; + onChanged(); + } + if (!other.getSha256Fingerprint().isEmpty()) { + sha256Fingerprint_ = other.sha256Fingerprint_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.kms.v1.Certificate parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.kms.v1.Certificate) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.ByteString rawDer_ = com.google.protobuf.ByteString.EMPTY; + /** + * + * + *
+     * Required. The raw certificate bytes in DER format.
+     * 
+ * + * bytes raw_der = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The rawDer. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRawDer() { + return rawDer_; + } + /** + * + * + *
+     * Required. The raw certificate bytes in DER format.
+     * 
+ * + * bytes raw_der = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The rawDer to set. + * @return This builder for chaining. + */ + public Builder setRawDer(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + rawDer_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The raw certificate bytes in DER format.
+     * 
+ * + * bytes raw_der = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearRawDer() { + + rawDer_ = getDefaultInstance().getRawDer(); + onChanged(); + return this; + } + + private boolean parsed_; + /** + * + * + *
+     * Output only. True if the certificate was parsed successfully.
+     * 
+ * + * bool parsed = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The parsed. + */ + @java.lang.Override + public boolean getParsed() { + return parsed_; + } + /** + * + * + *
+     * Output only. True if the certificate was parsed successfully.
+     * 
+ * + * bool parsed = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The parsed to set. + * @return This builder for chaining. + */ + public Builder setParsed(boolean value) { + + parsed_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. True if the certificate was parsed successfully.
+     * 
+ * + * bool parsed = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearParsed() { + + parsed_ = false; + onChanged(); + return this; + } + + private java.lang.Object issuer_ = ""; + /** + * + * + *
+     * Output only. The issuer distinguished name in RFC 2253 format. Only present
+     * if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string issuer = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The issuer. + */ + public java.lang.String getIssuer() { + java.lang.Object ref = issuer_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + issuer_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The issuer distinguished name in RFC 2253 format. Only present
+     * if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string issuer = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for issuer. + */ + public com.google.protobuf.ByteString getIssuerBytes() { + java.lang.Object ref = issuer_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + issuer_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The issuer distinguished name in RFC 2253 format. Only present
+     * if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string issuer = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The issuer to set. + * @return This builder for chaining. + */ + public Builder setIssuer(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + issuer_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The issuer distinguished name in RFC 2253 format. Only present
+     * if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string issuer = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearIssuer() { + + issuer_ = getDefaultInstance().getIssuer(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The issuer distinguished name in RFC 2253 format. Only present
+     * if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string issuer = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for issuer to set. + * @return This builder for chaining. + */ + public Builder setIssuerBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + issuer_ = value; + onChanged(); + return this; + } + + private java.lang.Object subject_ = ""; + /** + * + * + *
+     * Output only. The subject distinguished name in RFC 2253 format. Only
+     * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The subject. + */ + public java.lang.String getSubject() { + java.lang.Object ref = subject_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subject_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The subject distinguished name in RFC 2253 format. Only
+     * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for subject. + */ + public com.google.protobuf.ByteString getSubjectBytes() { + java.lang.Object ref = subject_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subject_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The subject distinguished name in RFC 2253 format. Only
+     * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The subject to set. + * @return This builder for chaining. + */ + public Builder setSubject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + subject_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The subject distinguished name in RFC 2253 format. Only
+     * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearSubject() { + + subject_ = getDefaultInstance().getSubject(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The subject distinguished name in RFC 2253 format. Only
+     * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for subject to set. + * @return This builder for chaining. + */ + public Builder setSubjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + subject_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList subjectAlternativeDnsNames_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureSubjectAlternativeDnsNamesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + subjectAlternativeDnsNames_ = + new com.google.protobuf.LazyStringArrayList(subjectAlternativeDnsNames_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * Output only. The subject Alternative DNS names. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return A list containing the subjectAlternativeDnsNames. + */ + public com.google.protobuf.ProtocolStringList getSubjectAlternativeDnsNamesList() { + return subjectAlternativeDnsNames_.getUnmodifiableView(); + } + /** + * + * + *
+     * Output only. The subject Alternative DNS names. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The count of subjectAlternativeDnsNames. + */ + public int getSubjectAlternativeDnsNamesCount() { + return subjectAlternativeDnsNames_.size(); + } + /** + * + * + *
+     * Output only. The subject Alternative DNS names. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index of the element to return. + * @return The subjectAlternativeDnsNames at the given index. + */ + public java.lang.String getSubjectAlternativeDnsNames(int index) { + return subjectAlternativeDnsNames_.get(index); + } + /** + * + * + *
+     * Output only. The subject Alternative DNS names. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index of the value to return. + * @return The bytes of the subjectAlternativeDnsNames at the given index. + */ + public com.google.protobuf.ByteString getSubjectAlternativeDnsNamesBytes(int index) { + return subjectAlternativeDnsNames_.getByteString(index); + } + /** + * + * + *
+     * Output only. The subject Alternative DNS names. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index to set the value at. + * @param value The subjectAlternativeDnsNames to set. + * @return This builder for chaining. + */ + public Builder setSubjectAlternativeDnsNames(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureSubjectAlternativeDnsNamesIsMutable(); + subjectAlternativeDnsNames_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The subject Alternative DNS names. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The subjectAlternativeDnsNames to add. + * @return This builder for chaining. + */ + public Builder addSubjectAlternativeDnsNames(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureSubjectAlternativeDnsNamesIsMutable(); + subjectAlternativeDnsNames_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The subject Alternative DNS names. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param values The subjectAlternativeDnsNames to add. + * @return This builder for chaining. + */ + public Builder addAllSubjectAlternativeDnsNames(java.lang.Iterable values) { + ensureSubjectAlternativeDnsNamesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subjectAlternativeDnsNames_); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The subject Alternative DNS names. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearSubjectAlternativeDnsNames() { + subjectAlternativeDnsNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The subject Alternative DNS names. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The bytes of the subjectAlternativeDnsNames to add. + * @return This builder for chaining. + */ + public Builder addSubjectAlternativeDnsNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureSubjectAlternativeDnsNamesIsMutable(); + subjectAlternativeDnsNames_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp notBeforeTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + notBeforeTimeBuilder_; + /** + * + * + *
+     * Output only. The certificate is not valid before this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the notBeforeTime field is set. + */ + public boolean hasNotBeforeTime() { + return notBeforeTimeBuilder_ != null || notBeforeTime_ != null; + } + /** + * + * + *
+     * Output only. The certificate is not valid before this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The notBeforeTime. + */ + public com.google.protobuf.Timestamp getNotBeforeTime() { + if (notBeforeTimeBuilder_ == null) { + return notBeforeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : notBeforeTime_; + } else { + return notBeforeTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The certificate is not valid before this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setNotBeforeTime(com.google.protobuf.Timestamp value) { + if (notBeforeTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + notBeforeTime_ = value; + onChanged(); + } else { + notBeforeTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The certificate is not valid before this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setNotBeforeTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (notBeforeTimeBuilder_ == null) { + notBeforeTime_ = builderForValue.build(); + onChanged(); + } else { + notBeforeTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. The certificate is not valid before this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeNotBeforeTime(com.google.protobuf.Timestamp value) { + if (notBeforeTimeBuilder_ == null) { + if (notBeforeTime_ != null) { + notBeforeTime_ = + com.google.protobuf.Timestamp.newBuilder(notBeforeTime_) + .mergeFrom(value) + .buildPartial(); + } else { + notBeforeTime_ = value; + } + onChanged(); + } else { + notBeforeTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The certificate is not valid before this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearNotBeforeTime() { + if (notBeforeTimeBuilder_ == null) { + notBeforeTime_ = null; + onChanged(); + } else { + notBeforeTime_ = null; + notBeforeTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. The certificate is not valid before this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getNotBeforeTimeBuilder() { + + onChanged(); + return getNotBeforeTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The certificate is not valid before this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getNotBeforeTimeOrBuilder() { + if (notBeforeTimeBuilder_ != null) { + return notBeforeTimeBuilder_.getMessageOrBuilder(); + } else { + return notBeforeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : notBeforeTime_; + } + } + /** + * + * + *
+     * Output only. The certificate is not valid before this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getNotBeforeTimeFieldBuilder() { + if (notBeforeTimeBuilder_ == null) { + notBeforeTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getNotBeforeTime(), getParentForChildren(), isClean()); + notBeforeTime_ = null; + } + return notBeforeTimeBuilder_; + } + + private com.google.protobuf.Timestamp notAfterTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + notAfterTimeBuilder_; + /** + * + * + *
+     * Output only. The certificate is not valid after this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the notAfterTime field is set. + */ + public boolean hasNotAfterTime() { + return notAfterTimeBuilder_ != null || notAfterTime_ != null; + } + /** + * + * + *
+     * Output only. The certificate is not valid after this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The notAfterTime. + */ + public com.google.protobuf.Timestamp getNotAfterTime() { + if (notAfterTimeBuilder_ == null) { + return notAfterTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : notAfterTime_; + } else { + return notAfterTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The certificate is not valid after this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setNotAfterTime(com.google.protobuf.Timestamp value) { + if (notAfterTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + notAfterTime_ = value; + onChanged(); + } else { + notAfterTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The certificate is not valid after this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setNotAfterTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (notAfterTimeBuilder_ == null) { + notAfterTime_ = builderForValue.build(); + onChanged(); + } else { + notAfterTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. The certificate is not valid after this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeNotAfterTime(com.google.protobuf.Timestamp value) { + if (notAfterTimeBuilder_ == null) { + if (notAfterTime_ != null) { + notAfterTime_ = + com.google.protobuf.Timestamp.newBuilder(notAfterTime_) + .mergeFrom(value) + .buildPartial(); + } else { + notAfterTime_ = value; + } + onChanged(); + } else { + notAfterTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The certificate is not valid after this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearNotAfterTime() { + if (notAfterTimeBuilder_ == null) { + notAfterTime_ = null; + onChanged(); + } else { + notAfterTime_ = null; + notAfterTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. The certificate is not valid after this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getNotAfterTimeBuilder() { + + onChanged(); + return getNotAfterTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The certificate is not valid after this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getNotAfterTimeOrBuilder() { + if (notAfterTimeBuilder_ != null) { + return notAfterTimeBuilder_.getMessageOrBuilder(); + } else { + return notAfterTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : notAfterTime_; + } + } + /** + * + * + *
+     * Output only. The certificate is not valid after this time. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getNotAfterTimeFieldBuilder() { + if (notAfterTimeBuilder_ == null) { + notAfterTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getNotAfterTime(), getParentForChildren(), isClean()); + notAfterTime_ = null; + } + return notAfterTimeBuilder_; + } + + private java.lang.Object serialNumber_ = ""; + /** + * + * + *
+     * Output only. The certificate serial number as a hex string. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string serial_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The serialNumber. + */ + public java.lang.String getSerialNumber() { + java.lang.Object ref = serialNumber_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serialNumber_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The certificate serial number as a hex string. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string serial_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for serialNumber. + */ + public com.google.protobuf.ByteString getSerialNumberBytes() { + java.lang.Object ref = serialNumber_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serialNumber_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The certificate serial number as a hex string. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string serial_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The serialNumber to set. + * @return This builder for chaining. + */ + public Builder setSerialNumber(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + serialNumber_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The certificate serial number as a hex string. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string serial_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearSerialNumber() { + + serialNumber_ = getDefaultInstance().getSerialNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The certificate serial number as a hex string. Only present if
+     * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string serial_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for serialNumber to set. + * @return This builder for chaining. + */ + public Builder setSerialNumberBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + serialNumber_ = value; + onChanged(); + return this; + } + + private java.lang.Object sha256Fingerprint_ = ""; + /** + * + * + *
+     * Output only. The SHA-256 certificate fingerprint as a hex string. Only
+     * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string sha256_fingerprint = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The sha256Fingerprint. + */ + public java.lang.String getSha256Fingerprint() { + java.lang.Object ref = sha256Fingerprint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sha256Fingerprint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The SHA-256 certificate fingerprint as a hex string. Only
+     * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string sha256_fingerprint = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for sha256Fingerprint. + */ + public com.google.protobuf.ByteString getSha256FingerprintBytes() { + java.lang.Object ref = sha256Fingerprint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sha256Fingerprint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The SHA-256 certificate fingerprint as a hex string. Only
+     * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string sha256_fingerprint = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The sha256Fingerprint to set. + * @return This builder for chaining. + */ + public Builder setSha256Fingerprint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + sha256Fingerprint_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The SHA-256 certificate fingerprint as a hex string. Only
+     * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string sha256_fingerprint = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearSha256Fingerprint() { + + sha256Fingerprint_ = getDefaultInstance().getSha256Fingerprint(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The SHA-256 certificate fingerprint as a hex string. Only
+     * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+     * 
+ * + * string sha256_fingerprint = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for sha256Fingerprint to set. + * @return This builder for chaining. + */ + public Builder setSha256FingerprintBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + sha256Fingerprint_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.kms.v1.Certificate) + } + + // @@protoc_insertion_point(class_scope:google.cloud.kms.v1.Certificate) + private static final com.google.cloud.kms.v1.Certificate DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.kms.v1.Certificate(); + } + + public static com.google.cloud.kms.v1.Certificate getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Certificate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Certificate(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.kms.v1.Certificate getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CertificateOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CertificateOrBuilder.java new file mode 100644 index 00000000..5c8e5694 --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CertificateOrBuilder.java @@ -0,0 +1,310 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +public interface CertificateOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.Certificate) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The raw certificate bytes in DER format.
+   * 
+ * + * bytes raw_der = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The rawDer. + */ + com.google.protobuf.ByteString getRawDer(); + + /** + * + * + *
+   * Output only. True if the certificate was parsed successfully.
+   * 
+ * + * bool parsed = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The parsed. + */ + boolean getParsed(); + + /** + * + * + *
+   * Output only. The issuer distinguished name in RFC 2253 format. Only present
+   * if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string issuer = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The issuer. + */ + java.lang.String getIssuer(); + /** + * + * + *
+   * Output only. The issuer distinguished name in RFC 2253 format. Only present
+   * if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string issuer = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for issuer. + */ + com.google.protobuf.ByteString getIssuerBytes(); + + /** + * + * + *
+   * Output only. The subject distinguished name in RFC 2253 format. Only
+   * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The subject. + */ + java.lang.String getSubject(); + /** + * + * + *
+   * Output only. The subject distinguished name in RFC 2253 format. Only
+   * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for subject. + */ + com.google.protobuf.ByteString getSubjectBytes(); + + /** + * + * + *
+   * Output only. The subject Alternative DNS names. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return A list containing the subjectAlternativeDnsNames. + */ + java.util.List getSubjectAlternativeDnsNamesList(); + /** + * + * + *
+   * Output only. The subject Alternative DNS names. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The count of subjectAlternativeDnsNames. + */ + int getSubjectAlternativeDnsNamesCount(); + /** + * + * + *
+   * Output only. The subject Alternative DNS names. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index of the element to return. + * @return The subjectAlternativeDnsNames at the given index. + */ + java.lang.String getSubjectAlternativeDnsNames(int index); + /** + * + * + *
+   * Output only. The subject Alternative DNS names. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * repeated string subject_alternative_dns_names = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index of the value to return. + * @return The bytes of the subjectAlternativeDnsNames at the given index. + */ + com.google.protobuf.ByteString getSubjectAlternativeDnsNamesBytes(int index); + + /** + * + * + *
+   * Output only. The certificate is not valid before this time. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the notBeforeTime field is set. + */ + boolean hasNotBeforeTime(); + /** + * + * + *
+   * Output only. The certificate is not valid before this time. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The notBeforeTime. + */ + com.google.protobuf.Timestamp getNotBeforeTime(); + /** + * + * + *
+   * Output only. The certificate is not valid before this time. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * .google.protobuf.Timestamp not_before_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getNotBeforeTimeOrBuilder(); + + /** + * + * + *
+   * Output only. The certificate is not valid after this time. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the notAfterTime field is set. + */ + boolean hasNotAfterTime(); + /** + * + * + *
+   * Output only. The certificate is not valid after this time. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The notAfterTime. + */ + com.google.protobuf.Timestamp getNotAfterTime(); + /** + * + * + *
+   * Output only. The certificate is not valid after this time. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * + * .google.protobuf.Timestamp not_after_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getNotAfterTimeOrBuilder(); + + /** + * + * + *
+   * Output only. The certificate serial number as a hex string. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string serial_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The serialNumber. + */ + java.lang.String getSerialNumber(); + /** + * + * + *
+   * Output only. The certificate serial number as a hex string. Only present if
+   * [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string serial_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for serialNumber. + */ + com.google.protobuf.ByteString getSerialNumberBytes(); + + /** + * + * + *
+   * Output only. The SHA-256 certificate fingerprint as a hex string. Only
+   * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string sha256_fingerprint = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The sha256Fingerprint. + */ + java.lang.String getSha256Fingerprint(); + /** + * + * + *
+   * Output only. The SHA-256 certificate fingerprint as a hex string. Only
+   * present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.
+   * 
+ * + * string sha256_fingerprint = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for sha256Fingerprint. + */ + com.google.protobuf.ByteString getSha256FingerprintBytes(); +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyRequest.java index de23ff24..8034a5c6 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey].
+ * Request message for
+ * [KeyManagementService.CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey].
  * 
* * Protobuf type {@code google.cloud.kms.v1.CreateCryptoKeyRequest} @@ -145,8 +146,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the
-   * [CryptoKeys][google.cloud.kms.v1.CryptoKey].
+   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing
+   * associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].
    * 
* * @@ -171,8 +172,8 @@ public java.lang.String getParent() { * * *
-   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the
-   * [CryptoKeys][google.cloud.kms.v1.CryptoKey].
+   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing
+   * associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].
    * 
* * @@ -251,7 +252,8 @@ public com.google.protobuf.ByteString getCryptoKeyIdBytes() { * * *
-   * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+   * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.CryptoKey crypto_key = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -267,7 +269,8 @@ public boolean hasCryptoKey() { * * *
-   * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+   * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.CryptoKey crypto_key = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -283,7 +286,8 @@ public com.google.cloud.kms.v1.CryptoKey getCryptoKey() { * * *
-   * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+   * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.CryptoKey crypto_key = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -300,9 +304,12 @@ public com.google.cloud.kms.v1.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { * * *
-   * If set to true, the request will create a [CryptoKey][google.cloud.kms.v1.CryptoKey] without any
-   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must manually call
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
+   * If set to true, the request will create a
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] without any
+   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must
+   * manually call
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * or
    * [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]
    * before you can use this [CryptoKey][google.cloud.kms.v1.CryptoKey].
    * 
@@ -511,7 +518,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey].
+   * Request message for
+   * [KeyManagementService.CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey].
    * 
* * Protobuf type {@code google.cloud.kms.v1.CreateCryptoKeyRequest} @@ -696,8 +704,8 @@ public Builder mergeFrom( * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the
-     * [CryptoKeys][google.cloud.kms.v1.CryptoKey].
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing
+     * associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].
      * 
* * @@ -721,8 +729,8 @@ public java.lang.String getParent() { * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the
-     * [CryptoKeys][google.cloud.kms.v1.CryptoKey].
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing
+     * associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].
      * 
* * @@ -746,8 +754,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the
-     * [CryptoKeys][google.cloud.kms.v1.CryptoKey].
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing
+     * associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].
      * 
* * @@ -770,8 +778,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the
-     * [CryptoKeys][google.cloud.kms.v1.CryptoKey].
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing
+     * associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].
      * 
* * @@ -790,8 +798,8 @@ public Builder clearParent() { * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the
-     * [CryptoKeys][google.cloud.kms.v1.CryptoKey].
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing
+     * associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].
      * 
* * @@ -933,7 +941,8 @@ public Builder setCryptoKeyIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+     * values.
      * 
* * @@ -949,7 +958,8 @@ public boolean hasCryptoKey() { * * *
-     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+     * values.
      * 
* * @@ -971,7 +981,8 @@ public com.google.cloud.kms.v1.CryptoKey getCryptoKey() { * * *
-     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+     * values.
      * 
* * @@ -995,7 +1006,8 @@ public Builder setCryptoKey(com.google.cloud.kms.v1.CryptoKey value) { * * *
-     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+     * values.
      * 
* * @@ -1016,7 +1028,8 @@ public Builder setCryptoKey(com.google.cloud.kms.v1.CryptoKey.Builder builderFor * * *
-     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+     * values.
      * 
* * @@ -1044,7 +1057,8 @@ public Builder mergeCryptoKey(com.google.cloud.kms.v1.CryptoKey value) { * * *
-     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+     * values.
      * 
* * @@ -1066,7 +1080,8 @@ public Builder clearCryptoKey() { * * *
-     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+     * values.
      * 
* * @@ -1082,7 +1097,8 @@ public com.google.cloud.kms.v1.CryptoKey.Builder getCryptoKeyBuilder() { * * *
-     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+     * values.
      * 
* * @@ -1102,7 +1118,8 @@ public com.google.cloud.kms.v1.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { * * *
-     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+     * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+     * values.
      * 
* * @@ -1131,9 +1148,12 @@ public com.google.cloud.kms.v1.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { * * *
-     * If set to true, the request will create a [CryptoKey][google.cloud.kms.v1.CryptoKey] without any
-     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must manually call
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
+     * If set to true, the request will create a
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] without any
+     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must
+     * manually call
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * or
      * [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]
      * before you can use this [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 
@@ -1150,9 +1170,12 @@ public boolean getSkipInitialVersionCreation() { * * *
-     * If set to true, the request will create a [CryptoKey][google.cloud.kms.v1.CryptoKey] without any
-     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must manually call
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
+     * If set to true, the request will create a
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] without any
+     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must
+     * manually call
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * or
      * [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]
      * before you can use this [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 
@@ -1172,9 +1195,12 @@ public Builder setSkipInitialVersionCreation(boolean value) { * * *
-     * If set to true, the request will create a [CryptoKey][google.cloud.kms.v1.CryptoKey] without any
-     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must manually call
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
+     * If set to true, the request will create a
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] without any
+     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must
+     * manually call
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * or
      * [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]
      * before you can use this [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 
diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyRequestOrBuilder.java index 72d4ad47..040cde83 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface CreateCryptoKeyRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the
-   * [CryptoKeys][google.cloud.kms.v1.CryptoKey].
+   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing
+   * associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].
    * 
* * @@ -42,8 +42,8 @@ public interface CreateCryptoKeyRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the
-   * [CryptoKeys][google.cloud.kms.v1.CryptoKey].
+   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing
+   * associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].
    * 
* * @@ -85,7 +85,8 @@ public interface CreateCryptoKeyRequestOrBuilder * * *
-   * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+   * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.CryptoKey crypto_key = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -98,7 +99,8 @@ public interface CreateCryptoKeyRequestOrBuilder * * *
-   * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+   * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.CryptoKey crypto_key = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -111,7 +113,8 @@ public interface CreateCryptoKeyRequestOrBuilder * * *
-   * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
+   * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.CryptoKey crypto_key = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -123,9 +126,12 @@ public interface CreateCryptoKeyRequestOrBuilder * * *
-   * If set to true, the request will create a [CryptoKey][google.cloud.kms.v1.CryptoKey] without any
-   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must manually call
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
+   * If set to true, the request will create a
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] without any
+   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must
+   * manually call
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * or
    * [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]
    * before you can use this [CryptoKey][google.cloud.kms.v1.CryptoKey].
    * 
diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyVersionRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyVersionRequest.java index b832b637..27f11708 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyVersionRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyVersionRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion].
+ * Request message for
+ * [KeyManagementService.CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion].
  * 
* * Protobuf type {@code google.cloud.kms.v1.CreateCryptoKeyVersionRequest} @@ -133,8 +134,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with
-   * the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
+   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the
+   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
    * 
* * @@ -159,8 +161,9 @@ public java.lang.String getParent() { * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with
-   * the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
+   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the
+   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
    * 
* * @@ -188,7 +191,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+   * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+   * initial field values.
    * 
* * @@ -205,7 +209,8 @@ public boolean hasCryptoKeyVersion() { * * *
-   * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+   * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+   * initial field values.
    * 
* * @@ -224,7 +229,8 @@ public com.google.cloud.kms.v1.CryptoKeyVersion getCryptoKeyVersion() { * * *
-   * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+   * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+   * initial field values.
    * 
* * @@ -414,7 +420,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion].
+   * Request message for
+   * [KeyManagementService.CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion].
    * 
* * Protobuf type {@code google.cloud.kms.v1.CreateCryptoKeyVersionRequest} @@ -588,8 +595,9 @@ public Builder mergeFrom( * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with
-     * the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the
+     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * @@ -613,8 +621,9 @@ public java.lang.String getParent() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with
-     * the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the
+     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * @@ -638,8 +647,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with
-     * the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the
+     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * @@ -662,8 +672,9 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with
-     * the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the
+     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * @@ -682,8 +693,9 @@ public Builder clearParent() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with
-     * the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the
+     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * @@ -714,7 +726,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * initial field values.
      * 
* * @@ -730,7 +743,8 @@ public boolean hasCryptoKeyVersion() { * * *
-     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * initial field values.
      * 
* * @@ -752,7 +766,8 @@ public com.google.cloud.kms.v1.CryptoKeyVersion getCryptoKeyVersion() { * * *
-     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * initial field values.
      * 
* * @@ -776,7 +791,8 @@ public Builder setCryptoKeyVersion(com.google.cloud.kms.v1.CryptoKeyVersion valu * * *
-     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * initial field values.
      * 
* * @@ -798,7 +814,8 @@ public Builder setCryptoKeyVersion( * * *
-     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * initial field values.
      * 
* * @@ -826,7 +843,8 @@ public Builder mergeCryptoKeyVersion(com.google.cloud.kms.v1.CryptoKeyVersion va * * *
-     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * initial field values.
      * 
* * @@ -848,7 +866,8 @@ public Builder clearCryptoKeyVersion() { * * *
-     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * initial field values.
      * 
* * @@ -864,7 +883,8 @@ public com.google.cloud.kms.v1.CryptoKeyVersion.Builder getCryptoKeyVersionBuild * * *
-     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * initial field values.
      * 
* * @@ -884,7 +904,8 @@ public com.google.cloud.kms.v1.CryptoKeyVersionOrBuilder getCryptoKeyVersionOrBu * * *
-     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+     * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * initial field values.
      * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyVersionRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyVersionRequestOrBuilder.java index 547d13ab..b417cb34 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyVersionRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyVersionRequestOrBuilder.java @@ -27,8 +27,9 @@ public interface CreateCryptoKeyVersionRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with
-   * the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
+   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the
+   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
    * 
* * @@ -42,8 +43,9 @@ public interface CreateCryptoKeyVersionRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with
-   * the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
+   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the
+   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
    * 
* * @@ -58,7 +60,8 @@ public interface CreateCryptoKeyVersionRequestOrBuilder * * *
-   * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+   * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+   * initial field values.
    * 
* * @@ -72,7 +75,8 @@ public interface CreateCryptoKeyVersionRequestOrBuilder * * *
-   * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+   * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+   * initial field values.
    * 
* * @@ -86,7 +90,8 @@ public interface CreateCryptoKeyVersionRequestOrBuilder * * *
-   * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values.
+   * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+   * initial field values.
    * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateEkmConnectionRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateEkmConnectionRequest.java new file mode 100644 index 00000000..437a9755 --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateEkmConnectionRequest.java @@ -0,0 +1,1163 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +/** + * + * + *
+ * Request message for [KeyManagementService.CreateEkmConnection][].
+ * 
+ * + * Protobuf type {@code google.cloud.kms.v1.CreateEkmConnectionRequest} + */ +public final class CreateEkmConnectionRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.kms.v1.CreateEkmConnectionRequest) + CreateEkmConnectionRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreateEkmConnectionRequest.newBuilder() to construct. + private CreateEkmConnectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CreateEkmConnectionRequest() { + parent_ = ""; + ekmConnectionId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateEkmConnectionRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CreateEkmConnectionRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + ekmConnectionId_ = s; + break; + } + case 26: + { + com.google.cloud.kms.v1.EkmConnection.Builder subBuilder = null; + if (ekmConnection_ != null) { + subBuilder = ekmConnection_.toBuilder(); + } + ekmConnection_ = + input.readMessage( + com.google.cloud.kms.v1.EkmConnection.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(ekmConnection_); + ekmConnection_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_CreateEkmConnectionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_CreateEkmConnectionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.CreateEkmConnectionRequest.class, + com.google.cloud.kms.v1.CreateEkmConnectionRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+   * Required. The resource name of the location associated with the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The resource name of the location associated with the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EKM_CONNECTION_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object ekmConnectionId_; + /** + * + * + *
+   * Required. It must be unique within a location and match the regular
+   * expression `[a-zA-Z0-9_-]{1,63}`.
+   * 
+ * + * string ekm_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The ekmConnectionId. + */ + @java.lang.Override + public java.lang.String getEkmConnectionId() { + java.lang.Object ref = ekmConnectionId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ekmConnectionId_ = s; + return s; + } + } + /** + * + * + *
+   * Required. It must be unique within a location and match the regular
+   * expression `[a-zA-Z0-9_-]{1,63}`.
+   * 
+ * + * string ekm_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for ekmConnectionId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEkmConnectionIdBytes() { + java.lang.Object ref = ekmConnectionId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ekmConnectionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EKM_CONNECTION_FIELD_NUMBER = 3; + private com.google.cloud.kms.v1.EkmConnection ekmConnection_; + /** + * + * + *
+   * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+   * initial field values.
+   * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the ekmConnection field is set. + */ + @java.lang.Override + public boolean hasEkmConnection() { + return ekmConnection_ != null; + } + /** + * + * + *
+   * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+   * initial field values.
+   * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The ekmConnection. + */ + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnection getEkmConnection() { + return ekmConnection_ == null + ? com.google.cloud.kms.v1.EkmConnection.getDefaultInstance() + : ekmConnection_; + } + /** + * + * + *
+   * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+   * initial field values.
+   * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnectionOrBuilder getEkmConnectionOrBuilder() { + return getEkmConnection(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ekmConnectionId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ekmConnectionId_); + } + if (ekmConnection_ != null) { + output.writeMessage(3, getEkmConnection()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ekmConnectionId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ekmConnectionId_); + } + if (ekmConnection_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEkmConnection()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.kms.v1.CreateEkmConnectionRequest)) { + return super.equals(obj); + } + com.google.cloud.kms.v1.CreateEkmConnectionRequest other = + (com.google.cloud.kms.v1.CreateEkmConnectionRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getEkmConnectionId().equals(other.getEkmConnectionId())) return false; + if (hasEkmConnection() != other.hasEkmConnection()) return false; + if (hasEkmConnection()) { + if (!getEkmConnection().equals(other.getEkmConnection())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + EKM_CONNECTION_ID_FIELD_NUMBER; + hash = (53 * hash) + getEkmConnectionId().hashCode(); + if (hasEkmConnection()) { + hash = (37 * hash) + EKM_CONNECTION_FIELD_NUMBER; + hash = (53 * hash) + getEkmConnection().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.kms.v1.CreateEkmConnectionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.CreateEkmConnectionRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.CreateEkmConnectionRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.CreateEkmConnectionRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.CreateEkmConnectionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.CreateEkmConnectionRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.CreateEkmConnectionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.CreateEkmConnectionRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.CreateEkmConnectionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.CreateEkmConnectionRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.CreateEkmConnectionRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.CreateEkmConnectionRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.kms.v1.CreateEkmConnectionRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for [KeyManagementService.CreateEkmConnection][].
+   * 
+ * + * Protobuf type {@code google.cloud.kms.v1.CreateEkmConnectionRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.kms.v1.CreateEkmConnectionRequest) + com.google.cloud.kms.v1.CreateEkmConnectionRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_CreateEkmConnectionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_CreateEkmConnectionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.CreateEkmConnectionRequest.class, + com.google.cloud.kms.v1.CreateEkmConnectionRequest.Builder.class); + } + + // Construct using com.google.cloud.kms.v1.CreateEkmConnectionRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + ekmConnectionId_ = ""; + + if (ekmConnectionBuilder_ == null) { + ekmConnection_ = null; + } else { + ekmConnection_ = null; + ekmConnectionBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_CreateEkmConnectionRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.kms.v1.CreateEkmConnectionRequest getDefaultInstanceForType() { + return com.google.cloud.kms.v1.CreateEkmConnectionRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.kms.v1.CreateEkmConnectionRequest build() { + com.google.cloud.kms.v1.CreateEkmConnectionRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.kms.v1.CreateEkmConnectionRequest buildPartial() { + com.google.cloud.kms.v1.CreateEkmConnectionRequest result = + new com.google.cloud.kms.v1.CreateEkmConnectionRequest(this); + result.parent_ = parent_; + result.ekmConnectionId_ = ekmConnectionId_; + if (ekmConnectionBuilder_ == null) { + result.ekmConnection_ = ekmConnection_; + } else { + result.ekmConnection_ = ekmConnectionBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.kms.v1.CreateEkmConnectionRequest) { + return mergeFrom((com.google.cloud.kms.v1.CreateEkmConnectionRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.kms.v1.CreateEkmConnectionRequest other) { + if (other == com.google.cloud.kms.v1.CreateEkmConnectionRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (!other.getEkmConnectionId().isEmpty()) { + ekmConnectionId_ = other.ekmConnectionId_; + onChanged(); + } + if (other.hasEkmConnection()) { + mergeEkmConnection(other.getEkmConnection()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.kms.v1.CreateEkmConnectionRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.kms.v1.CreateEkmConnectionRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. The resource name of the location associated with the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the location associated with the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the location associated with the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the location associated with the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the location associated with the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private java.lang.Object ekmConnectionId_ = ""; + /** + * + * + *
+     * Required. It must be unique within a location and match the regular
+     * expression `[a-zA-Z0-9_-]{1,63}`.
+     * 
+ * + * string ekm_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The ekmConnectionId. + */ + public java.lang.String getEkmConnectionId() { + java.lang.Object ref = ekmConnectionId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ekmConnectionId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. It must be unique within a location and match the regular
+     * expression `[a-zA-Z0-9_-]{1,63}`.
+     * 
+ * + * string ekm_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for ekmConnectionId. + */ + public com.google.protobuf.ByteString getEkmConnectionIdBytes() { + java.lang.Object ref = ekmConnectionId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ekmConnectionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. It must be unique within a location and match the regular
+     * expression `[a-zA-Z0-9_-]{1,63}`.
+     * 
+ * + * string ekm_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The ekmConnectionId to set. + * @return This builder for chaining. + */ + public Builder setEkmConnectionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + ekmConnectionId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. It must be unique within a location and match the regular
+     * expression `[a-zA-Z0-9_-]{1,63}`.
+     * 
+ * + * string ekm_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearEkmConnectionId() { + + ekmConnectionId_ = getDefaultInstance().getEkmConnectionId(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. It must be unique within a location and match the regular
+     * expression `[a-zA-Z0-9_-]{1,63}`.
+     * 
+ * + * string ekm_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for ekmConnectionId to set. + * @return This builder for chaining. + */ + public Builder setEkmConnectionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + ekmConnectionId_ = value; + onChanged(); + return this; + } + + private com.google.cloud.kms.v1.EkmConnection ekmConnection_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.kms.v1.EkmConnection, + com.google.cloud.kms.v1.EkmConnection.Builder, + com.google.cloud.kms.v1.EkmConnectionOrBuilder> + ekmConnectionBuilder_; + /** + * + * + *
+     * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+     * initial field values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the ekmConnection field is set. + */ + public boolean hasEkmConnection() { + return ekmConnectionBuilder_ != null || ekmConnection_ != null; + } + /** + * + * + *
+     * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+     * initial field values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The ekmConnection. + */ + public com.google.cloud.kms.v1.EkmConnection getEkmConnection() { + if (ekmConnectionBuilder_ == null) { + return ekmConnection_ == null + ? com.google.cloud.kms.v1.EkmConnection.getDefaultInstance() + : ekmConnection_; + } else { + return ekmConnectionBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+     * initial field values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setEkmConnection(com.google.cloud.kms.v1.EkmConnection value) { + if (ekmConnectionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ekmConnection_ = value; + onChanged(); + } else { + ekmConnectionBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+     * initial field values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setEkmConnection(com.google.cloud.kms.v1.EkmConnection.Builder builderForValue) { + if (ekmConnectionBuilder_ == null) { + ekmConnection_ = builderForValue.build(); + onChanged(); + } else { + ekmConnectionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+     * initial field values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeEkmConnection(com.google.cloud.kms.v1.EkmConnection value) { + if (ekmConnectionBuilder_ == null) { + if (ekmConnection_ != null) { + ekmConnection_ = + com.google.cloud.kms.v1.EkmConnection.newBuilder(ekmConnection_) + .mergeFrom(value) + .buildPartial(); + } else { + ekmConnection_ = value; + } + onChanged(); + } else { + ekmConnectionBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+     * initial field values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearEkmConnection() { + if (ekmConnectionBuilder_ == null) { + ekmConnection_ = null; + onChanged(); + } else { + ekmConnection_ = null; + ekmConnectionBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+     * initial field values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.kms.v1.EkmConnection.Builder getEkmConnectionBuilder() { + + onChanged(); + return getEkmConnectionFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+     * initial field values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.kms.v1.EkmConnectionOrBuilder getEkmConnectionOrBuilder() { + if (ekmConnectionBuilder_ != null) { + return ekmConnectionBuilder_.getMessageOrBuilder(); + } else { + return ekmConnection_ == null + ? com.google.cloud.kms.v1.EkmConnection.getDefaultInstance() + : ekmConnection_; + } + } + /** + * + * + *
+     * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+     * initial field values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.kms.v1.EkmConnection, + com.google.cloud.kms.v1.EkmConnection.Builder, + com.google.cloud.kms.v1.EkmConnectionOrBuilder> + getEkmConnectionFieldBuilder() { + if (ekmConnectionBuilder_ == null) { + ekmConnectionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.kms.v1.EkmConnection, + com.google.cloud.kms.v1.EkmConnection.Builder, + com.google.cloud.kms.v1.EkmConnectionOrBuilder>( + getEkmConnection(), getParentForChildren(), isClean()); + ekmConnection_ = null; + } + return ekmConnectionBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.kms.v1.CreateEkmConnectionRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.kms.v1.CreateEkmConnectionRequest) + private static final com.google.cloud.kms.v1.CreateEkmConnectionRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.kms.v1.CreateEkmConnectionRequest(); + } + + public static com.google.cloud.kms.v1.CreateEkmConnectionRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEkmConnectionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateEkmConnectionRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.kms.v1.CreateEkmConnectionRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateEkmConnectionRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateEkmConnectionRequestOrBuilder.java new file mode 100644 index 00000000..d67120fc --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateEkmConnectionRequestOrBuilder.java @@ -0,0 +1,129 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +public interface CreateEkmConnectionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.CreateEkmConnectionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the location associated with the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The resource name of the location associated with the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. It must be unique within a location and match the regular
+   * expression `[a-zA-Z0-9_-]{1,63}`.
+   * 
+ * + * string ekm_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The ekmConnectionId. + */ + java.lang.String getEkmConnectionId(); + /** + * + * + *
+   * Required. It must be unique within a location and match the regular
+   * expression `[a-zA-Z0-9_-]{1,63}`.
+   * 
+ * + * string ekm_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for ekmConnectionId. + */ + com.google.protobuf.ByteString getEkmConnectionIdBytes(); + + /** + * + * + *
+   * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+   * initial field values.
+   * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the ekmConnection field is set. + */ + boolean hasEkmConnection(); + /** + * + * + *
+   * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+   * initial field values.
+   * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The ekmConnection. + */ + com.google.cloud.kms.v1.EkmConnection getEkmConnection(); + /** + * + * + *
+   * Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with
+   * initial field values.
+   * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.kms.v1.EkmConnectionOrBuilder getEkmConnectionOrBuilder(); +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateImportJobRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateImportJobRequest.java index c7afb6f4..1cd44a44 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateImportJobRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateImportJobRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.CreateImportJob][google.cloud.kms.v1.KeyManagementService.CreateImportJob].
+ * Request message for
+ * [KeyManagementService.CreateImportJob][google.cloud.kms.v1.KeyManagementService.CreateImportJob].
  * 
* * Protobuf type {@code google.cloud.kms.v1.CreateImportJobRequest} @@ -140,7 +141,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
+   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+   * [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
    * [ImportJobs][google.cloud.kms.v1.ImportJob].
    * 
* @@ -166,7 +168,8 @@ public java.lang.String getParent() { * * *
-   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
+   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+   * [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
    * [ImportJobs][google.cloud.kms.v1.ImportJob].
    * 
* @@ -246,7 +249,8 @@ public com.google.protobuf.ByteString getImportJobIdBytes() { * * *
-   * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+   * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -262,7 +266,8 @@ public boolean hasImportJob() { * * *
-   * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+   * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -278,7 +283,8 @@ public com.google.cloud.kms.v1.ImportJob getImportJob() { * * *
-   * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+   * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -475,7 +481,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.CreateImportJob][google.cloud.kms.v1.KeyManagementService.CreateImportJob].
+   * Request message for
+   * [KeyManagementService.CreateImportJob][google.cloud.kms.v1.KeyManagementService.CreateImportJob].
    * 
* * Protobuf type {@code google.cloud.kms.v1.CreateImportJobRequest} @@ -654,7 +661,8 @@ public Builder mergeFrom( * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
      * [ImportJobs][google.cloud.kms.v1.ImportJob].
      * 
* @@ -679,7 +687,8 @@ public java.lang.String getParent() { * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
      * [ImportJobs][google.cloud.kms.v1.ImportJob].
      * 
* @@ -704,7 +713,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
      * [ImportJobs][google.cloud.kms.v1.ImportJob].
      * 
* @@ -728,7 +738,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
      * [ImportJobs][google.cloud.kms.v1.ImportJob].
      * 
* @@ -748,7 +759,8 @@ public Builder clearParent() { * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
      * [ImportJobs][google.cloud.kms.v1.ImportJob].
      * 
* @@ -891,7 +903,8 @@ public Builder setImportJobIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+     * values.
      * 
* * @@ -907,7 +920,8 @@ public boolean hasImportJob() { * * *
-     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+     * values.
      * 
* * @@ -929,7 +943,8 @@ public com.google.cloud.kms.v1.ImportJob getImportJob() { * * *
-     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+     * values.
      * 
* * @@ -953,7 +968,8 @@ public Builder setImportJob(com.google.cloud.kms.v1.ImportJob value) { * * *
-     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+     * values.
      * 
* * @@ -974,7 +990,8 @@ public Builder setImportJob(com.google.cloud.kms.v1.ImportJob.Builder builderFor * * *
-     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+     * values.
      * 
* * @@ -1002,7 +1019,8 @@ public Builder mergeImportJob(com.google.cloud.kms.v1.ImportJob value) { * * *
-     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+     * values.
      * 
* * @@ -1024,7 +1042,8 @@ public Builder clearImportJob() { * * *
-     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+     * values.
      * 
* * @@ -1040,7 +1059,8 @@ public com.google.cloud.kms.v1.ImportJob.Builder getImportJobBuilder() { * * *
-     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+     * values.
      * 
* * @@ -1060,7 +1080,8 @@ public com.google.cloud.kms.v1.ImportJobOrBuilder getImportJobOrBuilder() { * * *
-     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+     * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+     * values.
      * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateImportJobRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateImportJobRequestOrBuilder.java index cc236b67..7f362f9d 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateImportJobRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateImportJobRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface CreateImportJobRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
+   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+   * [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
    * [ImportJobs][google.cloud.kms.v1.ImportJob].
    * 
* @@ -42,7 +43,8 @@ public interface CreateImportJobRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
+   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+   * [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
    * [ImportJobs][google.cloud.kms.v1.ImportJob].
    * 
* @@ -85,7 +87,8 @@ public interface CreateImportJobRequestOrBuilder * * *
-   * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+   * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -98,7 +101,8 @@ public interface CreateImportJobRequestOrBuilder * * *
-   * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+   * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -111,7 +115,8 @@ public interface CreateImportJobRequestOrBuilder * * *
-   * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
+   * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateKeyRingRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateKeyRingRequest.java index c3a71221..f742185b 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateKeyRingRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateKeyRingRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.CreateKeyRing][google.cloud.kms.v1.KeyManagementService.CreateKeyRing].
+ * Request message for
+ * [KeyManagementService.CreateKeyRing][google.cloud.kms.v1.KeyManagementService.CreateKeyRing].
  * 
* * Protobuf type {@code google.cloud.kms.v1.CreateKeyRingRequest} @@ -141,7 +142,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The resource name of the location associated with the
-   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+   * `projects/*/locations/*`.
    * 
* * @@ -167,7 +169,8 @@ public java.lang.String getParent() { * *
    * Required. The resource name of the location associated with the
-   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+   * `projects/*/locations/*`.
    * 
* * @@ -246,7 +249,8 @@ public com.google.protobuf.ByteString getKeyRingIdBytes() { * * *
-   * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+   * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -262,7 +266,8 @@ public boolean hasKeyRing() { * * *
-   * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+   * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -278,7 +283,8 @@ public com.google.cloud.kms.v1.KeyRing getKeyRing() { * * *
-   * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+   * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -475,7 +481,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.CreateKeyRing][google.cloud.kms.v1.KeyManagementService.CreateKeyRing].
+   * Request message for
+   * [KeyManagementService.CreateKeyRing][google.cloud.kms.v1.KeyManagementService.CreateKeyRing].
    * 
* * Protobuf type {@code google.cloud.kms.v1.CreateKeyRingRequest} @@ -655,7 +662,8 @@ public Builder mergeFrom( * *
      * Required. The resource name of the location associated with the
-     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+     * `projects/*/locations/*`.
      * 
* * @@ -680,7 +688,8 @@ public java.lang.String getParent() { * *
      * Required. The resource name of the location associated with the
-     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+     * `projects/*/locations/*`.
      * 
* * @@ -705,7 +714,8 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The resource name of the location associated with the
-     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+     * `projects/*/locations/*`.
      * 
* * @@ -729,7 +739,8 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The resource name of the location associated with the
-     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+     * `projects/*/locations/*`.
      * 
* * @@ -749,7 +760,8 @@ public Builder clearParent() { * *
      * Required. The resource name of the location associated with the
-     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+     * `projects/*/locations/*`.
      * 
* * @@ -891,7 +903,8 @@ public Builder setKeyRingIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+     * values.
      * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -906,7 +919,8 @@ public boolean hasKeyRing() { * * *
-     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+     * values.
      * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -925,7 +939,8 @@ public com.google.cloud.kms.v1.KeyRing getKeyRing() { * * *
-     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+     * values.
      * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -948,7 +963,8 @@ public Builder setKeyRing(com.google.cloud.kms.v1.KeyRing value) { * * *
-     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+     * values.
      * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -968,7 +984,8 @@ public Builder setKeyRing(com.google.cloud.kms.v1.KeyRing.Builder builderForValu * * *
-     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+     * values.
      * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -993,7 +1010,8 @@ public Builder mergeKeyRing(com.google.cloud.kms.v1.KeyRing value) { * * *
-     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+     * values.
      * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1014,7 +1032,8 @@ public Builder clearKeyRing() { * * *
-     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+     * values.
      * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1029,7 +1048,8 @@ public com.google.cloud.kms.v1.KeyRing.Builder getKeyRingBuilder() { * * *
-     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+     * values.
      * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1046,7 +1066,8 @@ public com.google.cloud.kms.v1.KeyRingOrBuilder getKeyRingOrBuilder() { * * *
-     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+     * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+     * values.
      * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateKeyRingRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateKeyRingRequestOrBuilder.java index 9beb9bf8..f3c3c326 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateKeyRingRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateKeyRingRequestOrBuilder.java @@ -28,7 +28,8 @@ public interface CreateKeyRingRequestOrBuilder * *
    * Required. The resource name of the location associated with the
-   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+   * `projects/*/locations/*`.
    * 
* * @@ -43,7 +44,8 @@ public interface CreateKeyRingRequestOrBuilder * *
    * Required. The resource name of the location associated with the
-   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+   * `projects/*/locations/*`.
    * 
* * @@ -85,7 +87,8 @@ public interface CreateKeyRingRequestOrBuilder * * *
-   * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+   * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -98,7 +101,8 @@ public interface CreateKeyRingRequestOrBuilder * * *
-   * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+   * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -111,7 +115,8 @@ public interface CreateKeyRingRequestOrBuilder * * *
-   * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
+   * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
+   * values.
    * 
* * .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKey.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKey.java index c17276b9..f6087929 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKey.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKey.java @@ -22,10 +22,11 @@ * * *
- * A [CryptoKey][google.cloud.kms.v1.CryptoKey] represents a logical key that can be used for cryptographic
- * operations.
- * A [CryptoKey][google.cloud.kms.v1.CryptoKey] is made up of zero or more [versions][google.cloud.kms.v1.CryptoKeyVersion],
- * which represent the actual key material used in cryptographic operations.
+ * A [CryptoKey][google.cloud.kms.v1.CryptoKey] represents a logical key that
+ * can be used for cryptographic operations.
+ * A [CryptoKey][google.cloud.kms.v1.CryptoKey] is made up of zero or more
+ * [versions][google.cloud.kms.v1.CryptoKeyVersion], which represent the actual
+ * key material used in cryptographic operations.
  * 
* * Protobuf type {@code google.cloud.kms.v1.CryptoKey} @@ -43,6 +44,7 @@ private CryptoKey(com.google.protobuf.GeneratedMessageV3.Builder builder) { private CryptoKey() { name_ = ""; purpose_ = 0; + cryptoKeyBackend_ = ""; } @java.lang.Override @@ -197,6 +199,13 @@ private CryptoKey( destroyScheduledDuration_ = subBuilder.buildPartial(); } + break; + } + case 122: + { + java.lang.String s = input.readStringRequireUtf8(); + + cryptoKeyBackend_ = s; break; } default: @@ -248,10 +257,11 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *
-   * [CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose] describes the cryptographic capabilities of a
-   * [CryptoKey][google.cloud.kms.v1.CryptoKey]. A given key can only be used for the operations allowed by
-   * its purpose. For more information, see
-   * [Key purposes](https://cloud.google.com/kms/docs/algorithms#key_purposes).
+   * [CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose]
+   * describes the cryptographic capabilities of a
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey]. A given key can only be used
+   * for the operations allowed by its purpose. For more information, see [Key
+   * purposes](https://cloud.google.com/kms/docs/algorithms#key_purposes).
    * 
* * Protobuf enum {@code google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose} @@ -271,8 +281,8 @@ public enum CryptoKeyPurpose implements com.google.protobuf.ProtocolMessageEnum * * *
-     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with
-     * [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] and
+     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used
+     * with [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] and
      * [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
      * 
* @@ -283,8 +293,10 @@ public enum CryptoKeyPurpose implements com.google.protobuf.ProtocolMessageEnum * * *
-     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with
-     * [AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign] and
+     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used
+     * with
+     * [AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]
+     * and
      * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
      * 
* @@ -295,8 +307,10 @@ public enum CryptoKeyPurpose implements com.google.protobuf.ProtocolMessageEnum * * *
-     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with
-     * [AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt] and
+     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used
+     * with
+     * [AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt]
+     * and
      * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
      * 
* @@ -307,8 +321,8 @@ public enum CryptoKeyPurpose implements com.google.protobuf.ProtocolMessageEnum * * *
-     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with
-     * [MacSign][google.cloud.kms.v1.KeyManagementService.MacSign].
+     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used
+     * with [MacSign][google.cloud.kms.v1.KeyManagementService.MacSign].
      * 
* * MAC = 9; @@ -331,8 +345,8 @@ public enum CryptoKeyPurpose implements com.google.protobuf.ProtocolMessageEnum * * *
-     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with
-     * [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] and
+     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used
+     * with [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] and
      * [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
      * 
* @@ -343,8 +357,10 @@ public enum CryptoKeyPurpose implements com.google.protobuf.ProtocolMessageEnum * * *
-     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with
-     * [AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign] and
+     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used
+     * with
+     * [AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]
+     * and
      * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
      * 
* @@ -355,8 +371,10 @@ public enum CryptoKeyPurpose implements com.google.protobuf.ProtocolMessageEnum * * *
-     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with
-     * [AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt] and
+     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used
+     * with
+     * [AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt]
+     * and
      * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
      * 
* @@ -367,8 +385,8 @@ public enum CryptoKeyPurpose implements com.google.protobuf.ProtocolMessageEnum * * *
-     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with
-     * [MacSign][google.cloud.kms.v1.KeyManagementService.MacSign].
+     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used
+     * with [MacSign][google.cloud.kms.v1.KeyManagementService.MacSign].
      * 
* * MAC = 9; @@ -514,7 +532,8 @@ public RotationScheduleCase getRotationScheduleCase() { * * *
-   * Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
+   * Output only. The resource name for this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
    * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
    * 
* @@ -538,7 +557,8 @@ public java.lang.String getName() { * * *
-   * Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
+   * Output only. The resource name for this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
    * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
    * 
* @@ -565,14 +585,17 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-   * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-   * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-   * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+   * Output only. A copy of the "primary"
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+   * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+   * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+   * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+   * updated via
    * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-   * primary. For other keys, this field will be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * may have a primary. For other keys, this field will be omitted.
    * 
* * @@ -589,14 +612,17 @@ public boolean hasPrimary() { * * *
-   * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-   * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-   * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-   * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+   * Output only. A copy of the "primary"
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+   * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+   * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+   * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+   * updated via
    * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-   * primary. For other keys, this field will be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * may have a primary. For other keys, this field will be omitted.
    * 
* * @@ -615,14 +641,17 @@ public com.google.cloud.kms.v1.CryptoKeyVersion getPrimary() { * * *
-   * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-   * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-   * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-   * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+   * Output only. A copy of the "primary"
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+   * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+   * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+   * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+   * updated via
    * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-   * primary. For other keys, this field will be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * may have a primary. For other keys, this field will be omitted.
    * 
* * @@ -640,7 +669,8 @@ public com.google.cloud.kms.v1.CryptoKeyVersionOrBuilder getPrimaryOrBuilder() { * * *
-   * Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
+   * Immutable. The immutable purpose of this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey].
    * 
* * @@ -657,7 +687,8 @@ public int getPurposeValue() { * * *
-   * Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
+   * Immutable. The immutable purpose of this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey].
    * 
* * @@ -682,7 +713,8 @@ public com.google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose getPurpose() { * * *
-   * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+   * Output only. The time at which this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
    * 
* * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -698,7 +730,8 @@ public boolean hasCreateTime() { * * *
-   * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+   * Output only. The time at which this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
    * 
* * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -714,7 +747,8 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-   * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+   * Output only. The time at which this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
    * 
* * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -731,16 +765,19 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-   * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+   * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+   * the Key Management Service will automatically:
    * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
    * 2. Mark the new version as primary.
    * Key rotations performed manually via
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * and
    * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-   * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+   * do not affect
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-   * automatic rotation. For other keys, this field must be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * support automatic rotation. For other keys, this field must be omitted.
    * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -755,16 +792,19 @@ public boolean hasNextRotationTime() { * * *
-   * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+   * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+   * the Key Management Service will automatically:
    * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
    * 2. Mark the new version as primary.
    * Key rotations performed manually via
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * and
    * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-   * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+   * do not affect
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-   * automatic rotation. For other keys, this field must be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * support automatic rotation. For other keys, this field must be omitted.
    * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -781,16 +821,19 @@ public com.google.protobuf.Timestamp getNextRotationTime() { * * *
-   * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+   * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+   * the Key Management Service will automatically:
    * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
    * 2. Mark the new version as primary.
    * Key rotations performed manually via
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * and
    * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-   * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+   * do not affect
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-   * automatic rotation. For other keys, this field must be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * support automatic rotation. For other keys, this field must be omitted.
    * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -805,13 +848,16 @@ public com.google.protobuf.TimestampOrBuilder getNextRotationTimeOrBuilder() { * * *
-   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-   * automatically rotates a key. Must be at least 24 hours and at most
-   * 876,000 hours.
-   * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+   * will be advanced by this period when the service automatically rotates a
+   * key. Must be at least 24 hours and at most 876,000 hours.
+   * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+   * set,
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+   * must also be set.
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-   * automatic rotation. For other keys, this field must be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * support automatic rotation. For other keys, this field must be omitted.
    * 
* * .google.protobuf.Duration rotation_period = 8; @@ -826,13 +872,16 @@ public boolean hasRotationPeriod() { * * *
-   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-   * automatically rotates a key. Must be at least 24 hours and at most
-   * 876,000 hours.
-   * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+   * will be advanced by this period when the service automatically rotates a
+   * key. Must be at least 24 hours and at most 876,000 hours.
+   * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+   * set,
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+   * must also be set.
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-   * automatic rotation. For other keys, this field must be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * support automatic rotation. For other keys, this field must be omitted.
    * 
* * .google.protobuf.Duration rotation_period = 8; @@ -850,13 +899,16 @@ public com.google.protobuf.Duration getRotationPeriod() { * * *
-   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-   * automatically rotates a key. Must be at least 24 hours and at most
-   * 876,000 hours.
-   * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+   * will be advanced by this period when the service automatically rotates a
+   * key. Must be at least 24 hours and at most 876,000 hours.
+   * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+   * set,
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+   * must also be set.
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-   * automatic rotation. For other keys, this field must be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * support automatic rotation. For other keys, this field must be omitted.
    * 
* * .google.protobuf.Duration rotation_period = 8; @@ -875,10 +927,12 @@ public com.google.protobuf.DurationOrBuilder getRotationPeriodOrBuilder() { * * *
-   * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-   * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-   * auto-rotation are controlled by this template.
+   * A template describing settings for new
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+   * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+   * instances created by either
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * or auto-rotation are controlled by this template.
    * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -893,10 +947,12 @@ public boolean hasVersionTemplate() { * * *
-   * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-   * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-   * auto-rotation are controlled by this template.
+   * A template describing settings for new
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+   * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+   * instances created by either
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * or auto-rotation are controlled by this template.
    * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -913,10 +969,12 @@ public com.google.cloud.kms.v1.CryptoKeyVersionTemplate getVersionTemplate() { * * *
-   * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-   * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-   * auto-rotation are controlled by this template.
+   * A template describing settings for new
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+   * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+   * instances created by either
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * or auto-rotation are controlled by this template.
    * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -1055,8 +1113,8 @@ public boolean getImportOnly() { * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -1076,8 +1134,8 @@ public boolean hasDestroyScheduledDuration() { * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -1099,8 +1157,8 @@ public com.google.protobuf.Duration getDestroyScheduledDuration() { * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -1112,6 +1170,77 @@ public com.google.protobuf.DurationOrBuilder getDestroyScheduledDurationOrBuilde return getDestroyScheduledDuration(); } + public static final int CRYPTO_KEY_BACKEND_FIELD_NUMBER = 15; + private volatile java.lang.Object cryptoKeyBackend_; + /** + * + * + *
+   * Immutable. The resource name of the backend environment where the key
+   * material for all [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]
+   * associated with this [CryptoKey][google.cloud.kms.v1.CryptoKey] reside and
+   * where all related cryptographic operations are performed. Only applicable
+   * if [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] have a
+   * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
+   * [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], with the
+   * resource name in the format `projects/*/locations/*/ekmConnections/*`.
+   * Note, this list is non-exhaustive and may apply to additional
+   * [ProtectionLevels][google.cloud.kms.v1.ProtectionLevel] in the future.
+   * 
+ * + * + * string crypto_key_backend = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @return The cryptoKeyBackend. + */ + @java.lang.Override + public java.lang.String getCryptoKeyBackend() { + java.lang.Object ref = cryptoKeyBackend_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + cryptoKeyBackend_ = s; + return s; + } + } + /** + * + * + *
+   * Immutable. The resource name of the backend environment where the key
+   * material for all [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]
+   * associated with this [CryptoKey][google.cloud.kms.v1.CryptoKey] reside and
+   * where all related cryptographic operations are performed. Only applicable
+   * if [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] have a
+   * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
+   * [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], with the
+   * resource name in the format `projects/*/locations/*/ekmConnections/*`.
+   * Note, this list is non-exhaustive and may apply to additional
+   * [ProtectionLevels][google.cloud.kms.v1.ProtectionLevel] in the future.
+   * 
+ * + * + * string crypto_key_backend = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for cryptoKeyBackend. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCryptoKeyBackendBytes() { + java.lang.Object ref = cryptoKeyBackend_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + cryptoKeyBackend_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1157,6 +1286,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (destroyScheduledDuration_ != null) { output.writeMessage(14, getDestroyScheduledDuration()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cryptoKeyBackend_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 15, cryptoKeyBackend_); + } unknownFields.writeTo(output); } @@ -1209,6 +1341,9 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 14, getDestroyScheduledDuration()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cryptoKeyBackend_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, cryptoKeyBackend_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1248,6 +1383,7 @@ public boolean equals(final java.lang.Object obj) { if (hasDestroyScheduledDuration()) { if (!getDestroyScheduledDuration().equals(other.getDestroyScheduledDuration())) return false; } + if (!getCryptoKeyBackend().equals(other.getCryptoKeyBackend())) return false; if (!getRotationScheduleCase().equals(other.getRotationScheduleCase())) return false; switch (rotationScheduleCase_) { case 8: @@ -1297,6 +1433,8 @@ public int hashCode() { hash = (37 * hash) + DESTROY_SCHEDULED_DURATION_FIELD_NUMBER; hash = (53 * hash) + getDestroyScheduledDuration().hashCode(); } + hash = (37 * hash) + CRYPTO_KEY_BACKEND_FIELD_NUMBER; + hash = (53 * hash) + getCryptoKeyBackend().hashCode(); switch (rotationScheduleCase_) { case 8: hash = (37 * hash) + ROTATION_PERIOD_FIELD_NUMBER; @@ -1408,10 +1546,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * A [CryptoKey][google.cloud.kms.v1.CryptoKey] represents a logical key that can be used for cryptographic
-   * operations.
-   * A [CryptoKey][google.cloud.kms.v1.CryptoKey] is made up of zero or more [versions][google.cloud.kms.v1.CryptoKeyVersion],
-   * which represent the actual key material used in cryptographic operations.
+   * A [CryptoKey][google.cloud.kms.v1.CryptoKey] represents a logical key that
+   * can be used for cryptographic operations.
+   * A [CryptoKey][google.cloud.kms.v1.CryptoKey] is made up of zero or more
+   * [versions][google.cloud.kms.v1.CryptoKeyVersion], which represent the actual
+   * key material used in cryptographic operations.
    * 
* * Protobuf type {@code google.cloud.kms.v1.CryptoKey} @@ -1509,6 +1648,8 @@ public Builder clear() { destroyScheduledDuration_ = null; destroyScheduledDurationBuilder_ = null; } + cryptoKeyBackend_ = ""; + rotationScheduleCase_ = 0; rotationSchedule_ = null; return this; @@ -1575,6 +1716,7 @@ public com.google.cloud.kms.v1.CryptoKey buildPartial() { } else { result.destroyScheduledDuration_ = destroyScheduledDurationBuilder_.build(); } + result.cryptoKeyBackend_ = cryptoKeyBackend_; result.rotationScheduleCase_ = rotationScheduleCase_; onBuilt(); return result; @@ -1651,6 +1793,10 @@ public Builder mergeFrom(com.google.cloud.kms.v1.CryptoKey other) { if (other.hasDestroyScheduledDuration()) { mergeDestroyScheduledDuration(other.getDestroyScheduledDuration()); } + if (!other.getCryptoKeyBackend().isEmpty()) { + cryptoKeyBackend_ = other.cryptoKeyBackend_; + onChanged(); + } switch (other.getRotationScheduleCase()) { case ROTATION_PERIOD: { @@ -1712,7 +1858,8 @@ public Builder clearRotationSchedule() { * * *
-     * Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
+     * Output only. The resource name for this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
      * 
* @@ -1735,7 +1882,8 @@ public java.lang.String getName() { * * *
-     * Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
+     * Output only. The resource name for this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
      * 
* @@ -1758,7 +1906,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
+     * Output only. The resource name for this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
      * 
* @@ -1780,7 +1929,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
+     * Output only. The resource name for this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
      * 
* @@ -1798,7 +1948,8 @@ public Builder clearName() { * * *
-     * Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
+     * Output only. The resource name for this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
      * 
* @@ -1828,14 +1979,17 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-     * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+     * Output only. A copy of the "primary"
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+     * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+     * updated via
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-     * primary. For other keys, this field will be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * may have a primary. For other keys, this field will be omitted.
      * 
* * @@ -1851,14 +2005,17 @@ public boolean hasPrimary() { * * *
-     * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-     * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+     * Output only. A copy of the "primary"
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+     * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+     * updated via
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-     * primary. For other keys, this field will be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * may have a primary. For other keys, this field will be omitted.
      * 
* * @@ -1880,14 +2037,17 @@ public com.google.cloud.kms.v1.CryptoKeyVersion getPrimary() { * * *
-     * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-     * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+     * Output only. A copy of the "primary"
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+     * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+     * updated via
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-     * primary. For other keys, this field will be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * may have a primary. For other keys, this field will be omitted.
      * 
* * @@ -1911,14 +2071,17 @@ public Builder setPrimary(com.google.cloud.kms.v1.CryptoKeyVersion value) { * * *
-     * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-     * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+     * Output only. A copy of the "primary"
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+     * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+     * updated via
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-     * primary. For other keys, this field will be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * may have a primary. For other keys, this field will be omitted.
      * 
* * @@ -1939,14 +2102,17 @@ public Builder setPrimary(com.google.cloud.kms.v1.CryptoKeyVersion.Builder build * * *
-     * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-     * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+     * Output only. A copy of the "primary"
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+     * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+     * updated via
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-     * primary. For other keys, this field will be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * may have a primary. For other keys, this field will be omitted.
      * 
* * @@ -1974,14 +2140,17 @@ public Builder mergePrimary(com.google.cloud.kms.v1.CryptoKeyVersion value) { * * *
-     * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-     * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+     * Output only. A copy of the "primary"
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+     * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+     * updated via
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-     * primary. For other keys, this field will be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * may have a primary. For other keys, this field will be omitted.
      * 
* * @@ -2003,14 +2172,17 @@ public Builder clearPrimary() { * * *
-     * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-     * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+     * Output only. A copy of the "primary"
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+     * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+     * updated via
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-     * primary. For other keys, this field will be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * may have a primary. For other keys, this field will be omitted.
      * 
* * @@ -2026,14 +2198,17 @@ public com.google.cloud.kms.v1.CryptoKeyVersion.Builder getPrimaryBuilder() { * * *
-     * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-     * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+     * Output only. A copy of the "primary"
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+     * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+     * updated via
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-     * primary. For other keys, this field will be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * may have a primary. For other keys, this field will be omitted.
      * 
* * @@ -2053,14 +2228,17 @@ public com.google.cloud.kms.v1.CryptoKeyVersionOrBuilder getPrimaryOrBuilder() { * * *
-     * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-     * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+     * Output only. A copy of the "primary"
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+     * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+     * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+     * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+     * updated via
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-     * primary. For other keys, this field will be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * may have a primary. For other keys, this field will be omitted.
      * 
* * @@ -2089,7 +2267,8 @@ public com.google.cloud.kms.v1.CryptoKeyVersionOrBuilder getPrimaryOrBuilder() { * * *
-     * Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
+     * Immutable. The immutable purpose of this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 
* * @@ -2106,7 +2285,8 @@ public int getPurposeValue() { * * *
-     * Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
+     * Immutable. The immutable purpose of this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 
* * @@ -2126,7 +2306,8 @@ public Builder setPurposeValue(int value) { * * *
-     * Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
+     * Immutable. The immutable purpose of this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 
* * @@ -2148,7 +2329,8 @@ public com.google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose getPurpose() { * * *
-     * Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
+     * Immutable. The immutable purpose of this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 
* * @@ -2171,7 +2353,8 @@ public Builder setPurpose(com.google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose val * * *
-     * Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
+     * Immutable. The immutable purpose of this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 
* * @@ -2197,7 +2380,8 @@ public Builder clearPurpose() { * * *
-     * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+     * Output only. The time at which this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
      * 
* * @@ -2213,7 +2397,8 @@ public boolean hasCreateTime() { * * *
-     * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+     * Output only. The time at which this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
      * 
* * @@ -2235,7 +2420,8 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-     * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+     * Output only. The time at which this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
      * 
* * @@ -2259,7 +2445,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+     * Output only. The time at which this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
      * 
* * @@ -2280,7 +2467,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+     * Output only. The time at which this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
      * 
* * @@ -2306,7 +2494,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+     * Output only. The time at which this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
      * 
* * @@ -2328,7 +2517,8 @@ public Builder clearCreateTime() { * * *
-     * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+     * Output only. The time at which this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
      * 
* * @@ -2344,7 +2534,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * * *
-     * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+     * Output only. The time at which this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
      * 
* * @@ -2364,7 +2555,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+     * Output only. The time at which this
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
      * 
* * @@ -2398,16 +2590,19 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+     * the Key Management Service will automatically:
      * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 2. Mark the new version as primary.
      * Key rotations performed manually via
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * and
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-     * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+     * do not affect
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -2421,16 +2616,19 @@ public boolean hasNextRotationTime() { * * *
-     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+     * the Key Management Service will automatically:
      * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 2. Mark the new version as primary.
      * Key rotations performed manually via
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * and
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-     * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+     * do not affect
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -2450,16 +2648,19 @@ public com.google.protobuf.Timestamp getNextRotationTime() { * * *
-     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+     * the Key Management Service will automatically:
      * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 2. Mark the new version as primary.
      * Key rotations performed manually via
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * and
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-     * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+     * do not affect
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -2481,16 +2682,19 @@ public Builder setNextRotationTime(com.google.protobuf.Timestamp value) { * * *
-     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+     * the Key Management Service will automatically:
      * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 2. Mark the new version as primary.
      * Key rotations performed manually via
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * and
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-     * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+     * do not affect
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -2509,16 +2713,19 @@ public Builder setNextRotationTime(com.google.protobuf.Timestamp.Builder builder * * *
-     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+     * the Key Management Service will automatically:
      * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 2. Mark the new version as primary.
      * Key rotations performed manually via
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * and
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-     * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+     * do not affect
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -2544,16 +2751,19 @@ public Builder mergeNextRotationTime(com.google.protobuf.Timestamp value) { * * *
-     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+     * the Key Management Service will automatically:
      * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 2. Mark the new version as primary.
      * Key rotations performed manually via
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * and
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-     * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+     * do not affect
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -2573,16 +2783,19 @@ public Builder clearNextRotationTime() { * * *
-     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+     * the Key Management Service will automatically:
      * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 2. Mark the new version as primary.
      * Key rotations performed manually via
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * and
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-     * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+     * do not affect
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -2596,16 +2809,19 @@ public com.google.protobuf.Timestamp.Builder getNextRotationTimeBuilder() { * * *
-     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+     * the Key Management Service will automatically:
      * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 2. Mark the new version as primary.
      * Key rotations performed manually via
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * and
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-     * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+     * do not affect
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -2623,16 +2839,19 @@ public com.google.protobuf.TimestampOrBuilder getNextRotationTimeOrBuilder() { * * *
-     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+     * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+     * the Key Management Service will automatically:
      * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
      * 2. Mark the new version as primary.
      * Key rotations performed manually via
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * and
      * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-     * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+     * do not affect
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -2663,13 +2882,16 @@ public com.google.protobuf.TimestampOrBuilder getNextRotationTimeOrBuilder() { * * *
-     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-     * automatically rotates a key. Must be at least 24 hours and at most
-     * 876,000 hours.
-     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * will be advanced by this period when the service automatically rotates a
+     * key. Must be at least 24 hours and at most 876,000 hours.
+     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+     * set,
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * must also be set.
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Duration rotation_period = 8; @@ -2684,13 +2906,16 @@ public boolean hasRotationPeriod() { * * *
-     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-     * automatically rotates a key. Must be at least 24 hours and at most
-     * 876,000 hours.
-     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * will be advanced by this period when the service automatically rotates a
+     * key. Must be at least 24 hours and at most 876,000 hours.
+     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+     * set,
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * must also be set.
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Duration rotation_period = 8; @@ -2715,13 +2940,16 @@ public com.google.protobuf.Duration getRotationPeriod() { * * *
-     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-     * automatically rotates a key. Must be at least 24 hours and at most
-     * 876,000 hours.
-     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * will be advanced by this period when the service automatically rotates a
+     * key. Must be at least 24 hours and at most 876,000 hours.
+     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+     * set,
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * must also be set.
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Duration rotation_period = 8; @@ -2743,13 +2971,16 @@ public Builder setRotationPeriod(com.google.protobuf.Duration value) { * * *
-     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-     * automatically rotates a key. Must be at least 24 hours and at most
-     * 876,000 hours.
-     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * will be advanced by this period when the service automatically rotates a
+     * key. Must be at least 24 hours and at most 876,000 hours.
+     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+     * set,
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * must also be set.
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Duration rotation_period = 8; @@ -2768,13 +2999,16 @@ public Builder setRotationPeriod(com.google.protobuf.Duration.Builder builderFor * * *
-     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-     * automatically rotates a key. Must be at least 24 hours and at most
-     * 876,000 hours.
-     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * will be advanced by this period when the service automatically rotates a
+     * key. Must be at least 24 hours and at most 876,000 hours.
+     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+     * set,
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * must also be set.
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Duration rotation_period = 8; @@ -2805,13 +3039,16 @@ public Builder mergeRotationPeriod(com.google.protobuf.Duration value) { * * *
-     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-     * automatically rotates a key. Must be at least 24 hours and at most
-     * 876,000 hours.
-     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * will be advanced by this period when the service automatically rotates a
+     * key. Must be at least 24 hours and at most 876,000 hours.
+     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+     * set,
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * must also be set.
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Duration rotation_period = 8; @@ -2836,13 +3073,16 @@ public Builder clearRotationPeriod() { * * *
-     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-     * automatically rotates a key. Must be at least 24 hours and at most
-     * 876,000 hours.
-     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * will be advanced by this period when the service automatically rotates a
+     * key. Must be at least 24 hours and at most 876,000 hours.
+     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+     * set,
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * must also be set.
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Duration rotation_period = 8; @@ -2854,13 +3094,16 @@ public com.google.protobuf.Duration.Builder getRotationPeriodBuilder() { * * *
-     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-     * automatically rotates a key. Must be at least 24 hours and at most
-     * 876,000 hours.
-     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * will be advanced by this period when the service automatically rotates a
+     * key. Must be at least 24 hours and at most 876,000 hours.
+     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+     * set,
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * must also be set.
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Duration rotation_period = 8; @@ -2880,13 +3123,16 @@ public com.google.protobuf.DurationOrBuilder getRotationPeriodOrBuilder() { * * *
-     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-     * automatically rotates a key. Must be at least 24 hours and at most
-     * 876,000 hours.
-     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * will be advanced by this period when the service automatically rotates a
+     * key. Must be at least 24 hours and at most 876,000 hours.
+     * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+     * set,
+     * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+     * must also be set.
      * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-     * automatic rotation. For other keys, this field must be omitted.
+     * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+     * support automatic rotation. For other keys, this field must be omitted.
      * 
* * .google.protobuf.Duration rotation_period = 8; @@ -2926,10 +3172,12 @@ public com.google.protobuf.DurationOrBuilder getRotationPeriodOrBuilder() { * * *
-     * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-     * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-     * auto-rotation are controlled by this template.
+     * A template describing settings for new
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+     * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * instances created by either
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * or auto-rotation are controlled by this template.
      * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -2943,10 +3191,12 @@ public boolean hasVersionTemplate() { * * *
-     * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-     * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-     * auto-rotation are controlled by this template.
+     * A template describing settings for new
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+     * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * instances created by either
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * or auto-rotation are controlled by this template.
      * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -2966,10 +3216,12 @@ public com.google.cloud.kms.v1.CryptoKeyVersionTemplate getVersionTemplate() { * * *
-     * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-     * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-     * auto-rotation are controlled by this template.
+     * A template describing settings for new
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+     * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * instances created by either
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * or auto-rotation are controlled by this template.
      * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -2991,10 +3243,12 @@ public Builder setVersionTemplate(com.google.cloud.kms.v1.CryptoKeyVersionTempla * * *
-     * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-     * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-     * auto-rotation are controlled by this template.
+     * A template describing settings for new
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+     * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * instances created by either
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * or auto-rotation are controlled by this template.
      * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -3014,10 +3268,12 @@ public Builder setVersionTemplate( * * *
-     * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-     * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-     * auto-rotation are controlled by this template.
+     * A template describing settings for new
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+     * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * instances created by either
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * or auto-rotation are controlled by this template.
      * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -3043,10 +3299,12 @@ public Builder mergeVersionTemplate(com.google.cloud.kms.v1.CryptoKeyVersionTemp * * *
-     * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-     * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-     * auto-rotation are controlled by this template.
+     * A template describing settings for new
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+     * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * instances created by either
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * or auto-rotation are controlled by this template.
      * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -3066,10 +3324,12 @@ public Builder clearVersionTemplate() { * * *
-     * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-     * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-     * auto-rotation are controlled by this template.
+     * A template describing settings for new
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+     * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * instances created by either
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * or auto-rotation are controlled by this template.
      * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -3083,10 +3343,12 @@ public com.google.cloud.kms.v1.CryptoKeyVersionTemplate.Builder getVersionTempla * * *
-     * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-     * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-     * auto-rotation are controlled by this template.
+     * A template describing settings for new
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+     * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * instances created by either
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * or auto-rotation are controlled by this template.
      * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -3104,10 +3366,12 @@ public com.google.cloud.kms.v1.CryptoKeyVersionTemplateOrBuilder getVersionTempl * * *
-     * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-     * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-     * auto-rotation are controlled by this template.
+     * A template describing settings for new
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+     * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * instances created by either
+     * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+     * or auto-rotation are controlled by this template.
      * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -3358,8 +3622,8 @@ public Builder clearImportOnly() { * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -3378,8 +3642,8 @@ public boolean hasDestroyScheduledDuration() { * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -3404,8 +3668,8 @@ public com.google.protobuf.Duration getDestroyScheduledDuration() { * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -3432,8 +3696,8 @@ public Builder setDestroyScheduledDuration(com.google.protobuf.Duration value) { * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -3458,8 +3722,8 @@ public Builder setDestroyScheduledDuration( * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -3490,8 +3754,8 @@ public Builder mergeDestroyScheduledDuration(com.google.protobuf.Duration value) * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -3516,8 +3780,8 @@ public Builder clearDestroyScheduledDuration() { * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -3536,8 +3800,8 @@ public com.google.protobuf.Duration.Builder getDestroyScheduledDurationBuilder() * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -3560,8 +3824,8 @@ public com.google.protobuf.DurationOrBuilder getDestroyScheduledDurationOrBuilde * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -3585,6 +3849,167 @@ public com.google.protobuf.DurationOrBuilder getDestroyScheduledDurationOrBuilde return destroyScheduledDurationBuilder_; } + private java.lang.Object cryptoKeyBackend_ = ""; + /** + * + * + *
+     * Immutable. The resource name of the backend environment where the key
+     * material for all [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]
+     * associated with this [CryptoKey][google.cloud.kms.v1.CryptoKey] reside and
+     * where all related cryptographic operations are performed. Only applicable
+     * if [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] have a
+     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
+     * [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], with the
+     * resource name in the format `projects/*/locations/*/ekmConnections/*`.
+     * Note, this list is non-exhaustive and may apply to additional
+     * [ProtectionLevels][google.cloud.kms.v1.ProtectionLevel] in the future.
+     * 
+ * + * + * string crypto_key_backend = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @return The cryptoKeyBackend. + */ + public java.lang.String getCryptoKeyBackend() { + java.lang.Object ref = cryptoKeyBackend_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + cryptoKeyBackend_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Immutable. The resource name of the backend environment where the key
+     * material for all [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]
+     * associated with this [CryptoKey][google.cloud.kms.v1.CryptoKey] reside and
+     * where all related cryptographic operations are performed. Only applicable
+     * if [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] have a
+     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
+     * [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], with the
+     * resource name in the format `projects/*/locations/*/ekmConnections/*`.
+     * Note, this list is non-exhaustive and may apply to additional
+     * [ProtectionLevels][google.cloud.kms.v1.ProtectionLevel] in the future.
+     * 
+ * + * + * string crypto_key_backend = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for cryptoKeyBackend. + */ + public com.google.protobuf.ByteString getCryptoKeyBackendBytes() { + java.lang.Object ref = cryptoKeyBackend_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + cryptoKeyBackend_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Immutable. The resource name of the backend environment where the key
+     * material for all [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]
+     * associated with this [CryptoKey][google.cloud.kms.v1.CryptoKey] reside and
+     * where all related cryptographic operations are performed. Only applicable
+     * if [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] have a
+     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
+     * [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], with the
+     * resource name in the format `projects/*/locations/*/ekmConnections/*`.
+     * Note, this list is non-exhaustive and may apply to additional
+     * [ProtectionLevels][google.cloud.kms.v1.ProtectionLevel] in the future.
+     * 
+ * + * + * string crypto_key_backend = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @param value The cryptoKeyBackend to set. + * @return This builder for chaining. + */ + public Builder setCryptoKeyBackend(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + cryptoKeyBackend_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The resource name of the backend environment where the key
+     * material for all [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]
+     * associated with this [CryptoKey][google.cloud.kms.v1.CryptoKey] reside and
+     * where all related cryptographic operations are performed. Only applicable
+     * if [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] have a
+     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
+     * [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], with the
+     * resource name in the format `projects/*/locations/*/ekmConnections/*`.
+     * Note, this list is non-exhaustive and may apply to additional
+     * [ProtectionLevels][google.cloud.kms.v1.ProtectionLevel] in the future.
+     * 
+ * + * + * string crypto_key_backend = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearCryptoKeyBackend() { + + cryptoKeyBackend_ = getDefaultInstance().getCryptoKeyBackend(); + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The resource name of the backend environment where the key
+     * material for all [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]
+     * associated with this [CryptoKey][google.cloud.kms.v1.CryptoKey] reside and
+     * where all related cryptographic operations are performed. Only applicable
+     * if [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] have a
+     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
+     * [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], with the
+     * resource name in the format `projects/*/locations/*/ekmConnections/*`.
+     * Note, this list is non-exhaustive and may apply to additional
+     * [ProtectionLevels][google.cloud.kms.v1.ProtectionLevel] in the future.
+     * 
+ * + * + * string crypto_key_backend = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for cryptoKeyBackend to set. + * @return This builder for chaining. + */ + public Builder setCryptoKeyBackendBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + cryptoKeyBackend_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyOrBuilder.java index 366dc5e7..6b23e561 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyOrBuilder.java @@ -27,7 +27,8 @@ public interface CryptoKeyOrBuilder * * *
-   * Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
+   * Output only. The resource name for this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
    * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
    * 
* @@ -40,7 +41,8 @@ public interface CryptoKeyOrBuilder * * *
-   * Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
+   * Output only. The resource name for this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format
    * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
    * 
* @@ -54,14 +56,17 @@ public interface CryptoKeyOrBuilder * * *
-   * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-   * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-   * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-   * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+   * Output only. A copy of the "primary"
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+   * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+   * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+   * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+   * updated via
    * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-   * primary. For other keys, this field will be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * may have a primary. For other keys, this field will be omitted.
    * 
* * @@ -75,14 +80,17 @@ public interface CryptoKeyOrBuilder * * *
-   * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-   * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-   * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-   * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+   * Output only. A copy of the "primary"
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+   * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+   * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+   * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+   * updated via
    * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-   * primary. For other keys, this field will be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * may have a primary. For other keys, this field will be omitted.
    * 
* * @@ -96,14 +104,17 @@ public interface CryptoKeyOrBuilder * * *
-   * Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
-   * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given
-   * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
-   * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via
+   * Output only. A copy of the "primary"
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used
+   * by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in
+   * [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name].
+   * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be
+   * updated via
    * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a
-   * primary. For other keys, this field will be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * may have a primary. For other keys, this field will be omitted.
    * 
* * @@ -116,7 +127,8 @@ public interface CryptoKeyOrBuilder * * *
-   * Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
+   * Immutable. The immutable purpose of this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey].
    * 
* * @@ -130,7 +142,8 @@ public interface CryptoKeyOrBuilder * * *
-   * Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
+   * Immutable. The immutable purpose of this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey].
    * 
* * @@ -145,7 +158,8 @@ public interface CryptoKeyOrBuilder * * *
-   * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+   * Output only. The time at which this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
    * 
* * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -158,7 +172,8 @@ public interface CryptoKeyOrBuilder * * *
-   * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+   * Output only. The time at which this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
    * 
* * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -171,7 +186,8 @@ public interface CryptoKeyOrBuilder * * *
-   * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
+   * Output only. The time at which this
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] was created.
    * 
* * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -183,16 +199,19 @@ public interface CryptoKeyOrBuilder * * *
-   * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+   * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+   * the Key Management Service will automatically:
    * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
    * 2. Mark the new version as primary.
    * Key rotations performed manually via
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * and
    * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-   * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+   * do not affect
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-   * automatic rotation. For other keys, this field must be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * support automatic rotation. For other keys, this field must be omitted.
    * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -204,16 +223,19 @@ public interface CryptoKeyOrBuilder * * *
-   * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+   * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+   * the Key Management Service will automatically:
    * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
    * 2. Mark the new version as primary.
    * Key rotations performed manually via
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * and
    * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-   * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+   * do not affect
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-   * automatic rotation. For other keys, this field must be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * support automatic rotation. For other keys, this field must be omitted.
    * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -225,16 +247,19 @@ public interface CryptoKeyOrBuilder * * *
-   * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically:
+   * At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time],
+   * the Key Management Service will automatically:
    * 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey].
    * 2. Mark the new version as primary.
    * Key rotations performed manually via
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * and
    * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]
-   * do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
+   * do not affect
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time].
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-   * automatic rotation. For other keys, this field must be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * support automatic rotation. For other keys, this field must be omitted.
    * 
* * .google.protobuf.Timestamp next_rotation_time = 7; @@ -245,13 +270,16 @@ public interface CryptoKeyOrBuilder * * *
-   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-   * automatically rotates a key. Must be at least 24 hours and at most
-   * 876,000 hours.
-   * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+   * will be advanced by this period when the service automatically rotates a
+   * key. Must be at least 24 hours and at most 876,000 hours.
+   * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+   * set,
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+   * must also be set.
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-   * automatic rotation. For other keys, this field must be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * support automatic rotation. For other keys, this field must be omitted.
    * 
* * .google.protobuf.Duration rotation_period = 8; @@ -263,13 +291,16 @@ public interface CryptoKeyOrBuilder * * *
-   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-   * automatically rotates a key. Must be at least 24 hours and at most
-   * 876,000 hours.
-   * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+   * will be advanced by this period when the service automatically rotates a
+   * key. Must be at least 24 hours and at most 876,000 hours.
+   * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+   * set,
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+   * must also be set.
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-   * automatic rotation. For other keys, this field must be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * support automatic rotation. For other keys, this field must be omitted.
    * 
* * .google.protobuf.Duration rotation_period = 8; @@ -281,13 +312,16 @@ public interface CryptoKeyOrBuilder * * *
-   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service
-   * automatically rotates a key. Must be at least 24 hours and at most
-   * 876,000 hours.
-   * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set.
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+   * will be advanced by this period when the service automatically rotates a
+   * key. Must be at least 24 hours and at most 876,000 hours.
+   * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is
+   * set,
+   * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]
+   * must also be set.
    * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose]
-   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support
-   * automatic rotation. For other keys, this field must be omitted.
+   * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]
+   * support automatic rotation. For other keys, this field must be omitted.
    * 
* * .google.protobuf.Duration rotation_period = 8; @@ -298,10 +332,12 @@ public interface CryptoKeyOrBuilder * * *
-   * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-   * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-   * auto-rotation are controlled by this template.
+   * A template describing settings for new
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+   * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+   * instances created by either
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * or auto-rotation are controlled by this template.
    * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -313,10 +349,12 @@ public interface CryptoKeyOrBuilder * * *
-   * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-   * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-   * auto-rotation are controlled by this template.
+   * A template describing settings for new
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+   * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+   * instances created by either
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * or auto-rotation are controlled by this template.
    * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -328,10 +366,12 @@ public interface CryptoKeyOrBuilder * * *
-   * A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances.
-   * The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-   * auto-rotation are controlled by this template.
+   * A template describing settings for new
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The
+   * properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+   * instances created by either
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * or auto-rotation are controlled by this template.
    * 
* * .google.cloud.kms.v1.CryptoKeyVersionTemplate version_template = 11; @@ -417,8 +457,8 @@ public interface CryptoKeyOrBuilder * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -435,8 +475,8 @@ public interface CryptoKeyOrBuilder * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -453,8 +493,8 @@ public interface CryptoKeyOrBuilder * Immutable. The period of time that versions of this key spend in the * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] * state before transitioning to - * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - * specified at creation time, the default duration is 24 hours. + * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + * If not specified at creation time, the default duration is 24 hours. * * * @@ -463,5 +503,52 @@ public interface CryptoKeyOrBuilder */ com.google.protobuf.DurationOrBuilder getDestroyScheduledDurationOrBuilder(); + /** + * + * + *
+   * Immutable. The resource name of the backend environment where the key
+   * material for all [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]
+   * associated with this [CryptoKey][google.cloud.kms.v1.CryptoKey] reside and
+   * where all related cryptographic operations are performed. Only applicable
+   * if [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] have a
+   * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
+   * [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], with the
+   * resource name in the format `projects/*/locations/*/ekmConnections/*`.
+   * Note, this list is non-exhaustive and may apply to additional
+   * [ProtectionLevels][google.cloud.kms.v1.ProtectionLevel] in the future.
+   * 
+ * + * + * string crypto_key_backend = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @return The cryptoKeyBackend. + */ + java.lang.String getCryptoKeyBackend(); + /** + * + * + *
+   * Immutable. The resource name of the backend environment where the key
+   * material for all [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]
+   * associated with this [CryptoKey][google.cloud.kms.v1.CryptoKey] reside and
+   * where all related cryptographic operations are performed. Only applicable
+   * if [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] have a
+   * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
+   * [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], with the
+   * resource name in the format `projects/*/locations/*/ekmConnections/*`.
+   * Note, this list is non-exhaustive and may apply to additional
+   * [ProtectionLevels][google.cloud.kms.v1.ProtectionLevel] in the future.
+   * 
+ * + * + * string crypto_key_backend = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for cryptoKeyBackend. + */ + com.google.protobuf.ByteString getCryptoKeyBackendBytes(); + public com.google.cloud.kms.v1.CryptoKey.RotationScheduleCase getRotationScheduleCase(); } diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersion.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersion.java index 7bfc339f..2e61a1dc 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersion.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersion.java @@ -22,14 +22,15 @@ * * *
- * A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents an individual cryptographic key, and the
- * associated key material.
- * An [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] version can be
- * used for cryptographic operations.
+ * A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents an
+ * individual cryptographic key, and the associated key material.
+ * An
+ * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
+ * version can be used for cryptographic operations.
  * For security reasons, the raw cryptographic key material represented by a
- * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] can never be viewed or exported. It can only be used to
- * encrypt, decrypt, or sign data when an authorized user or application invokes
- * Cloud KMS.
+ * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] can never be viewed
+ * or exported. It can only be used to encrypt, decrypt, or sign data when an
+ * authorized user or application invokes Cloud KMS.
  * 
* * Protobuf type {@code google.cloud.kms.v1.CryptoKeyVersion} @@ -275,13 +276,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The algorithm of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating what
+   * The algorithm of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating what
    * parameters must be used for each cryptographic operation.
    * The
    * [GOOGLE_SYMMETRIC_ENCRYPTION][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.GOOGLE_SYMMETRIC_ENCRYPTION]
-   * algorithm is usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
+   * algorithm is usable with
+   * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
    * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
-   * Algorithms beginning with "RSA_SIGN_" are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
+   * Algorithms beginning with "RSA_SIGN_" are usable with
+   * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
    * [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN].
    * The fields in the name after "RSA_SIGN_" correspond to the following
    * parameters: padding algorithm, modulus bit length, and digest algorithm.
@@ -294,11 +298,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].
    * The fields in the name after "RSA_DECRYPT_" correspond to the following
    * parameters: padding algorithm, modulus bit length, and digest algorithm.
-   * Algorithms beginning with "EC_SIGN_" are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
+   * Algorithms beginning with "EC_SIGN_" are usable with
+   * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
    * [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN].
    * The fields in the name after "EC_SIGN_" correspond to the following
    * parameters: elliptic curve, digest algorithm.
-   * Algorithms beginning with "HMAC_" are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
+   * Algorithms beginning with "HMAC_" are usable with
+   * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
    * [MAC][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.MAC].
    * The suffix following "HMAC_" corresponds to the hash algorithm being used
    * (eg. SHA256).
@@ -949,7 +955,8 @@ private CryptoKeyVersionAlgorithm(int value) {
    *
    *
    * 
-   * The state of a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating if it can be used.
+   * The state of a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion],
+   * indicating if it can be used.
    * 
* * Protobuf enum {@code google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState} @@ -971,7 +978,9 @@ public enum CryptoKeyVersionState implements com.google.protobuf.ProtocolMessage *
      * This version is still being generated. It may not be used, enabled,
      * disabled, or destroyed yet. Cloud KMS will automatically mark this
-     * version [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] as soon as the version is ready.
+     * version
+     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
+     * as soon as the version is ready.
      * 
* * PENDING_GENERATION = 5; @@ -992,7 +1001,9 @@ public enum CryptoKeyVersionState implements com.google.protobuf.ProtocolMessage * *
      * This version may not be used, but the key material is still available,
-     * and the version can be placed back into the [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] state.
+     * and the version can be placed back into the
+     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
+     * state.
      * 
* * DISABLED = 2; @@ -1003,9 +1014,11 @@ public enum CryptoKeyVersionState implements com.google.protobuf.ProtocolMessage * *
      * This version is destroyed, and the key material is no longer stored.
-     * This version may only become [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] again if this version is
-     * [reimport_eligible][google.cloud.kms.v1.CryptoKeyVersion.reimport_eligible] and the original
-     * key material is reimported with a call to
+     * This version may only become
+     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
+     * again if this version is
+     * [reimport_eligible][google.cloud.kms.v1.CryptoKeyVersion.reimport_eligible]
+     * and the original key material is reimported with a call to
      * [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion].
      * 
* @@ -1019,7 +1032,9 @@ public enum CryptoKeyVersionState implements com.google.protobuf.ProtocolMessage * This version is scheduled for destruction, and will be destroyed soon. * Call * [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] - * to put it back into the [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] state. + * to put it back into the + * [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + * state. *
* * DESTROY_SCHEDULED = 4; @@ -1031,7 +1046,9 @@ public enum CryptoKeyVersionState implements com.google.protobuf.ProtocolMessage *
      * This version is still being imported. It may not be used, enabled,
      * disabled, or destroyed yet. Cloud KMS will automatically mark this
-     * version [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] as soon as the version is ready.
+     * version
+     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
+     * as soon as the version is ready.
      * 
* * PENDING_IMPORT = 6; @@ -1069,7 +1086,9 @@ public enum CryptoKeyVersionState implements com.google.protobuf.ProtocolMessage *
      * This version is still being generated. It may not be used, enabled,
      * disabled, or destroyed yet. Cloud KMS will automatically mark this
-     * version [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] as soon as the version is ready.
+     * version
+     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
+     * as soon as the version is ready.
      * 
* * PENDING_GENERATION = 5; @@ -1090,7 +1109,9 @@ public enum CryptoKeyVersionState implements com.google.protobuf.ProtocolMessage * *
      * This version may not be used, but the key material is still available,
-     * and the version can be placed back into the [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] state.
+     * and the version can be placed back into the
+     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
+     * state.
      * 
* * DISABLED = 2; @@ -1101,9 +1122,11 @@ public enum CryptoKeyVersionState implements com.google.protobuf.ProtocolMessage * *
      * This version is destroyed, and the key material is no longer stored.
-     * This version may only become [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] again if this version is
-     * [reimport_eligible][google.cloud.kms.v1.CryptoKeyVersion.reimport_eligible] and the original
-     * key material is reimported with a call to
+     * This version may only become
+     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
+     * again if this version is
+     * [reimport_eligible][google.cloud.kms.v1.CryptoKeyVersion.reimport_eligible]
+     * and the original key material is reimported with a call to
      * [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion].
      * 
* @@ -1117,7 +1140,9 @@ public enum CryptoKeyVersionState implements com.google.protobuf.ProtocolMessage * This version is scheduled for destruction, and will be destroyed soon. * Call * [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] - * to put it back into the [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] state. + * to put it back into the + * [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + * state. * * * DESTROY_SCHEDULED = 4; @@ -1129,7 +1154,9 @@ public enum CryptoKeyVersionState implements com.google.protobuf.ProtocolMessage *
      * This version is still being imported. It may not be used, enabled,
      * disabled, or destroyed yet. Cloud KMS will automatically mark this
-     * version [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] as soon as the version is ready.
+     * version
+     * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
+     * as soon as the version is ready.
      * 
* * PENDING_IMPORT = 6; @@ -1249,9 +1276,11 @@ private CryptoKeyVersionState(int value) { * * *
-   * A view for [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]s. Controls the level of detail returned
-   * for [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] in
-   * [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions] and
+   * A view for [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]s.
+   * Controls the level of detail returned for
+   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] in
+   * [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions]
+   * and
    * [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].
    * 
* @@ -1262,8 +1291,10 @@ public enum CryptoKeyVersionView implements com.google.protobuf.ProtocolMessageE * * *
-     * Default view for each [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Does not include
-     * the [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation] field.
+     * Default view for each
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Does not
+     * include the
+     * [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation] field.
      * 
* * CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED = 0; @@ -1273,7 +1304,8 @@ public enum CryptoKeyVersionView implements com.google.protobuf.ProtocolMessageE * * *
-     * Provides all fields in each [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], including the
+     * Provides all fields in each
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], including the
      * [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation].
      * 
* @@ -1287,8 +1319,10 @@ public enum CryptoKeyVersionView implements com.google.protobuf.ProtocolMessageE * * *
-     * Default view for each [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Does not include
-     * the [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation] field.
+     * Default view for each
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Does not
+     * include the
+     * [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation] field.
      * 
* * CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED = 0; @@ -1298,7 +1332,8 @@ public enum CryptoKeyVersionView implements com.google.protobuf.ProtocolMessageE * * *
-     * Provides all fields in each [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], including the
+     * Provides all fields in each
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], including the
      * [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation].
      * 
* @@ -1396,7 +1431,8 @@ private CryptoKeyVersionView(int value) { * * *
-   * Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
+   * Output only. The resource name for this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
    * `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
    * 
* @@ -1420,7 +1456,8 @@ public java.lang.String getName() { * * *
-   * Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
+   * Output only. The resource name for this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
    * `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
    * 
* @@ -1447,7 +1484,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+   * The current state of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
    * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3; @@ -1462,7 +1500,8 @@ public int getStateValue() { * * *
-   * The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+   * The current state of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
    * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3; @@ -1485,8 +1524,9 @@ public com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState getState() * * *
-   * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are
-   * performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+   * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel]
+   * describing how crypto operations are performed with this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
    * 
* * @@ -1503,8 +1543,9 @@ public int getProtectionLevelValue() { * * *
-   * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are
-   * performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+   * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel]
+   * describing how crypto operations are performed with this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
    * 
* * @@ -1527,8 +1568,10 @@ public com.google.cloud.kms.v1.ProtectionLevel getProtectionLevel() { * * *
-   * Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports.
+   * Output only. The
+   * [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+   * supports.
    * 
* * @@ -1545,8 +1588,10 @@ public int getAlgorithmValue() { * * *
-   * Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports.
+   * Output only. The
+   * [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+   * supports.
    * 
* * @@ -1574,7 +1619,8 @@ public com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm getAlg * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -1594,7 +1640,8 @@ public boolean hasAttestation() { * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -1616,7 +1663,8 @@ public com.google.cloud.kms.v1.KeyOperationAttestation getAttestation() { * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -1634,7 +1682,8 @@ public com.google.cloud.kms.v1.KeyOperationAttestationOrBuilder getAttestationOr * * *
-   * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+   * Output only. The time at which this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
    * 
* * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1650,7 +1699,8 @@ public boolean hasCreateTime() { * * *
-   * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+   * Output only. The time at which this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
    * 
* * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1666,7 +1716,8 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-   * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+   * Output only. The time at which this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
    * 
* * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1683,7 +1734,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-   * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+   * Output only. The time this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
    * generated.
    * 
* @@ -1701,7 +1753,8 @@ public boolean hasGenerateTime() { * * *
-   * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+   * Output only. The time this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
    * generated.
    * 
* @@ -1721,7 +1774,8 @@ public com.google.protobuf.Timestamp getGenerateTime() { * * *
-   * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+   * Output only. The time this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
    * generated.
    * 
* @@ -1740,8 +1794,10 @@ public com.google.protobuf.TimestampOrBuilder getGenerateTimeOrBuilder() { * * *
-   * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-   * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * Output only. The time this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+   * scheduled for destruction. Only present if
+   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
    * 
* @@ -1758,8 +1814,10 @@ public boolean hasDestroyTime() { * * *
-   * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-   * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * Output only. The time this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+   * scheduled for destruction. Only present if
+   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
    * 
* @@ -1776,8 +1834,10 @@ public com.google.protobuf.Timestamp getDestroyTime() { * * *
-   * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-   * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * Output only. The time this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+   * scheduled for destruction. Only present if
+   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
    * 
* @@ -1796,7 +1856,8 @@ public com.google.protobuf.TimestampOrBuilder getDestroyTimeOrBuilder() { * *
    * Output only. The time this CryptoKeyVersion's key material was
-   * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * destroyed. Only present if
+   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
    * 
* @@ -1815,7 +1876,8 @@ public boolean hasDestroyEventTime() { * *
    * Output only. The time this CryptoKeyVersion's key material was
-   * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * destroyed. Only present if
+   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
    * 
* @@ -1836,7 +1898,8 @@ public com.google.protobuf.Timestamp getDestroyEventTime() { * *
    * Output only. The time this CryptoKeyVersion's key material was
-   * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * destroyed. Only present if
+   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
    * 
* @@ -1855,9 +1918,10 @@ public com.google.protobuf.TimestampOrBuilder getDestroyEventTimeOrBuilder() { * * *
-   * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was
-   * imported.
+   * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob]
+   * used in the most recent import of this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if
+   * the underlying key material was imported.
    * 
* * string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1880,9 +1944,10 @@ public java.lang.String getImportJob() { * * *
-   * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was
-   * imported.
+   * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob]
+   * used in the most recent import of this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if
+   * the underlying key material was imported.
    * 
* * string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1908,8 +1973,9 @@ public com.google.protobuf.ByteString getImportJobBytes() { * * *
-   * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-   * was most recently imported.
+   * Output only. The time at which this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+   * most recently imported.
    * 
* * .google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1925,8 +1991,9 @@ public boolean hasImportTime() { * * *
-   * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-   * was most recently imported.
+   * Output only. The time at which this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+   * most recently imported.
    * 
* * .google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1942,8 +2009,9 @@ public com.google.protobuf.Timestamp getImportTime() { * * *
-   * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-   * was most recently imported.
+   * Output only. The time at which this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+   * most recently imported.
    * 
* * .google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1960,8 +2028,8 @@ public com.google.protobuf.TimestampOrBuilder getImportTimeOrBuilder() { * * *
-   * Output only. The root cause of the most recent import failure. Only present if
-   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * Output only. The root cause of the most recent import failure. Only present
+   * if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
    * 
* @@ -1985,8 +2053,8 @@ public java.lang.String getImportFailureReason() { * * *
-   * Output only. The root cause of the most recent import failure. Only present if
-   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * Output only. The root cause of the most recent import failure. Only present
+   * if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
    * 
* @@ -2014,8 +2082,11 @@ public com.google.protobuf.ByteString getImportFailureReasonBytes() { * *
    * ExternalProtectionLevelOptions stores a group of additional fields for
-   * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+   * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+   * are specific to the
+   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+   * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+   * protection levels.
    * 
* * @@ -2033,8 +2104,11 @@ public boolean hasExternalProtectionLevelOptions() { * *
    * ExternalProtectionLevelOptions stores a group of additional fields for
-   * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+   * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+   * are specific to the
+   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+   * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+   * protection levels.
    * 
* * @@ -2055,8 +2129,11 @@ public boolean hasExternalProtectionLevelOptions() { * *
    * ExternalProtectionLevelOptions stores a group of additional fields for
-   * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+   * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+   * are specific to the
+   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+   * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+   * protection levels.
    * 
* * @@ -2075,8 +2152,8 @@ public boolean hasExternalProtectionLevelOptions() { * * *
-   * Output only. Whether or not this key version is eligible for reimport, by being
-   * specified as a target in
+   * Output only. Whether or not this key version is eligible for reimport, by
+   * being specified as a target in
    * [ImportCryptoKeyVersionRequest.crypto_key_version][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.crypto_key_version].
    * 
* @@ -2421,14 +2498,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents an individual cryptographic key, and the
-   * associated key material.
-   * An [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] version can be
-   * used for cryptographic operations.
+   * A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents an
+   * individual cryptographic key, and the associated key material.
+   * An
+   * [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
+   * version can be used for cryptographic operations.
    * For security reasons, the raw cryptographic key material represented by a
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] can never be viewed or exported. It can only be used to
-   * encrypt, decrypt, or sign data when an authorized user or application invokes
-   * Cloud KMS.
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] can never be viewed
+   * or exported. It can only be used to encrypt, decrypt, or sign data when an
+   * authorized user or application invokes Cloud KMS.
    * 
* * Protobuf type {@code google.cloud.kms.v1.CryptoKeyVersion} @@ -2722,7 +2800,8 @@ public Builder mergeFrom( * * *
-     * Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
+     * Output only. The resource name for this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
      * 
* @@ -2745,7 +2824,8 @@ public java.lang.String getName() { * * *
-     * Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
+     * Output only. The resource name for this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
      * 
* @@ -2768,7 +2848,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
+     * Output only. The resource name for this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
      * 
* @@ -2790,7 +2871,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
+     * Output only. The resource name for this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
      * 
* @@ -2808,7 +2890,8 @@ public Builder clearName() { * * *
-     * Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
+     * Output only. The resource name for this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
      * 
* @@ -2833,7 +2916,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * The current state of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3; @@ -2848,7 +2932,8 @@ public int getStateValue() { * * *
-     * The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * The current state of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3; @@ -2866,7 +2951,8 @@ public Builder setStateValue(int value) { * * *
-     * The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * The current state of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3; @@ -2886,7 +2972,8 @@ public com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState getState() * * *
-     * The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * The current state of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3; @@ -2907,7 +2994,8 @@ public Builder setState(com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersio * * *
-     * The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * The current state of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3; @@ -2926,8 +3014,9 @@ public Builder clearState() { * * *
-     * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are
-     * performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel]
+     * describing how crypto operations are performed with this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * @@ -2944,8 +3033,9 @@ public int getProtectionLevelValue() { * * *
-     * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are
-     * performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel]
+     * describing how crypto operations are performed with this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * @@ -2965,8 +3055,9 @@ public Builder setProtectionLevelValue(int value) { * * *
-     * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are
-     * performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel]
+     * describing how crypto operations are performed with this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * @@ -2986,8 +3077,9 @@ public com.google.cloud.kms.v1.ProtectionLevel getProtectionLevel() { * * *
-     * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are
-     * performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel]
+     * describing how crypto operations are performed with this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * @@ -3010,8 +3102,9 @@ public Builder setProtectionLevel(com.google.cloud.kms.v1.ProtectionLevel value) * * *
-     * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are
-     * performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+     * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel]
+     * describing how crypto operations are performed with this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
* * @@ -3032,8 +3125,10 @@ public Builder clearProtectionLevel() { * * *
-     * Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports.
+     * Output only. The
+     * [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * supports.
      * 
* * @@ -3050,8 +3145,10 @@ public int getAlgorithmValue() { * * *
-     * Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports.
+     * Output only. The
+     * [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * supports.
      * 
* * @@ -3071,8 +3168,10 @@ public Builder setAlgorithmValue(int value) { * * *
-     * Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports.
+     * Output only. The
+     * [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * supports.
      * 
* * @@ -3094,8 +3193,10 @@ public com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm getAlg * * *
-     * Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports.
+     * Output only. The
+     * [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * supports.
      * 
* * @@ -3119,8 +3220,10 @@ public Builder setAlgorithm( * * *
-     * Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports.
+     * Output only. The
+     * [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+     * supports.
      * 
* * @@ -3149,7 +3252,8 @@ public Builder clearAlgorithm() { * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -3168,7 +3272,8 @@ public boolean hasAttestation() { * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -3193,7 +3298,8 @@ public com.google.cloud.kms.v1.KeyOperationAttestation getAttestation() { * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -3220,7 +3326,8 @@ public Builder setAttestation(com.google.cloud.kms.v1.KeyOperationAttestation va * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -3245,7 +3352,8 @@ public Builder setAttestation( * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -3276,7 +3384,8 @@ public Builder mergeAttestation(com.google.cloud.kms.v1.KeyOperationAttestation * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -3301,7 +3410,8 @@ public Builder clearAttestation() { * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -3320,7 +3430,8 @@ public com.google.cloud.kms.v1.KeyOperationAttestation.Builder getAttestationBui * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -3343,7 +3454,8 @@ public com.google.cloud.kms.v1.KeyOperationAttestationOrBuilder getAttestationOr * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -3377,7 +3489,8 @@ public com.google.cloud.kms.v1.KeyOperationAttestationOrBuilder getAttestationOr * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
      * 
* * @@ -3393,7 +3506,8 @@ public boolean hasCreateTime() { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
      * 
* * @@ -3415,7 +3529,8 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
      * 
* * @@ -3439,7 +3554,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
      * 
* * @@ -3460,7 +3576,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
      * 
* * @@ -3486,7 +3603,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
      * 
* * @@ -3508,7 +3626,8 @@ public Builder clearCreateTime() { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
      * 
* * @@ -3524,7 +3643,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
      * 
* * @@ -3544,7 +3664,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
      * 
* * @@ -3578,7 +3699,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
      * generated.
      * 
* @@ -3595,7 +3717,8 @@ public boolean hasGenerateTime() { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
      * generated.
      * 
* @@ -3618,7 +3741,8 @@ public com.google.protobuf.Timestamp getGenerateTime() { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
      * generated.
      * 
* @@ -3643,7 +3767,8 @@ public Builder setGenerateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
      * generated.
      * 
* @@ -3665,7 +3790,8 @@ public Builder setGenerateTime(com.google.protobuf.Timestamp.Builder builderForV * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
      * generated.
      * 
* @@ -3694,7 +3820,8 @@ public Builder mergeGenerateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
      * generated.
      * 
* @@ -3717,7 +3844,8 @@ public Builder clearGenerateTime() { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
      * generated.
      * 
* @@ -3734,7 +3862,8 @@ public com.google.protobuf.Timestamp.Builder getGenerateTimeBuilder() { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
      * generated.
      * 
* @@ -3755,7 +3884,8 @@ public com.google.protobuf.TimestampOrBuilder getGenerateTimeOrBuilder() { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
      * generated.
      * 
* @@ -3790,8 +3920,10 @@ public com.google.protobuf.TimestampOrBuilder getGenerateTimeOrBuilder() { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-     * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+     * scheduled for destruction. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
      * 
* @@ -3808,8 +3940,10 @@ public boolean hasDestroyTime() { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-     * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+     * scheduled for destruction. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
      * 
* @@ -3832,8 +3966,10 @@ public com.google.protobuf.Timestamp getDestroyTime() { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-     * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+     * scheduled for destruction. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
      * 
* @@ -3858,8 +3994,10 @@ public Builder setDestroyTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-     * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+     * scheduled for destruction. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
      * 
* @@ -3881,8 +4019,10 @@ public Builder setDestroyTime(com.google.protobuf.Timestamp.Builder builderForVa * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-     * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+     * scheduled for destruction. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
      * 
* @@ -3911,8 +4051,10 @@ public Builder mergeDestroyTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-     * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+     * scheduled for destruction. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
      * 
* @@ -3935,8 +4077,10 @@ public Builder clearDestroyTime() { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-     * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+     * scheduled for destruction. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
      * 
* @@ -3953,8 +4097,10 @@ public com.google.protobuf.Timestamp.Builder getDestroyTimeBuilder() { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-     * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+     * scheduled for destruction. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
      * 
* @@ -3975,8 +4121,10 @@ public com.google.protobuf.TimestampOrBuilder getDestroyTimeOrBuilder() { * * *
-     * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-     * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * Output only. The time this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+     * scheduled for destruction. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
      * 
* @@ -4012,7 +4160,8 @@ public com.google.protobuf.TimestampOrBuilder getDestroyTimeOrBuilder() { * *
      * Output only. The time this CryptoKeyVersion's key material was
-     * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * destroyed. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
      * 
* @@ -4030,7 +4179,8 @@ public boolean hasDestroyEventTime() { * *
      * Output only. The time this CryptoKeyVersion's key material was
-     * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * destroyed. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
      * 
* @@ -4054,7 +4204,8 @@ public com.google.protobuf.Timestamp getDestroyEventTime() { * *
      * Output only. The time this CryptoKeyVersion's key material was
-     * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * destroyed. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
      * 
* @@ -4080,7 +4231,8 @@ public Builder setDestroyEventTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The time this CryptoKeyVersion's key material was
-     * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * destroyed. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
      * 
* @@ -4103,7 +4255,8 @@ public Builder setDestroyEventTime(com.google.protobuf.Timestamp.Builder builder * *
      * Output only. The time this CryptoKeyVersion's key material was
-     * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * destroyed. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
      * 
* @@ -4133,7 +4286,8 @@ public Builder mergeDestroyEventTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The time this CryptoKeyVersion's key material was
-     * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * destroyed. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
      * 
* @@ -4157,7 +4311,8 @@ public Builder clearDestroyEventTime() { * *
      * Output only. The time this CryptoKeyVersion's key material was
-     * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * destroyed. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
      * 
* @@ -4175,7 +4330,8 @@ public com.google.protobuf.Timestamp.Builder getDestroyEventTimeBuilder() { * *
      * Output only. The time this CryptoKeyVersion's key material was
-     * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * destroyed. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
      * 
* @@ -4197,7 +4353,8 @@ public com.google.protobuf.TimestampOrBuilder getDestroyEventTimeOrBuilder() { * *
      * Output only. The time this CryptoKeyVersion's key material was
-     * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * destroyed. Only present if
+     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
      * 
* @@ -4227,9 +4384,10 @@ public com.google.protobuf.TimestampOrBuilder getDestroyEventTimeOrBuilder() { * * *
-     * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was
-     * imported.
+     * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob]
+     * used in the most recent import of this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if
+     * the underlying key material was imported.
      * 
* * string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -4251,9 +4409,10 @@ public java.lang.String getImportJob() { * * *
-     * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was
-     * imported.
+     * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob]
+     * used in the most recent import of this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if
+     * the underlying key material was imported.
      * 
* * string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -4275,9 +4434,10 @@ public com.google.protobuf.ByteString getImportJobBytes() { * * *
-     * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was
-     * imported.
+     * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob]
+     * used in the most recent import of this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if
+     * the underlying key material was imported.
      * 
* * string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -4298,9 +4458,10 @@ public Builder setImportJob(java.lang.String value) { * * *
-     * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was
-     * imported.
+     * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob]
+     * used in the most recent import of this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if
+     * the underlying key material was imported.
      * 
* * string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -4317,9 +4478,10 @@ public Builder clearImportJob() { * * *
-     * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was
-     * imported.
+     * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob]
+     * used in the most recent import of this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if
+     * the underlying key material was imported.
      * 
* * string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -4348,8 +4510,9 @@ public Builder setImportJobBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-     * was most recently imported.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * most recently imported.
      * 
* * @@ -4365,8 +4528,9 @@ public boolean hasImportTime() { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-     * was most recently imported.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * most recently imported.
      * 
* * @@ -4388,8 +4552,9 @@ public com.google.protobuf.Timestamp getImportTime() { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-     * was most recently imported.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * most recently imported.
      * 
* * @@ -4413,8 +4578,9 @@ public Builder setImportTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-     * was most recently imported.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * most recently imported.
      * 
* * @@ -4435,8 +4601,9 @@ public Builder setImportTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-     * was most recently imported.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * most recently imported.
      * 
* * @@ -4462,8 +4629,9 @@ public Builder mergeImportTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-     * was most recently imported.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * most recently imported.
      * 
* * @@ -4485,8 +4653,9 @@ public Builder clearImportTime() { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-     * was most recently imported.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * most recently imported.
      * 
* * @@ -4502,8 +4671,9 @@ public com.google.protobuf.Timestamp.Builder getImportTimeBuilder() { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-     * was most recently imported.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * most recently imported.
      * 
* * @@ -4523,8 +4693,9 @@ public com.google.protobuf.TimestampOrBuilder getImportTimeOrBuilder() { * * *
-     * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-     * was most recently imported.
+     * Output only. The time at which this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+     * most recently imported.
      * 
* * @@ -4553,8 +4724,8 @@ public com.google.protobuf.TimestampOrBuilder getImportTimeOrBuilder() { * * *
-     * Output only. The root cause of the most recent import failure. Only present if
-     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * Output only. The root cause of the most recent import failure. Only present
+     * if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
      * 
* @@ -4577,8 +4748,8 @@ public java.lang.String getImportFailureReason() { * * *
-     * Output only. The root cause of the most recent import failure. Only present if
-     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * Output only. The root cause of the most recent import failure. Only present
+     * if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
      * 
* @@ -4601,8 +4772,8 @@ public com.google.protobuf.ByteString getImportFailureReasonBytes() { * * *
-     * Output only. The root cause of the most recent import failure. Only present if
-     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * Output only. The root cause of the most recent import failure. Only present
+     * if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
      * 
* @@ -4624,8 +4795,8 @@ public Builder setImportFailureReason(java.lang.String value) { * * *
-     * Output only. The root cause of the most recent import failure. Only present if
-     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * Output only. The root cause of the most recent import failure. Only present
+     * if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
      * 
* @@ -4643,8 +4814,8 @@ public Builder clearImportFailureReason() { * * *
-     * Output only. The root cause of the most recent import failure. Only present if
-     * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+     * Output only. The root cause of the most recent import failure. Only present
+     * if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
      * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
      * 
* @@ -4675,8 +4846,11 @@ public Builder setImportFailureReasonBytes(com.google.protobuf.ByteString value) * *
      * ExternalProtectionLevelOptions stores a group of additional fields for
-     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+     * are specific to the
+     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+     * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+     * protection levels.
      * 
* * @@ -4694,8 +4868,11 @@ public boolean hasExternalProtectionLevelOptions() { * *
      * ExternalProtectionLevelOptions stores a group of additional fields for
-     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+     * are specific to the
+     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+     * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+     * protection levels.
      * 
* * @@ -4719,8 +4896,11 @@ public boolean hasExternalProtectionLevelOptions() { * *
      * ExternalProtectionLevelOptions stores a group of additional fields for
-     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+     * are specific to the
+     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+     * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+     * protection levels.
      * 
* * @@ -4746,8 +4926,11 @@ public Builder setExternalProtectionLevelOptions( * *
      * ExternalProtectionLevelOptions stores a group of additional fields for
-     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+     * are specific to the
+     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+     * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+     * protection levels.
      * 
* * @@ -4770,8 +4953,11 @@ public Builder setExternalProtectionLevelOptions( * *
      * ExternalProtectionLevelOptions stores a group of additional fields for
-     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+     * are specific to the
+     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+     * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+     * protection levels.
      * 
* * @@ -4802,8 +4988,11 @@ public Builder mergeExternalProtectionLevelOptions( * *
      * ExternalProtectionLevelOptions stores a group of additional fields for
-     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+     * are specific to the
+     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+     * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+     * protection levels.
      * 
* * @@ -4826,8 +5015,11 @@ public Builder clearExternalProtectionLevelOptions() { * *
      * ExternalProtectionLevelOptions stores a group of additional fields for
-     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+     * are specific to the
+     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+     * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+     * protection levels.
      * 
* * @@ -4845,8 +5037,11 @@ public Builder clearExternalProtectionLevelOptions() { * *
      * ExternalProtectionLevelOptions stores a group of additional fields for
-     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+     * are specific to the
+     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+     * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+     * protection levels.
      * 
* * @@ -4868,8 +5063,11 @@ public Builder clearExternalProtectionLevelOptions() { * *
      * ExternalProtectionLevelOptions stores a group of additional fields for
-     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+     * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+     * are specific to the
+     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+     * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+     * protection levels.
      * 
* * @@ -4898,8 +5096,8 @@ public Builder clearExternalProtectionLevelOptions() { * * *
-     * Output only. Whether or not this key version is eligible for reimport, by being
-     * specified as a target in
+     * Output only. Whether or not this key version is eligible for reimport, by
+     * being specified as a target in
      * [ImportCryptoKeyVersionRequest.crypto_key_version][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.crypto_key_version].
      * 
* @@ -4915,8 +5113,8 @@ public boolean getReimportEligible() { * * *
-     * Output only. Whether or not this key version is eligible for reimport, by being
-     * specified as a target in
+     * Output only. Whether or not this key version is eligible for reimport, by
+     * being specified as a target in
      * [ImportCryptoKeyVersionRequest.crypto_key_version][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.crypto_key_version].
      * 
* @@ -4935,8 +5133,8 @@ public Builder setReimportEligible(boolean value) { * * *
-     * Output only. Whether or not this key version is eligible for reimport, by being
-     * specified as a target in
+     * Output only. Whether or not this key version is eligible for reimport, by
+     * being specified as a target in
      * [ImportCryptoKeyVersionRequest.crypto_key_version][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.crypto_key_version].
      * 
* diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionOrBuilder.java index e348a5d6..6977a6e5 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionOrBuilder.java @@ -27,7 +27,8 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
+   * Output only. The resource name for this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
    * `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
    * 
* @@ -40,7 +41,8 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
+   * Output only. The resource name for this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format
    * `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
    * 
* @@ -54,7 +56,8 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+   * The current state of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
    * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3; @@ -66,7 +69,8 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+   * The current state of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
    * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3; @@ -79,8 +83,9 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are
-   * performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+   * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel]
+   * describing how crypto operations are performed with this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
    * 
* * @@ -94,8 +99,9 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are
-   * performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+   * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel]
+   * describing how crypto operations are performed with this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
    * 
* * @@ -110,8 +116,10 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports.
+   * Output only. The
+   * [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+   * supports.
    * 
* * @@ -125,8 +133,10 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports.
+   * Output only. The
+   * [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+   * supports.
    * 
* * @@ -144,7 +154,8 @@ public interface CryptoKeyVersionOrBuilder * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -161,7 +172,8 @@ public interface CryptoKeyVersionOrBuilder * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -178,7 +190,8 @@ public interface CryptoKeyVersionOrBuilder * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with - * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -191,7 +204,8 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+   * Output only. The time at which this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
    * 
* * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -204,7 +218,8 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+   * Output only. The time at which this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
    * 
* * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -217,7 +232,8 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
+   * Output only. The time at which this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
    * 
* * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -229,7 +245,8 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+   * Output only. The time this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
    * generated.
    * 
* @@ -244,7 +261,8 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+   * Output only. The time this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
    * generated.
    * 
* @@ -259,7 +277,8 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+   * Output only. The time this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
    * generated.
    * 
* @@ -273,8 +292,10 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-   * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * Output only. The time this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+   * scheduled for destruction. Only present if
+   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
    * 
* @@ -288,8 +309,10 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-   * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * Output only. The time this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+   * scheduled for destruction. Only present if
+   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
    * 
* @@ -303,8 +326,10 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled
-   * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * Output only. The time this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is
+   * scheduled for destruction. Only present if
+   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
    * 
* @@ -318,7 +343,8 @@ public interface CryptoKeyVersionOrBuilder * *
    * Output only. The time this CryptoKeyVersion's key material was
-   * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * destroyed. Only present if
+   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
    * 
* @@ -334,7 +360,8 @@ public interface CryptoKeyVersionOrBuilder * *
    * Output only. The time this CryptoKeyVersion's key material was
-   * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * destroyed. Only present if
+   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
    * 
* @@ -350,7 +377,8 @@ public interface CryptoKeyVersionOrBuilder * *
    * Output only. The time this CryptoKeyVersion's key material was
-   * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * destroyed. Only present if
+   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
    * 
* @@ -364,9 +392,10 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was
-   * imported.
+   * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob]
+   * used in the most recent import of this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if
+   * the underlying key material was imported.
    * 
* * string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -378,9 +407,10 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was
-   * imported.
+   * Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob]
+   * used in the most recent import of this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if
+   * the underlying key material was imported.
    * 
* * string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -393,8 +423,9 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-   * was most recently imported.
+   * Output only. The time at which this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+   * most recently imported.
    * 
* * .google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -407,8 +438,9 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-   * was most recently imported.
+   * Output only. The time at which this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+   * most recently imported.
    * 
* * .google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -421,8 +453,9 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material
-   * was most recently imported.
+   * Output only. The time at which this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was
+   * most recently imported.
    * 
* * .google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -434,8 +467,8 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The root cause of the most recent import failure. Only present if
-   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * Output only. The root cause of the most recent import failure. Only present
+   * if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
    * 
* @@ -448,8 +481,8 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. The root cause of the most recent import failure. Only present if
-   * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+   * Output only. The root cause of the most recent import failure. Only present
+   * if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
    * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
    * 
* @@ -464,8 +497,11 @@ public interface CryptoKeyVersionOrBuilder * *
    * ExternalProtectionLevelOptions stores a group of additional fields for
-   * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+   * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+   * are specific to the
+   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+   * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+   * protection levels.
    * 
* * @@ -480,8 +516,11 @@ public interface CryptoKeyVersionOrBuilder * *
    * ExternalProtectionLevelOptions stores a group of additional fields for
-   * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+   * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+   * are specific to the
+   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+   * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+   * protection levels.
    * 
* * @@ -496,8 +535,11 @@ public interface CryptoKeyVersionOrBuilder * *
    * ExternalProtectionLevelOptions stores a group of additional fields for
-   * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+   * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+   * are specific to the
+   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
+   * and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
+   * protection levels.
    * 
* * @@ -511,8 +553,8 @@ public interface CryptoKeyVersionOrBuilder * * *
-   * Output only. Whether or not this key version is eligible for reimport, by being
-   * specified as a target in
+   * Output only. Whether or not this key version is eligible for reimport, by
+   * being specified as a target in
    * [ImportCryptoKeyVersionRequest.crypto_key_version][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.crypto_key_version].
    * 
* diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionTemplate.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionTemplate.java index 87ad17b2..241823e5 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionTemplate.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionTemplate.java @@ -22,10 +22,12 @@ * * *
- * A [CryptoKeyVersionTemplate][google.cloud.kms.v1.CryptoKeyVersionTemplate] specifies the properties to use when creating
- * a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], either manually with
- * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
- * automatically as a result of auto-rotation.
+ * A [CryptoKeyVersionTemplate][google.cloud.kms.v1.CryptoKeyVersionTemplate]
+ * specifies the properties to use when creating a new
+ * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], either manually
+ * with
+ * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+ * or automatically as a result of auto-rotation.
  * 
* * Protobuf type {@code google.cloud.kms.v1.CryptoKeyVersionTemplate} @@ -128,8 +130,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on
-   * this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+   * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating
+   * a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+   * template. Immutable. Defaults to
+   * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 1; @@ -144,8 +148,10 @@ public int getProtectionLevelValue() { * * *
-   * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on
-   * this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+   * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating
+   * a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+   * template. Immutable. Defaults to
+   * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 1; @@ -166,10 +172,14 @@ public com.google.cloud.kms.v1.ProtectionLevel getProtectionLevel() { * * *
-   * Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use
-   * when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template.
+   * Required.
+   * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * to use when creating a
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+   * template.
    * For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both
-   * this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
+   * this field is omitted and
+   * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
    * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
    * 
* @@ -187,10 +197,14 @@ public int getAlgorithmValue() { * * *
-   * Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use
-   * when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template.
+   * Required.
+   * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * to use when creating a
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+   * template.
    * For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both
-   * this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
+   * this field is omitted and
+   * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
    * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
    * 
* @@ -390,10 +404,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * A [CryptoKeyVersionTemplate][google.cloud.kms.v1.CryptoKeyVersionTemplate] specifies the properties to use when creating
-   * a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], either manually with
-   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or
-   * automatically as a result of auto-rotation.
+   * A [CryptoKeyVersionTemplate][google.cloud.kms.v1.CryptoKeyVersionTemplate]
+   * specifies the properties to use when creating a new
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], either manually
+   * with
+   * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
+   * or automatically as a result of auto-rotation.
    * 
* * Protobuf type {@code google.cloud.kms.v1.CryptoKeyVersionTemplate} @@ -557,8 +573,10 @@ public Builder mergeFrom( * * *
-     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on
-     * this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating
+     * a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+     * template. Immutable. Defaults to
+     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 1; @@ -573,8 +591,10 @@ public int getProtectionLevelValue() { * * *
-     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on
-     * this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating
+     * a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+     * template. Immutable. Defaults to
+     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 1; @@ -592,8 +612,10 @@ public Builder setProtectionLevelValue(int value) { * * *
-     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on
-     * this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating
+     * a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+     * template. Immutable. Defaults to
+     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 1; @@ -611,8 +633,10 @@ public com.google.cloud.kms.v1.ProtectionLevel getProtectionLevel() { * * *
-     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on
-     * this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating
+     * a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+     * template. Immutable. Defaults to
+     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 1; @@ -633,8 +657,10 @@ public Builder setProtectionLevel(com.google.cloud.kms.v1.ProtectionLevel value) * * *
-     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on
-     * this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+     * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating
+     * a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+     * template. Immutable. Defaults to
+     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 1; @@ -653,10 +679,14 @@ public Builder clearProtectionLevel() { * * *
-     * Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use
-     * when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template.
+     * Required.
+     * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * to use when creating a
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+     * template.
      * For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both
-     * this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
+     * this field is omitted and
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
      * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
* @@ -674,10 +704,14 @@ public int getAlgorithmValue() { * * *
-     * Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use
-     * when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template.
+     * Required.
+     * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * to use when creating a
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+     * template.
      * For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both
-     * this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
+     * this field is omitted and
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
      * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
* @@ -698,10 +732,14 @@ public Builder setAlgorithmValue(int value) { * * *
-     * Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use
-     * when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template.
+     * Required.
+     * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * to use when creating a
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+     * template.
      * For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both
-     * this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
+     * this field is omitted and
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
      * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
* @@ -724,10 +762,14 @@ public com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm getAlg * * *
-     * Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use
-     * when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template.
+     * Required.
+     * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * to use when creating a
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+     * template.
      * For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both
-     * this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
+     * this field is omitted and
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
      * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
* @@ -752,10 +794,14 @@ public Builder setAlgorithm( * * *
-     * Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use
-     * when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template.
+     * Required.
+     * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * to use when creating a
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+     * template.
      * For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both
-     * this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
+     * this field is omitted and
+     * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
      * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
      * 
* diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionTemplateOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionTemplateOrBuilder.java index e28f1a15..e2429110 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionTemplateOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionTemplateOrBuilder.java @@ -27,8 +27,10 @@ public interface CryptoKeyVersionTemplateOrBuilder * * *
-   * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on
-   * this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+   * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating
+   * a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+   * template. Immutable. Defaults to
+   * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 1; @@ -40,8 +42,10 @@ public interface CryptoKeyVersionTemplateOrBuilder * * *
-   * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on
-   * this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+   * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating
+   * a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+   * template. Immutable. Defaults to
+   * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 1; @@ -54,10 +58,14 @@ public interface CryptoKeyVersionTemplateOrBuilder * * *
-   * Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use
-   * when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template.
+   * Required.
+   * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * to use when creating a
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+   * template.
    * For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both
-   * this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
+   * this field is omitted and
+   * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
    * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
    * 
* @@ -72,10 +80,14 @@ public interface CryptoKeyVersionTemplateOrBuilder * * *
-   * Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use
-   * when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template.
+   * Required.
+   * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * to use when creating a
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
+   * template.
    * For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both
-   * this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
+   * this field is omitted and
+   * [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is
    * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
    * 
* diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptRequest.java index 0d08aba0..f5ec769e 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
+ * Request message for
+ * [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
  * 
* * Protobuf type {@code google.cloud.kms.v1.DecryptRequest} @@ -159,8 +160,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption.
-   * The server will choose the appropriate version.
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The
+   * server will choose the appropriate version.
    * 
* * @@ -185,8 +187,9 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption.
-   * The server will choose the appropriate version.
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The
+   * server will choose the appropriate version.
    * 
* * @@ -252,19 +255,25 @@ public com.google.protobuf.ByteString getAdditionalAuthenticatedData() { * * *
-   * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-   * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-   * of retries. A persistent mismatch may indicate an issue in your computation
-   * of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+   * is equal to
+   * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -281,19 +290,25 @@ public boolean hasCiphertextCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-   * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-   * of retries. A persistent mismatch may indicate an issue in your computation
-   * of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+   * is equal to
+   * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -312,19 +327,25 @@ public com.google.protobuf.Int64Value getCiphertextCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-   * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-   * of retries. A persistent mismatch may indicate an issue in your computation
-   * of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+   * is equal to
+   * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -343,19 +364,24 @@ public com.google.protobuf.Int64ValueOrBuilder getCiphertextCrc32COrBuilder() { * *
    * Optional. An optional CRC32C checksum of the
-   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-   * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-   * a limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+   * is equal to
+   * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -373,19 +399,24 @@ public boolean hasAdditionalAuthenticatedDataCrc32C() { * *
    * Optional. An optional CRC32C checksum of the
-   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-   * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-   * a limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+   * is equal to
+   * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -405,19 +436,24 @@ public com.google.protobuf.Int64Value getAdditionalAuthenticatedDataCrc32C() { * *
    * Optional. An optional CRC32C checksum of the
-   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-   * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-   * a limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+   * is equal to
+   * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -643,7 +679,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
+   * Request message for
+   * [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
    * 
* * Protobuf type {@code google.cloud.kms.v1.DecryptRequest} @@ -842,8 +879,9 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption.
-     * The server will choose the appropriate version.
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The
+     * server will choose the appropriate version.
      * 
* * @@ -867,8 +905,9 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption.
-     * The server will choose the appropriate version.
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The
+     * server will choose the appropriate version.
      * 
* * @@ -892,8 +931,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption.
-     * The server will choose the appropriate version.
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The
+     * server will choose the appropriate version.
      * 
* * @@ -916,8 +956,9 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption.
-     * The server will choose the appropriate version.
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The
+     * server will choose the appropriate version.
      * 
* * @@ -936,8 +977,9 @@ public Builder clearName() { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption.
-     * The server will choose the appropriate version.
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The
+     * server will choose the appropriate version.
      * 
* * @@ -1088,19 +1130,25 @@ public Builder clearAdditionalAuthenticatedData() { * * *
-     * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-     * of retries. A persistent mismatch may indicate an issue in your computation
-     * of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+     * is equal to
+     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1116,19 +1164,25 @@ public boolean hasCiphertextCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-     * of retries. A persistent mismatch may indicate an issue in your computation
-     * of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+     * is equal to
+     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1150,19 +1204,25 @@ public com.google.protobuf.Int64Value getCiphertextCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-     * of retries. A persistent mismatch may indicate an issue in your computation
-     * of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+     * is equal to
+     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1186,19 +1246,25 @@ public Builder setCiphertextCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-     * of retries. A persistent mismatch may indicate an issue in your computation
-     * of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+     * is equal to
+     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1219,19 +1285,25 @@ public Builder setCiphertextCrc32C(com.google.protobuf.Int64Value.Builder builde * * *
-     * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-     * of retries. A persistent mismatch may indicate an issue in your computation
-     * of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+     * is equal to
+     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1259,19 +1331,25 @@ public Builder mergeCiphertextCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-     * of retries. A persistent mismatch may indicate an issue in your computation
-     * of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+     * is equal to
+     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1293,19 +1371,25 @@ public Builder clearCiphertextCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-     * of retries. A persistent mismatch may indicate an issue in your computation
-     * of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+     * is equal to
+     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1321,19 +1405,25 @@ public com.google.protobuf.Int64Value.Builder getCiphertextCrc32CBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-     * of retries. A persistent mismatch may indicate an issue in your computation
-     * of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+     * is equal to
+     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1353,19 +1443,25 @@ public com.google.protobuf.Int64ValueOrBuilder getCiphertextCrc32COrBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-     * of retries. A persistent mismatch may indicate an issue in your computation
-     * of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+     * is equal to
+     * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1400,19 +1496,24 @@ public com.google.protobuf.Int64ValueOrBuilder getCiphertextCrc32COrBuilder() { * *
      * Optional. An optional CRC32C checksum of the
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+     * is equal to
+     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1430,19 +1531,24 @@ public boolean hasAdditionalAuthenticatedDataCrc32C() { * *
      * Optional. An optional CRC32C checksum of the
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+     * is equal to
+     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1465,19 +1571,24 @@ public com.google.protobuf.Int64Value getAdditionalAuthenticatedDataCrc32C() { * *
      * Optional. An optional CRC32C checksum of the
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+     * is equal to
+     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1502,19 +1613,24 @@ public Builder setAdditionalAuthenticatedDataCrc32C(com.google.protobuf.Int64Val * *
      * Optional. An optional CRC32C checksum of the
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+     * is equal to
+     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1537,19 +1653,24 @@ public Builder setAdditionalAuthenticatedDataCrc32C( * *
      * Optional. An optional CRC32C checksum of the
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+     * is equal to
+     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1578,19 +1699,24 @@ public Builder mergeAdditionalAuthenticatedDataCrc32C(com.google.protobuf.Int64V * *
      * Optional. An optional CRC32C checksum of the
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+     * is equal to
+     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1613,19 +1739,24 @@ public Builder clearAdditionalAuthenticatedDataCrc32C() { * *
      * Optional. An optional CRC32C checksum of the
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+     * is equal to
+     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1642,19 +1773,24 @@ public com.google.protobuf.Int64Value.Builder getAdditionalAuthenticatedDataCrc3 * *
      * Optional. An optional CRC32C checksum of the
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+     * is equal to
+     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1675,19 +1811,24 @@ public com.google.protobuf.Int64ValueOrBuilder getAdditionalAuthenticatedDataCrc * *
      * Optional. An optional CRC32C checksum of the
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+     * is equal to
+     * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptRequestOrBuilder.java index 6342f226..7967aeea 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptRequestOrBuilder.java @@ -27,8 +27,9 @@ public interface DecryptRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption.
-   * The server will choose the appropriate version.
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The
+   * server will choose the appropriate version.
    * 
* * @@ -42,8 +43,9 @@ public interface DecryptRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption.
-   * The server will choose the appropriate version.
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The
+   * server will choose the appropriate version.
    * 
* * @@ -86,19 +88,25 @@ public interface DecryptRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-   * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-   * of retries. A persistent mismatch may indicate an issue in your computation
-   * of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+   * is equal to
+   * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -112,19 +120,25 @@ public interface DecryptRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-   * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-   * of retries. A persistent mismatch may indicate an issue in your computation
-   * of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+   * is equal to
+   * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -138,19 +152,25 @@ public interface DecryptRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to
-   * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number
-   * of retries. A persistent mismatch may indicate an issue in your computation
-   * of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext])
+   * is equal to
+   * [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -164,19 +184,24 @@ public interface DecryptRequestOrBuilder * *
    * Optional. An optional CRC32C checksum of the
-   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-   * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-   * a limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+   * is equal to
+   * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -191,19 +216,24 @@ public interface DecryptRequestOrBuilder * *
    * Optional. An optional CRC32C checksum of the
-   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-   * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-   * a limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+   * is equal to
+   * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -218,19 +248,24 @@ public interface DecryptRequestOrBuilder * *
    * Optional. An optional CRC32C checksum of the
-   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified,
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to
-   * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform
-   * a limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data])
+   * is equal to
+   * [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptResponse.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptResponse.java index 04a70c7a..a0dff134 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptResponse.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptResponse.java @@ -22,7 +22,8 @@ * * *
- * Response message for [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
+ * Response message for
+ * [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
  * 
* * Protobuf type {@code google.cloud.kms.v1.DecryptResponse} @@ -143,7 +144,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The decrypted data originally supplied in [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+   * The decrypted data originally supplied in
+   * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
    * 
* * bytes plaintext = 1; @@ -162,18 +164,22 @@ public com.google.protobuf.ByteString getPlaintext() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-   * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-   * this field. Discard the response in case of non-matching checksum values,
-   * and perform a limited number of retries. A persistent mismatch may indicate
-   * an issue in your computation of the CRC32C checksum. Note: receiving this
-   * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-   * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+   * An integrity check of
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+   * can be performed by computing the CRC32C checksum of
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: receiving this response message indicates that
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+   * successfully decrypt the
+   * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -189,18 +195,22 @@ public boolean hasPlaintextCrc32C() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-   * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-   * this field. Discard the response in case of non-matching checksum values,
-   * and perform a limited number of retries. A persistent mismatch may indicate
-   * an issue in your computation of the CRC32C checksum. Note: receiving this
-   * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-   * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+   * An integrity check of
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+   * can be performed by computing the CRC32C checksum of
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: receiving this response message indicates that
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+   * successfully decrypt the
+   * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -218,18 +228,22 @@ public com.google.protobuf.Int64Value getPlaintextCrc32C() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-   * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-   * this field. Discard the response in case of non-matching checksum values,
-   * and perform a limited number of retries. A persistent mismatch may indicate
-   * an issue in your computation of the CRC32C checksum. Note: receiving this
-   * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-   * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+   * An integrity check of
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+   * can be performed by computing the CRC32C checksum of
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: receiving this response message indicates that
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+   * successfully decrypt the
+   * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -263,7 +277,9 @@ public boolean getUsedPrimary() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * decryption.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; @@ -278,7 +294,9 @@ public int getProtectionLevelValue() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * decryption.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; @@ -489,7 +507,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
+   * Response message for
+   * [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
    * 
* * Protobuf type {@code google.cloud.kms.v1.DecryptResponse} @@ -672,7 +691,8 @@ public Builder mergeFrom( * * *
-     * The decrypted data originally supplied in [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+     * The decrypted data originally supplied in
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
      * 
* * bytes plaintext = 1; @@ -687,7 +707,8 @@ public com.google.protobuf.ByteString getPlaintext() { * * *
-     * The decrypted data originally supplied in [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+     * The decrypted data originally supplied in
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
      * 
* * bytes plaintext = 1; @@ -708,7 +729,8 @@ public Builder setPlaintext(com.google.protobuf.ByteString value) { * * *
-     * The decrypted data originally supplied in [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+     * The decrypted data originally supplied in
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
      * 
* * bytes plaintext = 1; @@ -733,18 +755,22 @@ public Builder clearPlaintext() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-     * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum. Note: receiving this
-     * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-     * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+     * An integrity check of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: receiving this response message indicates that
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+     * successfully decrypt the
+     * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -759,18 +785,22 @@ public boolean hasPlaintextCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-     * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum. Note: receiving this
-     * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-     * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+     * An integrity check of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: receiving this response message indicates that
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+     * successfully decrypt the
+     * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -791,18 +821,22 @@ public com.google.protobuf.Int64Value getPlaintextCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-     * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum. Note: receiving this
-     * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-     * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+     * An integrity check of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: receiving this response message indicates that
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+     * successfully decrypt the
+     * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -825,18 +859,22 @@ public Builder setPlaintextCrc32C(com.google.protobuf.Int64Value value) { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-     * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum. Note: receiving this
-     * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-     * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+     * An integrity check of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: receiving this response message indicates that
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+     * successfully decrypt the
+     * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -856,18 +894,22 @@ public Builder setPlaintextCrc32C(com.google.protobuf.Int64Value.Builder builder * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-     * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum. Note: receiving this
-     * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-     * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+     * An integrity check of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: receiving this response message indicates that
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+     * successfully decrypt the
+     * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -894,18 +936,22 @@ public Builder mergePlaintextCrc32C(com.google.protobuf.Int64Value value) { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-     * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum. Note: receiving this
-     * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-     * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+     * An integrity check of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: receiving this response message indicates that
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+     * successfully decrypt the
+     * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -926,18 +972,22 @@ public Builder clearPlaintextCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-     * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum. Note: receiving this
-     * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-     * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+     * An integrity check of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: receiving this response message indicates that
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+     * successfully decrypt the
+     * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -952,18 +1002,22 @@ public com.google.protobuf.Int64Value.Builder getPlaintextCrc32CBuilder() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-     * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum. Note: receiving this
-     * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-     * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+     * An integrity check of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: receiving this response message indicates that
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+     * successfully decrypt the
+     * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -982,18 +1036,22 @@ public com.google.protobuf.Int64ValueOrBuilder getPlaintextCrc32COrBuilder() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-     * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum. Note: receiving this
-     * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-     * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+     * An integrity check of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * can be performed by computing the CRC32C checksum of
+     * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: receiving this response message indicates that
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+     * successfully decrypt the
+     * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -1072,7 +1130,9 @@ public Builder clearUsedPrimary() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * decryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; @@ -1087,7 +1147,9 @@ public int getProtectionLevelValue() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * decryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; @@ -1105,7 +1167,9 @@ public Builder setProtectionLevelValue(int value) { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * decryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; @@ -1123,7 +1187,9 @@ public com.google.cloud.kms.v1.ProtectionLevel getProtectionLevel() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * decryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; @@ -1144,7 +1210,9 @@ public Builder setProtectionLevel(com.google.cloud.kms.v1.ProtectionLevel value) * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * decryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptResponseOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptResponseOrBuilder.java index e775bb44..4d2d47c6 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptResponseOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptResponseOrBuilder.java @@ -27,7 +27,8 @@ public interface DecryptResponseOrBuilder * * *
-   * The decrypted data originally supplied in [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+   * The decrypted data originally supplied in
+   * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
    * 
* * bytes plaintext = 1; @@ -41,18 +42,22 @@ public interface DecryptResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-   * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-   * this field. Discard the response in case of non-matching checksum values,
-   * and perform a limited number of retries. A persistent mismatch may indicate
-   * an issue in your computation of the CRC32C checksum. Note: receiving this
-   * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-   * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+   * An integrity check of
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+   * can be performed by computing the CRC32C checksum of
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: receiving this response message indicates that
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+   * successfully decrypt the
+   * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -65,18 +70,22 @@ public interface DecryptResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-   * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-   * this field. Discard the response in case of non-matching checksum values,
-   * and perform a limited number of retries. A persistent mismatch may indicate
-   * an issue in your computation of the CRC32C checksum. Note: receiving this
-   * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-   * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+   * An integrity check of
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+   * can be performed by computing the CRC32C checksum of
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: receiving this response message indicates that
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+   * successfully decrypt the
+   * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -89,18 +98,22 @@ public interface DecryptResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of
-   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C
-   * checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to
-   * this field. Discard the response in case of non-matching checksum values,
-   * and perform a limited number of retries. A persistent mismatch may indicate
-   * an issue in your computation of the CRC32C checksum. Note: receiving this
-   * response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
-   * successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext].
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext].
+   * An integrity check of
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+   * can be performed by computing the CRC32C checksum of
+   * [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: receiving this response message indicates that
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to
+   * successfully decrypt the
+   * [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value plaintext_crc32c = 2; @@ -124,7 +137,9 @@ public interface DecryptResponseOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * decryption.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; @@ -136,7 +151,9 @@ public interface DecryptResponseOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * decryption.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 4; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DestroyCryptoKeyVersionRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DestroyCryptoKeyVersionRequest.java index e46ec850..82d5b10a 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DestroyCryptoKeyVersionRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DestroyCryptoKeyVersionRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion].
+ * Request message for
+ * [KeyManagementService.DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion].
  * 
* * Protobuf type {@code google.cloud.kms.v1.DestroyCryptoKeyVersionRequest} @@ -118,7 +119,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
    * 
* * @@ -143,7 +145,8 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
    * 
* * @@ -329,7 +332,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion].
+   * Request message for
+   * [KeyManagementService.DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion].
    * 
* * Protobuf type {@code google.cloud.kms.v1.DestroyCryptoKeyVersionRequest} @@ -489,7 +493,8 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
      * 
* * @@ -513,7 +518,8 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
      * 
* * @@ -537,7 +543,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
      * 
* * @@ -560,7 +567,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
      * 
* * @@ -579,7 +587,8 @@ public Builder clearName() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
      * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DestroyCryptoKeyVersionRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DestroyCryptoKeyVersionRequestOrBuilder.java index 805e424d..64ca104e 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DestroyCryptoKeyVersionRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DestroyCryptoKeyVersionRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface DestroyCryptoKeyVersionRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
    * 
* * @@ -41,7 +42,8 @@ public interface DestroyCryptoKeyVersionRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
    * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmConnection.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmConnection.java new file mode 100644 index 00000000..56782ed2 --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmConnection.java @@ -0,0 +1,3578 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +/** + * + * + *
+ * An [EkmConnection][google.cloud.kms.v1.EkmConnection] represents an
+ * individual EKM connection. It can be used for creating
+ * [CryptoKeys][google.cloud.kms.v1.CryptoKey] and
+ * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] with a
+ * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
+ * [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], as well as
+ * performing cryptographic operations using keys created within the
+ * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+ * 
+ * + * Protobuf type {@code google.cloud.kms.v1.EkmConnection} + */ +public final class EkmConnection extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.kms.v1.EkmConnection) + EkmConnectionOrBuilder { + private static final long serialVersionUID = 0L; + // Use EkmConnection.newBuilder() to construct. + private EkmConnection(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private EkmConnection() { + name_ = ""; + serviceResolvers_ = java.util.Collections.emptyList(); + etag_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new EkmConnection(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private EkmConnection( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + serviceResolvers_ = + new java.util.ArrayList< + com.google.cloud.kms.v1.EkmConnection.ServiceResolver>(); + mutable_bitField0_ |= 0x00000001; + } + serviceResolvers_.add( + input.readMessage( + com.google.cloud.kms.v1.EkmConnection.ServiceResolver.parser(), + extensionRegistry)); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + serviceResolvers_ = java.util.Collections.unmodifiableList(serviceResolvers_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_EkmConnection_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_EkmConnection_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.EkmConnection.class, + com.google.cloud.kms.v1.EkmConnection.Builder.class); + } + + public interface ServiceResolverOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.EkmConnection.ServiceResolver) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Required. The resource name of the Service Directory service pointing to
+     * an EKM replica, in the format
+     * `projects/*/locations/*/namespaces/*/services/*`.
+     * 
+ * + * + * string service_directory_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The serviceDirectoryService. + */ + java.lang.String getServiceDirectoryService(); + /** + * + * + *
+     * Required. The resource name of the Service Directory service pointing to
+     * an EKM replica, in the format
+     * `projects/*/locations/*/namespaces/*/services/*`.
+     * 
+ * + * + * string service_directory_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for serviceDirectoryService. + */ + com.google.protobuf.ByteString getServiceDirectoryServiceBytes(); + + /** + * + * + *
+     * Optional. The filter applied to the endpoints of the resolved service. If
+     * no filter is specified, all endpoints will be considered. An endpoint
+     * will be chosen arbitrarily from the filtered list for each request.
+     * For endpoint filter syntax and examples, see
+     * https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
+     * 
+ * + * string endpoint_filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The endpointFilter. + */ + java.lang.String getEndpointFilter(); + /** + * + * + *
+     * Optional. The filter applied to the endpoints of the resolved service. If
+     * no filter is specified, all endpoints will be considered. An endpoint
+     * will be chosen arbitrarily from the filtered list for each request.
+     * For endpoint filter syntax and examples, see
+     * https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
+     * 
+ * + * string endpoint_filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for endpointFilter. + */ + com.google.protobuf.ByteString getEndpointFilterBytes(); + + /** + * + * + *
+     * Required. The hostname of the EKM replica used at TLS and HTTP layers.
+     * 
+ * + * string hostname = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The hostname. + */ + java.lang.String getHostname(); + /** + * + * + *
+     * Required. The hostname of the EKM replica used at TLS and HTTP layers.
+     * 
+ * + * string hostname = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+     * Required. A list of leaf server certificates used to authenticate HTTPS
+     * connections to the EKM replica.
+     * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List getServerCertificatesList(); + /** + * + * + *
+     * Required. A list of leaf server certificates used to authenticate HTTPS
+     * connections to the EKM replica.
+     * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.kms.v1.Certificate getServerCertificates(int index); + /** + * + * + *
+     * Required. A list of leaf server certificates used to authenticate HTTPS
+     * connections to the EKM replica.
+     * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getServerCertificatesCount(); + /** + * + * + *
+     * Required. A list of leaf server certificates used to authenticate HTTPS
+     * connections to the EKM replica.
+     * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getServerCertificatesOrBuilderList(); + /** + * + * + *
+     * Required. A list of leaf server certificates used to authenticate HTTPS
+     * connections to the EKM replica.
+     * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.kms.v1.CertificateOrBuilder getServerCertificatesOrBuilder(int index); + } + /** + * + * + *
+   * A [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver]
+   * represents an EKM replica that can be reached within an
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * Protobuf type {@code google.cloud.kms.v1.EkmConnection.ServiceResolver} + */ + public static final class ServiceResolver extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.kms.v1.EkmConnection.ServiceResolver) + ServiceResolverOrBuilder { + private static final long serialVersionUID = 0L; + // Use ServiceResolver.newBuilder() to construct. + private ServiceResolver(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ServiceResolver() { + serviceDirectoryService_ = ""; + endpointFilter_ = ""; + hostname_ = ""; + serverCertificates_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ServiceResolver(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ServiceResolver( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + serviceDirectoryService_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + endpointFilter_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + hostname_ = s; + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + serverCertificates_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + serverCertificates_.add( + input.readMessage( + com.google.cloud.kms.v1.Certificate.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + serverCertificates_ = java.util.Collections.unmodifiableList(serverCertificates_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_EkmConnection_ServiceResolver_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_EkmConnection_ServiceResolver_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.EkmConnection.ServiceResolver.class, + com.google.cloud.kms.v1.EkmConnection.ServiceResolver.Builder.class); + } + + public static final int SERVICE_DIRECTORY_SERVICE_FIELD_NUMBER = 1; + private volatile java.lang.Object serviceDirectoryService_; + /** + * + * + *
+     * Required. The resource name of the Service Directory service pointing to
+     * an EKM replica, in the format
+     * `projects/*/locations/*/namespaces/*/services/*`.
+     * 
+ * + * + * string service_directory_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The serviceDirectoryService. + */ + @java.lang.Override + public java.lang.String getServiceDirectoryService() { + java.lang.Object ref = serviceDirectoryService_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceDirectoryService_ = s; + return s; + } + } + /** + * + * + *
+     * Required. The resource name of the Service Directory service pointing to
+     * an EKM replica, in the format
+     * `projects/*/locations/*/namespaces/*/services/*`.
+     * 
+ * + * + * string service_directory_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for serviceDirectoryService. + */ + @java.lang.Override + public com.google.protobuf.ByteString getServiceDirectoryServiceBytes() { + java.lang.Object ref = serviceDirectoryService_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceDirectoryService_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ENDPOINT_FILTER_FIELD_NUMBER = 2; + private volatile java.lang.Object endpointFilter_; + /** + * + * + *
+     * Optional. The filter applied to the endpoints of the resolved service. If
+     * no filter is specified, all endpoints will be considered. An endpoint
+     * will be chosen arbitrarily from the filtered list for each request.
+     * For endpoint filter syntax and examples, see
+     * https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
+     * 
+ * + * string endpoint_filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The endpointFilter. + */ + @java.lang.Override + public java.lang.String getEndpointFilter() { + java.lang.Object ref = endpointFilter_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + endpointFilter_ = s; + return s; + } + } + /** + * + * + *
+     * Optional. The filter applied to the endpoints of the resolved service. If
+     * no filter is specified, all endpoints will be considered. An endpoint
+     * will be chosen arbitrarily from the filtered list for each request.
+     * For endpoint filter syntax and examples, see
+     * https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
+     * 
+ * + * string endpoint_filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for endpointFilter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEndpointFilterBytes() { + java.lang.Object ref = endpointFilter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpointFilter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HOSTNAME_FIELD_NUMBER = 3; + private volatile java.lang.Object hostname_; + /** + * + * + *
+     * Required. The hostname of the EKM replica used at TLS and HTTP layers.
+     * 
+ * + * string hostname = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } + } + /** + * + * + *
+     * Required. The hostname of the EKM replica used at TLS and HTTP layers.
+     * 
+ * + * string hostname = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SERVER_CERTIFICATES_FIELD_NUMBER = 4; + private java.util.List serverCertificates_; + /** + * + * + *
+     * Required. A list of leaf server certificates used to authenticate HTTPS
+     * connections to the EKM replica.
+     * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public java.util.List getServerCertificatesList() { + return serverCertificates_; + } + /** + * + * + *
+     * Required. A list of leaf server certificates used to authenticate HTTPS
+     * connections to the EKM replica.
+     * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public java.util.List + getServerCertificatesOrBuilderList() { + return serverCertificates_; + } + /** + * + * + *
+     * Required. A list of leaf server certificates used to authenticate HTTPS
+     * connections to the EKM replica.
+     * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public int getServerCertificatesCount() { + return serverCertificates_.size(); + } + /** + * + * + *
+     * Required. A list of leaf server certificates used to authenticate HTTPS
+     * connections to the EKM replica.
+     * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.kms.v1.Certificate getServerCertificates(int index) { + return serverCertificates_.get(index); + } + /** + * + * + *
+     * Required. A list of leaf server certificates used to authenticate HTTPS
+     * connections to the EKM replica.
+     * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.kms.v1.CertificateOrBuilder getServerCertificatesOrBuilder(int index) { + return serverCertificates_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceDirectoryService_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceDirectoryService_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpointFilter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, endpointFilter_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, hostname_); + } + for (int i = 0; i < serverCertificates_.size(); i++) { + output.writeMessage(4, serverCertificates_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceDirectoryService_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceDirectoryService_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpointFilter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, endpointFilter_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, hostname_); + } + for (int i = 0; i < serverCertificates_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, serverCertificates_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.kms.v1.EkmConnection.ServiceResolver)) { + return super.equals(obj); + } + com.google.cloud.kms.v1.EkmConnection.ServiceResolver other = + (com.google.cloud.kms.v1.EkmConnection.ServiceResolver) obj; + + if (!getServiceDirectoryService().equals(other.getServiceDirectoryService())) return false; + if (!getEndpointFilter().equals(other.getEndpointFilter())) return false; + if (!getHostname().equals(other.getHostname())) return false; + if (!getServerCertificatesList().equals(other.getServerCertificatesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVICE_DIRECTORY_SERVICE_FIELD_NUMBER; + hash = (53 * hash) + getServiceDirectoryService().hashCode(); + hash = (37 * hash) + ENDPOINT_FILTER_FIELD_NUMBER; + hash = (53 * hash) + getEndpointFilter().hashCode(); + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + if (getServerCertificatesCount() > 0) { + hash = (37 * hash) + SERVER_CERTIFICATES_FIELD_NUMBER; + hash = (53 * hash) + getServerCertificatesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.kms.v1.EkmConnection.ServiceResolver parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.EkmConnection.ServiceResolver parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.EkmConnection.ServiceResolver parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.EkmConnection.ServiceResolver parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.EkmConnection.ServiceResolver parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.EkmConnection.ServiceResolver parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.EkmConnection.ServiceResolver parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.EkmConnection.ServiceResolver parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.EkmConnection.ServiceResolver parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.EkmConnection.ServiceResolver parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.EkmConnection.ServiceResolver parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.EkmConnection.ServiceResolver parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.kms.v1.EkmConnection.ServiceResolver prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * A [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver]
+     * represents an EKM replica that can be reached within an
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * Protobuf type {@code google.cloud.kms.v1.EkmConnection.ServiceResolver} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.kms.v1.EkmConnection.ServiceResolver) + com.google.cloud.kms.v1.EkmConnection.ServiceResolverOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_EkmConnection_ServiceResolver_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_EkmConnection_ServiceResolver_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.EkmConnection.ServiceResolver.class, + com.google.cloud.kms.v1.EkmConnection.ServiceResolver.Builder.class); + } + + // Construct using com.google.cloud.kms.v1.EkmConnection.ServiceResolver.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getServerCertificatesFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + serviceDirectoryService_ = ""; + + endpointFilter_ = ""; + + hostname_ = ""; + + if (serverCertificatesBuilder_ == null) { + serverCertificates_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + serverCertificatesBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_EkmConnection_ServiceResolver_descriptor; + } + + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnection.ServiceResolver getDefaultInstanceForType() { + return com.google.cloud.kms.v1.EkmConnection.ServiceResolver.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnection.ServiceResolver build() { + com.google.cloud.kms.v1.EkmConnection.ServiceResolver result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnection.ServiceResolver buildPartial() { + com.google.cloud.kms.v1.EkmConnection.ServiceResolver result = + new com.google.cloud.kms.v1.EkmConnection.ServiceResolver(this); + int from_bitField0_ = bitField0_; + result.serviceDirectoryService_ = serviceDirectoryService_; + result.endpointFilter_ = endpointFilter_; + result.hostname_ = hostname_; + if (serverCertificatesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + serverCertificates_ = java.util.Collections.unmodifiableList(serverCertificates_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.serverCertificates_ = serverCertificates_; + } else { + result.serverCertificates_ = serverCertificatesBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.kms.v1.EkmConnection.ServiceResolver) { + return mergeFrom((com.google.cloud.kms.v1.EkmConnection.ServiceResolver) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.kms.v1.EkmConnection.ServiceResolver other) { + if (other == com.google.cloud.kms.v1.EkmConnection.ServiceResolver.getDefaultInstance()) + return this; + if (!other.getServiceDirectoryService().isEmpty()) { + serviceDirectoryService_ = other.serviceDirectoryService_; + onChanged(); + } + if (!other.getEndpointFilter().isEmpty()) { + endpointFilter_ = other.endpointFilter_; + onChanged(); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + onChanged(); + } + if (serverCertificatesBuilder_ == null) { + if (!other.serverCertificates_.isEmpty()) { + if (serverCertificates_.isEmpty()) { + serverCertificates_ = other.serverCertificates_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureServerCertificatesIsMutable(); + serverCertificates_.addAll(other.serverCertificates_); + } + onChanged(); + } + } else { + if (!other.serverCertificates_.isEmpty()) { + if (serverCertificatesBuilder_.isEmpty()) { + serverCertificatesBuilder_.dispose(); + serverCertificatesBuilder_ = null; + serverCertificates_ = other.serverCertificates_; + bitField0_ = (bitField0_ & ~0x00000001); + serverCertificatesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getServerCertificatesFieldBuilder() + : null; + } else { + serverCertificatesBuilder_.addAllMessages(other.serverCertificates_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.kms.v1.EkmConnection.ServiceResolver parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.kms.v1.EkmConnection.ServiceResolver) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object serviceDirectoryService_ = ""; + /** + * + * + *
+       * Required. The resource name of the Service Directory service pointing to
+       * an EKM replica, in the format
+       * `projects/*/locations/*/namespaces/*/services/*`.
+       * 
+ * + * + * string service_directory_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The serviceDirectoryService. + */ + public java.lang.String getServiceDirectoryService() { + java.lang.Object ref = serviceDirectoryService_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceDirectoryService_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * Required. The resource name of the Service Directory service pointing to
+       * an EKM replica, in the format
+       * `projects/*/locations/*/namespaces/*/services/*`.
+       * 
+ * + * + * string service_directory_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for serviceDirectoryService. + */ + public com.google.protobuf.ByteString getServiceDirectoryServiceBytes() { + java.lang.Object ref = serviceDirectoryService_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceDirectoryService_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * Required. The resource name of the Service Directory service pointing to
+       * an EKM replica, in the format
+       * `projects/*/locations/*/namespaces/*/services/*`.
+       * 
+ * + * + * string service_directory_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The serviceDirectoryService to set. + * @return This builder for chaining. + */ + public Builder setServiceDirectoryService(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + serviceDirectoryService_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Required. The resource name of the Service Directory service pointing to
+       * an EKM replica, in the format
+       * `projects/*/locations/*/namespaces/*/services/*`.
+       * 
+ * + * + * string service_directory_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearServiceDirectoryService() { + + serviceDirectoryService_ = getDefaultInstance().getServiceDirectoryService(); + onChanged(); + return this; + } + /** + * + * + *
+       * Required. The resource name of the Service Directory service pointing to
+       * an EKM replica, in the format
+       * `projects/*/locations/*/namespaces/*/services/*`.
+       * 
+ * + * + * string service_directory_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for serviceDirectoryService to set. + * @return This builder for chaining. + */ + public Builder setServiceDirectoryServiceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + serviceDirectoryService_ = value; + onChanged(); + return this; + } + + private java.lang.Object endpointFilter_ = ""; + /** + * + * + *
+       * Optional. The filter applied to the endpoints of the resolved service. If
+       * no filter is specified, all endpoints will be considered. An endpoint
+       * will be chosen arbitrarily from the filtered list for each request.
+       * For endpoint filter syntax and examples, see
+       * https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
+       * 
+ * + * string endpoint_filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The endpointFilter. + */ + public java.lang.String getEndpointFilter() { + java.lang.Object ref = endpointFilter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + endpointFilter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * Optional. The filter applied to the endpoints of the resolved service. If
+       * no filter is specified, all endpoints will be considered. An endpoint
+       * will be chosen arbitrarily from the filtered list for each request.
+       * For endpoint filter syntax and examples, see
+       * https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
+       * 
+ * + * string endpoint_filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for endpointFilter. + */ + public com.google.protobuf.ByteString getEndpointFilterBytes() { + java.lang.Object ref = endpointFilter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpointFilter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * Optional. The filter applied to the endpoints of the resolved service. If
+       * no filter is specified, all endpoints will be considered. An endpoint
+       * will be chosen arbitrarily from the filtered list for each request.
+       * For endpoint filter syntax and examples, see
+       * https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
+       * 
+ * + * string endpoint_filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The endpointFilter to set. + * @return This builder for chaining. + */ + public Builder setEndpointFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + endpointFilter_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. The filter applied to the endpoints of the resolved service. If
+       * no filter is specified, all endpoints will be considered. An endpoint
+       * will be chosen arbitrarily from the filtered list for each request.
+       * For endpoint filter syntax and examples, see
+       * https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
+       * 
+ * + * string endpoint_filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEndpointFilter() { + + endpointFilter_ = getDefaultInstance().getEndpointFilter(); + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. The filter applied to the endpoints of the resolved service. If
+       * no filter is specified, all endpoints will be considered. An endpoint
+       * will be chosen arbitrarily from the filtered list for each request.
+       * For endpoint filter syntax and examples, see
+       * https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
+       * 
+ * + * string endpoint_filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for endpointFilter to set. + * @return This builder for chaining. + */ + public Builder setEndpointFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + endpointFilter_ = value; + onChanged(); + return this; + } + + private java.lang.Object hostname_ = ""; + /** + * + * + *
+       * Required. The hostname of the EKM replica used at TLS and HTTP layers.
+       * 
+ * + * string hostname = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * Required. The hostname of the EKM replica used at TLS and HTTP layers.
+       * 
+ * + * string hostname = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * Required. The hostname of the EKM replica used at TLS and HTTP layers.
+       * 
+ * + * string hostname = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + hostname_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Required. The hostname of the EKM replica used at TLS and HTTP layers.
+       * 
+ * + * string hostname = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + + hostname_ = getDefaultInstance().getHostname(); + onChanged(); + return this; + } + /** + * + * + *
+       * Required. The hostname of the EKM replica used at TLS and HTTP layers.
+       * 
+ * + * string hostname = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + hostname_ = value; + onChanged(); + return this; + } + + private java.util.List serverCertificates_ = + java.util.Collections.emptyList(); + + private void ensureServerCertificatesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + serverCertificates_ = + new java.util.ArrayList(serverCertificates_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.kms.v1.Certificate, + com.google.cloud.kms.v1.Certificate.Builder, + com.google.cloud.kms.v1.CertificateOrBuilder> + serverCertificatesBuilder_; + + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public java.util.List getServerCertificatesList() { + if (serverCertificatesBuilder_ == null) { + return java.util.Collections.unmodifiableList(serverCertificates_); + } else { + return serverCertificatesBuilder_.getMessageList(); + } + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public int getServerCertificatesCount() { + if (serverCertificatesBuilder_ == null) { + return serverCertificates_.size(); + } else { + return serverCertificatesBuilder_.getCount(); + } + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.kms.v1.Certificate getServerCertificates(int index) { + if (serverCertificatesBuilder_ == null) { + return serverCertificates_.get(index); + } else { + return serverCertificatesBuilder_.getMessage(index); + } + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setServerCertificates(int index, com.google.cloud.kms.v1.Certificate value) { + if (serverCertificatesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureServerCertificatesIsMutable(); + serverCertificates_.set(index, value); + onChanged(); + } else { + serverCertificatesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setServerCertificates( + int index, com.google.cloud.kms.v1.Certificate.Builder builderForValue) { + if (serverCertificatesBuilder_ == null) { + ensureServerCertificatesIsMutable(); + serverCertificates_.set(index, builderForValue.build()); + onChanged(); + } else { + serverCertificatesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addServerCertificates(com.google.cloud.kms.v1.Certificate value) { + if (serverCertificatesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureServerCertificatesIsMutable(); + serverCertificates_.add(value); + onChanged(); + } else { + serverCertificatesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addServerCertificates(int index, com.google.cloud.kms.v1.Certificate value) { + if (serverCertificatesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureServerCertificatesIsMutable(); + serverCertificates_.add(index, value); + onChanged(); + } else { + serverCertificatesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addServerCertificates( + com.google.cloud.kms.v1.Certificate.Builder builderForValue) { + if (serverCertificatesBuilder_ == null) { + ensureServerCertificatesIsMutable(); + serverCertificates_.add(builderForValue.build()); + onChanged(); + } else { + serverCertificatesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addServerCertificates( + int index, com.google.cloud.kms.v1.Certificate.Builder builderForValue) { + if (serverCertificatesBuilder_ == null) { + ensureServerCertificatesIsMutable(); + serverCertificates_.add(index, builderForValue.build()); + onChanged(); + } else { + serverCertificatesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addAllServerCertificates( + java.lang.Iterable values) { + if (serverCertificatesBuilder_ == null) { + ensureServerCertificatesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, serverCertificates_); + onChanged(); + } else { + serverCertificatesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearServerCertificates() { + if (serverCertificatesBuilder_ == null) { + serverCertificates_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + serverCertificatesBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder removeServerCertificates(int index) { + if (serverCertificatesBuilder_ == null) { + ensureServerCertificatesIsMutable(); + serverCertificates_.remove(index); + onChanged(); + } else { + serverCertificatesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.kms.v1.Certificate.Builder getServerCertificatesBuilder(int index) { + return getServerCertificatesFieldBuilder().getBuilder(index); + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.kms.v1.CertificateOrBuilder getServerCertificatesOrBuilder( + int index) { + if (serverCertificatesBuilder_ == null) { + return serverCertificates_.get(index); + } else { + return serverCertificatesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public java.util.List + getServerCertificatesOrBuilderList() { + if (serverCertificatesBuilder_ != null) { + return serverCertificatesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(serverCertificates_); + } + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.kms.v1.Certificate.Builder addServerCertificatesBuilder() { + return getServerCertificatesFieldBuilder() + .addBuilder(com.google.cloud.kms.v1.Certificate.getDefaultInstance()); + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.kms.v1.Certificate.Builder addServerCertificatesBuilder(int index) { + return getServerCertificatesFieldBuilder() + .addBuilder(index, com.google.cloud.kms.v1.Certificate.getDefaultInstance()); + } + /** + * + * + *
+       * Required. A list of leaf server certificates used to authenticate HTTPS
+       * connections to the EKM replica.
+       * 
+ * + * + * repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public java.util.List + getServerCertificatesBuilderList() { + return getServerCertificatesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.kms.v1.Certificate, + com.google.cloud.kms.v1.Certificate.Builder, + com.google.cloud.kms.v1.CertificateOrBuilder> + getServerCertificatesFieldBuilder() { + if (serverCertificatesBuilder_ == null) { + serverCertificatesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.kms.v1.Certificate, + com.google.cloud.kms.v1.Certificate.Builder, + com.google.cloud.kms.v1.CertificateOrBuilder>( + serverCertificates_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + serverCertificates_ = null; + } + return serverCertificatesBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.kms.v1.EkmConnection.ServiceResolver) + } + + // @@protoc_insertion_point(class_scope:google.cloud.kms.v1.EkmConnection.ServiceResolver) + private static final com.google.cloud.kms.v1.EkmConnection.ServiceResolver DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.kms.v1.EkmConnection.ServiceResolver(); + } + + public static com.google.cloud.kms.v1.EkmConnection.ServiceResolver getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServiceResolver parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ServiceResolver(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnection.ServiceResolver getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Output only. The resource name for the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format
+   * `projects/*/locations/*/ekmConnections/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The resource name for the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format
+   * `projects/*/locations/*/ekmConnections/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CREATE_TIME_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+   * Output only. The time at which the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * + * + *
+   * Output only. The time at which the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
+   * Output only. The time at which the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return getCreateTime(); + } + + public static final int SERVICE_RESOLVERS_FIELD_NUMBER = 3; + private java.util.List serviceResolvers_; + /** + * + * + *
+   * A list of
+   * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+   * the EKM can be reached. There should be one ServiceResolver per EKM
+   * replica. Currently, only a single
+   * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+   * supported.
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + */ + @java.lang.Override + public java.util.List + getServiceResolversList() { + return serviceResolvers_; + } + /** + * + * + *
+   * A list of
+   * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+   * the EKM can be reached. There should be one ServiceResolver per EKM
+   * replica. Currently, only a single
+   * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+   * supported.
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + */ + @java.lang.Override + public java.util.List + getServiceResolversOrBuilderList() { + return serviceResolvers_; + } + /** + * + * + *
+   * A list of
+   * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+   * the EKM can be reached. There should be one ServiceResolver per EKM
+   * replica. Currently, only a single
+   * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+   * supported.
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + */ + @java.lang.Override + public int getServiceResolversCount() { + return serviceResolvers_.size(); + } + /** + * + * + *
+   * A list of
+   * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+   * the EKM can be reached. There should be one ServiceResolver per EKM
+   * replica. Currently, only a single
+   * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+   * supported.
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + */ + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnection.ServiceResolver getServiceResolvers(int index) { + return serviceResolvers_.get(index); + } + /** + * + * + *
+   * A list of
+   * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+   * the EKM can be reached. There should be one ServiceResolver per EKM
+   * replica. Currently, only a single
+   * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+   * supported.
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + */ + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnection.ServiceResolverOrBuilder + getServiceResolversOrBuilder(int index) { + return serviceResolvers_.get(index); + } + + public static final int ETAG_FIELD_NUMBER = 5; + private volatile java.lang.Object etag_; + /** + * + * + *
+   * This checksum is computed by the server based on the value of other fields,
+   * and may be sent on update requests to ensure the client has an up-to-date
+   * value before proceeding.
+   * 
+ * + * string etag = 5; + * + * @return The etag. + */ + @java.lang.Override + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + etag_ = s; + return s; + } + } + /** + * + * + *
+   * This checksum is computed by the server based on the value of other fields,
+   * and may be sent on update requests to ensure the client has an up-to-date
+   * value before proceeding.
+   * 
+ * + * string etag = 5; + * + * @return The bytes for etag. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (createTime_ != null) { + output.writeMessage(2, getCreateTime()); + } + for (int i = 0; i < serviceResolvers_.size(); i++) { + output.writeMessage(3, serviceResolvers_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, etag_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + } + for (int i = 0; i < serviceResolvers_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, serviceResolvers_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, etag_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.kms.v1.EkmConnection)) { + return super.equals(obj); + } + com.google.cloud.kms.v1.EkmConnection other = (com.google.cloud.kms.v1.EkmConnection) obj; + + if (!getName().equals(other.getName())) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (!getServiceResolversList().equals(other.getServiceResolversList())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (getServiceResolversCount() > 0) { + hash = (37 * hash) + SERVICE_RESOLVERS_FIELD_NUMBER; + hash = (53 * hash) + getServiceResolversList().hashCode(); + } + hash = (37 * hash) + ETAG_FIELD_NUMBER; + hash = (53 * hash) + getEtag().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.kms.v1.EkmConnection parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.EkmConnection parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.EkmConnection parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.EkmConnection parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.EkmConnection parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.EkmConnection parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.EkmConnection parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.EkmConnection parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.EkmConnection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.EkmConnection parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.EkmConnection parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.EkmConnection parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.kms.v1.EkmConnection prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * An [EkmConnection][google.cloud.kms.v1.EkmConnection] represents an
+   * individual EKM connection. It can be used for creating
+   * [CryptoKeys][google.cloud.kms.v1.CryptoKey] and
+   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] with a
+   * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
+   * [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], as well as
+   * performing cryptographic operations using keys created within the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * Protobuf type {@code google.cloud.kms.v1.EkmConnection} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.kms.v1.EkmConnection) + com.google.cloud.kms.v1.EkmConnectionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_EkmConnection_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_EkmConnection_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.EkmConnection.class, + com.google.cloud.kms.v1.EkmConnection.Builder.class); + } + + // Construct using com.google.cloud.kms.v1.EkmConnection.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getServiceResolversFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + if (createTimeBuilder_ == null) { + createTime_ = null; + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + if (serviceResolversBuilder_ == null) { + serviceResolvers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + serviceResolversBuilder_.clear(); + } + etag_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_EkmConnection_descriptor; + } + + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnection getDefaultInstanceForType() { + return com.google.cloud.kms.v1.EkmConnection.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnection build() { + com.google.cloud.kms.v1.EkmConnection result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnection buildPartial() { + com.google.cloud.kms.v1.EkmConnection result = + new com.google.cloud.kms.v1.EkmConnection(this); + int from_bitField0_ = bitField0_; + result.name_ = name_; + if (createTimeBuilder_ == null) { + result.createTime_ = createTime_; + } else { + result.createTime_ = createTimeBuilder_.build(); + } + if (serviceResolversBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + serviceResolvers_ = java.util.Collections.unmodifiableList(serviceResolvers_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.serviceResolvers_ = serviceResolvers_; + } else { + result.serviceResolvers_ = serviceResolversBuilder_.build(); + } + result.etag_ = etag_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.kms.v1.EkmConnection) { + return mergeFrom((com.google.cloud.kms.v1.EkmConnection) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.kms.v1.EkmConnection other) { + if (other == com.google.cloud.kms.v1.EkmConnection.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (serviceResolversBuilder_ == null) { + if (!other.serviceResolvers_.isEmpty()) { + if (serviceResolvers_.isEmpty()) { + serviceResolvers_ = other.serviceResolvers_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureServiceResolversIsMutable(); + serviceResolvers_.addAll(other.serviceResolvers_); + } + onChanged(); + } + } else { + if (!other.serviceResolvers_.isEmpty()) { + if (serviceResolversBuilder_.isEmpty()) { + serviceResolversBuilder_.dispose(); + serviceResolversBuilder_ = null; + serviceResolvers_ = other.serviceResolvers_; + bitField0_ = (bitField0_ & ~0x00000001); + serviceResolversBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getServiceResolversFieldBuilder() + : null; + } else { + serviceResolversBuilder_.addAllMessages(other.serviceResolvers_); + } + } + } + if (!other.getEtag().isEmpty()) { + etag_ = other.etag_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.kms.v1.EkmConnection parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.kms.v1.EkmConnection) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Output only. The resource name for the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format
+     * `projects/*/locations/*/ekmConnections/*`.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The resource name for the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format
+     * `projects/*/locations/*/ekmConnections/*`.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The resource name for the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format
+     * `projects/*/locations/*/ekmConnections/*`.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The resource name for the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format
+     * `projects/*/locations/*/ekmConnections/*`.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The resource name for the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format
+     * `projects/*/locations/*/ekmConnections/*`.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
+     * Output only. The time at which the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return createTimeBuilder_ != null || createTime_ != null; + } + /** + * + * + *
+     * Output only. The time at which the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The time at which the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + onChanged(); + } else { + createTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The time at which the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + onChanged(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. The time at which the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (createTime_ != null) { + createTime_ = + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + } else { + createTime_ = value; + } + onChanged(); + } else { + createTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The time at which the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + if (createTimeBuilder_ == null) { + createTime_ = null; + onChanged(); + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. The time at which the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The time at which the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } + } + /** + * + * + *
+     * Output only. The time at which the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private java.util.List + serviceResolvers_ = java.util.Collections.emptyList(); + + private void ensureServiceResolversIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + serviceResolvers_ = + new java.util.ArrayList( + serviceResolvers_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.kms.v1.EkmConnection.ServiceResolver, + com.google.cloud.kms.v1.EkmConnection.ServiceResolver.Builder, + com.google.cloud.kms.v1.EkmConnection.ServiceResolverOrBuilder> + serviceResolversBuilder_; + + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public java.util.List + getServiceResolversList() { + if (serviceResolversBuilder_ == null) { + return java.util.Collections.unmodifiableList(serviceResolvers_); + } else { + return serviceResolversBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public int getServiceResolversCount() { + if (serviceResolversBuilder_ == null) { + return serviceResolvers_.size(); + } else { + return serviceResolversBuilder_.getCount(); + } + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public com.google.cloud.kms.v1.EkmConnection.ServiceResolver getServiceResolvers(int index) { + if (serviceResolversBuilder_ == null) { + return serviceResolvers_.get(index); + } else { + return serviceResolversBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public Builder setServiceResolvers( + int index, com.google.cloud.kms.v1.EkmConnection.ServiceResolver value) { + if (serviceResolversBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureServiceResolversIsMutable(); + serviceResolvers_.set(index, value); + onChanged(); + } else { + serviceResolversBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public Builder setServiceResolvers( + int index, com.google.cloud.kms.v1.EkmConnection.ServiceResolver.Builder builderForValue) { + if (serviceResolversBuilder_ == null) { + ensureServiceResolversIsMutable(); + serviceResolvers_.set(index, builderForValue.build()); + onChanged(); + } else { + serviceResolversBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public Builder addServiceResolvers( + com.google.cloud.kms.v1.EkmConnection.ServiceResolver value) { + if (serviceResolversBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureServiceResolversIsMutable(); + serviceResolvers_.add(value); + onChanged(); + } else { + serviceResolversBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public Builder addServiceResolvers( + int index, com.google.cloud.kms.v1.EkmConnection.ServiceResolver value) { + if (serviceResolversBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureServiceResolversIsMutable(); + serviceResolvers_.add(index, value); + onChanged(); + } else { + serviceResolversBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public Builder addServiceResolvers( + com.google.cloud.kms.v1.EkmConnection.ServiceResolver.Builder builderForValue) { + if (serviceResolversBuilder_ == null) { + ensureServiceResolversIsMutable(); + serviceResolvers_.add(builderForValue.build()); + onChanged(); + } else { + serviceResolversBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public Builder addServiceResolvers( + int index, com.google.cloud.kms.v1.EkmConnection.ServiceResolver.Builder builderForValue) { + if (serviceResolversBuilder_ == null) { + ensureServiceResolversIsMutable(); + serviceResolvers_.add(index, builderForValue.build()); + onChanged(); + } else { + serviceResolversBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public Builder addAllServiceResolvers( + java.lang.Iterable + values) { + if (serviceResolversBuilder_ == null) { + ensureServiceResolversIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, serviceResolvers_); + onChanged(); + } else { + serviceResolversBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public Builder clearServiceResolvers() { + if (serviceResolversBuilder_ == null) { + serviceResolvers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + serviceResolversBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public Builder removeServiceResolvers(int index) { + if (serviceResolversBuilder_ == null) { + ensureServiceResolversIsMutable(); + serviceResolvers_.remove(index); + onChanged(); + } else { + serviceResolversBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public com.google.cloud.kms.v1.EkmConnection.ServiceResolver.Builder getServiceResolversBuilder( + int index) { + return getServiceResolversFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public com.google.cloud.kms.v1.EkmConnection.ServiceResolverOrBuilder + getServiceResolversOrBuilder(int index) { + if (serviceResolversBuilder_ == null) { + return serviceResolvers_.get(index); + } else { + return serviceResolversBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public java.util.List + getServiceResolversOrBuilderList() { + if (serviceResolversBuilder_ != null) { + return serviceResolversBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(serviceResolvers_); + } + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public com.google.cloud.kms.v1.EkmConnection.ServiceResolver.Builder + addServiceResolversBuilder() { + return getServiceResolversFieldBuilder() + .addBuilder(com.google.cloud.kms.v1.EkmConnection.ServiceResolver.getDefaultInstance()); + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public com.google.cloud.kms.v1.EkmConnection.ServiceResolver.Builder addServiceResolversBuilder( + int index) { + return getServiceResolversFieldBuilder() + .addBuilder( + index, com.google.cloud.kms.v1.EkmConnection.ServiceResolver.getDefaultInstance()); + } + /** + * + * + *
+     * A list of
+     * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+     * the EKM can be reached. There should be one ServiceResolver per EKM
+     * replica. Currently, only a single
+     * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+     * supported.
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + * + */ + public java.util.List + getServiceResolversBuilderList() { + return getServiceResolversFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.kms.v1.EkmConnection.ServiceResolver, + com.google.cloud.kms.v1.EkmConnection.ServiceResolver.Builder, + com.google.cloud.kms.v1.EkmConnection.ServiceResolverOrBuilder> + getServiceResolversFieldBuilder() { + if (serviceResolversBuilder_ == null) { + serviceResolversBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.kms.v1.EkmConnection.ServiceResolver, + com.google.cloud.kms.v1.EkmConnection.ServiceResolver.Builder, + com.google.cloud.kms.v1.EkmConnection.ServiceResolverOrBuilder>( + serviceResolvers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + serviceResolvers_ = null; + } + return serviceResolversBuilder_; + } + + private java.lang.Object etag_ = ""; + /** + * + * + *
+     * This checksum is computed by the server based on the value of other fields,
+     * and may be sent on update requests to ensure the client has an up-to-date
+     * value before proceeding.
+     * 
+ * + * string etag = 5; + * + * @return The etag. + */ + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + etag_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * This checksum is computed by the server based on the value of other fields,
+     * and may be sent on update requests to ensure the client has an up-to-date
+     * value before proceeding.
+     * 
+ * + * string etag = 5; + * + * @return The bytes for etag. + */ + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * This checksum is computed by the server based on the value of other fields,
+     * and may be sent on update requests to ensure the client has an up-to-date
+     * value before proceeding.
+     * 
+ * + * string etag = 5; + * + * @param value The etag to set. + * @return This builder for chaining. + */ + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + etag_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * This checksum is computed by the server based on the value of other fields,
+     * and may be sent on update requests to ensure the client has an up-to-date
+     * value before proceeding.
+     * 
+ * + * string etag = 5; + * + * @return This builder for chaining. + */ + public Builder clearEtag() { + + etag_ = getDefaultInstance().getEtag(); + onChanged(); + return this; + } + /** + * + * + *
+     * This checksum is computed by the server based on the value of other fields,
+     * and may be sent on update requests to ensure the client has an up-to-date
+     * value before proceeding.
+     * 
+ * + * string etag = 5; + * + * @param value The bytes for etag to set. + * @return This builder for chaining. + */ + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + etag_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.kms.v1.EkmConnection) + } + + // @@protoc_insertion_point(class_scope:google.cloud.kms.v1.EkmConnection) + private static final com.google.cloud.kms.v1.EkmConnection DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.kms.v1.EkmConnection(); + } + + public static com.google.cloud.kms.v1.EkmConnection getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EkmConnection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EkmConnection(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnection getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmConnectionName.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmConnectionName.java new file mode 100644 index 00000000..95a1cdb0 --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmConnectionName.java @@ -0,0 +1,227 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://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. + */ + +package com.google.cloud.kms.v1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class EkmConnectionName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_EKM_CONNECTION = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/ekmConnections/{ekm_connection}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String ekmConnection; + + @Deprecated + protected EkmConnectionName() { + project = null; + location = null; + ekmConnection = null; + } + + private EkmConnectionName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + ekmConnection = Preconditions.checkNotNull(builder.getEkmConnection()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getEkmConnection() { + return ekmConnection; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static EkmConnectionName of(String project, String location, String ekmConnection) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setEkmConnection(ekmConnection) + .build(); + } + + public static String format(String project, String location, String ekmConnection) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setEkmConnection(ekmConnection) + .build() + .toString(); + } + + public static EkmConnectionName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_EKM_CONNECTION.validatedMatch( + formattedString, "EkmConnectionName.parse: formattedString not in valid format"); + return of(matchMap.get("project"), matchMap.get("location"), matchMap.get("ekm_connection")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (EkmConnectionName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_EKM_CONNECTION.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (ekmConnection != null) { + fieldMapBuilder.put("ekm_connection", ekmConnection); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_EKM_CONNECTION.instantiate( + "project", project, "location", location, "ekm_connection", ekmConnection); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + EkmConnectionName that = ((EkmConnectionName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.ekmConnection, that.ekmConnection); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(ekmConnection); + return h; + } + + /** Builder for projects/{project}/locations/{location}/ekmConnections/{ekm_connection}. */ + public static class Builder { + private String project; + private String location; + private String ekmConnection; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getEkmConnection() { + return ekmConnection; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setEkmConnection(String ekmConnection) { + this.ekmConnection = ekmConnection; + return this; + } + + private Builder(EkmConnectionName ekmConnectionName) { + this.project = ekmConnectionName.project; + this.location = ekmConnectionName.location; + this.ekmConnection = ekmConnectionName.ekmConnection; + } + + public EkmConnectionName build() { + return new EkmConnectionName(this); + } + } +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmConnectionOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmConnectionOrBuilder.java new file mode 100644 index 00000000..bac931a1 --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmConnectionOrBuilder.java @@ -0,0 +1,202 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +public interface EkmConnectionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.EkmConnection) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The resource name for the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format
+   * `projects/*/locations/*/ekmConnections/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Output only. The resource name for the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format
+   * `projects/*/locations/*/ekmConnections/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Output only. The time at which the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * + * + *
+   * Output only. The time at which the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
+   * Output only. The time at which the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
+   * A list of
+   * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+   * the EKM can be reached. There should be one ServiceResolver per EKM
+   * replica. Currently, only a single
+   * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+   * supported.
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + */ + java.util.List getServiceResolversList(); + /** + * + * + *
+   * A list of
+   * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+   * the EKM can be reached. There should be one ServiceResolver per EKM
+   * replica. Currently, only a single
+   * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+   * supported.
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + */ + com.google.cloud.kms.v1.EkmConnection.ServiceResolver getServiceResolvers(int index); + /** + * + * + *
+   * A list of
+   * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+   * the EKM can be reached. There should be one ServiceResolver per EKM
+   * replica. Currently, only a single
+   * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+   * supported.
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + */ + int getServiceResolversCount(); + /** + * + * + *
+   * A list of
+   * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+   * the EKM can be reached. There should be one ServiceResolver per EKM
+   * replica. Currently, only a single
+   * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+   * supported.
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + */ + java.util.List + getServiceResolversOrBuilderList(); + /** + * + * + *
+   * A list of
+   * [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
+   * the EKM can be reached. There should be one ServiceResolver per EKM
+   * replica. Currently, only a single
+   * [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
+   * supported.
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3; + */ + com.google.cloud.kms.v1.EkmConnection.ServiceResolverOrBuilder getServiceResolversOrBuilder( + int index); + + /** + * + * + *
+   * This checksum is computed by the server based on the value of other fields,
+   * and may be sent on update requests to ensure the client has an up-to-date
+   * value before proceeding.
+   * 
+ * + * string etag = 5; + * + * @return The etag. + */ + java.lang.String getEtag(); + /** + * + * + *
+   * This checksum is computed by the server based on the value of other fields,
+   * and may be sent on update requests to ensure the client has an up-to-date
+   * value before proceeding.
+   * 
+ * + * string etag = 5; + * + * @return The bytes for etag. + */ + com.google.protobuf.ByteString getEtagBytes(); +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmServiceProto.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmServiceProto.java new file mode 100644 index 00000000..37216f11 --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmServiceProto.java @@ -0,0 +1,253 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +public final class EkmServiceProto { + private EkmServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_kms_v1_ListEkmConnectionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_kms_v1_ListEkmConnectionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_kms_v1_ListEkmConnectionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_kms_v1_ListEkmConnectionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_kms_v1_GetEkmConnectionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_kms_v1_GetEkmConnectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_kms_v1_CreateEkmConnectionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_kms_v1_CreateEkmConnectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_kms_v1_UpdateEkmConnectionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_kms_v1_UpdateEkmConnectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_kms_v1_Certificate_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_kms_v1_Certificate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_kms_v1_EkmConnection_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_kms_v1_EkmConnection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_kms_v1_EkmConnection_ServiceResolver_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_kms_v1_EkmConnection_ServiceResolver_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n%google/cloud/kms/v1/ekm_service.proto\022" + + "\023google.cloud.kms.v1\032\034google/api/annotat" + + "ions.proto\032\027google/api/client.proto\032\037goo" + + "gle/api/field_behavior.proto\032\031google/api" + + "/resource.proto\032 google/protobuf/field_m" + + "ask.proto\032\037google/protobuf/timestamp.pro" + + "to\"\263\001\n\031ListEkmConnectionsRequest\0229\n\006pare" + + "nt\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.c" + + "om/Location\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\np" + + "age_token\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A" + + "\001\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"\206\001\n\032ListEkmConn" + + "ectionsResponse\022;\n\017ekm_connections\030\001 \003(\013" + + "2\".google.cloud.kms.v1.EkmConnection\022\027\n\017" + + "next_page_token\030\002 \001(\t\022\022\n\ntotal_size\030\003 \001(" + + "\005\"V\n\027GetEkmConnectionRequest\022;\n\004name\030\001 \001" + + "(\tB-\340A\002\372A\'\n%cloudkms.googleapis.com/EkmC" + + "onnection\"\270\001\n\032CreateEkmConnectionRequest" + + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + + "leapis.com/Location\022\036\n\021ekm_connection_id" + + "\030\002 \001(\tB\003\340A\002\022?\n\016ekm_connection\030\003 \001(\0132\".go" + + "ogle.cloud.kms.v1.EkmConnectionB\003\340A\002\"\223\001\n" + + "\032UpdateEkmConnectionRequest\022?\n\016ekm_conne" + + "ction\030\001 \001(\0132\".google.cloud.kms.v1.EkmCon" + + "nectionB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.goog" + + "le.protobuf.FieldMaskB\003\340A\002\"\277\002\n\013Certifica" + + "te\022\024\n\007raw_der\030\001 \001(\014B\003\340A\002\022\023\n\006parsed\030\002 \001(\010" + + "B\003\340A\003\022\023\n\006issuer\030\003 \001(\tB\003\340A\003\022\024\n\007subject\030\004 " + + "\001(\tB\003\340A\003\022*\n\035subject_alternative_dns_name" + + "s\030\005 \003(\tB\003\340A\003\0228\n\017not_before_time\030\006 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003\0227\n\016not_af" + + "ter_time\030\007 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\022\032\n\rserial_number\030\010 \001(\tB\003\340A\003\022\037\n\022s" + + "ha256_fingerprint\030\t \001(\tB\003\340A\003\"\213\004\n\rEkmConn" + + "ection\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "M\n\021service_resolvers\030\003 \003(\01322.google.clou" + + "d.kms.v1.EkmConnection.ServiceResolver\022\014" + + "\n\004etag\030\005 \001(\t\032\336\001\n\017ServiceResolver\022R\n\031serv" + + "ice_directory_service\030\001 \001(\tB/\340A\002\372A)\n\'ser" + + "vicedirectory.googleapis.com/Service\022\034\n\017" + + "endpoint_filter\030\002 \001(\tB\003\340A\001\022\025\n\010hostname\030\003" + + " \001(\tB\003\340A\002\022B\n\023server_certificates\030\004 \003(\0132 " + + ".google.cloud.kms.v1.CertificateB\003\340A\002:s\352" + + "Ap\n%cloudkms.googleapis.com/EkmConnectio" + + "n\022Gprojects/{project}/locations/{locatio" + + "n}/ekmConnections/{ekm_connection}2\261\007\n\nE" + + "kmService\022\272\001\n\022ListEkmConnections\022..googl" + + "e.cloud.kms.v1.ListEkmConnectionsRequest" + + "\032/.google.cloud.kms.v1.ListEkmConnection" + + "sResponse\"C\202\323\344\223\0024\0222/v1/{parent=projects/" + + "*/locations/*}/ekmConnections\332A\006parent\022\247" + + "\001\n\020GetEkmConnection\022,.google.cloud.kms.v" + + "1.GetEkmConnectionRequest\032\".google.cloud" + + ".kms.v1.EkmConnection\"A\202\323\344\223\0024\0222/v1/{name" + + "=projects/*/locations/*/ekmConnections/*" + + "}\332A\004name\022\340\001\n\023CreateEkmConnection\022/.googl" + + "e.cloud.kms.v1.CreateEkmConnectionReques" + + "t\032\".google.cloud.kms.v1.EkmConnection\"t\202" + + "\323\344\223\002D\"2/v1/{parent=projects/*/locations/" + + "*}/ekmConnections:\016ekm_connection\332A\'pare" + + "nt,ekm_connection_id,ekm_connection\022\342\001\n\023" + + "UpdateEkmConnection\022/.google.cloud.kms.v" + + "1.UpdateEkmConnectionRequest\032\".google.cl" + + "oud.kms.v1.EkmConnection\"v\202\323\344\223\002S2A/v1/{e" + + "km_connection.name=projects/*/locations/" + + "*/ekmConnections/*}:\016ekm_connection\332A\032ek" + + "m_connection,update_mask\032t\312A\027cloudkms.go" + + "ogleapis.com\322AWhttps://www.googleapis.co" + + "m/auth/cloud-platform,https://www.google" + + "apis.com/auth/cloudkmsB\222\002\n\027com.google.cl" + + "oud.kms.v1B\017EkmServiceProtoP\001Z6google.go" + + "lang.org/genproto/googleapis/cloud/kms/v" + + "1;kms\370\001\001\252\002\023Google.Cloud.Kms.V1\312\002\023Google\\" + + "Cloud\\Kms\\V1\352A|\n\'servicedirectory.google" + + "apis.com/Service\022Qprojects/{project}/loc" + + "ations/{location}/namespaces/{namespace}" + + "/services/{service}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_kms_v1_ListEkmConnectionsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_kms_v1_ListEkmConnectionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_kms_v1_ListEkmConnectionsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_kms_v1_ListEkmConnectionsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_kms_v1_ListEkmConnectionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_kms_v1_ListEkmConnectionsResponse_descriptor, + new java.lang.String[] { + "EkmConnections", "NextPageToken", "TotalSize", + }); + internal_static_google_cloud_kms_v1_GetEkmConnectionRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_kms_v1_GetEkmConnectionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_kms_v1_GetEkmConnectionRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_kms_v1_CreateEkmConnectionRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_kms_v1_CreateEkmConnectionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_kms_v1_CreateEkmConnectionRequest_descriptor, + new java.lang.String[] { + "Parent", "EkmConnectionId", "EkmConnection", + }); + internal_static_google_cloud_kms_v1_UpdateEkmConnectionRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_kms_v1_UpdateEkmConnectionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_kms_v1_UpdateEkmConnectionRequest_descriptor, + new java.lang.String[] { + "EkmConnection", "UpdateMask", + }); + internal_static_google_cloud_kms_v1_Certificate_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_kms_v1_Certificate_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_kms_v1_Certificate_descriptor, + new java.lang.String[] { + "RawDer", + "Parsed", + "Issuer", + "Subject", + "SubjectAlternativeDnsNames", + "NotBeforeTime", + "NotAfterTime", + "SerialNumber", + "Sha256Fingerprint", + }); + internal_static_google_cloud_kms_v1_EkmConnection_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_kms_v1_EkmConnection_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_kms_v1_EkmConnection_descriptor, + new java.lang.String[] { + "Name", "CreateTime", "ServiceResolvers", "Etag", + }); + internal_static_google_cloud_kms_v1_EkmConnection_ServiceResolver_descriptor = + internal_static_google_cloud_kms_v1_EkmConnection_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_kms_v1_EkmConnection_ServiceResolver_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_kms_v1_EkmConnection_ServiceResolver_descriptor, + new java.lang.String[] { + "ServiceDirectoryService", "EndpointFilter", "Hostname", "ServerCertificates", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptRequest.java index a151f148..8fba1718 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
+ * Request message for
+ * [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
  * 
* * Protobuf type {@code google.cloud.kms.v1.EncryptRequest} @@ -159,10 +160,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
-   * to use for encryption.
-   * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its
-   * [primary version][google.cloud.kms.v1.CryptoKey.primary].
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] or
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * encryption.
+   * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server
+   * will use its [primary version][google.cloud.kms.v1.CryptoKey.primary].
    * 
* * @@ -187,10 +190,12 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
-   * to use for encryption.
-   * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its
-   * [primary version][google.cloud.kms.v1.CryptoKey.primary].
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] or
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * encryption.
+   * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server
+   * will use its [primary version][google.cloud.kms.v1.CryptoKey.primary].
    * 
* * @@ -220,11 +225,12 @@ public com.google.protobuf.ByteString getNameBytes() { *
    * Required. The data to encrypt. Must be no larger than 64KiB.
    * The maximum size depends on the key version's
-   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For
-   * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the plaintext must be no larger
-   * than 64KiB. For [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of the
-   * plaintext and additional_authenticated_data fields must be no larger than
-   * 8KiB.
+   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
+   * For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the
+   * plaintext must be no larger than 64KiB. For
+   * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
+   * the plaintext and additional_authenticated_data fields must be no larger
+   * than 8KiB.
    * 
* * bytes plaintext = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -242,14 +248,16 @@ public com.google.protobuf.ByteString getPlaintext() { * * *
-   * Optional. Optional data that, if specified, must also be provided during decryption
-   * through [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+   * Optional. Optional data that, if specified, must also be provided during
+   * decryption through
+   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
    * The maximum size depends on the key version's
-   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For
-   * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the AAD must be no larger than
-   * 64KiB. For [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of the
-   * plaintext and additional_authenticated_data fields must be no larger than
-   * 8KiB.
+   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
+   * For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the AAD
+   * must be no larger than 64KiB. For
+   * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
+   * the plaintext and additional_authenticated_data fields must be no larger
+   * than 8KiB.
    * 
* * bytes additional_authenticated_data = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -267,19 +275,25 @@ public com.google.protobuf.ByteString getAdditionalAuthenticatedData() { * * *
-   * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-   * retries. A persistent mismatch may indicate an issue in your computation of
-   * the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+   * is equal to
+   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -296,19 +310,25 @@ public boolean hasPlaintextCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-   * retries. A persistent mismatch may indicate an issue in your computation of
-   * the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+   * is equal to
+   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -327,19 +347,25 @@ public com.google.protobuf.Int64Value getPlaintextCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-   * retries. A persistent mismatch may indicate an issue in your computation of
-   * the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+   * is equal to
+   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -358,19 +384,24 @@ public com.google.protobuf.Int64ValueOrBuilder getPlaintextCrc32COrBuilder() { * *
    * Optional. An optional CRC32C checksum of the
-   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-   * a limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+   * is equal to
+   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -388,19 +419,24 @@ public boolean hasAdditionalAuthenticatedDataCrc32C() { * *
    * Optional. An optional CRC32C checksum of the
-   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-   * a limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+   * is equal to
+   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -420,19 +456,24 @@ public com.google.protobuf.Int64Value getAdditionalAuthenticatedDataCrc32C() { * *
    * Optional. An optional CRC32C checksum of the
-   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-   * a limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+   * is equal to
+   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -658,7 +699,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
+   * Request message for
+   * [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
    * 
* * Protobuf type {@code google.cloud.kms.v1.EncryptRequest} @@ -857,10 +899,12 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
-     * to use for encryption.
-     * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its
-     * [primary version][google.cloud.kms.v1.CryptoKey.primary].
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] or
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * encryption.
+     * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server
+     * will use its [primary version][google.cloud.kms.v1.CryptoKey.primary].
      * 
* * @@ -884,10 +928,12 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
-     * to use for encryption.
-     * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its
-     * [primary version][google.cloud.kms.v1.CryptoKey.primary].
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] or
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * encryption.
+     * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server
+     * will use its [primary version][google.cloud.kms.v1.CryptoKey.primary].
      * 
* * @@ -911,10 +957,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
-     * to use for encryption.
-     * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its
-     * [primary version][google.cloud.kms.v1.CryptoKey.primary].
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] or
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * encryption.
+     * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server
+     * will use its [primary version][google.cloud.kms.v1.CryptoKey.primary].
      * 
* * @@ -937,10 +985,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
-     * to use for encryption.
-     * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its
-     * [primary version][google.cloud.kms.v1.CryptoKey.primary].
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] or
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * encryption.
+     * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server
+     * will use its [primary version][google.cloud.kms.v1.CryptoKey.primary].
      * 
* * @@ -959,10 +1009,12 @@ public Builder clearName() { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
-     * to use for encryption.
-     * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its
-     * [primary version][google.cloud.kms.v1.CryptoKey.primary].
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] or
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * encryption.
+     * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server
+     * will use its [primary version][google.cloud.kms.v1.CryptoKey.primary].
      * 
* * @@ -990,11 +1042,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { *
      * Required. The data to encrypt. Must be no larger than 64KiB.
      * The maximum size depends on the key version's
-     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For
-     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the plaintext must be no larger
-     * than 64KiB. For [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of the
-     * plaintext and additional_authenticated_data fields must be no larger than
-     * 8KiB.
+     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
+     * For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the
+     * plaintext must be no larger than 64KiB. For
+     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
+     * the plaintext and additional_authenticated_data fields must be no larger
+     * than 8KiB.
      * 
* * bytes plaintext = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1011,11 +1064,12 @@ public com.google.protobuf.ByteString getPlaintext() { *
      * Required. The data to encrypt. Must be no larger than 64KiB.
      * The maximum size depends on the key version's
-     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For
-     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the plaintext must be no larger
-     * than 64KiB. For [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of the
-     * plaintext and additional_authenticated_data fields must be no larger than
-     * 8KiB.
+     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
+     * For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the
+     * plaintext must be no larger than 64KiB. For
+     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
+     * the plaintext and additional_authenticated_data fields must be no larger
+     * than 8KiB.
      * 
* * bytes plaintext = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1038,11 +1092,12 @@ public Builder setPlaintext(com.google.protobuf.ByteString value) { *
      * Required. The data to encrypt. Must be no larger than 64KiB.
      * The maximum size depends on the key version's
-     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For
-     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the plaintext must be no larger
-     * than 64KiB. For [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of the
-     * plaintext and additional_authenticated_data fields must be no larger than
-     * 8KiB.
+     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
+     * For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the
+     * plaintext must be no larger than 64KiB. For
+     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
+     * the plaintext and additional_authenticated_data fields must be no larger
+     * than 8KiB.
      * 
* * bytes plaintext = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1062,14 +1117,16 @@ public Builder clearPlaintext() { * * *
-     * Optional. Optional data that, if specified, must also be provided during decryption
-     * through [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+     * Optional. Optional data that, if specified, must also be provided during
+     * decryption through
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
      * The maximum size depends on the key version's
-     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For
-     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the AAD must be no larger than
-     * 64KiB. For [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of the
-     * plaintext and additional_authenticated_data fields must be no larger than
-     * 8KiB.
+     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
+     * For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the AAD
+     * must be no larger than 64KiB. For
+     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
+     * the plaintext and additional_authenticated_data fields must be no larger
+     * than 8KiB.
      * 
* * bytes additional_authenticated_data = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1085,14 +1142,16 @@ public com.google.protobuf.ByteString getAdditionalAuthenticatedData() { * * *
-     * Optional. Optional data that, if specified, must also be provided during decryption
-     * through [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+     * Optional. Optional data that, if specified, must also be provided during
+     * decryption through
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
      * The maximum size depends on the key version's
-     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For
-     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the AAD must be no larger than
-     * 64KiB. For [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of the
-     * plaintext and additional_authenticated_data fields must be no larger than
-     * 8KiB.
+     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
+     * For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the AAD
+     * must be no larger than 64KiB. For
+     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
+     * the plaintext and additional_authenticated_data fields must be no larger
+     * than 8KiB.
      * 
* * bytes additional_authenticated_data = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1114,14 +1173,16 @@ public Builder setAdditionalAuthenticatedData(com.google.protobuf.ByteString val * * *
-     * Optional. Optional data that, if specified, must also be provided during decryption
-     * through [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+     * Optional. Optional data that, if specified, must also be provided during
+     * decryption through
+     * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
      * The maximum size depends on the key version's
-     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For
-     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the AAD must be no larger than
-     * 64KiB. For [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of the
-     * plaintext and additional_authenticated_data fields must be no larger than
-     * 8KiB.
+     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
+     * For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the AAD
+     * must be no larger than 64KiB. For
+     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
+     * the plaintext and additional_authenticated_data fields must be no larger
+     * than 8KiB.
      * 
* * bytes additional_authenticated_data = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1146,19 +1207,25 @@ public Builder clearAdditionalAuthenticatedData() { * * *
-     * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-     * retries. A persistent mismatch may indicate an issue in your computation of
-     * the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+     * is equal to
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1174,19 +1241,25 @@ public boolean hasPlaintextCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-     * retries. A persistent mismatch may indicate an issue in your computation of
-     * the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+     * is equal to
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1208,19 +1281,25 @@ public com.google.protobuf.Int64Value getPlaintextCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-     * retries. A persistent mismatch may indicate an issue in your computation of
-     * the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+     * is equal to
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1244,19 +1323,25 @@ public Builder setPlaintextCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-     * retries. A persistent mismatch may indicate an issue in your computation of
-     * the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+     * is equal to
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1277,19 +1362,25 @@ public Builder setPlaintextCrc32C(com.google.protobuf.Int64Value.Builder builder * * *
-     * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-     * retries. A persistent mismatch may indicate an issue in your computation of
-     * the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+     * is equal to
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1317,19 +1408,25 @@ public Builder mergePlaintextCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-     * retries. A persistent mismatch may indicate an issue in your computation of
-     * the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+     * is equal to
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1351,19 +1448,25 @@ public Builder clearPlaintextCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-     * retries. A persistent mismatch may indicate an issue in your computation of
-     * the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+     * is equal to
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1379,19 +1482,25 @@ public com.google.protobuf.Int64Value.Builder getPlaintextCrc32CBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-     * retries. A persistent mismatch may indicate an issue in your computation of
-     * the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+     * is equal to
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1411,19 +1520,25 @@ public com.google.protobuf.Int64ValueOrBuilder getPlaintextCrc32COrBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-     * retries. A persistent mismatch may indicate an issue in your computation of
-     * the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+     * is equal to
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1458,19 +1573,24 @@ public com.google.protobuf.Int64ValueOrBuilder getPlaintextCrc32COrBuilder() { * *
      * Optional. An optional CRC32C checksum of the
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+     * is equal to
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1488,19 +1608,24 @@ public boolean hasAdditionalAuthenticatedDataCrc32C() { * *
      * Optional. An optional CRC32C checksum of the
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+     * is equal to
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1523,19 +1648,24 @@ public com.google.protobuf.Int64Value getAdditionalAuthenticatedDataCrc32C() { * *
      * Optional. An optional CRC32C checksum of the
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+     * is equal to
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1560,19 +1690,24 @@ public Builder setAdditionalAuthenticatedDataCrc32C(com.google.protobuf.Int64Val * *
      * Optional. An optional CRC32C checksum of the
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+     * is equal to
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1595,19 +1730,24 @@ public Builder setAdditionalAuthenticatedDataCrc32C( * *
      * Optional. An optional CRC32C checksum of the
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+     * is equal to
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1636,19 +1776,24 @@ public Builder mergeAdditionalAuthenticatedDataCrc32C(com.google.protobuf.Int64V * *
      * Optional. An optional CRC32C checksum of the
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+     * is equal to
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1671,19 +1816,24 @@ public Builder clearAdditionalAuthenticatedDataCrc32C() { * *
      * Optional. An optional CRC32C checksum of the
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+     * is equal to
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1700,19 +1850,24 @@ public com.google.protobuf.Int64Value.Builder getAdditionalAuthenticatedDataCrc3 * *
      * Optional. An optional CRC32C checksum of the
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+     * is equal to
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * @@ -1733,19 +1888,24 @@ public com.google.protobuf.Int64ValueOrBuilder getAdditionalAuthenticatedDataCrc * *
      * Optional. An optional CRC32C checksum of the
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-     * a limited number of retries. A persistent mismatch may indicate an issue in
-     * your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+     * If specified,
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * verify the integrity of the received
+     * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+     * using this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+     * is equal to
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptRequestOrBuilder.java index 9a871aa7..48244a34 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface EncryptRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
-   * to use for encryption.
-   * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its
-   * [primary version][google.cloud.kms.v1.CryptoKey.primary].
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] or
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * encryption.
+   * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server
+   * will use its [primary version][google.cloud.kms.v1.CryptoKey.primary].
    * 
* * @@ -44,10 +46,12 @@ public interface EncryptRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
-   * to use for encryption.
-   * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its
-   * [primary version][google.cloud.kms.v1.CryptoKey.primary].
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] or
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * encryption.
+   * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server
+   * will use its [primary version][google.cloud.kms.v1.CryptoKey.primary].
    * 
* * @@ -64,11 +68,12 @@ public interface EncryptRequestOrBuilder *
    * Required. The data to encrypt. Must be no larger than 64KiB.
    * The maximum size depends on the key version's
-   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For
-   * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the plaintext must be no larger
-   * than 64KiB. For [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of the
-   * plaintext and additional_authenticated_data fields must be no larger than
-   * 8KiB.
+   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
+   * For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the
+   * plaintext must be no larger than 64KiB. For
+   * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
+   * the plaintext and additional_authenticated_data fields must be no larger
+   * than 8KiB.
    * 
* * bytes plaintext = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -81,14 +86,16 @@ public interface EncryptRequestOrBuilder * * *
-   * Optional. Optional data that, if specified, must also be provided during decryption
-   * through [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
+   * Optional. Optional data that, if specified, must also be provided during
+   * decryption through
+   * [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data].
    * The maximum size depends on the key version's
-   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For
-   * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the AAD must be no larger than
-   * 64KiB. For [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of the
-   * plaintext and additional_authenticated_data fields must be no larger than
-   * 8KiB.
+   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
+   * For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the AAD
+   * must be no larger than 64KiB. For
+   * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
+   * the plaintext and additional_authenticated_data fields must be no larger
+   * than 8KiB.
    * 
* * bytes additional_authenticated_data = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -101,19 +108,25 @@ public interface EncryptRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-   * retries. A persistent mismatch may indicate an issue in your computation of
-   * the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+   * is equal to
+   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -127,19 +140,25 @@ public interface EncryptRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-   * retries. A persistent mismatch may indicate an issue in your computation of
-   * the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+   * is equal to
+   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -153,19 +172,25 @@ public interface EncryptRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to
-   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of
-   * retries. A persistent mismatch may indicate an issue in your computation of
-   * the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext])
+   * is equal to
+   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -179,19 +204,24 @@ public interface EncryptRequestOrBuilder * *
    * Optional. An optional CRC32C checksum of the
-   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-   * a limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+   * is equal to
+   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -206,19 +236,24 @@ public interface EncryptRequestOrBuilder * *
    * Optional. An optional CRC32C checksum of the
-   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-   * a limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+   * is equal to
+   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * @@ -233,19 +268,24 @@ public interface EncryptRequestOrBuilder * *
    * Optional. An optional CRC32C checksum of the
-   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified,
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received
-   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to
-   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform
-   * a limited number of retries. A persistent mismatch may indicate an issue in
-   * your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data].
+   * If specified,
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * verify the integrity of the received
+   * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]
+   * using this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data])
+   * is equal to
+   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptResponse.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptResponse.java index 1c0c97cb..195fdabe 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptResponse.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptResponse.java @@ -22,7 +22,8 @@ * * *
- * Response message for [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
+ * Response message for
+ * [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
  * 
* * Protobuf type {@code google.cloud.kms.v1.EncryptResponse} @@ -156,8 +157,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check
-   * this field to verify that the intended resource was used for encryption.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * encryption. Check this field to verify that the intended resource was used
+   * for encryption.
    * 
* * string name = 1; @@ -180,8 +183,10 @@ public java.lang.String getName() { * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check
-   * this field to verify that the intended resource was used for encryption.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * encryption. Check this field to verify that the intended resource was used
+   * for encryption.
    * 
* * string name = 1; @@ -226,16 +231,18 @@ public com.google.protobuf.ByteString getCiphertext() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-   * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-   * this field. Discard the response in case of non-matching checksum values,
-   * and perform a limited number of retries. A persistent mismatch may indicate
-   * an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+   * An integrity check of
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+   * can be performed by computing the CRC32C checksum of
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -251,16 +258,18 @@ public boolean hasCiphertextCrc32C() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-   * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-   * this field. Discard the response in case of non-matching checksum values,
-   * and perform a limited number of retries. A persistent mismatch may indicate
-   * an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+   * An integrity check of
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+   * can be performed by computing the CRC32C checksum of
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -278,16 +287,18 @@ public com.google.protobuf.Int64Value getCiphertextCrc32C() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-   * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-   * this field. Discard the response in case of non-matching checksum values,
-   * and perform a limited number of retries. A persistent mismatch may indicate
-   * an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+   * An integrity check of
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+   * can be performed by computing the CRC32C checksum of
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -304,13 +315,19 @@ public com.google.protobuf.Int64ValueOrBuilder getCiphertextCrc32COrBuilder() { * *
    * Integrity verification field. A flag indicating whether
-   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. A false value of this field
-   * indicates either that [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] was left unset or
-   * that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set
-   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] but this field is still false, discard
-   * the response and perform a limited number of retries.
+   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. A false value of
+   * this field indicates either that
+   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_plaintext_crc32c = 5; @@ -329,14 +346,19 @@ public boolean getVerifiedPlaintextCrc32C() { * *
    * Integrity verification field. A flag indicating whether
-   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [AAD][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. A false value of this
-   * field indicates either that
-   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] was left unset or
-   * that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set
-   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] but this field is
-   * still false, discard the response and perform a limited number of retries.
+   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [AAD][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. A
+   * false value of this field indicates either that
+   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_additional_authenticated_data_crc32c = 6; @@ -354,7 +376,9 @@ public boolean getVerifiedAdditionalAuthenticatedDataCrc32C() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * encryption.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 7; @@ -369,7 +393,9 @@ public int getProtectionLevelValue() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * encryption.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 7; @@ -604,7 +630,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
+   * Response message for
+   * [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
    * 
* * Protobuf type {@code google.cloud.kms.v1.EncryptResponse} @@ -802,8 +829,10 @@ public Builder mergeFrom( * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check
-     * this field to verify that the intended resource was used for encryption.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * encryption. Check this field to verify that the intended resource was used
+     * for encryption.
      * 
* * string name = 1; @@ -825,8 +854,10 @@ public java.lang.String getName() { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check
-     * this field to verify that the intended resource was used for encryption.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * encryption. Check this field to verify that the intended resource was used
+     * for encryption.
      * 
* * string name = 1; @@ -848,8 +879,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check
-     * this field to verify that the intended resource was used for encryption.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * encryption. Check this field to verify that the intended resource was used
+     * for encryption.
      * 
* * string name = 1; @@ -870,8 +903,10 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check
-     * this field to verify that the intended resource was used for encryption.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * encryption. Check this field to verify that the intended resource was used
+     * for encryption.
      * 
* * string name = 1; @@ -888,8 +923,10 @@ public Builder clearName() { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check
-     * this field to verify that the intended resource was used for encryption.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * encryption. Check this field to verify that the intended resource was used
+     * for encryption.
      * 
* * string name = 1; @@ -974,16 +1011,18 @@ public Builder clearCiphertext() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-     * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+     * An integrity check of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * can be performed by computing the CRC32C checksum of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -998,16 +1037,18 @@ public boolean hasCiphertextCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-     * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+     * An integrity check of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * can be performed by computing the CRC32C checksum of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -1028,16 +1069,18 @@ public com.google.protobuf.Int64Value getCiphertextCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-     * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+     * An integrity check of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * can be performed by computing the CRC32C checksum of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -1060,16 +1103,18 @@ public Builder setCiphertextCrc32C(com.google.protobuf.Int64Value value) { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-     * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+     * An integrity check of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * can be performed by computing the CRC32C checksum of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -1089,16 +1134,18 @@ public Builder setCiphertextCrc32C(com.google.protobuf.Int64Value.Builder builde * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-     * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+     * An integrity check of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * can be performed by computing the CRC32C checksum of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -1125,16 +1172,18 @@ public Builder mergeCiphertextCrc32C(com.google.protobuf.Int64Value value) { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-     * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+     * An integrity check of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * can be performed by computing the CRC32C checksum of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -1155,16 +1204,18 @@ public Builder clearCiphertextCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-     * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+     * An integrity check of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * can be performed by computing the CRC32C checksum of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -1179,16 +1230,18 @@ public com.google.protobuf.Int64Value.Builder getCiphertextCrc32CBuilder() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-     * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+     * An integrity check of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * can be performed by computing the CRC32C checksum of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -1207,16 +1260,18 @@ public com.google.protobuf.Int64ValueOrBuilder getCiphertextCrc32COrBuilder() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-     * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-     * this field. Discard the response in case of non-matching checksum values,
-     * and perform a limited number of retries. A persistent mismatch may indicate
-     * an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+     * An integrity check of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * can be performed by computing the CRC32C checksum of
+     * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -1244,13 +1299,19 @@ public com.google.protobuf.Int64ValueOrBuilder getCiphertextCrc32COrBuilder() { * *
      * Integrity verification field. A flag indicating whether
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. A false value of this field
-     * indicates either that [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] was left unset or
-     * that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] but this field is still false, discard
-     * the response and perform a limited number of retries.
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. A false value of
+     * this field indicates either that
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_plaintext_crc32c = 5; @@ -1266,13 +1327,19 @@ public boolean getVerifiedPlaintextCrc32C() { * *
      * Integrity verification field. A flag indicating whether
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. A false value of this field
-     * indicates either that [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] was left unset or
-     * that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] but this field is still false, discard
-     * the response and perform a limited number of retries.
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. A false value of
+     * this field indicates either that
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_plaintext_crc32c = 5; @@ -1291,13 +1358,19 @@ public Builder setVerifiedPlaintextCrc32C(boolean value) { * *
      * Integrity verification field. A flag indicating whether
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. A false value of this field
-     * indicates either that [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] was left unset or
-     * that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set
-     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] but this field is still false, discard
-     * the response and perform a limited number of retries.
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. A false value of
+     * this field indicates either that
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_plaintext_crc32c = 5; @@ -1317,14 +1390,19 @@ public Builder clearVerifiedPlaintextCrc32C() { * *
      * Integrity verification field. A flag indicating whether
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [AAD][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. A false value of this
-     * field indicates either that
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] was left unset or
-     * that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] but this field is
-     * still false, discard the response and perform a limited number of retries.
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [AAD][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. A
+     * false value of this field indicates either that
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_additional_authenticated_data_crc32c = 6; @@ -1340,14 +1418,19 @@ public boolean getVerifiedAdditionalAuthenticatedDataCrc32C() { * *
      * Integrity verification field. A flag indicating whether
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [AAD][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. A false value of this
-     * field indicates either that
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] was left unset or
-     * that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] but this field is
-     * still false, discard the response and perform a limited number of retries.
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [AAD][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. A
+     * false value of this field indicates either that
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_additional_authenticated_data_crc32c = 6; @@ -1366,14 +1449,19 @@ public Builder setVerifiedAdditionalAuthenticatedDataCrc32C(boolean value) { * *
      * Integrity verification field. A flag indicating whether
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [AAD][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. A false value of this
-     * field indicates either that
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] was left unset or
-     * that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set
-     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] but this field is
-     * still false, discard the response and perform a limited number of retries.
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [AAD][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. A
+     * false value of this field indicates either that
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_additional_authenticated_data_crc32c = 6; @@ -1392,7 +1480,9 @@ public Builder clearVerifiedAdditionalAuthenticatedDataCrc32C() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * encryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 7; @@ -1407,7 +1497,9 @@ public int getProtectionLevelValue() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * encryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 7; @@ -1425,7 +1517,9 @@ public Builder setProtectionLevelValue(int value) { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * encryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 7; @@ -1443,7 +1537,9 @@ public com.google.cloud.kms.v1.ProtectionLevel getProtectionLevel() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * encryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 7; @@ -1464,7 +1560,9 @@ public Builder setProtectionLevel(com.google.cloud.kms.v1.ProtectionLevel value) * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+     * encryption.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 7; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptResponseOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptResponseOrBuilder.java index 14279517..51301cb5 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptResponseOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptResponseOrBuilder.java @@ -27,8 +27,10 @@ public interface EncryptResponseOrBuilder * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check
-   * this field to verify that the intended resource was used for encryption.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * encryption. Check this field to verify that the intended resource was used
+   * for encryption.
    * 
* * string name = 1; @@ -40,8 +42,10 @@ public interface EncryptResponseOrBuilder * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check
-   * this field to verify that the intended resource was used for encryption.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * encryption. Check this field to verify that the intended resource was used
+   * for encryption.
    * 
* * string name = 1; @@ -68,16 +72,18 @@ public interface EncryptResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-   * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-   * this field. Discard the response in case of non-matching checksum values,
-   * and perform a limited number of retries. A persistent mismatch may indicate
-   * an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+   * An integrity check of
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+   * can be performed by computing the CRC32C checksum of
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -90,16 +96,18 @@ public interface EncryptResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-   * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-   * this field. Discard the response in case of non-matching checksum values,
-   * and perform a limited number of retries. A persistent mismatch may indicate
-   * an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+   * An integrity check of
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+   * can be performed by computing the CRC32C checksum of
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -112,16 +120,18 @@ public interface EncryptResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of
-   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C
-   * checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to
-   * this field. Discard the response in case of non-matching checksum values,
-   * and perform a limited number of retries. A persistent mismatch may indicate
-   * an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext].
+   * An integrity check of
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+   * can be performed by computing the CRC32C checksum of
+   * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value ciphertext_crc32c = 4; @@ -133,13 +143,19 @@ public interface EncryptResponseOrBuilder * *
    * Integrity verification field. A flag indicating whether
-   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. A false value of this field
-   * indicates either that [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] was left unset or
-   * that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set
-   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] but this field is still false, discard
-   * the response and perform a limited number of retries.
+   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. A false value of
+   * this field indicates either that
+   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_plaintext_crc32c = 5; @@ -153,14 +169,19 @@ public interface EncryptResponseOrBuilder * *
    * Integrity verification field. A flag indicating whether
-   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [AAD][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. A false value of this
-   * field indicates either that
-   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] was left unset or
-   * that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set
-   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] but this field is
-   * still false, discard the response and perform a limited number of retries.
+   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [AAD][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. A
+   * false value of this field indicates either that
+   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_additional_authenticated_data_crc32c = 6; @@ -173,7 +194,9 @@ public interface EncryptResponseOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * encryption.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 7; @@ -185,7 +208,9 @@ public interface EncryptResponseOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in
+   * encryption.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 7; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ExternalProtectionLevelOptions.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ExternalProtectionLevelOptions.java index 50e49185..2c112fcc 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ExternalProtectionLevelOptions.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ExternalProtectionLevelOptions.java @@ -23,8 +23,11 @@ * *
  * ExternalProtectionLevelOptions stores a group of additional fields for
- * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
- * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+ * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+ * are specific to the [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL]
+ * protection level and
+ * [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] protection
+ * levels.
  * 
* * Protobuf type {@code google.cloud.kms.v1.ExternalProtectionLevelOptions} @@ -42,6 +45,7 @@ private ExternalProtectionLevelOptions( private ExternalProtectionLevelOptions() { externalKeyUri_ = ""; + ekmConnectionKeyPath_ = ""; } @java.lang.Override @@ -80,6 +84,13 @@ private ExternalProtectionLevelOptions( externalKeyUri_ = s; break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + ekmConnectionKeyPath_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -120,7 +131,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The URI for an external resource that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
+   * The URI for an external resource that this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
    * 
* * string external_key_uri = 1; @@ -143,7 +155,8 @@ public java.lang.String getExternalKeyUri() { * * *
-   * The URI for an external resource that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
+   * The URI for an external resource that this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
    * 
* * string external_key_uri = 1; @@ -163,6 +176,61 @@ public com.google.protobuf.ByteString getExternalKeyUriBytes() { } } + public static final int EKM_CONNECTION_KEY_PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object ekmConnectionKeyPath_; + /** + * + * + *
+   * The path to the external key material on the EKM when using
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set
+   * this field instead of external_key_uri when using an
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * string ekm_connection_key_path = 2; + * + * @return The ekmConnectionKeyPath. + */ + @java.lang.Override + public java.lang.String getEkmConnectionKeyPath() { + java.lang.Object ref = ekmConnectionKeyPath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ekmConnectionKeyPath_ = s; + return s; + } + } + /** + * + * + *
+   * The path to the external key material on the EKM when using
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set
+   * this field instead of external_key_uri when using an
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * string ekm_connection_key_path = 2; + * + * @return The bytes for ekmConnectionKeyPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEkmConnectionKeyPathBytes() { + java.lang.Object ref = ekmConnectionKeyPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ekmConnectionKeyPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -180,6 +248,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalKeyUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, externalKeyUri_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ekmConnectionKeyPath_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ekmConnectionKeyPath_); + } unknownFields.writeTo(output); } @@ -192,6 +263,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalKeyUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, externalKeyUri_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ekmConnectionKeyPath_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ekmConnectionKeyPath_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -209,6 +283,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.kms.v1.ExternalProtectionLevelOptions) obj; if (!getExternalKeyUri().equals(other.getExternalKeyUri())) return false; + if (!getEkmConnectionKeyPath().equals(other.getEkmConnectionKeyPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -222,6 +297,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EXTERNAL_KEY_URI_FIELD_NUMBER; hash = (53 * hash) + getExternalKeyUri().hashCode(); + hash = (37 * hash) + EKM_CONNECTION_KEY_PATH_FIELD_NUMBER; + hash = (53 * hash) + getEkmConnectionKeyPath().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -328,8 +405,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * ExternalProtectionLevelOptions stores a group of additional fields for
-   * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the
-   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level.
+   * configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
+   * are specific to the [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL]
+   * protection level and
+   * [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] protection
+   * levels.
    * 
* * Protobuf type {@code google.cloud.kms.v1.ExternalProtectionLevelOptions} @@ -372,6 +452,8 @@ public Builder clear() { super.clear(); externalKeyUri_ = ""; + ekmConnectionKeyPath_ = ""; + return this; } @@ -400,6 +482,7 @@ public com.google.cloud.kms.v1.ExternalProtectionLevelOptions buildPartial() { com.google.cloud.kms.v1.ExternalProtectionLevelOptions result = new com.google.cloud.kms.v1.ExternalProtectionLevelOptions(this); result.externalKeyUri_ = externalKeyUri_; + result.ekmConnectionKeyPath_ = ekmConnectionKeyPath_; onBuilt(); return result; } @@ -454,6 +537,10 @@ public Builder mergeFrom(com.google.cloud.kms.v1.ExternalProtectionLevelOptions externalKeyUri_ = other.externalKeyUri_; onChanged(); } + if (!other.getEkmConnectionKeyPath().isEmpty()) { + ekmConnectionKeyPath_ = other.ekmConnectionKeyPath_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -489,7 +576,8 @@ public Builder mergeFrom( * * *
-     * The URI for an external resource that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
+     * The URI for an external resource that this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
      * 
* * string external_key_uri = 1; @@ -511,7 +599,8 @@ public java.lang.String getExternalKeyUri() { * * *
-     * The URI for an external resource that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
+     * The URI for an external resource that this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
      * 
* * string external_key_uri = 1; @@ -533,7 +622,8 @@ public com.google.protobuf.ByteString getExternalKeyUriBytes() { * * *
-     * The URI for an external resource that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
+     * The URI for an external resource that this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
      * 
* * string external_key_uri = 1; @@ -554,7 +644,8 @@ public Builder setExternalKeyUri(java.lang.String value) { * * *
-     * The URI for an external resource that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
+     * The URI for an external resource that this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
      * 
* * string external_key_uri = 1; @@ -571,7 +662,8 @@ public Builder clearExternalKeyUri() { * * *
-     * The URI for an external resource that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
+     * The URI for an external resource that this
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
      * 
* * string external_key_uri = 1; @@ -590,6 +682,127 @@ public Builder setExternalKeyUriBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object ekmConnectionKeyPath_ = ""; + /** + * + * + *
+     * The path to the external key material on the EKM when using
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set
+     * this field instead of external_key_uri when using an
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * string ekm_connection_key_path = 2; + * + * @return The ekmConnectionKeyPath. + */ + public java.lang.String getEkmConnectionKeyPath() { + java.lang.Object ref = ekmConnectionKeyPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ekmConnectionKeyPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The path to the external key material on the EKM when using
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set
+     * this field instead of external_key_uri when using an
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * string ekm_connection_key_path = 2; + * + * @return The bytes for ekmConnectionKeyPath. + */ + public com.google.protobuf.ByteString getEkmConnectionKeyPathBytes() { + java.lang.Object ref = ekmConnectionKeyPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ekmConnectionKeyPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The path to the external key material on the EKM when using
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set
+     * this field instead of external_key_uri when using an
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * string ekm_connection_key_path = 2; + * + * @param value The ekmConnectionKeyPath to set. + * @return This builder for chaining. + */ + public Builder setEkmConnectionKeyPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + ekmConnectionKeyPath_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The path to the external key material on the EKM when using
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set
+     * this field instead of external_key_uri when using an
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * string ekm_connection_key_path = 2; + * + * @return This builder for chaining. + */ + public Builder clearEkmConnectionKeyPath() { + + ekmConnectionKeyPath_ = getDefaultInstance().getEkmConnectionKeyPath(); + onChanged(); + return this; + } + /** + * + * + *
+     * The path to the external key material on the EKM when using
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set
+     * this field instead of external_key_uri when using an
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * string ekm_connection_key_path = 2; + * + * @param value The bytes for ekmConnectionKeyPath to set. + * @return This builder for chaining. + */ + public Builder setEkmConnectionKeyPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + ekmConnectionKeyPath_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ExternalProtectionLevelOptionsOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ExternalProtectionLevelOptionsOrBuilder.java index c10c10b4..6b407c1a 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ExternalProtectionLevelOptionsOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ExternalProtectionLevelOptionsOrBuilder.java @@ -27,7 +27,8 @@ public interface ExternalProtectionLevelOptionsOrBuilder * * *
-   * The URI for an external resource that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
+   * The URI for an external resource that this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
    * 
* * string external_key_uri = 1; @@ -39,7 +40,8 @@ public interface ExternalProtectionLevelOptionsOrBuilder * * *
-   * The URI for an external resource that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
+   * The URI for an external resource that this
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
    * 
* * string external_key_uri = 1; @@ -47,4 +49,35 @@ public interface ExternalProtectionLevelOptionsOrBuilder * @return The bytes for externalKeyUri. */ com.google.protobuf.ByteString getExternalKeyUriBytes(); + + /** + * + * + *
+   * The path to the external key material on the EKM when using
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set
+   * this field instead of external_key_uri when using an
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * string ekm_connection_key_path = 2; + * + * @return The ekmConnectionKeyPath. + */ + java.lang.String getEkmConnectionKeyPath(); + /** + * + * + *
+   * The path to the external key material on the EKM when using
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set
+   * this field instead of external_key_uri when using an
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * string ekm_connection_key_path = 2; + * + * @return The bytes for ekmConnectionKeyPath. + */ + com.google.protobuf.ByteString getEkmConnectionKeyPathBytes(); } diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesRequest.java index 13e1aded..20c13f32 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes].
+ * Request message for
+ * [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes].
  * 
* * Protobuf type {@code google.cloud.kms.v1.GenerateRandomBytesRequest} @@ -200,8 +201,10 @@ public int getLengthBytes() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Defaults to
-   * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when
+   * generating the random data. Currently, only
+   * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is
+   * supported.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 3; @@ -216,8 +219,10 @@ public int getProtectionLevelValue() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Defaults to
-   * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when
+   * generating the random data. Currently, only
+   * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is
+   * supported.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 3; @@ -415,7 +420,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes].
+   * Request message for
+   * [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes].
    * 
* * Protobuf type {@code google.cloud.kms.v1.GenerateRandomBytesRequest} @@ -753,8 +759,10 @@ public Builder clearLengthBytes() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Defaults to
-     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when
+     * generating the random data. Currently, only
+     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is
+     * supported.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 3; @@ -769,8 +777,10 @@ public int getProtectionLevelValue() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Defaults to
-     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when
+     * generating the random data. Currently, only
+     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is
+     * supported.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 3; @@ -788,8 +798,10 @@ public Builder setProtectionLevelValue(int value) { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Defaults to
-     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when
+     * generating the random data. Currently, only
+     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is
+     * supported.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 3; @@ -807,8 +819,10 @@ public com.google.cloud.kms.v1.ProtectionLevel getProtectionLevel() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Defaults to
-     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when
+     * generating the random data. Currently, only
+     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is
+     * supported.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 3; @@ -829,8 +843,10 @@ public Builder setProtectionLevel(com.google.cloud.kms.v1.ProtectionLevel value) * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Defaults to
-     * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when
+     * generating the random data. Currently, only
+     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is
+     * supported.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 3; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesRequestOrBuilder.java index ebd72ff8..a308a64d 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesRequestOrBuilder.java @@ -68,8 +68,10 @@ public interface GenerateRandomBytesRequestOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Defaults to
-   * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when
+   * generating the random data. Currently, only
+   * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is
+   * supported.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 3; @@ -81,8 +83,10 @@ public interface GenerateRandomBytesRequestOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Defaults to
-   * [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when
+   * generating the random data. Currently, only
+   * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is
+   * supported.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 3; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesResponse.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesResponse.java index 94788fd0..62eb3f91 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesResponse.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesResponse.java @@ -22,7 +22,8 @@ * * *
- * Response message for [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes].
+ * Response message for
+ * [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes].
  * 
* * Protobuf type {@code google.cloud.kms.v1.GenerateRandomBytesResponse} @@ -149,16 +150,18 @@ public com.google.protobuf.ByteString getData() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-   * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+   * An integrity check of
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+   * can be performed by computing the CRC32C checksum of
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3; @@ -174,16 +177,18 @@ public boolean hasDataCrc32C() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-   * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+   * An integrity check of
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+   * can be performed by computing the CRC32C checksum of
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3; @@ -199,16 +204,18 @@ public com.google.protobuf.Int64Value getDataCrc32C() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-   * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+   * An integrity check of
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+   * can be performed by computing the CRC32C checksum of
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3; @@ -395,7 +402,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes].
+   * Response message for
+   * [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes].
    * 
* * Protobuf type {@code google.cloud.kms.v1.GenerateRandomBytesResponse} @@ -629,16 +637,18 @@ public Builder clearData() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-     * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+     * An integrity check of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * can be performed by computing the CRC32C checksum of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3; @@ -653,16 +663,18 @@ public boolean hasDataCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-     * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+     * An integrity check of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * can be performed by computing the CRC32C checksum of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3; @@ -683,16 +695,18 @@ public com.google.protobuf.Int64Value getDataCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-     * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+     * An integrity check of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * can be performed by computing the CRC32C checksum of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3; @@ -715,16 +729,18 @@ public Builder setDataCrc32C(com.google.protobuf.Int64Value value) { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-     * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+     * An integrity check of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * can be performed by computing the CRC32C checksum of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3; @@ -744,16 +760,18 @@ public Builder setDataCrc32C(com.google.protobuf.Int64Value.Builder builderForVa * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-     * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+     * An integrity check of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * can be performed by computing the CRC32C checksum of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3; @@ -780,16 +798,18 @@ public Builder mergeDataCrc32C(com.google.protobuf.Int64Value value) { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-     * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+     * An integrity check of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * can be performed by computing the CRC32C checksum of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3; @@ -810,16 +830,18 @@ public Builder clearDataCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-     * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+     * An integrity check of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * can be performed by computing the CRC32C checksum of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3; @@ -834,16 +856,18 @@ public com.google.protobuf.Int64Value.Builder getDataCrc32CBuilder() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-     * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+     * An integrity check of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * can be performed by computing the CRC32C checksum of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3; @@ -862,16 +886,18 @@ public com.google.protobuf.Int64ValueOrBuilder getDataCrc32COrBuilder() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-     * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+     * An integrity check of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * can be performed by computing the CRC32C checksum of
+     * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+     * and comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesResponseOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesResponseOrBuilder.java index 6456d094..fb30f4d2 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesResponseOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GenerateRandomBytesResponseOrBuilder.java @@ -41,16 +41,18 @@ public interface GenerateRandomBytesResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-   * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+   * An integrity check of
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+   * can be performed by computing the CRC32C checksum of
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3; @@ -63,16 +65,18 @@ public interface GenerateRandomBytesResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-   * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+   * An integrity check of
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+   * can be performed by computing the CRC32C checksum of
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3; @@ -85,16 +89,18 @@ public interface GenerateRandomBytesResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of
-   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the
-   * CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
+   * An integrity check of
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+   * can be performed by computing the CRC32C checksum of
+   * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
+   * and comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyRequest.java index f5b17c03..47987c26 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.GetCryptoKey][google.cloud.kms.v1.KeyManagementService.GetCryptoKey].
+ * Request message for
+ * [KeyManagementService.GetCryptoKey][google.cloud.kms.v1.KeyManagementService.GetCryptoKey].
  * 
* * Protobuf type {@code google.cloud.kms.v1.GetCryptoKeyRequest} @@ -117,7 +118,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
+   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
    * 
* * @@ -142,7 +144,8 @@ public java.lang.String getName() { * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
+   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
    * 
* * @@ -327,7 +330,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.GetCryptoKey][google.cloud.kms.v1.KeyManagementService.GetCryptoKey].
+   * Request message for
+   * [KeyManagementService.GetCryptoKey][google.cloud.kms.v1.KeyManagementService.GetCryptoKey].
    * 
* * Protobuf type {@code google.cloud.kms.v1.GetCryptoKeyRequest} @@ -485,7 +489,8 @@ public Builder mergeFrom( * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
      * 
* * @@ -509,7 +514,8 @@ public java.lang.String getName() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
      * 
* * @@ -533,7 +539,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
      * 
* * @@ -556,7 +563,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
      * 
* * @@ -575,7 +583,8 @@ public Builder clearName() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
      * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyRequestOrBuilder.java index e2ce5152..b987c694 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface GetCryptoKeyRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
+   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
    * 
* * @@ -41,7 +42,8 @@ public interface GetCryptoKeyRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
+   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
    * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyVersionRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyVersionRequest.java index ed927ccf..ec605463 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyVersionRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyVersionRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.GetCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion].
+ * Request message for
+ * [KeyManagementService.GetCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion].
  * 
* * Protobuf type {@code google.cloud.kms.v1.GetCryptoKeyVersionRequest} @@ -117,7 +118,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
+   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
    * 
* * @@ -142,7 +144,8 @@ public java.lang.String getName() { * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
+   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
    * 
* * @@ -327,7 +330,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.GetCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion].
+   * Request message for
+   * [KeyManagementService.GetCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion].
    * 
* * Protobuf type {@code google.cloud.kms.v1.GetCryptoKeyVersionRequest} @@ -487,7 +491,8 @@ public Builder mergeFrom( * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
      * 
* * @@ -511,7 +516,8 @@ public java.lang.String getName() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
      * 
* * @@ -535,7 +541,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
      * 
* * @@ -558,7 +565,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
      * 
* * @@ -577,7 +585,8 @@ public Builder clearName() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
      * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyVersionRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyVersionRequestOrBuilder.java index bde7a058..cd342906 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyVersionRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyVersionRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface GetCryptoKeyVersionRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
+   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
    * 
* * @@ -41,7 +42,8 @@ public interface GetCryptoKeyVersionRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
+   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
    * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetEkmConnectionRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetEkmConnectionRequest.java new file mode 100644 index 00000000..b21eb005 --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetEkmConnectionRequest.java @@ -0,0 +1,656 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +/** + * + * + *
+ * Request message for [KeyManagementService.GetEkmConnection][].
+ * 
+ * + * Protobuf type {@code google.cloud.kms.v1.GetEkmConnectionRequest} + */ +public final class GetEkmConnectionRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.kms.v1.GetEkmConnectionRequest) + GetEkmConnectionRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetEkmConnectionRequest.newBuilder() to construct. + private GetEkmConnectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetEkmConnectionRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetEkmConnectionRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetEkmConnectionRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_GetEkmConnectionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_GetEkmConnectionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.GetEkmConnectionRequest.class, + com.google.cloud.kms.v1.GetEkmConnectionRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.kms.v1.GetEkmConnectionRequest)) { + return super.equals(obj); + } + com.google.cloud.kms.v1.GetEkmConnectionRequest other = + (com.google.cloud.kms.v1.GetEkmConnectionRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.kms.v1.GetEkmConnectionRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.GetEkmConnectionRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.GetEkmConnectionRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.GetEkmConnectionRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.GetEkmConnectionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.GetEkmConnectionRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.GetEkmConnectionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.GetEkmConnectionRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.GetEkmConnectionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.GetEkmConnectionRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.GetEkmConnectionRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.GetEkmConnectionRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.kms.v1.GetEkmConnectionRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for [KeyManagementService.GetEkmConnection][].
+   * 
+ * + * Protobuf type {@code google.cloud.kms.v1.GetEkmConnectionRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.kms.v1.GetEkmConnectionRequest) + com.google.cloud.kms.v1.GetEkmConnectionRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_GetEkmConnectionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_GetEkmConnectionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.GetEkmConnectionRequest.class, + com.google.cloud.kms.v1.GetEkmConnectionRequest.Builder.class); + } + + // Construct using com.google.cloud.kms.v1.GetEkmConnectionRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_GetEkmConnectionRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.kms.v1.GetEkmConnectionRequest getDefaultInstanceForType() { + return com.google.cloud.kms.v1.GetEkmConnectionRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.kms.v1.GetEkmConnectionRequest build() { + com.google.cloud.kms.v1.GetEkmConnectionRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.kms.v1.GetEkmConnectionRequest buildPartial() { + com.google.cloud.kms.v1.GetEkmConnectionRequest result = + new com.google.cloud.kms.v1.GetEkmConnectionRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.kms.v1.GetEkmConnectionRequest) { + return mergeFrom((com.google.cloud.kms.v1.GetEkmConnectionRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.kms.v1.GetEkmConnectionRequest other) { + if (other == com.google.cloud.kms.v1.GetEkmConnectionRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.kms.v1.GetEkmConnectionRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.kms.v1.GetEkmConnectionRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] to get.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] to get.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] to get.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] to get.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the
+     * [EkmConnection][google.cloud.kms.v1.EkmConnection] to get.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.kms.v1.GetEkmConnectionRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.kms.v1.GetEkmConnectionRequest) + private static final com.google.cloud.kms.v1.GetEkmConnectionRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.kms.v1.GetEkmConnectionRequest(); + } + + public static com.google.cloud.kms.v1.GetEkmConnectionRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEkmConnectionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetEkmConnectionRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.kms.v1.GetEkmConnectionRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetEkmConnectionRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetEkmConnectionRequestOrBuilder.java new file mode 100644 index 00000000..90652873 --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetEkmConnectionRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +public interface GetEkmConnectionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.GetEkmConnectionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the
+   * [EkmConnection][google.cloud.kms.v1.EkmConnection] to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetImportJobRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetImportJobRequest.java index f7256bfe..6aafa2f5 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetImportJobRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetImportJobRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob].
+ * Request message for
+ * [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob].
  * 
* * Protobuf type {@code google.cloud.kms.v1.GetImportJobRequest} @@ -117,7 +118,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get.
+   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob] to get.
    * 
* * @@ -142,7 +144,8 @@ public java.lang.String getName() { * * *
-   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get.
+   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob] to get.
    * 
* * @@ -327,7 +330,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob].
+   * Request message for
+   * [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob].
    * 
* * Protobuf type {@code google.cloud.kms.v1.GetImportJobRequest} @@ -485,7 +489,8 @@ public Builder mergeFrom( * * *
-     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get.
+     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob] to get.
      * 
* * @@ -509,7 +514,8 @@ public java.lang.String getName() { * * *
-     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get.
+     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob] to get.
      * 
* * @@ -533,7 +539,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get.
+     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob] to get.
      * 
* * @@ -556,7 +563,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get.
+     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob] to get.
      * 
* * @@ -575,7 +583,8 @@ public Builder clearName() { * * *
-     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get.
+     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob] to get.
      * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetImportJobRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetImportJobRequestOrBuilder.java index 486cfe12..4011560f 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetImportJobRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetImportJobRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface GetImportJobRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get.
+   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob] to get.
    * 
* * @@ -41,7 +42,8 @@ public interface GetImportJobRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get.
+   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob] to get.
    * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetKeyRingRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetKeyRingRequest.java index 32dcd488..4698a609 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetKeyRingRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetKeyRingRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.GetKeyRing][google.cloud.kms.v1.KeyManagementService.GetKeyRing].
+ * Request message for
+ * [KeyManagementService.GetKeyRing][google.cloud.kms.v1.KeyManagementService.GetKeyRing].
  * 
* * Protobuf type {@code google.cloud.kms.v1.GetKeyRingRequest} @@ -117,7 +118,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get.
+   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+   * [KeyRing][google.cloud.kms.v1.KeyRing] to get.
    * 
* * @@ -142,7 +144,8 @@ public java.lang.String getName() { * * *
-   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get.
+   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+   * [KeyRing][google.cloud.kms.v1.KeyRing] to get.
    * 
* * @@ -327,7 +330,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.GetKeyRing][google.cloud.kms.v1.KeyManagementService.GetKeyRing].
+   * Request message for
+   * [KeyManagementService.GetKeyRing][google.cloud.kms.v1.KeyManagementService.GetKeyRing].
    * 
* * Protobuf type {@code google.cloud.kms.v1.GetKeyRingRequest} @@ -485,7 +489,8 @@ public Builder mergeFrom( * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get.
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] to get.
      * 
* * @@ -509,7 +514,8 @@ public java.lang.String getName() { * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get.
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] to get.
      * 
* * @@ -533,7 +539,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get.
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] to get.
      * 
* * @@ -556,7 +563,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get.
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] to get.
      * 
* * @@ -575,7 +583,8 @@ public Builder clearName() { * * *
-     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get.
+     * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] to get.
      * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetKeyRingRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetKeyRingRequestOrBuilder.java index e1c62ec7..a67a8379 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetKeyRingRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetKeyRingRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface GetKeyRingRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get.
+   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+   * [KeyRing][google.cloud.kms.v1.KeyRing] to get.
    * 
* * @@ -41,7 +42,8 @@ public interface GetKeyRingRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get.
+   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
+   * [KeyRing][google.cloud.kms.v1.KeyRing] to get.
    * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetPublicKeyRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetPublicKeyRequest.java index 7b9ef1bd..bcc2d4f9 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetPublicKeyRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetPublicKeyRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
+ * Request message for
+ * [KeyManagementService.GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
  * 
* * Protobuf type {@code google.cloud.kms.v1.GetPublicKeyRequest} @@ -117,8 +118,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to
-   * get.
+   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
    * 
* * @@ -143,8 +144,8 @@ public java.lang.String getName() { * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to
-   * get.
+   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
    * 
* * @@ -329,7 +330,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
+   * Request message for
+   * [KeyManagementService.GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
    * 
* * Protobuf type {@code google.cloud.kms.v1.GetPublicKeyRequest} @@ -487,8 +489,8 @@ public Builder mergeFrom( * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to
-     * get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
      * 
* * @@ -512,8 +514,8 @@ public java.lang.String getName() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to
-     * get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
      * 
* * @@ -537,8 +539,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to
-     * get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
      * 
* * @@ -561,8 +563,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to
-     * get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
      * 
* * @@ -581,8 +583,8 @@ public Builder clearName() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to
-     * get.
+     * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
      * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetPublicKeyRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetPublicKeyRequestOrBuilder.java index 27456a0e..10b73a21 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetPublicKeyRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetPublicKeyRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface GetPublicKeyRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to
-   * get.
+   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
    * 
* * @@ -42,8 +42,8 @@ public interface GetPublicKeyRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to
-   * get.
+   * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
    * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportCryptoKeyVersionRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportCryptoKeyVersionRequest.java index 97f37d9a..c1cb537b 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportCryptoKeyVersionRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportCryptoKeyVersionRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion].
+ * Request message for
+ * [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion].
  * 
* * Protobuf type {@code google.cloud.kms.v1.ImportCryptoKeyVersionRequest} @@ -191,7 +192,8 @@ public WrappedKeyMaterialCase getWrappedKeyMaterialCase() { * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
+   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
    * The create permission is only required on this key when creating a new
    * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
    * 
@@ -218,7 +220,8 @@ public java.lang.String getParent() { * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
+   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
    * The create permission is only required on this key when creating a new
    * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
    * 
@@ -248,19 +251,24 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of an existing
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to target for an import operation.
-   * If this field is not present, a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
+   * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of
+   * an existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
+   * target for an import operation. If this field is not present, a new
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
    * supplied key material is created.
    * If this field is present, the supplied key material is imported into
-   * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To import into an existing
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
-   * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent], have been previously created via
-   * [ImportCryptoKeyVersion][], and be in
-   * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED] or
+   * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To
+   * import into an existing
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
+   * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent],
+   * have been previously created via [ImportCryptoKeyVersion][], and be in
+   * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]
+   * or
    * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]
    * state. The key material and algorithm must match the previous
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
    * key material.
    * 
* @@ -286,19 +294,24 @@ public java.lang.String getCryptoKeyVersion() { * * *
-   * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of an existing
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to target for an import operation.
-   * If this field is not present, a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
+   * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of
+   * an existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
+   * target for an import operation. If this field is not present, a new
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
    * supplied key material is created.
    * If this field is present, the supplied key material is imported into
-   * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To import into an existing
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
-   * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent], have been previously created via
-   * [ImportCryptoKeyVersion][], and be in
-   * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED] or
+   * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To
+   * import into an existing
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
+   * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent],
+   * have been previously created via [ImportCryptoKeyVersion][], and be in
+   * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]
+   * or
    * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]
    * state. The key material and algorithm must match the previous
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
    * key material.
    * 
* @@ -327,10 +340,11 @@ public com.google.protobuf.ByteString getCryptoKeyVersionBytes() { * * *
-   * Required. The [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] of
-   * the key being imported. This does not need to match the
-   * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this
-   * version imports into.
+   * Required. The
+   * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * of the key being imported. This does not need to match the
+   * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] this version imports into.
    * 
* * @@ -347,10 +361,11 @@ public int getAlgorithmValue() { * * *
-   * Required. The [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] of
-   * the key being imported. This does not need to match the
-   * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this
-   * version imports into.
+   * Required. The
+   * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * of the key being imported. This does not need to match the
+   * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] this version imports into.
    * 
* * @@ -375,8 +390,9 @@ public com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm getAlg * * *
-   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to
-   * wrap this key material.
+   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob] that was used to wrap this key
+   * material.
    * 
* * string import_job = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -399,8 +415,9 @@ public java.lang.String getImportJob() { * * *
-   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to
-   * wrap this key material.
+   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob] that was used to wrap this key
+   * material.
    * 
* * string import_job = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -432,8 +449,9 @@ public com.google.protobuf.ByteString getImportJobBytes() { * This field contains the concatenation of two wrapped keys: * <ol> * <li>An ephemeral AES-256 wrapping key wrapped with the - * [public_key][google.cloud.kms.v1.ImportJob.public_key] using RSAES-OAEP with SHA-1, - * MGF1 with SHA-1, and an empty label. + * [public_key][google.cloud.kms.v1.ImportJob.public_key] using + * RSAES-OAEP with SHA-1/SHA-256, MGF1 with SHA-1/SHA-256, and an + * empty label. * </li> * <li>The key to be imported, wrapped with the ephemeral AES-256 key * using AES-KWP (RFC 5649). @@ -466,8 +484,9 @@ public boolean hasRsaAesWrappedKey() { * This field contains the concatenation of two wrapped keys: * <ol> * <li>An ephemeral AES-256 wrapping key wrapped with the - * [public_key][google.cloud.kms.v1.ImportJob.public_key] using RSAES-OAEP with SHA-1, - * MGF1 with SHA-1, and an empty label. + * [public_key][google.cloud.kms.v1.ImportJob.public_key] using + * RSAES-OAEP with SHA-1/SHA-256, MGF1 with SHA-1/SHA-256, and an + * empty label. * </li> * <li>The key to be imported, wrapped with the ephemeral AES-256 key * using AES-KWP (RFC 5649). @@ -714,7 +733,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion].
+   * Request message for
+   * [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion].
    * 
* * Protobuf type {@code google.cloud.kms.v1.ImportCryptoKeyVersionRequest} @@ -925,7 +945,8 @@ public Builder clearWrappedKeyMaterial() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
      * The create permission is only required on this key when creating a new
      * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
@@ -951,7 +972,8 @@ public java.lang.String getParent() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
      * The create permission is only required on this key when creating a new
      * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
@@ -977,7 +999,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
      * The create permission is only required on this key when creating a new
      * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
@@ -1002,7 +1025,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
      * The create permission is only required on this key when creating a new
      * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
@@ -1023,7 +1047,8 @@ public Builder clearParent() { * * *
-     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
+     * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
      * The create permission is only required on this key when creating a new
      * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
      * 
@@ -1051,19 +1076,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of an existing
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to target for an import operation.
-     * If this field is not present, a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
+     * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of
+     * an existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
+     * target for an import operation. If this field is not present, a new
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
      * supplied key material is created.
      * If this field is present, the supplied key material is imported into
-     * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To import into an existing
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
-     * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent], have been previously created via
-     * [ImportCryptoKeyVersion][], and be in
-     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED] or
+     * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To
+     * import into an existing
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
+     * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent],
+     * have been previously created via [ImportCryptoKeyVersion][], and be in
+     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]
+     * or
      * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]
      * state. The key material and algorithm must match the previous
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
      * key material.
      * 
* @@ -1088,19 +1118,24 @@ public java.lang.String getCryptoKeyVersion() { * * *
-     * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of an existing
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to target for an import operation.
-     * If this field is not present, a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
+     * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of
+     * an existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
+     * target for an import operation. If this field is not present, a new
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
      * supplied key material is created.
      * If this field is present, the supplied key material is imported into
-     * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To import into an existing
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
-     * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent], have been previously created via
-     * [ImportCryptoKeyVersion][], and be in
-     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED] or
+     * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To
+     * import into an existing
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
+     * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent],
+     * have been previously created via [ImportCryptoKeyVersion][], and be in
+     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]
+     * or
      * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]
      * state. The key material and algorithm must match the previous
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
      * key material.
      * 
* @@ -1125,19 +1160,24 @@ public com.google.protobuf.ByteString getCryptoKeyVersionBytes() { * * *
-     * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of an existing
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to target for an import operation.
-     * If this field is not present, a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
+     * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of
+     * an existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
+     * target for an import operation. If this field is not present, a new
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
      * supplied key material is created.
      * If this field is present, the supplied key material is imported into
-     * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To import into an existing
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
-     * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent], have been previously created via
-     * [ImportCryptoKeyVersion][], and be in
-     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED] or
+     * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To
+     * import into an existing
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
+     * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent],
+     * have been previously created via [ImportCryptoKeyVersion][], and be in
+     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]
+     * or
      * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]
      * state. The key material and algorithm must match the previous
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
      * key material.
      * 
* @@ -1161,19 +1201,24 @@ public Builder setCryptoKeyVersion(java.lang.String value) { * * *
-     * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of an existing
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to target for an import operation.
-     * If this field is not present, a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
+     * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of
+     * an existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
+     * target for an import operation. If this field is not present, a new
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
      * supplied key material is created.
      * If this field is present, the supplied key material is imported into
-     * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To import into an existing
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
-     * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent], have been previously created via
-     * [ImportCryptoKeyVersion][], and be in
-     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED] or
+     * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To
+     * import into an existing
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
+     * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent],
+     * have been previously created via [ImportCryptoKeyVersion][], and be in
+     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]
+     * or
      * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]
      * state. The key material and algorithm must match the previous
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
      * key material.
      * 
* @@ -1193,19 +1238,24 @@ public Builder clearCryptoKeyVersion() { * * *
-     * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of an existing
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to target for an import operation.
-     * If this field is not present, a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
+     * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of
+     * an existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
+     * target for an import operation. If this field is not present, a new
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
      * supplied key material is created.
      * If this field is present, the supplied key material is imported into
-     * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To import into an existing
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
-     * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent], have been previously created via
-     * [ImportCryptoKeyVersion][], and be in
-     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED] or
+     * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To
+     * import into an existing
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
+     * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent],
+     * have been previously created via [ImportCryptoKeyVersion][], and be in
+     * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]
+     * or
      * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]
      * state. The key material and algorithm must match the previous
-     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
      * key material.
      * 
* @@ -1232,10 +1282,11 @@ public Builder setCryptoKeyVersionBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] of
-     * the key being imported. This does not need to match the
-     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this
-     * version imports into.
+     * Required. The
+     * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * of the key being imported. This does not need to match the
+     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] this version imports into.
      * 
* * @@ -1252,10 +1303,11 @@ public int getAlgorithmValue() { * * *
-     * Required. The [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] of
-     * the key being imported. This does not need to match the
-     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this
-     * version imports into.
+     * Required. The
+     * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * of the key being imported. This does not need to match the
+     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] this version imports into.
      * 
* * @@ -1275,10 +1327,11 @@ public Builder setAlgorithmValue(int value) { * * *
-     * Required. The [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] of
-     * the key being imported. This does not need to match the
-     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this
-     * version imports into.
+     * Required. The
+     * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * of the key being imported. This does not need to match the
+     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] this version imports into.
      * 
* * @@ -1300,10 +1353,11 @@ public com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm getAlg * * *
-     * Required. The [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] of
-     * the key being imported. This does not need to match the
-     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this
-     * version imports into.
+     * Required. The
+     * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * of the key being imported. This does not need to match the
+     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] this version imports into.
      * 
* * @@ -1327,10 +1381,11 @@ public Builder setAlgorithm( * * *
-     * Required. The [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] of
-     * the key being imported. This does not need to match the
-     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this
-     * version imports into.
+     * Required. The
+     * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * of the key being imported. This does not need to match the
+     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] this version imports into.
      * 
* * @@ -1351,8 +1406,9 @@ public Builder clearAlgorithm() { * * *
-     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to
-     * wrap this key material.
+     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob] that was used to wrap this key
+     * material.
      * 
* * string import_job = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -1374,8 +1430,9 @@ public java.lang.String getImportJob() { * * *
-     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to
-     * wrap this key material.
+     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob] that was used to wrap this key
+     * material.
      * 
* * string import_job = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -1397,8 +1454,9 @@ public com.google.protobuf.ByteString getImportJobBytes() { * * *
-     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to
-     * wrap this key material.
+     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob] that was used to wrap this key
+     * material.
      * 
* * string import_job = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -1419,8 +1477,9 @@ public Builder setImportJob(java.lang.String value) { * * *
-     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to
-     * wrap this key material.
+     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob] that was used to wrap this key
+     * material.
      * 
* * string import_job = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -1437,8 +1496,9 @@ public Builder clearImportJob() { * * *
-     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to
-     * wrap this key material.
+     * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob] that was used to wrap this key
+     * material.
      * 
* * string import_job = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -1468,8 +1528,9 @@ public Builder setImportJobBytes(com.google.protobuf.ByteString value) { * This field contains the concatenation of two wrapped keys: * <ol> * <li>An ephemeral AES-256 wrapping key wrapped with the - * [public_key][google.cloud.kms.v1.ImportJob.public_key] using RSAES-OAEP with SHA-1, - * MGF1 with SHA-1, and an empty label. + * [public_key][google.cloud.kms.v1.ImportJob.public_key] using + * RSAES-OAEP with SHA-1/SHA-256, MGF1 with SHA-1/SHA-256, and an + * empty label. * </li> * <li>The key to be imported, wrapped with the ephemeral AES-256 key * using AES-KWP (RFC 5649). @@ -1501,8 +1562,9 @@ public boolean hasRsaAesWrappedKey() { * This field contains the concatenation of two wrapped keys: * <ol> * <li>An ephemeral AES-256 wrapping key wrapped with the - * [public_key][google.cloud.kms.v1.ImportJob.public_key] using RSAES-OAEP with SHA-1, - * MGF1 with SHA-1, and an empty label. + * [public_key][google.cloud.kms.v1.ImportJob.public_key] using + * RSAES-OAEP with SHA-1/SHA-256, MGF1 with SHA-1/SHA-256, and an + * empty label. * </li> * <li>The key to be imported, wrapped with the ephemeral AES-256 key * using AES-KWP (RFC 5649). @@ -1537,8 +1599,9 @@ public com.google.protobuf.ByteString getRsaAesWrappedKey() { * This field contains the concatenation of two wrapped keys: * <ol> * <li>An ephemeral AES-256 wrapping key wrapped with the - * [public_key][google.cloud.kms.v1.ImportJob.public_key] using RSAES-OAEP with SHA-1, - * MGF1 with SHA-1, and an empty label. + * [public_key][google.cloud.kms.v1.ImportJob.public_key] using + * RSAES-OAEP with SHA-1/SHA-256, MGF1 with SHA-1/SHA-256, and an + * empty label. * </li> * <li>The key to be imported, wrapped with the ephemeral AES-256 key * using AES-KWP (RFC 5649). @@ -1577,8 +1640,9 @@ public Builder setRsaAesWrappedKey(com.google.protobuf.ByteString value) { * This field contains the concatenation of two wrapped keys: * <ol> * <li>An ephemeral AES-256 wrapping key wrapped with the - * [public_key][google.cloud.kms.v1.ImportJob.public_key] using RSAES-OAEP with SHA-1, - * MGF1 with SHA-1, and an empty label. + * [public_key][google.cloud.kms.v1.ImportJob.public_key] using + * RSAES-OAEP with SHA-1/SHA-256, MGF1 with SHA-1/SHA-256, and an + * empty label. * </li> * <li>The key to be imported, wrapped with the ephemeral AES-256 key * using AES-KWP (RFC 5649). diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportCryptoKeyVersionRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportCryptoKeyVersionRequestOrBuilder.java index 8023d6fc..1fe02156 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportCryptoKeyVersionRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportCryptoKeyVersionRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface ImportCryptoKeyVersionRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
+   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
    * The create permission is only required on this key when creating a new
    * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
    * 
@@ -43,7 +44,8 @@ public interface ImportCryptoKeyVersionRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
+   * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
    * The create permission is only required on this key when creating a new
    * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
    * 
@@ -60,19 +62,24 @@ public interface ImportCryptoKeyVersionRequestOrBuilder * * *
-   * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of an existing
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to target for an import operation.
-   * If this field is not present, a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
+   * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of
+   * an existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
+   * target for an import operation. If this field is not present, a new
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
    * supplied key material is created.
    * If this field is present, the supplied key material is imported into
-   * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To import into an existing
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
-   * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent], have been previously created via
-   * [ImportCryptoKeyVersion][], and be in
-   * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED] or
+   * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To
+   * import into an existing
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
+   * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent],
+   * have been previously created via [ImportCryptoKeyVersion][], and be in
+   * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]
+   * or
    * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]
    * state. The key material and algorithm must match the previous
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
    * key material.
    * 
* @@ -87,19 +94,24 @@ public interface ImportCryptoKeyVersionRequestOrBuilder * * *
-   * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of an existing
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to target for an import operation.
-   * If this field is not present, a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
+   * Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of
+   * an existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
+   * target for an import operation. If this field is not present, a new
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the
    * supplied key material is created.
    * If this field is present, the supplied key material is imported into
-   * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To import into an existing
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
-   * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent], have been previously created via
-   * [ImportCryptoKeyVersion][], and be in
-   * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED] or
+   * the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To
+   * import into an existing
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of
+   * [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent],
+   * have been previously created via [ImportCryptoKeyVersion][], and be in
+   * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]
+   * or
    * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]
    * state. The key material and algorithm must match the previous
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained
    * key material.
    * 
* @@ -115,10 +127,11 @@ public interface ImportCryptoKeyVersionRequestOrBuilder * * *
-   * Required. The [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] of
-   * the key being imported. This does not need to match the
-   * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this
-   * version imports into.
+   * Required. The
+   * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * of the key being imported. This does not need to match the
+   * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] this version imports into.
    * 
* * @@ -132,10 +145,11 @@ public interface ImportCryptoKeyVersionRequestOrBuilder * * *
-   * Required. The [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] of
-   * the key being imported. This does not need to match the
-   * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this
-   * version imports into.
+   * Required. The
+   * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * of the key being imported. This does not need to match the
+   * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] this version imports into.
    * 
* * @@ -150,8 +164,9 @@ public interface ImportCryptoKeyVersionRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to
-   * wrap this key material.
+   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob] that was used to wrap this key
+   * material.
    * 
* * string import_job = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -163,8 +178,9 @@ public interface ImportCryptoKeyVersionRequestOrBuilder * * *
-   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to
-   * wrap this key material.
+   * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob] that was used to wrap this key
+   * material.
    * 
* * string import_job = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -184,8 +200,9 @@ public interface ImportCryptoKeyVersionRequestOrBuilder * This field contains the concatenation of two wrapped keys: * <ol> * <li>An ephemeral AES-256 wrapping key wrapped with the - * [public_key][google.cloud.kms.v1.ImportJob.public_key] using RSAES-OAEP with SHA-1, - * MGF1 with SHA-1, and an empty label. + * [public_key][google.cloud.kms.v1.ImportJob.public_key] using + * RSAES-OAEP with SHA-1/SHA-256, MGF1 with SHA-1/SHA-256, and an + * empty label. * </li> * <li>The key to be imported, wrapped with the ephemeral AES-256 key * using AES-KWP (RFC 5649). @@ -215,8 +232,9 @@ public interface ImportCryptoKeyVersionRequestOrBuilder * This field contains the concatenation of two wrapped keys: * <ol> * <li>An ephemeral AES-256 wrapping key wrapped with the - * [public_key][google.cloud.kms.v1.ImportJob.public_key] using RSAES-OAEP with SHA-1, - * MGF1 with SHA-1, and an empty label. + * [public_key][google.cloud.kms.v1.ImportJob.public_key] using + * RSAES-OAEP with SHA-1/SHA-256, MGF1 with SHA-1/SHA-256, and an + * empty label. * </li> * <li>The key to be imported, wrapped with the ephemeral AES-256 key * using AES-KWP (RFC 5649). diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportJob.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportJob.java index 881a4ceb..a5600f09 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportJob.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportJob.java @@ -22,27 +22,33 @@ * * *
- * An [ImportJob][google.cloud.kms.v1.ImportJob] can be used to create [CryptoKeys][google.cloud.kms.v1.CryptoKey] and
- * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] using pre-existing key material,
- * generated outside of Cloud KMS.
- * When an [ImportJob][google.cloud.kms.v1.ImportJob] is created, Cloud KMS will generate a "wrapping key",
- * which is a public/private key pair. You use the wrapping key to encrypt (also
- * known as wrap) the pre-existing key material to protect it during the import
- * process. The nature of the wrapping key depends on the choice of
- * [import_method][google.cloud.kms.v1.ImportJob.import_method]. When the wrapping key generation
- * is complete, the [state][google.cloud.kms.v1.ImportJob.state] will be set to
- * [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] and the [public_key][google.cloud.kms.v1.ImportJob.public_key]
- * can be fetched. The fetched public key can then be used to wrap your
- * pre-existing key material.
+ * An [ImportJob][google.cloud.kms.v1.ImportJob] can be used to create
+ * [CryptoKeys][google.cloud.kms.v1.CryptoKey] and
+ * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] using pre-existing
+ * key material, generated outside of Cloud KMS.
+ * When an [ImportJob][google.cloud.kms.v1.ImportJob] is created, Cloud KMS will
+ * generate a "wrapping key", which is a public/private key pair. You use the
+ * wrapping key to encrypt (also known as wrap) the pre-existing key material to
+ * protect it during the import process. The nature of the wrapping key depends
+ * on the choice of
+ * [import_method][google.cloud.kms.v1.ImportJob.import_method]. When the
+ * wrapping key generation is complete, the
+ * [state][google.cloud.kms.v1.ImportJob.state] will be set to
+ * [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] and the
+ * [public_key][google.cloud.kms.v1.ImportJob.public_key] can be fetched. The
+ * fetched public key can then be used to wrap your pre-existing key material.
  * Once the key material is wrapped, it can be imported into a new
- * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in an existing [CryptoKey][google.cloud.kms.v1.CryptoKey] by calling
+ * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in an existing
+ * [CryptoKey][google.cloud.kms.v1.CryptoKey] by calling
  * [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion].
- * Multiple [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can be imported with a single
- * [ImportJob][google.cloud.kms.v1.ImportJob]. Cloud KMS uses the private key portion of the wrapping key to
- * unwrap the key material. Only Cloud KMS has access to the private key.
- * An [ImportJob][google.cloud.kms.v1.ImportJob] expires 3 days after it is created. Once expired, Cloud KMS
- * will no longer be able to import or unwrap any key material that was wrapped
- * with the [ImportJob][google.cloud.kms.v1.ImportJob]'s public key.
+ * Multiple [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can be
+ * imported with a single [ImportJob][google.cloud.kms.v1.ImportJob]. Cloud KMS
+ * uses the private key portion of the wrapping key to unwrap the key material.
+ * Only Cloud KMS has access to the private key.
+ * An [ImportJob][google.cloud.kms.v1.ImportJob] expires 3 days after it is
+ * created. Once expired, Cloud KMS will no longer be able to import or unwrap
+ * any key material that was wrapped with the
+ * [ImportJob][google.cloud.kms.v1.ImportJob]'s public key.
  * For more information, see
  * [Importing a key](https://cloud.google.com/kms/docs/importing-a-key).
  * 
@@ -254,7 +260,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] describes the key wrapping method chosen for this
+   * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] describes the
+   * key wrapping method chosen for this
    * [ImportJob][google.cloud.kms.v1.ImportJob].
    * 
* @@ -432,7 +439,8 @@ private ImportMethod(int value) { * * *
-   * The state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used.
+   * The state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if
+   * it can be used.
    * 
* * Protobuf enum {@code google.cloud.kms.v1.ImportJob.ImportJobState} @@ -454,7 +462,8 @@ public enum ImportJobState implements com.google.protobuf.ProtocolMessageEnum { *
      * The wrapping key for this job is still being generated. It may not be
      * used. Cloud KMS will automatically mark this job as
-     * [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] as soon as the wrapping key is generated.
+     * [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] as soon as
+     * the wrapping key is generated.
      * 
* * PENDING_GENERATION = 1; @@ -465,7 +474,8 @@ public enum ImportJobState implements com.google.protobuf.ProtocolMessageEnum { * *
      * This job may be used in
-     * [CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey] and
+     * [CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey]
+     * and
      * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
      * requests.
      * 
@@ -502,7 +512,8 @@ public enum ImportJobState implements com.google.protobuf.ProtocolMessageEnum { *
      * The wrapping key for this job is still being generated. It may not be
      * used. Cloud KMS will automatically mark this job as
-     * [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] as soon as the wrapping key is generated.
+     * [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] as soon as
+     * the wrapping key is generated.
      * 
* * PENDING_GENERATION = 1; @@ -513,7 +524,8 @@ public enum ImportJobState implements com.google.protobuf.ProtocolMessageEnum { * *
      * This job may be used in
-     * [CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey] and
+     * [CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey]
+     * and
      * [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
      * requests.
      * 
@@ -660,7 +672,8 @@ public interface WrappingPublicKeyOrBuilder * *
    * The public key component of the wrapping key. For details of the type of
-   * key this public key corresponds to, see the [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod].
+   * key this public key corresponds to, see the
+   * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod].
    * 
* * Protobuf type {@code google.cloud.kms.v1.ImportJob.WrappingPublicKey} @@ -972,7 +985,8 @@ protected Builder newBuilderForType( * *
      * The public key component of the wrapping key. For details of the type of
-     * key this public key corresponds to, see the [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod].
+     * key this public key corresponds to, see the
+     * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod].
      * 
* * Protobuf type {@code google.cloud.kms.v1.ImportJob.WrappingPublicKey} @@ -1314,7 +1328,8 @@ public com.google.cloud.kms.v1.ImportJob.WrappingPublicKey getDefaultInstanceFor * * *
-   * Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format
+   * Output only. The resource name for this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] in the format
    * `projects/*/locations/*/keyRings/*/importJobs/*`.
    * 
* @@ -1338,7 +1353,8 @@ public java.lang.String getName() { * * *
-   * Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format
+   * Output only. The resource name for this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] in the format
    * `projects/*/locations/*/keyRings/*/importJobs/*`.
    * 
* @@ -1365,7 +1381,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. Immutable. The wrapping method to be used for incoming key material.
+   * Required. Immutable. The wrapping method to be used for incoming key
+   * material.
    * 
* * @@ -1382,7 +1399,8 @@ public int getImportMethodValue() { * * *
-   * Required. Immutable. The wrapping method to be used for incoming key material.
+   * Required. Immutable. The wrapping method to be used for incoming key
+   * material.
    * 
* * @@ -1405,10 +1423,12 @@ public com.google.cloud.kms.v1.ImportJob.ImportMethod getImportMethod() { * * *
-   * Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
-   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the
-   * [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you
-   * attempt to import into.
+   * Required. Immutable. The protection level of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
+   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
+   * of the [version_template][google.cloud.kms.v1.CryptoKey.version_template]
+   * on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you attempt to import
+   * into.
    * 
* * @@ -1425,10 +1445,12 @@ public int getProtectionLevelValue() { * * *
-   * Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
-   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the
-   * [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you
-   * attempt to import into.
+   * Required. Immutable. The protection level of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
+   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
+   * of the [version_template][google.cloud.kms.v1.CryptoKey.version_template]
+   * on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you attempt to import
+   * into.
    * 
* * @@ -1451,7 +1473,8 @@ public com.google.cloud.kms.v1.ProtectionLevel getProtectionLevel() { * * *
-   * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+   * Output only. The time at which this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
    * 
* * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1467,7 +1490,8 @@ public boolean hasCreateTime() { * * *
-   * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+   * Output only. The time at which this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
    * 
* * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1483,7 +1507,8 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-   * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+   * Output only. The time at which this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
    * 
* * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1500,7 +1525,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+   * material was generated.
    * 
* * @@ -1517,7 +1543,8 @@ public boolean hasGenerateTime() { * * *
-   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+   * material was generated.
    * 
* * @@ -1536,7 +1563,8 @@ public com.google.protobuf.Timestamp getGenerateTime() { * * *
-   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+   * material was generated.
    * 
* * @@ -1554,8 +1582,9 @@ public com.google.protobuf.TimestampOrBuilder getGenerateTimeOrBuilder() { * * *
-   * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-   * expiration and can no longer be used to import key material.
+   * Output only. The time at which this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+   * can no longer be used to import key material.
    * 
* * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1571,8 +1600,9 @@ public boolean hasExpireTime() { * * *
-   * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-   * expiration and can no longer be used to import key material.
+   * Output only. The time at which this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+   * can no longer be used to import key material.
    * 
* * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1588,8 +1618,9 @@ public com.google.protobuf.Timestamp getExpireTime() { * * *
-   * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-   * expiration and can no longer be used to import key material.
+   * Output only. The time at which this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+   * can no longer be used to import key material.
    * 
* * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1606,8 +1637,9 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { * * *
-   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-   * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+   * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+   * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
    * 
* * @@ -1624,8 +1656,9 @@ public boolean hasExpireEventTime() { * * *
-   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-   * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+   * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+   * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
    * 
* * @@ -1644,8 +1677,9 @@ public com.google.protobuf.Timestamp getExpireEventTime() { * * *
-   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-   * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+   * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+   * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
    * 
* * @@ -1663,8 +1697,8 @@ public com.google.protobuf.TimestampOrBuilder getExpireEventTimeOrBuilder() { * * *
-   * Output only. The current state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can
-   * be used.
+   * Output only. The current state of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used.
    * 
* * @@ -1681,8 +1715,8 @@ public int getStateValue() { * * *
-   * Output only. The current state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can
-   * be used.
+   * Output only. The current state of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used.
    * 
* * @@ -1768,8 +1802,9 @@ public com.google.cloud.kms.v1.ImportJob.WrappingPublicKeyOrBuilder getPublicKey * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -1789,8 +1824,9 @@ public boolean hasAttestation() { * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -1812,8 +1848,9 @@ public com.google.cloud.kms.v1.KeyOperationAttestation getAttestation() { * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -2105,27 +2142,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * An [ImportJob][google.cloud.kms.v1.ImportJob] can be used to create [CryptoKeys][google.cloud.kms.v1.CryptoKey] and
-   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] using pre-existing key material,
-   * generated outside of Cloud KMS.
-   * When an [ImportJob][google.cloud.kms.v1.ImportJob] is created, Cloud KMS will generate a "wrapping key",
-   * which is a public/private key pair. You use the wrapping key to encrypt (also
-   * known as wrap) the pre-existing key material to protect it during the import
-   * process. The nature of the wrapping key depends on the choice of
-   * [import_method][google.cloud.kms.v1.ImportJob.import_method]. When the wrapping key generation
-   * is complete, the [state][google.cloud.kms.v1.ImportJob.state] will be set to
-   * [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] and the [public_key][google.cloud.kms.v1.ImportJob.public_key]
-   * can be fetched. The fetched public key can then be used to wrap your
-   * pre-existing key material.
+   * An [ImportJob][google.cloud.kms.v1.ImportJob] can be used to create
+   * [CryptoKeys][google.cloud.kms.v1.CryptoKey] and
+   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] using pre-existing
+   * key material, generated outside of Cloud KMS.
+   * When an [ImportJob][google.cloud.kms.v1.ImportJob] is created, Cloud KMS will
+   * generate a "wrapping key", which is a public/private key pair. You use the
+   * wrapping key to encrypt (also known as wrap) the pre-existing key material to
+   * protect it during the import process. The nature of the wrapping key depends
+   * on the choice of
+   * [import_method][google.cloud.kms.v1.ImportJob.import_method]. When the
+   * wrapping key generation is complete, the
+   * [state][google.cloud.kms.v1.ImportJob.state] will be set to
+   * [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] and the
+   * [public_key][google.cloud.kms.v1.ImportJob.public_key] can be fetched. The
+   * fetched public key can then be used to wrap your pre-existing key material.
    * Once the key material is wrapped, it can be imported into a new
-   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in an existing [CryptoKey][google.cloud.kms.v1.CryptoKey] by calling
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in an existing
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] by calling
    * [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion].
-   * Multiple [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can be imported with a single
-   * [ImportJob][google.cloud.kms.v1.ImportJob]. Cloud KMS uses the private key portion of the wrapping key to
-   * unwrap the key material. Only Cloud KMS has access to the private key.
-   * An [ImportJob][google.cloud.kms.v1.ImportJob] expires 3 days after it is created. Once expired, Cloud KMS
-   * will no longer be able to import or unwrap any key material that was wrapped
-   * with the [ImportJob][google.cloud.kms.v1.ImportJob]'s public key.
+   * Multiple [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can be
+   * imported with a single [ImportJob][google.cloud.kms.v1.ImportJob]. Cloud KMS
+   * uses the private key portion of the wrapping key to unwrap the key material.
+   * Only Cloud KMS has access to the private key.
+   * An [ImportJob][google.cloud.kms.v1.ImportJob] expires 3 days after it is
+   * created. Once expired, Cloud KMS will no longer be able to import or unwrap
+   * any key material that was wrapped with the
+   * [ImportJob][google.cloud.kms.v1.ImportJob]'s public key.
    * For more information, see
    * [Importing a key](https://cloud.google.com/kms/docs/importing-a-key).
    * 
@@ -2386,7 +2429,8 @@ public Builder mergeFrom( * * *
-     * Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format
+     * Output only. The resource name for this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] in the format
      * `projects/*/locations/*/keyRings/*/importJobs/*`.
      * 
* @@ -2409,7 +2453,8 @@ public java.lang.String getName() { * * *
-     * Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format
+     * Output only. The resource name for this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] in the format
      * `projects/*/locations/*/keyRings/*/importJobs/*`.
      * 
* @@ -2432,7 +2477,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format
+     * Output only. The resource name for this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] in the format
      * `projects/*/locations/*/keyRings/*/importJobs/*`.
      * 
* @@ -2454,7 +2500,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format
+     * Output only. The resource name for this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] in the format
      * `projects/*/locations/*/keyRings/*/importJobs/*`.
      * 
* @@ -2472,7 +2519,8 @@ public Builder clearName() { * * *
-     * Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format
+     * Output only. The resource name for this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] in the format
      * `projects/*/locations/*/keyRings/*/importJobs/*`.
      * 
* @@ -2497,7 +2545,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Immutable. The wrapping method to be used for incoming key material.
+     * Required. Immutable. The wrapping method to be used for incoming key
+     * material.
      * 
* * @@ -2514,7 +2563,8 @@ public int getImportMethodValue() { * * *
-     * Required. Immutable. The wrapping method to be used for incoming key material.
+     * Required. Immutable. The wrapping method to be used for incoming key
+     * material.
      * 
* * @@ -2534,7 +2584,8 @@ public Builder setImportMethodValue(int value) { * * *
-     * Required. Immutable. The wrapping method to be used for incoming key material.
+     * Required. Immutable. The wrapping method to be used for incoming key
+     * material.
      * 
* * @@ -2554,7 +2605,8 @@ public com.google.cloud.kms.v1.ImportJob.ImportMethod getImportMethod() { * * *
-     * Required. Immutable. The wrapping method to be used for incoming key material.
+     * Required. Immutable. The wrapping method to be used for incoming key
+     * material.
      * 
* * @@ -2577,7 +2629,8 @@ public Builder setImportMethod(com.google.cloud.kms.v1.ImportJob.ImportMethod va * * *
-     * Required. Immutable. The wrapping method to be used for incoming key material.
+     * Required. Immutable. The wrapping method to be used for incoming key
+     * material.
      * 
* * @@ -2598,10 +2651,12 @@ public Builder clearImportMethod() { * * *
-     * Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
-     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the
-     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you
-     * attempt to import into.
+     * Required. Immutable. The protection level of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
+     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
+     * of the [version_template][google.cloud.kms.v1.CryptoKey.version_template]
+     * on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you attempt to import
+     * into.
      * 
* * @@ -2618,10 +2673,12 @@ public int getProtectionLevelValue() { * * *
-     * Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
-     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the
-     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you
-     * attempt to import into.
+     * Required. Immutable. The protection level of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
+     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
+     * of the [version_template][google.cloud.kms.v1.CryptoKey.version_template]
+     * on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you attempt to import
+     * into.
      * 
* * @@ -2641,10 +2698,12 @@ public Builder setProtectionLevelValue(int value) { * * *
-     * Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
-     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the
-     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you
-     * attempt to import into.
+     * Required. Immutable. The protection level of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
+     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
+     * of the [version_template][google.cloud.kms.v1.CryptoKey.version_template]
+     * on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you attempt to import
+     * into.
      * 
* * @@ -2664,10 +2723,12 @@ public com.google.cloud.kms.v1.ProtectionLevel getProtectionLevel() { * * *
-     * Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
-     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the
-     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you
-     * attempt to import into.
+     * Required. Immutable. The protection level of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
+     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
+     * of the [version_template][google.cloud.kms.v1.CryptoKey.version_template]
+     * on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you attempt to import
+     * into.
      * 
* * @@ -2690,10 +2751,12 @@ public Builder setProtectionLevel(com.google.cloud.kms.v1.ProtectionLevel value) * * *
-     * Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
-     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the
-     * [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you
-     * attempt to import into.
+     * Required. Immutable. The protection level of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
+     * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
+     * of the [version_template][google.cloud.kms.v1.CryptoKey.version_template]
+     * on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you attempt to import
+     * into.
      * 
* * @@ -2719,7 +2782,8 @@ public Builder clearProtectionLevel() { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
      * 
* * @@ -2735,7 +2799,8 @@ public boolean hasCreateTime() { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
      * 
* * @@ -2757,7 +2822,8 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
      * 
* * @@ -2781,7 +2847,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
      * 
* * @@ -2802,7 +2869,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
      * 
* * @@ -2828,7 +2896,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
      * 
* * @@ -2850,7 +2919,8 @@ public Builder clearCreateTime() { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
      * 
* * @@ -2866,7 +2936,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
      * 
* * @@ -2886,7 +2957,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
      * 
* * @@ -2920,7 +2992,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+     * material was generated.
      * 
* * @@ -2936,7 +3009,8 @@ public boolean hasGenerateTime() { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+     * material was generated.
      * 
* * @@ -2958,7 +3032,8 @@ public com.google.protobuf.Timestamp getGenerateTime() { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+     * material was generated.
      * 
* * @@ -2982,7 +3057,8 @@ public Builder setGenerateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+     * material was generated.
      * 
* * @@ -3003,7 +3079,8 @@ public Builder setGenerateTime(com.google.protobuf.Timestamp.Builder builderForV * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+     * material was generated.
      * 
* * @@ -3031,7 +3108,8 @@ public Builder mergeGenerateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+     * material was generated.
      * 
* * @@ -3053,7 +3131,8 @@ public Builder clearGenerateTime() { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+     * material was generated.
      * 
* * @@ -3069,7 +3148,8 @@ public com.google.protobuf.Timestamp.Builder getGenerateTimeBuilder() { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+     * material was generated.
      * 
* * @@ -3089,7 +3169,8 @@ public com.google.protobuf.TimestampOrBuilder getGenerateTimeOrBuilder() { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+     * material was generated.
      * 
* * @@ -3123,8 +3204,9 @@ public com.google.protobuf.TimestampOrBuilder getGenerateTimeOrBuilder() { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-     * expiration and can no longer be used to import key material.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+     * can no longer be used to import key material.
      * 
* * @@ -3140,8 +3222,9 @@ public boolean hasExpireTime() { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-     * expiration and can no longer be used to import key material.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+     * can no longer be used to import key material.
      * 
* * @@ -3163,8 +3246,9 @@ public com.google.protobuf.Timestamp getExpireTime() { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-     * expiration and can no longer be used to import key material.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+     * can no longer be used to import key material.
      * 
* * @@ -3188,8 +3272,9 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-     * expiration and can no longer be used to import key material.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+     * can no longer be used to import key material.
      * 
* * @@ -3210,8 +3295,9 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-     * expiration and can no longer be used to import key material.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+     * can no longer be used to import key material.
      * 
* * @@ -3237,8 +3323,9 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-     * expiration and can no longer be used to import key material.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+     * can no longer be used to import key material.
      * 
* * @@ -3260,8 +3347,9 @@ public Builder clearExpireTime() { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-     * expiration and can no longer be used to import key material.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+     * can no longer be used to import key material.
      * 
* * @@ -3277,8 +3365,9 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-     * expiration and can no longer be used to import key material.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+     * can no longer be used to import key material.
      * 
* * @@ -3298,8 +3387,9 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { * * *
-     * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-     * expiration and can no longer be used to import key material.
+     * Output only. The time at which this
+     * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+     * can no longer be used to import key material.
      * 
* * @@ -3333,8 +3423,9 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-     * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+     * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+     * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
      * 
* * @@ -3350,8 +3441,9 @@ public boolean hasExpireEventTime() { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-     * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+     * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+     * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
      * 
* * @@ -3373,8 +3465,9 @@ public com.google.protobuf.Timestamp getExpireEventTime() { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-     * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+     * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+     * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
      * 
* * @@ -3398,8 +3491,9 @@ public Builder setExpireEventTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-     * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+     * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+     * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
      * 
* * @@ -3420,8 +3514,9 @@ public Builder setExpireEventTime(com.google.protobuf.Timestamp.Builder builderF * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-     * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+     * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+     * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
      * 
* * @@ -3449,8 +3544,9 @@ public Builder mergeExpireEventTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-     * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+     * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+     * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
      * 
* * @@ -3472,8 +3568,9 @@ public Builder clearExpireEventTime() { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-     * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+     * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+     * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
      * 
* * @@ -3489,8 +3586,9 @@ public com.google.protobuf.Timestamp.Builder getExpireEventTimeBuilder() { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-     * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+     * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+     * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
      * 
* * @@ -3510,8 +3608,9 @@ public com.google.protobuf.TimestampOrBuilder getExpireEventTimeOrBuilder() { * * *
-     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-     * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+     * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+     * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+     * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
      * 
* * @@ -3540,8 +3639,8 @@ public com.google.protobuf.TimestampOrBuilder getExpireEventTimeOrBuilder() { * * *
-     * Output only. The current state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can
-     * be used.
+     * Output only. The current state of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used.
      * 
* * @@ -3558,8 +3657,8 @@ public int getStateValue() { * * *
-     * Output only. The current state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can
-     * be used.
+     * Output only. The current state of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used.
      * 
* * @@ -3579,8 +3678,8 @@ public Builder setStateValue(int value) { * * *
-     * Output only. The current state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can
-     * be used.
+     * Output only. The current state of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used.
      * 
* * @@ -3602,8 +3701,8 @@ public com.google.cloud.kms.v1.ImportJob.ImportJobState getState() { * * *
-     * Output only. The current state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can
-     * be used.
+     * Output only. The current state of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used.
      * 
* * @@ -3626,8 +3725,8 @@ public Builder setState(com.google.cloud.kms.v1.ImportJob.ImportJobState value) * * *
-     * Output only. The current state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can
-     * be used.
+     * Output only. The current state of the
+     * [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used.
      * 
* * @@ -3878,8 +3977,9 @@ public com.google.cloud.kms.v1.ImportJob.WrappingPublicKeyOrBuilder getPublicKey * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -3898,8 +3998,9 @@ public boolean hasAttestation() { * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -3924,8 +4025,9 @@ public com.google.cloud.kms.v1.KeyOperationAttestation getAttestation() { * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -3952,8 +4054,9 @@ public Builder setAttestation(com.google.cloud.kms.v1.KeyOperationAttestation va * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -3978,8 +4081,9 @@ public Builder setAttestation( * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -4010,8 +4114,9 @@ public Builder mergeAttestation(com.google.cloud.kms.v1.KeyOperationAttestation * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -4036,8 +4141,9 @@ public Builder clearAttestation() { * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -4056,8 +4162,9 @@ public com.google.cloud.kms.v1.KeyOperationAttestation.Builder getAttestationBui * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -4080,8 +4187,9 @@ public com.google.cloud.kms.v1.KeyOperationAttestationOrBuilder getAttestationOr * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportJobOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportJobOrBuilder.java index 98df6269..94290b9c 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportJobOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportJobOrBuilder.java @@ -27,7 +27,8 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format
+   * Output only. The resource name for this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] in the format
    * `projects/*/locations/*/keyRings/*/importJobs/*`.
    * 
* @@ -40,7 +41,8 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format
+   * Output only. The resource name for this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] in the format
    * `projects/*/locations/*/keyRings/*/importJobs/*`.
    * 
* @@ -54,7 +56,8 @@ public interface ImportJobOrBuilder * * *
-   * Required. Immutable. The wrapping method to be used for incoming key material.
+   * Required. Immutable. The wrapping method to be used for incoming key
+   * material.
    * 
* * @@ -68,7 +71,8 @@ public interface ImportJobOrBuilder * * *
-   * Required. Immutable. The wrapping method to be used for incoming key material.
+   * Required. Immutable. The wrapping method to be used for incoming key
+   * material.
    * 
* * @@ -83,10 +87,12 @@ public interface ImportJobOrBuilder * * *
-   * Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
-   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the
-   * [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you
-   * attempt to import into.
+   * Required. Immutable. The protection level of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
+   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
+   * of the [version_template][google.cloud.kms.v1.CryptoKey.version_template]
+   * on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you attempt to import
+   * into.
    * 
* * @@ -100,10 +106,12 @@ public interface ImportJobOrBuilder * * *
-   * Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
-   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the
-   * [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you
-   * attempt to import into.
+   * Required. Immutable. The protection level of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the
+   * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
+   * of the [version_template][google.cloud.kms.v1.CryptoKey.version_template]
+   * on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you attempt to import
+   * into.
    * 
* * @@ -118,7 +126,8 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+   * Output only. The time at which this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
    * 
* * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -131,7 +140,8 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+   * Output only. The time at which this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
    * 
* * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -144,7 +154,8 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created.
+   * Output only. The time at which this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] was created.
    * 
* * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -156,7 +167,8 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+   * material was generated.
    * 
* * @@ -170,7 +182,8 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+   * material was generated.
    * 
* * @@ -184,7 +197,8 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated.
+   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key
+   * material was generated.
    * 
* * @@ -197,8 +211,9 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-   * expiration and can no longer be used to import key material.
+   * Output only. The time at which this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+   * can no longer be used to import key material.
    * 
* * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -211,8 +226,9 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-   * expiration and can no longer be used to import key material.
+   * Output only. The time at which this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+   * can no longer be used to import key material.
    * 
* * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -225,8 +241,9 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for
-   * expiration and can no longer be used to import key material.
+   * Output only. The time at which this
+   * [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and
+   * can no longer be used to import key material.
    * 
* * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -238,8 +255,9 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-   * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+   * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+   * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
    * 
* * @@ -253,8 +271,9 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-   * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+   * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+   * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
    * 
* * @@ -268,8 +287,9 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if
-   * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
+   * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]
+   * expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is
+   * [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED].
    * 
* * @@ -282,8 +302,8 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The current state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can
-   * be used.
+   * Output only. The current state of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used.
    * 
* * @@ -297,8 +317,8 @@ public interface ImportJobOrBuilder * * *
-   * Output only. The current state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can
-   * be used.
+   * Output only. The current state of the
+   * [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used.
    * 
* * @@ -363,8 +383,9 @@ public interface ImportJobOrBuilder * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -381,8 +402,9 @@ public interface ImportJobOrBuilder * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * @@ -399,8 +421,9 @@ public interface ImportJobOrBuilder * Output only. Statement that was generated and signed by the key creator * (for example, an HSM) at key creation time. Use this statement to verify * attributes of the key as stored on the HSM, independently of Google. - * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + * Only present if the chosen + * [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + * protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * * * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyOperationAttestation.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyOperationAttestation.java index cfa8c0b2..ed16efbc 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyOperationAttestation.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyOperationAttestation.java @@ -83,6 +83,24 @@ private KeyOperationAttestation( case 42: { content_ = input.readBytes(); + break; + } + case 50: + { + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.Builder subBuilder = + null; + if (certChains_ != null) { + subBuilder = certChains_.toBuilder(); + } + certChains_ = + input.readMessage( + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(certChains_); + certChains_ = subBuilder.buildPartial(); + } + break; } default: @@ -197,90 +215,1541 @@ public enum AttestationFormat implements com.google.protobuf.ProtocolMessageEnum */ public static final int CAVIUM_V2_COMPRESSED_VALUE = 4; - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AttestationFormat valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AttestationFormat forNumber(int value) { + switch (value) { + case 0: + return ATTESTATION_FORMAT_UNSPECIFIED; + case 3: + return CAVIUM_V1_COMPRESSED; + case 4: + return CAVIUM_V2_COMPRESSED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AttestationFormat findValueByNumber(int number) { + return AttestationFormat.forNumber(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()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.kms.v1.KeyOperationAttestation.getDescriptor().getEnumTypes().get(0); + } + + private static final AttestationFormat[] VALUES = values(); + + public static AttestationFormat valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private AttestationFormat(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat) + } + + public interface CertificateChainsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.KeyOperationAttestation.CertificateChains) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Cavium certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string cavium_certs = 1; + * + * @return A list containing the caviumCerts. + */ + java.util.List getCaviumCertsList(); + /** + * + * + *
+     * Cavium certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string cavium_certs = 1; + * + * @return The count of caviumCerts. + */ + int getCaviumCertsCount(); + /** + * + * + *
+     * Cavium certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string cavium_certs = 1; + * + * @param index The index of the element to return. + * @return The caviumCerts at the given index. + */ + java.lang.String getCaviumCerts(int index); + /** + * + * + *
+     * Cavium certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string cavium_certs = 1; + * + * @param index The index of the value to return. + * @return The bytes of the caviumCerts at the given index. + */ + com.google.protobuf.ByteString getCaviumCertsBytes(int index); + + /** + * + * + *
+     * Google card certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_card_certs = 2; + * + * @return A list containing the googleCardCerts. + */ + java.util.List getGoogleCardCertsList(); + /** + * + * + *
+     * Google card certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_card_certs = 2; + * + * @return The count of googleCardCerts. + */ + int getGoogleCardCertsCount(); + /** + * + * + *
+     * Google card certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_card_certs = 2; + * + * @param index The index of the element to return. + * @return The googleCardCerts at the given index. + */ + java.lang.String getGoogleCardCerts(int index); + /** + * + * + *
+     * Google card certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_card_certs = 2; + * + * @param index The index of the value to return. + * @return The bytes of the googleCardCerts at the given index. + */ + com.google.protobuf.ByteString getGoogleCardCertsBytes(int index); + + /** + * + * + *
+     * Google partition certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_partition_certs = 3; + * + * @return A list containing the googlePartitionCerts. + */ + java.util.List getGooglePartitionCertsList(); + /** + * + * + *
+     * Google partition certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_partition_certs = 3; + * + * @return The count of googlePartitionCerts. + */ + int getGooglePartitionCertsCount(); + /** + * + * + *
+     * Google partition certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_partition_certs = 3; + * + * @param index The index of the element to return. + * @return The googlePartitionCerts at the given index. + */ + java.lang.String getGooglePartitionCerts(int index); + /** + * + * + *
+     * Google partition certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_partition_certs = 3; + * + * @param index The index of the value to return. + * @return The bytes of the googlePartitionCerts at the given index. + */ + com.google.protobuf.ByteString getGooglePartitionCertsBytes(int index); + } + /** + * + * + *
+   * Certificate chains needed to verify the attestation.
+   * Certificates in chains are PEM-encoded and are ordered based on
+   * https://tools.ietf.org/html/rfc5246#section-7.4.2.
+   * 
+ * + * Protobuf type {@code google.cloud.kms.v1.KeyOperationAttestation.CertificateChains} + */ + public static final class CertificateChains extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.kms.v1.KeyOperationAttestation.CertificateChains) + CertificateChainsOrBuilder { + private static final long serialVersionUID = 0L; + // Use CertificateChains.newBuilder() to construct. + private CertificateChains(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CertificateChains() { + caviumCerts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + googleCardCerts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + googlePartitionCerts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CertificateChains(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CertificateChains( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + caviumCerts_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + caviumCerts_.add(s); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + googleCardCerts_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + googleCardCerts_.add(s); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + googlePartitionCerts_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + googlePartitionCerts_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + caviumCerts_ = caviumCerts_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + googleCardCerts_ = googleCardCerts_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000004) != 0)) { + googlePartitionCerts_ = googlePartitionCerts_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.KmsResourcesProto + .internal_static_google_cloud_kms_v1_KeyOperationAttestation_CertificateChains_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.KmsResourcesProto + .internal_static_google_cloud_kms_v1_KeyOperationAttestation_CertificateChains_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.class, + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.Builder.class); + } + + public static final int CAVIUM_CERTS_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList caviumCerts_; + /** + * + * + *
+     * Cavium certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string cavium_certs = 1; + * + * @return A list containing the caviumCerts. + */ + public com.google.protobuf.ProtocolStringList getCaviumCertsList() { + return caviumCerts_; + } + /** + * + * + *
+     * Cavium certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string cavium_certs = 1; + * + * @return The count of caviumCerts. + */ + public int getCaviumCertsCount() { + return caviumCerts_.size(); + } + /** + * + * + *
+     * Cavium certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string cavium_certs = 1; + * + * @param index The index of the element to return. + * @return The caviumCerts at the given index. + */ + public java.lang.String getCaviumCerts(int index) { + return caviumCerts_.get(index); + } + /** + * + * + *
+     * Cavium certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string cavium_certs = 1; + * + * @param index The index of the value to return. + * @return The bytes of the caviumCerts at the given index. + */ + public com.google.protobuf.ByteString getCaviumCertsBytes(int index) { + return caviumCerts_.getByteString(index); + } + + public static final int GOOGLE_CARD_CERTS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList googleCardCerts_; + /** + * + * + *
+     * Google card certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_card_certs = 2; + * + * @return A list containing the googleCardCerts. + */ + public com.google.protobuf.ProtocolStringList getGoogleCardCertsList() { + return googleCardCerts_; + } + /** + * + * + *
+     * Google card certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_card_certs = 2; + * + * @return The count of googleCardCerts. + */ + public int getGoogleCardCertsCount() { + return googleCardCerts_.size(); + } + /** + * + * + *
+     * Google card certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_card_certs = 2; + * + * @param index The index of the element to return. + * @return The googleCardCerts at the given index. + */ + public java.lang.String getGoogleCardCerts(int index) { + return googleCardCerts_.get(index); + } + /** + * + * + *
+     * Google card certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_card_certs = 2; + * + * @param index The index of the value to return. + * @return The bytes of the googleCardCerts at the given index. + */ + public com.google.protobuf.ByteString getGoogleCardCertsBytes(int index) { + return googleCardCerts_.getByteString(index); + } + + public static final int GOOGLE_PARTITION_CERTS_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList googlePartitionCerts_; + /** + * + * + *
+     * Google partition certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_partition_certs = 3; + * + * @return A list containing the googlePartitionCerts. + */ + public com.google.protobuf.ProtocolStringList getGooglePartitionCertsList() { + return googlePartitionCerts_; + } + /** + * + * + *
+     * Google partition certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_partition_certs = 3; + * + * @return The count of googlePartitionCerts. + */ + public int getGooglePartitionCertsCount() { + return googlePartitionCerts_.size(); + } + /** + * + * + *
+     * Google partition certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_partition_certs = 3; + * + * @param index The index of the element to return. + * @return The googlePartitionCerts at the given index. + */ + public java.lang.String getGooglePartitionCerts(int index) { + return googlePartitionCerts_.get(index); + } + /** + * + * + *
+     * Google partition certificate chain corresponding to the attestation.
+     * 
+ * + * repeated string google_partition_certs = 3; + * + * @param index The index of the value to return. + * @return The bytes of the googlePartitionCerts at the given index. + */ + public com.google.protobuf.ByteString getGooglePartitionCertsBytes(int index) { + return googlePartitionCerts_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < caviumCerts_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, caviumCerts_.getRaw(i)); + } + for (int i = 0; i < googleCardCerts_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, googleCardCerts_.getRaw(i)); + } + for (int i = 0; i < googlePartitionCerts_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, googlePartitionCerts_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < caviumCerts_.size(); i++) { + dataSize += computeStringSizeNoTag(caviumCerts_.getRaw(i)); + } + size += dataSize; + size += 1 * getCaviumCertsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < googleCardCerts_.size(); i++) { + dataSize += computeStringSizeNoTag(googleCardCerts_.getRaw(i)); + } + size += dataSize; + size += 1 * getGoogleCardCertsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < googlePartitionCerts_.size(); i++) { + dataSize += computeStringSizeNoTag(googlePartitionCerts_.getRaw(i)); + } + size += dataSize; + size += 1 * getGooglePartitionCertsList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains)) { + return super.equals(obj); + } + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains other = + (com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains) obj; + + if (!getCaviumCertsList().equals(other.getCaviumCertsList())) return false; + if (!getGoogleCardCertsList().equals(other.getGoogleCardCertsList())) return false; + if (!getGooglePartitionCertsList().equals(other.getGooglePartitionCertsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getCaviumCertsCount() > 0) { + hash = (37 * hash) + CAVIUM_CERTS_FIELD_NUMBER; + hash = (53 * hash) + getCaviumCertsList().hashCode(); + } + if (getGoogleCardCertsCount() > 0) { + hash = (37 * hash) + GOOGLE_CARD_CERTS_FIELD_NUMBER; + hash = (53 * hash) + getGoogleCardCertsList().hashCode(); + } + if (getGooglePartitionCertsCount() > 0) { + hash = (37 * hash) + GOOGLE_PARTITION_CERTS_FIELD_NUMBER; + hash = (53 * hash) + getGooglePartitionCertsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Certificate chains needed to verify the attestation.
+     * Certificates in chains are PEM-encoded and are ordered based on
+     * https://tools.ietf.org/html/rfc5246#section-7.4.2.
+     * 
+ * + * Protobuf type {@code google.cloud.kms.v1.KeyOperationAttestation.CertificateChains} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.kms.v1.KeyOperationAttestation.CertificateChains) + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChainsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.KmsResourcesProto + .internal_static_google_cloud_kms_v1_KeyOperationAttestation_CertificateChains_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.KmsResourcesProto + .internal_static_google_cloud_kms_v1_KeyOperationAttestation_CertificateChains_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.class, + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.Builder.class); + } + + // Construct using + // com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + caviumCerts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + googleCardCerts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + googlePartitionCerts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.kms.v1.KmsResourcesProto + .internal_static_google_cloud_kms_v1_KeyOperationAttestation_CertificateChains_descriptor; + } + + @java.lang.Override + public com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains + getDefaultInstanceForType() { + return com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains build() { + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains buildPartial() { + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains result = + new com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + caviumCerts_ = caviumCerts_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.caviumCerts_ = caviumCerts_; + if (((bitField0_ & 0x00000002) != 0)) { + googleCardCerts_ = googleCardCerts_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.googleCardCerts_ = googleCardCerts_; + if (((bitField0_ & 0x00000004) != 0)) { + googlePartitionCerts_ = googlePartitionCerts_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.googlePartitionCerts_ = googlePartitionCerts_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains) { + return mergeFrom( + (com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains other) { + if (other + == com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains + .getDefaultInstance()) return this; + if (!other.caviumCerts_.isEmpty()) { + if (caviumCerts_.isEmpty()) { + caviumCerts_ = other.caviumCerts_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureCaviumCertsIsMutable(); + caviumCerts_.addAll(other.caviumCerts_); + } + onChanged(); + } + if (!other.googleCardCerts_.isEmpty()) { + if (googleCardCerts_.isEmpty()) { + googleCardCerts_ = other.googleCardCerts_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureGoogleCardCertsIsMutable(); + googleCardCerts_.addAll(other.googleCardCerts_); + } + onChanged(); + } + if (!other.googlePartitionCerts_.isEmpty()) { + if (googlePartitionCerts_.isEmpty()) { + googlePartitionCerts_ = other.googlePartitionCerts_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureGooglePartitionCertsIsMutable(); + googlePartitionCerts_.addAll(other.googlePartitionCerts_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringList caviumCerts_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureCaviumCertsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + caviumCerts_ = new com.google.protobuf.LazyStringArrayList(caviumCerts_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+       * Cavium certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string cavium_certs = 1; + * + * @return A list containing the caviumCerts. + */ + public com.google.protobuf.ProtocolStringList getCaviumCertsList() { + return caviumCerts_.getUnmodifiableView(); + } + /** + * + * + *
+       * Cavium certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string cavium_certs = 1; + * + * @return The count of caviumCerts. + */ + public int getCaviumCertsCount() { + return caviumCerts_.size(); + } + /** + * + * + *
+       * Cavium certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string cavium_certs = 1; + * + * @param index The index of the element to return. + * @return The caviumCerts at the given index. + */ + public java.lang.String getCaviumCerts(int index) { + return caviumCerts_.get(index); + } + /** + * + * + *
+       * Cavium certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string cavium_certs = 1; + * + * @param index The index of the value to return. + * @return The bytes of the caviumCerts at the given index. + */ + public com.google.protobuf.ByteString getCaviumCertsBytes(int index) { + return caviumCerts_.getByteString(index); + } + /** + * + * + *
+       * Cavium certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string cavium_certs = 1; + * + * @param index The index to set the value at. + * @param value The caviumCerts to set. + * @return This builder for chaining. + */ + public Builder setCaviumCerts(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCaviumCertsIsMutable(); + caviumCerts_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+       * Cavium certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string cavium_certs = 1; + * + * @param value The caviumCerts to add. + * @return This builder for chaining. + */ + public Builder addCaviumCerts(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCaviumCertsIsMutable(); + caviumCerts_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+       * Cavium certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string cavium_certs = 1; + * + * @param values The caviumCerts to add. + * @return This builder for chaining. + */ + public Builder addAllCaviumCerts(java.lang.Iterable values) { + ensureCaviumCertsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, caviumCerts_); + onChanged(); + return this; + } + /** + * + * + *
+       * Cavium certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string cavium_certs = 1; + * + * @return This builder for chaining. + */ + public Builder clearCaviumCerts() { + caviumCerts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+       * Cavium certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string cavium_certs = 1; + * + * @param value The bytes of the caviumCerts to add. + * @return This builder for chaining. + */ + public Builder addCaviumCertsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureCaviumCertsIsMutable(); + caviumCerts_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList googleCardCerts_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureGoogleCardCertsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + googleCardCerts_ = new com.google.protobuf.LazyStringArrayList(googleCardCerts_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+       * Google card certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_card_certs = 2; + * + * @return A list containing the googleCardCerts. + */ + public com.google.protobuf.ProtocolStringList getGoogleCardCertsList() { + return googleCardCerts_.getUnmodifiableView(); + } + /** + * + * + *
+       * Google card certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_card_certs = 2; + * + * @return The count of googleCardCerts. + */ + public int getGoogleCardCertsCount() { + return googleCardCerts_.size(); + } + /** + * + * + *
+       * Google card certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_card_certs = 2; + * + * @param index The index of the element to return. + * @return The googleCardCerts at the given index. + */ + public java.lang.String getGoogleCardCerts(int index) { + return googleCardCerts_.get(index); + } + /** + * + * + *
+       * Google card certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_card_certs = 2; + * + * @param index The index of the value to return. + * @return The bytes of the googleCardCerts at the given index. + */ + public com.google.protobuf.ByteString getGoogleCardCertsBytes(int index) { + return googleCardCerts_.getByteString(index); + } + /** + * + * + *
+       * Google card certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_card_certs = 2; + * + * @param index The index to set the value at. + * @param value The googleCardCerts to set. + * @return This builder for chaining. + */ + public Builder setGoogleCardCerts(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureGoogleCardCertsIsMutable(); + googleCardCerts_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+       * Google card certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_card_certs = 2; + * + * @param value The googleCardCerts to add. + * @return This builder for chaining. + */ + public Builder addGoogleCardCerts(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureGoogleCardCertsIsMutable(); + googleCardCerts_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+       * Google card certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_card_certs = 2; + * + * @param values The googleCardCerts to add. + * @return This builder for chaining. + */ + public Builder addAllGoogleCardCerts(java.lang.Iterable values) { + ensureGoogleCardCertsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, googleCardCerts_); + onChanged(); + return this; + } + /** + * + * + *
+       * Google card certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_card_certs = 2; + * + * @return This builder for chaining. + */ + public Builder clearGoogleCardCerts() { + googleCardCerts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+       * Google card certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_card_certs = 2; + * + * @param value The bytes of the googleCardCerts to add. + * @return This builder for chaining. + */ + public Builder addGoogleCardCertsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureGoogleCardCertsIsMutable(); + googleCardCerts_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList googlePartitionCerts_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureGooglePartitionCertsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + googlePartitionCerts_ = + new com.google.protobuf.LazyStringArrayList(googlePartitionCerts_); + bitField0_ |= 0x00000004; + } + } + /** + * + * + *
+       * Google partition certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_partition_certs = 3; + * + * @return A list containing the googlePartitionCerts. + */ + public com.google.protobuf.ProtocolStringList getGooglePartitionCertsList() { + return googlePartitionCerts_.getUnmodifiableView(); + } + /** + * + * + *
+       * Google partition certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_partition_certs = 3; + * + * @return The count of googlePartitionCerts. + */ + public int getGooglePartitionCertsCount() { + return googlePartitionCerts_.size(); + } + /** + * + * + *
+       * Google partition certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_partition_certs = 3; + * + * @param index The index of the element to return. + * @return The googlePartitionCerts at the given index. + */ + public java.lang.String getGooglePartitionCerts(int index) { + return googlePartitionCerts_.get(index); + } + /** + * + * + *
+       * Google partition certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_partition_certs = 3; + * + * @param index The index of the value to return. + * @return The bytes of the googlePartitionCerts at the given index. + */ + public com.google.protobuf.ByteString getGooglePartitionCertsBytes(int index) { + return googlePartitionCerts_.getByteString(index); + } + /** + * + * + *
+       * Google partition certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_partition_certs = 3; + * + * @param index The index to set the value at. + * @param value The googlePartitionCerts to set. + * @return This builder for chaining. + */ + public Builder setGooglePartitionCerts(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureGooglePartitionCertsIsMutable(); + googlePartitionCerts_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+       * Google partition certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_partition_certs = 3; + * + * @param value The googlePartitionCerts to add. + * @return This builder for chaining. + */ + public Builder addGooglePartitionCerts(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureGooglePartitionCertsIsMutable(); + googlePartitionCerts_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+       * Google partition certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_partition_certs = 3; + * + * @param values The googlePartitionCerts to add. + * @return This builder for chaining. + */ + public Builder addAllGooglePartitionCerts(java.lang.Iterable values) { + ensureGooglePartitionCertsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, googlePartitionCerts_); + onChanged(); + return this; + } + /** + * + * + *
+       * Google partition certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_partition_certs = 3; + * + * @return This builder for chaining. + */ + public Builder clearGooglePartitionCerts() { + googlePartitionCerts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+       * Google partition certificate chain corresponding to the attestation.
+       * 
+ * + * repeated string google_partition_certs = 3; + * + * @param value The bytes of the googlePartitionCerts to add. + * @return This builder for chaining. + */ + public Builder addGooglePartitionCertsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureGooglePartitionCertsIsMutable(); + googlePartitionCerts_.add(value); + onChanged(); + return this; } - return value; - } - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static AttestationFormat valueOf(int value) { - return forNumber(value); - } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static AttestationFormat forNumber(int value) { - switch (value) { - case 0: - return ATTESTATION_FORMAT_UNSPECIFIED; - case 3: - return CAVIUM_V1_COMPRESSED; - case 4: - return CAVIUM_V2_COMPRESSED; - default: - return null; + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; + // @@protoc_insertion_point(builder_scope:google.cloud.kms.v1.KeyOperationAttestation.CertificateChains) } - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AttestationFormat findValueByNumber(int number) { - return AttestationFormat.forNumber(number); - } - }; + // @@protoc_insertion_point(class_scope:google.cloud.kms.v1.KeyOperationAttestation.CertificateChains) + private static final com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains + DEFAULT_INSTANCE; - 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()); + static { + DEFAULT_INSTANCE = new com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains(); } - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); + public static com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains + getDefaultInstance() { + return DEFAULT_INSTANCE; } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.kms.v1.KeyOperationAttestation.getDescriptor().getEnumTypes().get(0); + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CertificateChains parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CertificateChains(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; } - private static final AttestationFormat[] VALUES = values(); - - public static AttestationFormat valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - private final int value; - - private AttestationFormat(int value) { - this.value = value; + @java.lang.Override + public com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - - // @@protoc_insertion_point(enum_scope:google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat) } public static final int FORMAT_FIELD_NUMBER = 4; @@ -344,6 +1813,61 @@ public com.google.protobuf.ByteString getContent() { return content_; } + public static final int CERT_CHAINS_FIELD_NUMBER = 6; + private com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains certChains_; + /** + * + * + *
+   * Output only. The certificate chains needed to validate the attestation
+   * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the certChains field is set. + */ + @java.lang.Override + public boolean hasCertChains() { + return certChains_ != null; + } + /** + * + * + *
+   * Output only. The certificate chains needed to validate the attestation
+   * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The certChains. + */ + @java.lang.Override + public com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains getCertChains() { + return certChains_ == null + ? com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.getDefaultInstance() + : certChains_; + } + /** + * + * + *
+   * Output only. The certificate chains needed to validate the attestation
+   * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChainsOrBuilder + getCertChainsOrBuilder() { + return getCertChains(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -367,6 +1891,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!content_.isEmpty()) { output.writeBytes(5, content_); } + if (certChains_ != null) { + output.writeMessage(6, getCertChains()); + } unknownFields.writeTo(output); } @@ -385,6 +1912,9 @@ public int getSerializedSize() { if (!content_.isEmpty()) { size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, content_); } + if (certChains_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCertChains()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -403,6 +1933,10 @@ public boolean equals(final java.lang.Object obj) { if (format_ != other.format_) return false; if (!getContent().equals(other.getContent())) return false; + if (hasCertChains() != other.hasCertChains()) return false; + if (hasCertChains()) { + if (!getCertChains().equals(other.getCertChains())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,6 +1952,10 @@ public int hashCode() { hash = (53 * hash) + format_; hash = (37 * hash) + CONTENT_FIELD_NUMBER; hash = (53 * hash) + getContent().hashCode(); + if (hasCertChains()) { + hash = (37 * hash) + CERT_CHAINS_FIELD_NUMBER; + hash = (53 * hash) + getCertChains().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -569,6 +2107,12 @@ public Builder clear() { content_ = com.google.protobuf.ByteString.EMPTY; + if (certChainsBuilder_ == null) { + certChains_ = null; + } else { + certChains_ = null; + certChainsBuilder_ = null; + } return this; } @@ -598,6 +2142,11 @@ public com.google.cloud.kms.v1.KeyOperationAttestation buildPartial() { new com.google.cloud.kms.v1.KeyOperationAttestation(this); result.format_ = format_; result.content_ = content_; + if (certChainsBuilder_ == null) { + result.certChains_ = certChains_; + } else { + result.certChains_ = certChainsBuilder_.build(); + } onBuilt(); return result; } @@ -654,6 +2203,9 @@ public Builder mergeFrom(com.google.cloud.kms.v1.KeyOperationAttestation other) if (other.getContent() != com.google.protobuf.ByteString.EMPTY) { setContent(other.getContent()); } + if (other.hasCertChains()) { + mergeCertChains(other.getCertChains()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -845,6 +2397,215 @@ public Builder clearContent() { return this; } + private com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains certChains_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains, + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.Builder, + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChainsOrBuilder> + certChainsBuilder_; + /** + * + * + *
+     * Output only. The certificate chains needed to validate the attestation
+     * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the certChains field is set. + */ + public boolean hasCertChains() { + return certChainsBuilder_ != null || certChains_ != null; + } + /** + * + * + *
+     * Output only. The certificate chains needed to validate the attestation
+     * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The certChains. + */ + public com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains getCertChains() { + if (certChainsBuilder_ == null) { + return certChains_ == null + ? com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.getDefaultInstance() + : certChains_; + } else { + return certChainsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The certificate chains needed to validate the attestation
+     * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCertChains( + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains value) { + if (certChainsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + certChains_ = value; + onChanged(); + } else { + certChainsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The certificate chains needed to validate the attestation
+     * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCertChains( + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.Builder builderForValue) { + if (certChainsBuilder_ == null) { + certChains_ = builderForValue.build(); + onChanged(); + } else { + certChainsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. The certificate chains needed to validate the attestation
+     * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCertChains( + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains value) { + if (certChainsBuilder_ == null) { + if (certChains_ != null) { + certChains_ = + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.newBuilder( + certChains_) + .mergeFrom(value) + .buildPartial(); + } else { + certChains_ = value; + } + onChanged(); + } else { + certChainsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The certificate chains needed to validate the attestation
+     * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCertChains() { + if (certChainsBuilder_ == null) { + certChains_ = null; + onChanged(); + } else { + certChains_ = null; + certChainsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. The certificate chains needed to validate the attestation
+     * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.Builder + getCertChainsBuilder() { + + onChanged(); + return getCertChainsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The certificate chains needed to validate the attestation
+     * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChainsOrBuilder + getCertChainsOrBuilder() { + if (certChainsBuilder_ != null) { + return certChainsBuilder_.getMessageOrBuilder(); + } else { + return certChains_ == null + ? com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.getDefaultInstance() + : certChains_; + } + } + /** + * + * + *
+     * Output only. The certificate chains needed to validate the attestation
+     * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains, + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.Builder, + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChainsOrBuilder> + getCertChainsFieldBuilder() { + if (certChainsBuilder_ == null) { + certChainsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains, + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.Builder, + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChainsOrBuilder>( + getCertChains(), getParentForChildren(), isClean()); + certChains_ = null; + } + return certChainsBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyOperationAttestationOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyOperationAttestationOrBuilder.java index 3c9d98df..ffda8f83 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyOperationAttestationOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyOperationAttestationOrBuilder.java @@ -65,4 +65,46 @@ public interface KeyOperationAttestationOrBuilder * @return The content. */ com.google.protobuf.ByteString getContent(); + + /** + * + * + *
+   * Output only. The certificate chains needed to validate the attestation
+   * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the certChains field is set. + */ + boolean hasCertChains(); + /** + * + * + *
+   * Output only. The certificate chains needed to validate the attestation
+   * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The certChains. + */ + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains getCertChains(); + /** + * + * + *
+   * Output only. The certificate chains needed to validate the attestation
+   * 
+ * + * + * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChainsOrBuilder + getCertChainsOrBuilder(); } diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyRing.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyRing.java index 9e09a34d..6eea37d8 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyRing.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyRing.java @@ -22,7 +22,8 @@ * * *
- * A [KeyRing][google.cloud.kms.v1.KeyRing] is a toplevel logical grouping of [CryptoKeys][google.cloud.kms.v1.CryptoKey].
+ * A [KeyRing][google.cloud.kms.v1.KeyRing] is a toplevel logical grouping of
+ * [CryptoKeys][google.cloud.kms.v1.CryptoKey].
  * 
* * Protobuf type {@code google.cloud.kms.v1.KeyRing} @@ -131,7 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. The resource name for the [KeyRing][google.cloud.kms.v1.KeyRing] in the format
+   * Output only. The resource name for the
+   * [KeyRing][google.cloud.kms.v1.KeyRing] in the format
    * `projects/*/locations/*/keyRings/*`.
    * 
* @@ -155,7 +157,8 @@ public java.lang.String getName() { * * *
-   * Output only. The resource name for the [KeyRing][google.cloud.kms.v1.KeyRing] in the format
+   * Output only. The resource name for the
+   * [KeyRing][google.cloud.kms.v1.KeyRing] in the format
    * `projects/*/locations/*/keyRings/*`.
    * 
* @@ -182,7 +185,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+   * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+   * was created.
    * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -198,7 +202,8 @@ public boolean hasCreateTime() { * * *
-   * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+   * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+   * was created.
    * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -214,7 +219,8 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-   * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+   * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+   * was created.
    * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -400,7 +406,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * A [KeyRing][google.cloud.kms.v1.KeyRing] is a toplevel logical grouping of [CryptoKeys][google.cloud.kms.v1.CryptoKey].
+   * A [KeyRing][google.cloud.kms.v1.KeyRing] is a toplevel logical grouping of
+   * [CryptoKeys][google.cloud.kms.v1.CryptoKey].
    * 
* * Protobuf type {@code google.cloud.kms.v1.KeyRing} @@ -570,7 +577,8 @@ public Builder mergeFrom( * * *
-     * Output only. The resource name for the [KeyRing][google.cloud.kms.v1.KeyRing] in the format
+     * Output only. The resource name for the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] in the format
      * `projects/*/locations/*/keyRings/*`.
      * 
* @@ -593,7 +601,8 @@ public java.lang.String getName() { * * *
-     * Output only. The resource name for the [KeyRing][google.cloud.kms.v1.KeyRing] in the format
+     * Output only. The resource name for the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] in the format
      * `projects/*/locations/*/keyRings/*`.
      * 
* @@ -616,7 +625,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. The resource name for the [KeyRing][google.cloud.kms.v1.KeyRing] in the format
+     * Output only. The resource name for the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] in the format
      * `projects/*/locations/*/keyRings/*`.
      * 
* @@ -638,7 +648,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. The resource name for the [KeyRing][google.cloud.kms.v1.KeyRing] in the format
+     * Output only. The resource name for the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] in the format
      * `projects/*/locations/*/keyRings/*`.
      * 
* @@ -656,7 +667,8 @@ public Builder clearName() { * * *
-     * Output only. The resource name for the [KeyRing][google.cloud.kms.v1.KeyRing] in the format
+     * Output only. The resource name for the
+     * [KeyRing][google.cloud.kms.v1.KeyRing] in the format
      * `projects/*/locations/*/keyRings/*`.
      * 
* @@ -686,7 +698,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+     * was created.
      * 
* * @@ -702,7 +715,8 @@ public boolean hasCreateTime() { * * *
-     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+     * was created.
      * 
* * @@ -724,7 +738,8 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+     * was created.
      * 
* * @@ -748,7 +763,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+     * was created.
      * 
* * @@ -769,7 +785,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+     * was created.
      * 
* * @@ -795,7 +812,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+     * was created.
      * 
* * @@ -817,7 +835,8 @@ public Builder clearCreateTime() { * * *
-     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+     * was created.
      * 
* * @@ -833,7 +852,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * * *
-     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+     * was created.
      * 
* * @@ -853,7 +873,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+     * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+     * was created.
      * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyRingOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyRingOrBuilder.java index 08397b7e..8648d29a 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyRingOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyRingOrBuilder.java @@ -27,7 +27,8 @@ public interface KeyRingOrBuilder * * *
-   * Output only. The resource name for the [KeyRing][google.cloud.kms.v1.KeyRing] in the format
+   * Output only. The resource name for the
+   * [KeyRing][google.cloud.kms.v1.KeyRing] in the format
    * `projects/*/locations/*/keyRings/*`.
    * 
* @@ -40,7 +41,8 @@ public interface KeyRingOrBuilder * * *
-   * Output only. The resource name for the [KeyRing][google.cloud.kms.v1.KeyRing] in the format
+   * Output only. The resource name for the
+   * [KeyRing][google.cloud.kms.v1.KeyRing] in the format
    * `projects/*/locations/*/keyRings/*`.
    * 
* @@ -54,7 +56,8 @@ public interface KeyRingOrBuilder * * *
-   * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+   * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+   * was created.
    * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -67,7 +70,8 @@ public interface KeyRingOrBuilder * * *
-   * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+   * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+   * was created.
    * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -80,7 +84,8 @@ public interface KeyRingOrBuilder * * *
-   * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created.
+   * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
+   * was created.
    * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsResourcesProto.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsResourcesProto.java index b6e6b73e..fe7ba016 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsResourcesProto.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsResourcesProto.java @@ -47,6 +47,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_kms_v1_KeyOperationAttestation_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_kms_v1_KeyOperationAttestation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_kms_v1_KeyOperationAttestation_CertificateChains_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_kms_v1_KeyOperationAttestation_CertificateChains_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_kms_v1_CryptoKeyVersion_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -81,139 +85,146 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "avior.proto\032\031google/api/resource.proto\032\036" + "google/protobuf/duration.proto\032\037google/p" + "rotobuf/timestamp.proto\032\036google/protobuf" - + "/wrappers.proto\032\034google/api/annotations." - + "proto\"\265\001\n\007KeyRing\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013" - + "create_time\030\002 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003:a\352A^\n\037cloudkms.googleapis.com" - + "/KeyRing\022;projects/{project}/locations/{" - + "location}/keyRings/{key_ring}\"\356\006\n\tCrypto" - + "Key\022\021\n\004name\030\001 \001(\tB\003\340A\003\022;\n\007primary\030\002 \001(\0132" - + "%.google.cloud.kms.v1.CryptoKeyVersionB\003" - + "\340A\003\022E\n\007purpose\030\003 \001(\0162/.google.cloud.kms." - + "v1.CryptoKey.CryptoKeyPurposeB\003\340A\005\0224\n\013cr" - + "eate_time\030\005 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\0226\n\022next_rotation_time\030\007 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\0224\n\017rotation_per" - + "iod\030\010 \001(\0132\031.google.protobuf.DurationH\000\022G" - + "\n\020version_template\030\013 \001(\0132-.google.cloud." - + "kms.v1.CryptoKeyVersionTemplate\022:\n\006label" - + "s\030\n \003(\0132*.google.cloud.kms.v1.CryptoKey." - + "LabelsEntry\022\030\n\013import_only\030\r \001(\010B\003\340A\005\022B\n" - + "\032destroy_scheduled_duration\030\016 \001(\0132\031.goog" - + "le.protobuf.DurationB\003\340A\005\032-\n\013LabelsEntry" - + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\201\001\n\020Cry" - + "ptoKeyPurpose\022\"\n\036CRYPTO_KEY_PURPOSE_UNSP" - + "ECIFIED\020\000\022\023\n\017ENCRYPT_DECRYPT\020\001\022\023\n\017ASYMME" - + "TRIC_SIGN\020\005\022\026\n\022ASYMMETRIC_DECRYPT\020\006\022\007\n\003M" - + "AC\020\t:{\352Ax\n!cloudkms.googleapis.com/Crypt" - + "oKey\022Sprojects/{project}/locations/{loca" - + "tion}/keyRings/{key_ring}/cryptoKeys/{cr" - + "ypto_key}B\023\n\021rotation_schedule\"\263\001\n\030Crypt" - + "oKeyVersionTemplate\022>\n\020protection_level\030" - + "\001 \001(\0162$.google.cloud.kms.v1.ProtectionLe" - + "vel\022W\n\talgorithm\030\003 \001(\0162?.google.cloud.km" - + "s.v1.CryptoKeyVersion.CryptoKeyVersionAl" - + "gorithmB\003\340A\002\"\361\001\n\027KeyOperationAttestation" - + "\022S\n\006format\030\004 \001(\0162>.google.cloud.kms.v1.K" - + "eyOperationAttestation.AttestationFormat" - + "B\003\340A\003\022\024\n\007content\030\005 \001(\014B\003\340A\003\"k\n\021Attestati" - + "onFormat\022\"\n\036ATTESTATION_FORMAT_UNSPECIFI" - + "ED\020\000\022\030\n\024CAVIUM_V1_COMPRESSED\020\003\022\030\n\024CAVIUM" - + "_V2_COMPRESSED\020\004\"\220\020\n\020CryptoKeyVersion\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022J\n\005state\030\003 \001(\0162;.google" + + "/wrappers.proto\"\265\001\n\007KeyRing\022\021\n\004name\030\001 \001(" + + "\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003:a\352A^\n\037cloudkms.goog" + + "leapis.com/KeyRing\022;projects/{project}/l" + + "ocations/{location}/keyRings/{key_ring}\"" + + "\225\007\n\tCryptoKey\022\021\n\004name\030\001 \001(\tB\003\340A\003\022;\n\007prim" + + "ary\030\002 \001(\0132%.google.cloud.kms.v1.CryptoKe" + + "yVersionB\003\340A\003\022E\n\007purpose\030\003 \001(\0162/.google." + + "cloud.kms.v1.CryptoKey.CryptoKeyPurposeB" + + "\003\340A\005\0224\n\013create_time\030\005 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0226\n\022next_rotation_time" + + "\030\007 \001(\0132\032.google.protobuf.Timestamp\0224\n\017ro" + + "tation_period\030\010 \001(\0132\031.google.protobuf.Du" + + "rationH\000\022G\n\020version_template\030\013 \001(\0132-.goo" + + "gle.cloud.kms.v1.CryptoKeyVersionTemplat" + + "e\022:\n\006labels\030\n \003(\0132*.google.cloud.kms.v1." + + "CryptoKey.LabelsEntry\022\030\n\013import_only\030\r \001" + + "(\010B\003\340A\005\022B\n\032destroy_scheduled_duration\030\016 " + + "\001(\0132\031.google.protobuf.DurationB\003\340A\005\022%\n\022c" + + "rypto_key_backend\030\017 \001(\tB\t\340A\005\372A\003\n\001*\032-\n\013La" + + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + + "\001\"\201\001\n\020CryptoKeyPurpose\022\"\n\036CRYPTO_KEY_PUR" + + "POSE_UNSPECIFIED\020\000\022\023\n\017ENCRYPT_DECRYPT\020\001\022" + + "\023\n\017ASYMMETRIC_SIGN\020\005\022\026\n\022ASYMMETRIC_DECRY" + + "PT\020\006\022\007\n\003MAC\020\t:{\352Ax\n!cloudkms.googleapis." + + "com/CryptoKey\022Sprojects/{project}/locati" + + "ons/{location}/keyRings/{key_ring}/crypt" + + "oKeys/{crypto_key}B\023\n\021rotation_schedule\"" + + "\263\001\n\030CryptoKeyVersionTemplate\022>\n\020protecti" + + "on_level\030\001 \001(\0162$.google.cloud.kms.v1.Pro" + + "tectionLevel\022W\n\talgorithm\030\003 \001(\0162?.google" + ".cloud.kms.v1.CryptoKeyVersion.CryptoKey" - + "VersionState\022C\n\020protection_level\030\007 \001(\0162$" - + ".google.cloud.kms.v1.ProtectionLevelB\003\340A" - + "\003\022W\n\talgorithm\030\n \001(\0162?.google.cloud.kms." - + "v1.CryptoKeyVersion.CryptoKeyVersionAlgo" - + "rithmB\003\340A\003\022F\n\013attestation\030\010 \001(\0132,.google" - + ".cloud.kms.v1.KeyOperationAttestationB\003\340" - + "A\003\0224\n\013create_time\030\004 \001(\0132\032.google.protobu" - + "f.TimestampB\003\340A\003\0226\n\rgenerate_time\030\013 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\0225\n\014dest" - + "roy_time\030\005 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\022;\n\022destroy_event_time\030\006 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\003\340A\003\022\027\n\nimport_j" - + "ob\030\016 \001(\tB\003\340A\003\0224\n\013import_time\030\017 \001(\0132\032.goo" - + "gle.protobuf.TimestampB\003\340A\003\022\"\n\025import_fa" - + "ilure_reason\030\020 \001(\tB\003\340A\003\022^\n!external_prot" - + "ection_level_options\030\021 \001(\01323.google.clou" - + "d.kms.v1.ExternalProtectionLevelOptions\022" - + "\036\n\021reimport_eligible\030\022 \001(\010B\003\340A\003\"\245\006\n\031Cryp" - + "toKeyVersionAlgorithm\022,\n(CRYPTO_KEY_VERS" - + "ION_ALGORITHM_UNSPECIFIED\020\000\022\037\n\033GOOGLE_SY" - + "MMETRIC_ENCRYPTION\020\001\022\034\n\030RSA_SIGN_PSS_204" - + "8_SHA256\020\002\022\034\n\030RSA_SIGN_PSS_3072_SHA256\020\003" - + "\022\034\n\030RSA_SIGN_PSS_4096_SHA256\020\004\022\034\n\030RSA_SI" - + "GN_PSS_4096_SHA512\020\017\022\036\n\032RSA_SIGN_PKCS1_2" - + "048_SHA256\020\005\022\036\n\032RSA_SIGN_PKCS1_3072_SHA2" - + "56\020\006\022\036\n\032RSA_SIGN_PKCS1_4096_SHA256\020\007\022\036\n\032" - + "RSA_SIGN_PKCS1_4096_SHA512\020\020\022\033\n\027RSA_SIGN" - + "_RAW_PKCS1_2048\020\034\022\033\n\027RSA_SIGN_RAW_PKCS1_" - + "3072\020\035\022\033\n\027RSA_SIGN_RAW_PKCS1_4096\020\036\022 \n\034R" - + "SA_DECRYPT_OAEP_2048_SHA256\020\010\022 \n\034RSA_DEC" - + "RYPT_OAEP_3072_SHA256\020\t\022 \n\034RSA_DECRYPT_O" - + "AEP_4096_SHA256\020\n\022 \n\034RSA_DECRYPT_OAEP_40" - + "96_SHA512\020\021\022\036\n\032RSA_DECRYPT_OAEP_2048_SHA" - + "1\020%\022\036\n\032RSA_DECRYPT_OAEP_3072_SHA1\020&\022\036\n\032R" - + "SA_DECRYPT_OAEP_4096_SHA1\020\'\022\027\n\023EC_SIGN_P" - + "256_SHA256\020\014\022\027\n\023EC_SIGN_P384_SHA384\020\r\022\034\n" - + "\030EC_SIGN_SECP256K1_SHA256\020\037\022\017\n\013HMAC_SHA2" - + "56\020 \022!\n\035EXTERNAL_SYMMETRIC_ENCRYPTION\020\022\"" - + "\301\001\n\025CryptoKeyVersionState\022(\n$CRYPTO_KEY_" - + "VERSION_STATE_UNSPECIFIED\020\000\022\026\n\022PENDING_G" - + "ENERATION\020\005\022\013\n\007ENABLED\020\001\022\014\n\010DISABLED\020\002\022\r" - + "\n\tDESTROYED\020\003\022\025\n\021DESTROY_SCHEDULED\020\004\022\022\n\016" - + "PENDING_IMPORT\020\006\022\021\n\rIMPORT_FAILED\020\007\"I\n\024C" - + "ryptoKeyVersionView\022\'\n#CRYPTO_KEY_VERSIO" - + "N_VIEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\001:\252\001\352A\246\001\n(c" - + "loudkms.googleapis.com/CryptoKeyVersion\022" - + "zprojects/{project}/locations/{location}" - + "/keyRings/{key_ring}/cryptoKeys/{crypto_" - + "key}/cryptoKeyVersions/{crypto_key_versi" - + "on}\"\234\003\n\tPublicKey\022\013\n\003pem\030\001 \001(\t\022R\n\talgori" - + "thm\030\002 \001(\0162?.google.cloud.kms.v1.CryptoKe" - + "yVersion.CryptoKeyVersionAlgorithm\022/\n\npe" - + "m_crc32c\030\003 \001(\0132\033.google.protobuf.Int64Va" - + "lue\022\014\n\004name\030\004 \001(\t\022>\n\020protection_level\030\005 " - + "\001(\0162$.google.cloud.kms.v1.ProtectionLeve" - + "l:\256\001\352A\252\001\n!cloudkms.googleapis.com/Public" - + "Key\022\204\001projects/{project}/locations/{loca" - + "tion}/keyRings/{key_ring}/cryptoKeys/{cr" - + "ypto_key}/cryptoKeyVersions/{crypto_key_" - + "version}/publicKey\"\333\007\n\tImportJob\022\021\n\004name" - + "\030\001 \001(\tB\003\340A\003\022J\n\rimport_method\030\002 \001(\0162+.goo" - + "gle.cloud.kms.v1.ImportJob.ImportMethodB" - + "\006\340A\002\340A\005\022F\n\020protection_level\030\t \001(\0162$.goog" - + "le.cloud.kms.v1.ProtectionLevelB\006\340A\002\340A\005\022" - + "4\n\013create_time\030\003 \001(\0132\032.google.protobuf.T" - + "imestampB\003\340A\003\0226\n\rgenerate_time\030\004 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\003\0224\n\013expire_" - + "time\030\005 \001(\0132\032.google.protobuf.TimestampB\003" - + "\340A\003\022:\n\021expire_event_time\030\n \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\003\022A\n\005state\030\006 \001(\0162-" - + ".google.cloud.kms.v1.ImportJob.ImportJob" - + "StateB\003\340A\003\022I\n\npublic_key\030\007 \001(\01320.google." - + "cloud.kms.v1.ImportJob.WrappingPublicKey" - + "B\003\340A\003\022F\n\013attestation\030\010 \001(\0132,.google.clou" - + "d.kms.v1.KeyOperationAttestationB\003\340A\003\032 \n" - + "\021WrappingPublicKey\022\013\n\003pem\030\001 \001(\t\"m\n\014Impor" - + "tMethod\022\035\n\031IMPORT_METHOD_UNSPECIFIED\020\000\022\036" - + "\n\032RSA_OAEP_3072_SHA1_AES_256\020\001\022\036\n\032RSA_OA" - + "EP_4096_SHA1_AES_256\020\002\"c\n\016ImportJobState" - + "\022 \n\034IMPORT_JOB_STATE_UNSPECIFIED\020\000\022\026\n\022PE" - + "NDING_GENERATION\020\001\022\n\n\006ACTIVE\020\002\022\013\n\007EXPIRE" - + "D\020\003:{\352Ax\n!cloudkms.googleapis.com/Import" - + "Job\022Sprojects/{project}/locations/{locat" - + "ion}/keyRings/{key_ring}/importJobs/{imp" - + "ort_job}\":\n\036ExternalProtectionLevelOptio" - + "ns\022\030\n\020external_key_uri\030\001 \001(\t*X\n\017Protecti" - + "onLevel\022 \n\034PROTECTION_LEVEL_UNSPECIFIED\020" - + "\000\022\014\n\010SOFTWARE\020\001\022\007\n\003HSM\020\002\022\014\n\010EXTERNAL\020\003B\225" - + "\001\n\027com.google.cloud.kms.v1B\021KmsResources" - + "ProtoP\001Z6google.golang.org/genproto/goog" - + "leapis/cloud/kms/v1;kms\370\001\001\252\002\023Google.Clou" - + "d.Kms.V1\312\002\023Google\\Cloud\\Kms\\V1b\006proto3" + + "VersionAlgorithmB\003\340A\002\"\261\003\n\027KeyOperationAt" + + "testation\022S\n\006format\030\004 \001(\0162>.google.cloud" + + ".kms.v1.KeyOperationAttestation.Attestat" + + "ionFormatB\003\340A\003\022\024\n\007content\030\005 \001(\014B\003\340A\003\022X\n\013" + + "cert_chains\030\006 \001(\0132>.google.cloud.kms.v1." + + "KeyOperationAttestation.CertificateChain" + + "sB\003\340A\003\032d\n\021CertificateChains\022\024\n\014cavium_ce" + + "rts\030\001 \003(\t\022\031\n\021google_card_certs\030\002 \003(\t\022\036\n\026" + + "google_partition_certs\030\003 \003(\t\"k\n\021Attestat" + + "ionFormat\022\"\n\036ATTESTATION_FORMAT_UNSPECIF" + + "IED\020\000\022\030\n\024CAVIUM_V1_COMPRESSED\020\003\022\030\n\024CAVIU" + + "M_V2_COMPRESSED\020\004\"\220\020\n\020CryptoKeyVersion\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\003\022J\n\005state\030\003 \001(\0162;.googl" + + "e.cloud.kms.v1.CryptoKeyVersion.CryptoKe" + + "yVersionState\022C\n\020protection_level\030\007 \001(\0162" + + "$.google.cloud.kms.v1.ProtectionLevelB\003\340" + + "A\003\022W\n\talgorithm\030\n \001(\0162?.google.cloud.kms" + + ".v1.CryptoKeyVersion.CryptoKeyVersionAlg" + + "orithmB\003\340A\003\022F\n\013attestation\030\010 \001(\0132,.googl" + + "e.cloud.kms.v1.KeyOperationAttestationB\003" + + "\340A\003\0224\n\013create_time\030\004 \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\0226\n\rgenerate_time\030\013 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\0225\n\014des" + + "troy_time\030\005 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022;\n\022destroy_event_time\030\006 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022\027\n\nimport_" + + "job\030\016 \001(\tB\003\340A\003\0224\n\013import_time\030\017 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\003\022\"\n\025import_f" + + "ailure_reason\030\020 \001(\tB\003\340A\003\022^\n!external_pro" + + "tection_level_options\030\021 \001(\01323.google.clo" + + "ud.kms.v1.ExternalProtectionLevelOptions" + + "\022\036\n\021reimport_eligible\030\022 \001(\010B\003\340A\003\"\245\006\n\031Cry" + + "ptoKeyVersionAlgorithm\022,\n(CRYPTO_KEY_VER" + + "SION_ALGORITHM_UNSPECIFIED\020\000\022\037\n\033GOOGLE_S" + + "YMMETRIC_ENCRYPTION\020\001\022\034\n\030RSA_SIGN_PSS_20" + + "48_SHA256\020\002\022\034\n\030RSA_SIGN_PSS_3072_SHA256\020" + + "\003\022\034\n\030RSA_SIGN_PSS_4096_SHA256\020\004\022\034\n\030RSA_S" + + "IGN_PSS_4096_SHA512\020\017\022\036\n\032RSA_SIGN_PKCS1_" + + "2048_SHA256\020\005\022\036\n\032RSA_SIGN_PKCS1_3072_SHA" + + "256\020\006\022\036\n\032RSA_SIGN_PKCS1_4096_SHA256\020\007\022\036\n" + + "\032RSA_SIGN_PKCS1_4096_SHA512\020\020\022\033\n\027RSA_SIG" + + "N_RAW_PKCS1_2048\020\034\022\033\n\027RSA_SIGN_RAW_PKCS1" + + "_3072\020\035\022\033\n\027RSA_SIGN_RAW_PKCS1_4096\020\036\022 \n\034" + + "RSA_DECRYPT_OAEP_2048_SHA256\020\010\022 \n\034RSA_DE" + + "CRYPT_OAEP_3072_SHA256\020\t\022 \n\034RSA_DECRYPT_" + + "OAEP_4096_SHA256\020\n\022 \n\034RSA_DECRYPT_OAEP_4" + + "096_SHA512\020\021\022\036\n\032RSA_DECRYPT_OAEP_2048_SH" + + "A1\020%\022\036\n\032RSA_DECRYPT_OAEP_3072_SHA1\020&\022\036\n\032" + + "RSA_DECRYPT_OAEP_4096_SHA1\020\'\022\027\n\023EC_SIGN_" + + "P256_SHA256\020\014\022\027\n\023EC_SIGN_P384_SHA384\020\r\022\034" + + "\n\030EC_SIGN_SECP256K1_SHA256\020\037\022\017\n\013HMAC_SHA" + + "256\020 \022!\n\035EXTERNAL_SYMMETRIC_ENCRYPTION\020\022" + + "\"\301\001\n\025CryptoKeyVersionState\022(\n$CRYPTO_KEY" + + "_VERSION_STATE_UNSPECIFIED\020\000\022\026\n\022PENDING_" + + "GENERATION\020\005\022\013\n\007ENABLED\020\001\022\014\n\010DISABLED\020\002\022" + + "\r\n\tDESTROYED\020\003\022\025\n\021DESTROY_SCHEDULED\020\004\022\022\n" + + "\016PENDING_IMPORT\020\006\022\021\n\rIMPORT_FAILED\020\007\"I\n\024" + + "CryptoKeyVersionView\022\'\n#CRYPTO_KEY_VERSI" + + "ON_VIEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\001:\252\001\352A\246\001\n(" + + "cloudkms.googleapis.com/CryptoKeyVersion" + + "\022zprojects/{project}/locations/{location" + + "}/keyRings/{key_ring}/cryptoKeys/{crypto" + + "_key}/cryptoKeyVersions/{crypto_key_vers" + + "ion}\"\234\003\n\tPublicKey\022\013\n\003pem\030\001 \001(\t\022R\n\talgor" + + "ithm\030\002 \001(\0162?.google.cloud.kms.v1.CryptoK" + + "eyVersion.CryptoKeyVersionAlgorithm\022/\n\np" + + "em_crc32c\030\003 \001(\0132\033.google.protobuf.Int64V" + + "alue\022\014\n\004name\030\004 \001(\t\022>\n\020protection_level\030\005" + + " \001(\0162$.google.cloud.kms.v1.ProtectionLev" + + "el:\256\001\352A\252\001\n!cloudkms.googleapis.com/Publi" + + "cKey\022\204\001projects/{project}/locations/{loc" + + "ation}/keyRings/{key_ring}/cryptoKeys/{c" + + "rypto_key}/cryptoKeyVersions/{crypto_key" + + "_version}/publicKey\"\333\007\n\tImportJob\022\021\n\004nam" + + "e\030\001 \001(\tB\003\340A\003\022J\n\rimport_method\030\002 \001(\0162+.go" + + "ogle.cloud.kms.v1.ImportJob.ImportMethod" + + "B\006\340A\002\340A\005\022F\n\020protection_level\030\t \001(\0162$.goo" + + "gle.cloud.kms.v1.ProtectionLevelB\006\340A\002\340A\005" + + "\0224\n\013create_time\030\003 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\0226\n\rgenerate_time\030\004 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003\0224\n\013expire" + + "_time\030\005 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\022:\n\021expire_event_time\030\n \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\003\022A\n\005state\030\006 \001(\0162" + + "-.google.cloud.kms.v1.ImportJob.ImportJo" + + "bStateB\003\340A\003\022I\n\npublic_key\030\007 \001(\01320.google" + + ".cloud.kms.v1.ImportJob.WrappingPublicKe" + + "yB\003\340A\003\022F\n\013attestation\030\010 \001(\0132,.google.clo" + + "ud.kms.v1.KeyOperationAttestationB\003\340A\003\032 " + + "\n\021WrappingPublicKey\022\013\n\003pem\030\001 \001(\t\"m\n\014Impo" + + "rtMethod\022\035\n\031IMPORT_METHOD_UNSPECIFIED\020\000\022" + + "\036\n\032RSA_OAEP_3072_SHA1_AES_256\020\001\022\036\n\032RSA_O" + + "AEP_4096_SHA1_AES_256\020\002\"c\n\016ImportJobStat" + + "e\022 \n\034IMPORT_JOB_STATE_UNSPECIFIED\020\000\022\026\n\022P" + + "ENDING_GENERATION\020\001\022\n\n\006ACTIVE\020\002\022\013\n\007EXPIR" + + "ED\020\003:{\352Ax\n!cloudkms.googleapis.com/Impor" + + "tJob\022Sprojects/{project}/locations/{loca" + + "tion}/keyRings/{key_ring}/importJobs/{im" + + "port_job}\"[\n\036ExternalProtectionLevelOpti" + + "ons\022\030\n\020external_key_uri\030\001 \001(\t\022\037\n\027ekm_con" + + "nection_key_path\030\002 \001(\t*j\n\017ProtectionLeve" + + "l\022 \n\034PROTECTION_LEVEL_UNSPECIFIED\020\000\022\014\n\010S" + + "OFTWARE\020\001\022\007\n\003HSM\020\002\022\014\n\010EXTERNAL\020\003\022\020\n\014EXTE" + + "RNAL_VPC\020\004B\225\001\n\027com.google.cloud.kms.v1B\021" + + "KmsResourcesProtoP\001Z6google.golang.org/g" + + "enproto/googleapis/cloud/kms/v1;kms\370\001\001\252\002" + + "\023Google.Cloud.Kms.V1\312\002\023Google\\Cloud\\Kms\\" + + "V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -224,7 +235,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.protobuf.WrappersProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_kms_v1_KeyRing_descriptor = getDescriptor().getMessageTypes().get(0); @@ -250,6 +260,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Labels", "ImportOnly", "DestroyScheduledDuration", + "CryptoKeyBackend", "RotationSchedule", }); internal_static_google_cloud_kms_v1_CryptoKey_LabelsEntry_descriptor = @@ -274,7 +285,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_kms_v1_KeyOperationAttestation_descriptor, new java.lang.String[] { - "Format", "Content", + "Format", "Content", "CertChains", + }); + internal_static_google_cloud_kms_v1_KeyOperationAttestation_CertificateChains_descriptor = + internal_static_google_cloud_kms_v1_KeyOperationAttestation_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_kms_v1_KeyOperationAttestation_CertificateChains_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_kms_v1_KeyOperationAttestation_CertificateChains_descriptor, + new java.lang.String[] { + "CaviumCerts", "GoogleCardCerts", "GooglePartitionCerts", }); internal_static_google_cloud_kms_v1_CryptoKeyVersion_descriptor = getDescriptor().getMessageTypes().get(4); @@ -336,12 +357,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_kms_v1_ExternalProtectionLevelOptions_descriptor, new java.lang.String[] { - "ExternalKeyUri", + "ExternalKeyUri", "EkmConnectionKeyPath", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor(); @@ -349,7 +371,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsRequest.java index 9b7aa8bb..b9b78524 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions].
+ * Request message for
+ * [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions].
  * 
* * Protobuf type {@code google.cloud.kms.v1.ListCryptoKeyVersionsRequest} @@ -154,7 +155,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
    * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
    * 
* @@ -180,7 +182,8 @@ public java.lang.String getParent() { * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
    * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
    * 
* @@ -209,11 +212,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Optional. Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to
-   * include in the response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can
-   * subsequently be obtained by including the
-   * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token] in a subsequent request.
-   * If unspecified, the server will pick an appropriate default.
+   * Optional. Optional limit on the number of
+   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to include in the
+   * response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]
+   * can subsequently be obtained by including the
+   * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token]
+   * in a subsequent request. If unspecified, the server will pick an
+   * appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -638,7 +643,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions].
+   * Request message for
+   * [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions].
    * 
* * Protobuf type {@code google.cloud.kms.v1.ListCryptoKeyVersionsRequest} @@ -831,7 +837,8 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
      * 
* @@ -856,7 +863,8 @@ public java.lang.String getParent() { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
      * 
* @@ -881,7 +889,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
      * 
* @@ -905,7 +914,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
      * 
* @@ -925,7 +935,8 @@ public Builder clearParent() { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
      * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
      * 
* @@ -952,11 +963,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to
-     * include in the response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can
-     * subsequently be obtained by including the
-     * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token] in a subsequent request.
-     * If unspecified, the server will pick an appropriate default.
+     * Optional. Optional limit on the number of
+     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to include in the
+     * response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]
+     * can subsequently be obtained by including the
+     * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token]
+     * in a subsequent request. If unspecified, the server will pick an
+     * appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -971,11 +984,13 @@ public int getPageSize() { * * *
-     * Optional. Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to
-     * include in the response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can
-     * subsequently be obtained by including the
-     * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token] in a subsequent request.
-     * If unspecified, the server will pick an appropriate default.
+     * Optional. Optional limit on the number of
+     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to include in the
+     * response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]
+     * can subsequently be obtained by including the
+     * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token]
+     * in a subsequent request. If unspecified, the server will pick an
+     * appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -993,11 +1008,13 @@ public Builder setPageSize(int value) { * * *
-     * Optional. Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to
-     * include in the response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can
-     * subsequently be obtained by including the
-     * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token] in a subsequent request.
-     * If unspecified, the server will pick an appropriate default.
+     * Optional. Optional limit on the number of
+     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to include in the
+     * response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]
+     * can subsequently be obtained by including the
+     * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token]
+     * in a subsequent request. If unspecified, the server will pick an
+     * appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsRequestOrBuilder.java index 50411a45..5e52ab86 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface ListCryptoKeyVersionsRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
    * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
    * 
* @@ -42,7 +43,8 @@ public interface ListCryptoKeyVersionsRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
    * `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
    * 
* @@ -58,11 +60,13 @@ public interface ListCryptoKeyVersionsRequestOrBuilder * * *
-   * Optional. Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to
-   * include in the response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can
-   * subsequently be obtained by including the
-   * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token] in a subsequent request.
-   * If unspecified, the server will pick an appropriate default.
+   * Optional. Optional limit on the number of
+   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to include in the
+   * response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]
+   * can subsequently be obtained by including the
+   * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token]
+   * in a subsequent request. If unspecified, the server will pick an
+   * appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsResponse.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsResponse.java index 31673320..6f4eb13f 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsResponse.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsResponse.java @@ -22,7 +22,8 @@ * * *
- * Response message for [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions].
+ * Response message for
+ * [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions].
  * 
* * Protobuf type {@code google.cloud.kms.v1.ListCryptoKeyVersionsResponse} @@ -210,8 +211,8 @@ public com.google.cloud.kms.v1.CryptoKeyVersionOrBuilder getCryptoKeyVersionsOrB * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of
-   * results.
+   * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -235,8 +236,8 @@ public java.lang.String getNextPageToken() { * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of
-   * results.
+   * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -262,7 +263,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * *
-   * The total number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the
+   * The total number of
+   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the
    * query.
    * 
* @@ -460,7 +462,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions].
+   * Response message for
+   * [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions].
    * 
* * Protobuf type {@code google.cloud.kms.v1.ListCryptoKeyVersionsResponse} @@ -1029,8 +1032,8 @@ public com.google.cloud.kms.v1.CryptoKeyVersion.Builder addCryptoKeyVersionsBuil * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of
-     * results.
+     * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1053,8 +1056,8 @@ public java.lang.String getNextPageToken() { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of
-     * results.
+     * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1077,8 +1080,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of
-     * results.
+     * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1100,8 +1103,8 @@ public Builder setNextPageToken(java.lang.String value) { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of
-     * results.
+     * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1119,8 +1122,8 @@ public Builder clearNextPageToken() { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of
-     * results.
+     * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1144,7 +1147,8 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { * * *
-     * The total number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the
+     * The total number of
+     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the
      * query.
      * 
* @@ -1160,7 +1164,8 @@ public int getTotalSize() { * * *
-     * The total number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the
+     * The total number of
+     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the
      * query.
      * 
* @@ -1179,7 +1184,8 @@ public Builder setTotalSize(int value) { * * *
-     * The total number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the
+     * The total number of
+     * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the
      * query.
      * 
* diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsResponseOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsResponseOrBuilder.java index fc463975..d09760e6 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsResponseOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsResponseOrBuilder.java @@ -80,8 +80,8 @@ public interface ListCryptoKeyVersionsResponseOrBuilder * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of
-   * results.
+   * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -94,8 +94,8 @@ public interface ListCryptoKeyVersionsResponseOrBuilder * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of
-   * results.
+   * [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -108,7 +108,8 @@ public interface ListCryptoKeyVersionsResponseOrBuilder * * *
-   * The total number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the
+   * The total number of
+   * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the
    * query.
    * 
* diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysRequest.java index 777fa613..4d2e1f02 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].
+ * Request message for
+ * [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].
  * 
* * Protobuf type {@code google.cloud.kms.v1.ListCryptoKeysRequest} @@ -154,8 +155,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-   * `projects/*/locations/*/keyRings/*`.
+   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+   * to list, in the format `projects/*/locations/*/keyRings/*`.
    * 
* * @@ -180,8 +181,8 @@ public java.lang.String getParent() { * * *
-   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-   * `projects/*/locations/*/keyRings/*`.
+   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+   * to list, in the format `projects/*/locations/*/keyRings/*`.
    * 
* * @@ -209,10 +210,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the
-   * response.  Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by
-   * including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent
-   * request.  If unspecified, the server will pick an appropriate default.
+   * Optional. Optional limit on the number of
+   * [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the response.
+   * Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be
+   * obtained by including the
+   * [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token]
+   * in a subsequent request.  If unspecified, the server will pick an
+   * appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -637,7 +641,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].
+   * Request message for
+   * [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].
    * 
* * Protobuf type {@code google.cloud.kms.v1.ListCryptoKeysRequest} @@ -828,8 +833,8 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-     * `projects/*/locations/*/keyRings/*`.
+     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+     * to list, in the format `projects/*/locations/*/keyRings/*`.
      * 
* * @@ -853,8 +858,8 @@ public java.lang.String getParent() { * * *
-     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-     * `projects/*/locations/*/keyRings/*`.
+     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+     * to list, in the format `projects/*/locations/*/keyRings/*`.
      * 
* * @@ -878,8 +883,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-     * `projects/*/locations/*/keyRings/*`.
+     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+     * to list, in the format `projects/*/locations/*/keyRings/*`.
      * 
* * @@ -902,8 +907,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-     * `projects/*/locations/*/keyRings/*`.
+     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+     * to list, in the format `projects/*/locations/*/keyRings/*`.
      * 
* * @@ -922,8 +927,8 @@ public Builder clearParent() { * * *
-     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-     * `projects/*/locations/*/keyRings/*`.
+     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+     * to list, in the format `projects/*/locations/*/keyRings/*`.
      * 
* * @@ -949,10 +954,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the
-     * response.  Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by
-     * including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent
-     * request.  If unspecified, the server will pick an appropriate default.
+     * Optional. Optional limit on the number of
+     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the response.
+     * Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be
+     * obtained by including the
+     * [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token]
+     * in a subsequent request.  If unspecified, the server will pick an
+     * appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -967,10 +975,13 @@ public int getPageSize() { * * *
-     * Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the
-     * response.  Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by
-     * including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent
-     * request.  If unspecified, the server will pick an appropriate default.
+     * Optional. Optional limit on the number of
+     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the response.
+     * Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be
+     * obtained by including the
+     * [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token]
+     * in a subsequent request.  If unspecified, the server will pick an
+     * appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -988,10 +999,13 @@ public Builder setPageSize(int value) { * * *
-     * Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the
-     * response.  Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by
-     * including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent
-     * request.  If unspecified, the server will pick an appropriate default.
+     * Optional. Optional limit on the number of
+     * [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the response.
+     * Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be
+     * obtained by including the
+     * [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token]
+     * in a subsequent request.  If unspecified, the server will pick an
+     * appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysRequestOrBuilder.java index f954e067..a1bfa1fc 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface ListCryptoKeysRequestOrBuilder * * *
-   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-   * `projects/*/locations/*/keyRings/*`.
+   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+   * to list, in the format `projects/*/locations/*/keyRings/*`.
    * 
* * @@ -42,8 +42,8 @@ public interface ListCryptoKeysRequestOrBuilder * * *
-   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-   * `projects/*/locations/*/keyRings/*`.
+   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+   * to list, in the format `projects/*/locations/*/keyRings/*`.
    * 
* * @@ -58,10 +58,13 @@ public interface ListCryptoKeysRequestOrBuilder * * *
-   * Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the
-   * response.  Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by
-   * including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent
-   * request.  If unspecified, the server will pick an appropriate default.
+   * Optional. Optional limit on the number of
+   * [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the response.
+   * Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be
+   * obtained by including the
+   * [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token]
+   * in a subsequent request.  If unspecified, the server will pick an
+   * appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysResponse.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysResponse.java index 14de4f0d..9af973dc 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysResponse.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysResponse.java @@ -22,7 +22,8 @@ * * *
- * Response message for [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].
+ * Response message for
+ * [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].
  * 
* * Protobuf type {@code google.cloud.kms.v1.ListCryptoKeysResponse} @@ -207,7 +208,8 @@ public com.google.cloud.kms.v1.CryptoKeyOrBuilder getCryptoKeysOrBuilder(int ind * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token] to retrieve the next page of results.
+   * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -231,7 +233,8 @@ public java.lang.String getNextPageToken() { * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token] to retrieve the next page of results.
+   * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -257,7 +260,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * *
-   * The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that matched the query.
+   * The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that
+   * matched the query.
    * 
* * int32 total_size = 3; @@ -452,7 +456,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].
+   * Response message for
+   * [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].
    * 
* * Protobuf type {@code google.cloud.kms.v1.ListCryptoKeysResponse} @@ -1012,7 +1017,8 @@ public java.util.List getCryptoKeysBu * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token] to retrieve the next page of results.
+     * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1035,7 +1041,8 @@ public java.lang.String getNextPageToken() { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token] to retrieve the next page of results.
+     * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1058,7 +1065,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token] to retrieve the next page of results.
+     * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1080,7 +1088,8 @@ public Builder setNextPageToken(java.lang.String value) { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token] to retrieve the next page of results.
+     * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1098,7 +1107,8 @@ public Builder clearNextPageToken() { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token] to retrieve the next page of results.
+     * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1122,7 +1132,8 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { * * *
-     * The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that matched the query.
+     * The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that
+     * matched the query.
      * 
* * int32 total_size = 3; @@ -1137,7 +1148,8 @@ public int getTotalSize() { * * *
-     * The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that matched the query.
+     * The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that
+     * matched the query.
      * 
* * int32 total_size = 3; @@ -1155,7 +1167,8 @@ public Builder setTotalSize(int value) { * * *
-     * The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that matched the query.
+     * The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that
+     * matched the query.
      * 
* * int32 total_size = 3; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysResponseOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysResponseOrBuilder.java index dcb19eae..2d434f44 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysResponseOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysResponseOrBuilder.java @@ -79,7 +79,8 @@ public interface ListCryptoKeysResponseOrBuilder * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token] to retrieve the next page of results.
+   * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -92,7 +93,8 @@ public interface ListCryptoKeysResponseOrBuilder * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token] to retrieve the next page of results.
+   * [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -105,7 +107,8 @@ public interface ListCryptoKeysResponseOrBuilder * * *
-   * The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that matched the query.
+   * The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that
+   * matched the query.
    * 
* * int32 total_size = 3; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsRequest.java new file mode 100644 index 00000000..48b4dd56 --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsRequest.java @@ -0,0 +1,1364 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +/** + * + * + *
+ * Request message for [KeyManagementService.ListEkmConnections][].
+ * 
+ * + * Protobuf type {@code google.cloud.kms.v1.ListEkmConnectionsRequest} + */ +public final class ListEkmConnectionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.kms.v1.ListEkmConnectionsRequest) + ListEkmConnectionsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListEkmConnectionsRequest.newBuilder() to construct. + private ListEkmConnectionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListEkmConnectionsRequest() { + parent_ = ""; + pageToken_ = ""; + filter_ = ""; + orderBy_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListEkmConnectionsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListEkmConnectionsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_ListEkmConnectionsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_ListEkmConnectionsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.ListEkmConnectionsRequest.class, + com.google.cloud.kms.v1.ListEkmConnectionsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+   * Required. The resource name of the location associated with the
+   * [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The resource name of the location associated with the
+   * [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_; + /** + * + * + *
+   * Optional. Optional limit on the number of
+   * [EkmConnections][google.cloud.kms.v1.EkmConnection] to include in the
+   * response. Further [EkmConnections][google.cloud.kms.v1.EkmConnection] can
+   * subsequently be obtained by including the
+   * [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token]
+   * in a subsequent request. If unspecified, the server will pick an
+   * appropriate default.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object pageToken_; + /** + * + * + *
+   * Optional. Optional pagination token, returned earlier via
+   * [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token].
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. Optional pagination token, returned earlier via
+   * [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token].
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @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) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILTER_FIELD_NUMBER = 4; + private volatile java.lang.Object filter_; + /** + * + * + *
+   * Optional. Only include resources that match the filter in the response. For
+   * more information, see
+   * [Sorting and filtering list
+   * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+   * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. Only include resources that match the filter in the response. For
+   * more information, see
+   * [Sorting and filtering list
+   * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+   * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @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) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ORDER_BY_FIELD_NUMBER = 5; + private volatile java.lang.Object orderBy_; + /** + * + * + *
+   * Optional. Specify how the results should be sorted. If not specified, the
+   * results will be sorted in the default order.  For more information, see
+   * [Sorting and filtering list
+   * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+   * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. Specify how the results should be sorted. If not specified, the
+   * results will be sorted in the default order.  For more information, see
+   * [Sorting and filtering list
+   * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+   * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.kms.v1.ListEkmConnectionsRequest)) { + return super.equals(obj); + } + com.google.cloud.kms.v1.ListEkmConnectionsRequest other = + (com.google.cloud.kms.v1.ListEkmConnectionsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.kms.v1.ListEkmConnectionsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for [KeyManagementService.ListEkmConnections][].
+   * 
+ * + * Protobuf type {@code google.cloud.kms.v1.ListEkmConnectionsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.kms.v1.ListEkmConnectionsRequest) + com.google.cloud.kms.v1.ListEkmConnectionsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_ListEkmConnectionsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_ListEkmConnectionsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.ListEkmConnectionsRequest.class, + com.google.cloud.kms.v1.ListEkmConnectionsRequest.Builder.class); + } + + // Construct using com.google.cloud.kms.v1.ListEkmConnectionsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + filter_ = ""; + + orderBy_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_ListEkmConnectionsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.kms.v1.ListEkmConnectionsRequest getDefaultInstanceForType() { + return com.google.cloud.kms.v1.ListEkmConnectionsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.kms.v1.ListEkmConnectionsRequest build() { + com.google.cloud.kms.v1.ListEkmConnectionsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.kms.v1.ListEkmConnectionsRequest buildPartial() { + com.google.cloud.kms.v1.ListEkmConnectionsRequest result = + new com.google.cloud.kms.v1.ListEkmConnectionsRequest(this); + result.parent_ = parent_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + result.filter_ = filter_; + result.orderBy_ = orderBy_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.kms.v1.ListEkmConnectionsRequest) { + return mergeFrom((com.google.cloud.kms.v1.ListEkmConnectionsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.kms.v1.ListEkmConnectionsRequest other) { + if (other == com.google.cloud.kms.v1.ListEkmConnectionsRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + if (!other.getFilter().isEmpty()) { + filter_ = other.filter_; + onChanged(); + } + if (!other.getOrderBy().isEmpty()) { + orderBy_ = other.orderBy_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.kms.v1.ListEkmConnectionsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.kms.v1.ListEkmConnectionsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. The resource name of the location associated with the
+     * [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the location associated with the
+     * [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the location associated with the
+     * [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the location associated with the
+     * [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the location associated with the
+     * [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private int pageSize_; + /** + * + * + *
+     * Optional. Optional limit on the number of
+     * [EkmConnections][google.cloud.kms.v1.EkmConnection] to include in the
+     * response. Further [EkmConnections][google.cloud.kms.v1.EkmConnection] can
+     * subsequently be obtained by including the
+     * [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token]
+     * in a subsequent request. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
+     * Optional. Optional limit on the number of
+     * [EkmConnections][google.cloud.kms.v1.EkmConnection] to include in the
+     * response. Further [EkmConnections][google.cloud.kms.v1.EkmConnection] can
+     * subsequently be obtained by including the
+     * [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token]
+     * in a subsequent request. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Optional limit on the number of
+     * [EkmConnections][google.cloud.kms.v1.EkmConnection] to include in the
+     * response. Further [EkmConnections][google.cloud.kms.v1.EkmConnection] can
+     * subsequently be obtained by including the
+     * [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token]
+     * in a subsequent request. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * Optional. Optional pagination token, returned earlier via
+     * [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token].
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Optional pagination token, returned earlier via
+     * [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token].
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Optional pagination token, returned earlier via
+     * [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token].
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Optional pagination token, returned earlier via
+     * [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token].
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Optional pagination token, returned earlier via
+     * [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token].
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * Optional. Only include resources that match the filter in the response. For
+     * more information, see
+     * [Sorting and filtering list
+     * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+     * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Only include resources that match the filter in the response. For
+     * more information, see
+     * [Sorting and filtering list
+     * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+     * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Only include resources that match the filter in the response. For
+     * more information, see
+     * [Sorting and filtering list
+     * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+     * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + filter_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Only include resources that match the filter in the response. For
+     * more information, see
+     * [Sorting and filtering list
+     * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+     * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + + filter_ = getDefaultInstance().getFilter(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Only include resources that match the filter in the response. For
+     * more information, see
+     * [Sorting and filtering list
+     * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+     * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + filter_ = value; + onChanged(); + return this; + } + + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * Optional. Specify how the results should be sorted. If not specified, the
+     * results will be sorted in the default order.  For more information, see
+     * [Sorting and filtering list
+     * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+     * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Specify how the results should be sorted. If not specified, the
+     * results will be sorted in the default order.  For more information, see
+     * [Sorting and filtering list
+     * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+     * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Specify how the results should be sorted. If not specified, the
+     * results will be sorted in the default order.  For more information, see
+     * [Sorting and filtering list
+     * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+     * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + orderBy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Specify how the results should be sorted. If not specified, the
+     * results will be sorted in the default order.  For more information, see
+     * [Sorting and filtering list
+     * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+     * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + + orderBy_ = getDefaultInstance().getOrderBy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Specify how the results should be sorted. If not specified, the
+     * results will be sorted in the default order.  For more information, see
+     * [Sorting and filtering list
+     * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+     * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + orderBy_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.kms.v1.ListEkmConnectionsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.kms.v1.ListEkmConnectionsRequest) + private static final com.google.cloud.kms.v1.ListEkmConnectionsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.kms.v1.ListEkmConnectionsRequest(); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEkmConnectionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEkmConnectionsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.kms.v1.ListEkmConnectionsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsRequestOrBuilder.java new file mode 100644 index 00000000..23ed0fb8 --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsRequestOrBuilder.java @@ -0,0 +1,166 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +public interface ListEkmConnectionsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.ListEkmConnectionsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the location associated with the
+   * [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The resource name of the location associated with the
+   * [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Optional. Optional limit on the number of
+   * [EkmConnections][google.cloud.kms.v1.EkmConnection] to include in the
+   * response. Further [EkmConnections][google.cloud.kms.v1.EkmConnection] can
+   * subsequently be obtained by including the
+   * [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token]
+   * in a subsequent request. If unspecified, the server will pick an
+   * appropriate default.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * Optional. Optional pagination token, returned earlier via
+   * [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token].
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * Optional. Optional pagination token, returned earlier via
+   * [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token].
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
+   * Optional. Only include resources that match the filter in the response. For
+   * more information, see
+   * [Sorting and filtering list
+   * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+   * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * Optional. Only include resources that match the filter in the response. For
+   * more information, see
+   * [Sorting and filtering list
+   * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+   * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. + */ + com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * Optional. Specify how the results should be sorted. If not specified, the
+   * results will be sorted in the default order.  For more information, see
+   * [Sorting and filtering list
+   * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+   * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * Optional. Specify how the results should be sorted. If not specified, the
+   * results will be sorted in the default order.  For more information, see
+   * [Sorting and filtering list
+   * results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+   * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsResponse.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsResponse.java new file mode 100644 index 00000000..b6108dc0 --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsResponse.java @@ -0,0 +1,1241 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +/** + * + * + *
+ * Response message for [KeyManagementService.ListEkmConnections][].
+ * 
+ * + * Protobuf type {@code google.cloud.kms.v1.ListEkmConnectionsResponse} + */ +public final class ListEkmConnectionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.kms.v1.ListEkmConnectionsResponse) + ListEkmConnectionsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListEkmConnectionsResponse.newBuilder() to construct. + private ListEkmConnectionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListEkmConnectionsResponse() { + ekmConnections_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListEkmConnectionsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListEkmConnectionsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + ekmConnections_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + ekmConnections_.add( + input.readMessage( + com.google.cloud.kms.v1.EkmConnection.parser(), extensionRegistry)); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + case 24: + { + totalSize_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + ekmConnections_ = java.util.Collections.unmodifiableList(ekmConnections_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_ListEkmConnectionsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_ListEkmConnectionsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.ListEkmConnectionsResponse.class, + com.google.cloud.kms.v1.ListEkmConnectionsResponse.Builder.class); + } + + public static final int EKM_CONNECTIONS_FIELD_NUMBER = 1; + private java.util.List ekmConnections_; + /** + * + * + *
+   * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + @java.lang.Override + public java.util.List getEkmConnectionsList() { + return ekmConnections_; + } + /** + * + * + *
+   * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + @java.lang.Override + public java.util.List + getEkmConnectionsOrBuilderList() { + return ekmConnections_; + } + /** + * + * + *
+   * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + @java.lang.Override + public int getEkmConnectionsCount() { + return ekmConnections_.size(); + } + /** + * + * + *
+   * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnection getEkmConnections(int index) { + return ekmConnections_.get(index); + } + /** + * + * + *
+   * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnectionOrBuilder getEkmConnectionsOrBuilder(int index) { + return ekmConnections_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + * + * + *
+   * A token to retrieve next page of results. Pass this value in
+   * [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token]
+   * to retrieve the next page of results.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
+   * A token to retrieve next page of results. Pass this value in
+   * [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token]
+   * to retrieve the next page of results.
+   * 
+ * + * string next_page_token = 2; + * + * @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) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TOTAL_SIZE_FIELD_NUMBER = 3; + private int totalSize_; + /** + * + * + *
+   * The total number of [EkmConnections][google.cloud.kms.v1.EkmConnection]
+   * that matched the query.
+   * 
+ * + * int32 total_size = 3; + * + * @return The totalSize. + */ + @java.lang.Override + public int getTotalSize() { + return totalSize_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < ekmConnections_.size(); i++) { + output.writeMessage(1, ekmConnections_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + if (totalSize_ != 0) { + output.writeInt32(3, totalSize_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < ekmConnections_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, ekmConnections_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + if (totalSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, totalSize_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.kms.v1.ListEkmConnectionsResponse)) { + return super.equals(obj); + } + com.google.cloud.kms.v1.ListEkmConnectionsResponse other = + (com.google.cloud.kms.v1.ListEkmConnectionsResponse) obj; + + if (!getEkmConnectionsList().equals(other.getEkmConnectionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (getTotalSize() != other.getTotalSize()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getEkmConnectionsCount() > 0) { + hash = (37 * hash) + EKM_CONNECTIONS_FIELD_NUMBER; + hash = (53 * hash) + getEkmConnectionsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (37 * hash) + TOTAL_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getTotalSize(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.kms.v1.ListEkmConnectionsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for [KeyManagementService.ListEkmConnections][].
+   * 
+ * + * Protobuf type {@code google.cloud.kms.v1.ListEkmConnectionsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.kms.v1.ListEkmConnectionsResponse) + com.google.cloud.kms.v1.ListEkmConnectionsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_ListEkmConnectionsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_ListEkmConnectionsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.ListEkmConnectionsResponse.class, + com.google.cloud.kms.v1.ListEkmConnectionsResponse.Builder.class); + } + + // Construct using com.google.cloud.kms.v1.ListEkmConnectionsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getEkmConnectionsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (ekmConnectionsBuilder_ == null) { + ekmConnections_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ekmConnectionsBuilder_.clear(); + } + nextPageToken_ = ""; + + totalSize_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_ListEkmConnectionsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.kms.v1.ListEkmConnectionsResponse getDefaultInstanceForType() { + return com.google.cloud.kms.v1.ListEkmConnectionsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.kms.v1.ListEkmConnectionsResponse build() { + com.google.cloud.kms.v1.ListEkmConnectionsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.kms.v1.ListEkmConnectionsResponse buildPartial() { + com.google.cloud.kms.v1.ListEkmConnectionsResponse result = + new com.google.cloud.kms.v1.ListEkmConnectionsResponse(this); + int from_bitField0_ = bitField0_; + if (ekmConnectionsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + ekmConnections_ = java.util.Collections.unmodifiableList(ekmConnections_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.ekmConnections_ = ekmConnections_; + } else { + result.ekmConnections_ = ekmConnectionsBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + result.totalSize_ = totalSize_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.kms.v1.ListEkmConnectionsResponse) { + return mergeFrom((com.google.cloud.kms.v1.ListEkmConnectionsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.kms.v1.ListEkmConnectionsResponse other) { + if (other == com.google.cloud.kms.v1.ListEkmConnectionsResponse.getDefaultInstance()) + return this; + if (ekmConnectionsBuilder_ == null) { + if (!other.ekmConnections_.isEmpty()) { + if (ekmConnections_.isEmpty()) { + ekmConnections_ = other.ekmConnections_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureEkmConnectionsIsMutable(); + ekmConnections_.addAll(other.ekmConnections_); + } + onChanged(); + } + } else { + if (!other.ekmConnections_.isEmpty()) { + if (ekmConnectionsBuilder_.isEmpty()) { + ekmConnectionsBuilder_.dispose(); + ekmConnectionsBuilder_ = null; + ekmConnections_ = other.ekmConnections_; + bitField0_ = (bitField0_ & ~0x00000001); + ekmConnectionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEkmConnectionsFieldBuilder() + : null; + } else { + ekmConnectionsBuilder_.addAllMessages(other.ekmConnections_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + if (other.getTotalSize() != 0) { + setTotalSize(other.getTotalSize()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.kms.v1.ListEkmConnectionsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.kms.v1.ListEkmConnectionsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List ekmConnections_ = + java.util.Collections.emptyList(); + + private void ensureEkmConnectionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + ekmConnections_ = + new java.util.ArrayList(ekmConnections_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.kms.v1.EkmConnection, + com.google.cloud.kms.v1.EkmConnection.Builder, + com.google.cloud.kms.v1.EkmConnectionOrBuilder> + ekmConnectionsBuilder_; + + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public java.util.List getEkmConnectionsList() { + if (ekmConnectionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(ekmConnections_); + } else { + return ekmConnectionsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public int getEkmConnectionsCount() { + if (ekmConnectionsBuilder_ == null) { + return ekmConnections_.size(); + } else { + return ekmConnectionsBuilder_.getCount(); + } + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public com.google.cloud.kms.v1.EkmConnection getEkmConnections(int index) { + if (ekmConnectionsBuilder_ == null) { + return ekmConnections_.get(index); + } else { + return ekmConnectionsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public Builder setEkmConnections(int index, com.google.cloud.kms.v1.EkmConnection value) { + if (ekmConnectionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEkmConnectionsIsMutable(); + ekmConnections_.set(index, value); + onChanged(); + } else { + ekmConnectionsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public Builder setEkmConnections( + int index, com.google.cloud.kms.v1.EkmConnection.Builder builderForValue) { + if (ekmConnectionsBuilder_ == null) { + ensureEkmConnectionsIsMutable(); + ekmConnections_.set(index, builderForValue.build()); + onChanged(); + } else { + ekmConnectionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public Builder addEkmConnections(com.google.cloud.kms.v1.EkmConnection value) { + if (ekmConnectionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEkmConnectionsIsMutable(); + ekmConnections_.add(value); + onChanged(); + } else { + ekmConnectionsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public Builder addEkmConnections(int index, com.google.cloud.kms.v1.EkmConnection value) { + if (ekmConnectionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEkmConnectionsIsMutable(); + ekmConnections_.add(index, value); + onChanged(); + } else { + ekmConnectionsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public Builder addEkmConnections( + com.google.cloud.kms.v1.EkmConnection.Builder builderForValue) { + if (ekmConnectionsBuilder_ == null) { + ensureEkmConnectionsIsMutable(); + ekmConnections_.add(builderForValue.build()); + onChanged(); + } else { + ekmConnectionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public Builder addEkmConnections( + int index, com.google.cloud.kms.v1.EkmConnection.Builder builderForValue) { + if (ekmConnectionsBuilder_ == null) { + ensureEkmConnectionsIsMutable(); + ekmConnections_.add(index, builderForValue.build()); + onChanged(); + } else { + ekmConnectionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public Builder addAllEkmConnections( + java.lang.Iterable values) { + if (ekmConnectionsBuilder_ == null) { + ensureEkmConnectionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ekmConnections_); + onChanged(); + } else { + ekmConnectionsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public Builder clearEkmConnections() { + if (ekmConnectionsBuilder_ == null) { + ekmConnections_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + ekmConnectionsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public Builder removeEkmConnections(int index) { + if (ekmConnectionsBuilder_ == null) { + ensureEkmConnectionsIsMutable(); + ekmConnections_.remove(index); + onChanged(); + } else { + ekmConnectionsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public com.google.cloud.kms.v1.EkmConnection.Builder getEkmConnectionsBuilder(int index) { + return getEkmConnectionsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public com.google.cloud.kms.v1.EkmConnectionOrBuilder getEkmConnectionsOrBuilder(int index) { + if (ekmConnectionsBuilder_ == null) { + return ekmConnections_.get(index); + } else { + return ekmConnectionsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public java.util.List + getEkmConnectionsOrBuilderList() { + if (ekmConnectionsBuilder_ != null) { + return ekmConnectionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(ekmConnections_); + } + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public com.google.cloud.kms.v1.EkmConnection.Builder addEkmConnectionsBuilder() { + return getEkmConnectionsFieldBuilder() + .addBuilder(com.google.cloud.kms.v1.EkmConnection.getDefaultInstance()); + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public com.google.cloud.kms.v1.EkmConnection.Builder addEkmConnectionsBuilder(int index) { + return getEkmConnectionsFieldBuilder() + .addBuilder(index, com.google.cloud.kms.v1.EkmConnection.getDefaultInstance()); + } + /** + * + * + *
+     * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+     * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + public java.util.List + getEkmConnectionsBuilderList() { + return getEkmConnectionsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.kms.v1.EkmConnection, + com.google.cloud.kms.v1.EkmConnection.Builder, + com.google.cloud.kms.v1.EkmConnectionOrBuilder> + getEkmConnectionsFieldBuilder() { + if (ekmConnectionsBuilder_ == null) { + ekmConnectionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.kms.v1.EkmConnection, + com.google.cloud.kms.v1.EkmConnection.Builder, + com.google.cloud.kms.v1.EkmConnectionOrBuilder>( + ekmConnections_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + ekmConnections_ = null; + } + return ekmConnectionsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * A token to retrieve next page of results. Pass this value in
+     * [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token]
+     * to retrieve the next page of results.
+     * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A token to retrieve next page of results. Pass this value in
+     * [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token]
+     * to retrieve the next page of results.
+     * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A token to retrieve next page of results. Pass this value in
+     * [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token]
+     * to retrieve the next page of results.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A token to retrieve next page of results. Pass this value in
+     * [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token]
+     * to retrieve the next page of results.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + * + * + *
+     * A token to retrieve next page of results. Pass this value in
+     * [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token]
+     * to retrieve the next page of results.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + + private int totalSize_; + /** + * + * + *
+     * The total number of [EkmConnections][google.cloud.kms.v1.EkmConnection]
+     * that matched the query.
+     * 
+ * + * int32 total_size = 3; + * + * @return The totalSize. + */ + @java.lang.Override + public int getTotalSize() { + return totalSize_; + } + /** + * + * + *
+     * The total number of [EkmConnections][google.cloud.kms.v1.EkmConnection]
+     * that matched the query.
+     * 
+ * + * int32 total_size = 3; + * + * @param value The totalSize to set. + * @return This builder for chaining. + */ + public Builder setTotalSize(int value) { + + totalSize_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The total number of [EkmConnections][google.cloud.kms.v1.EkmConnection]
+     * that matched the query.
+     * 
+ * + * int32 total_size = 3; + * + * @return This builder for chaining. + */ + public Builder clearTotalSize() { + + totalSize_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.kms.v1.ListEkmConnectionsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.kms.v1.ListEkmConnectionsResponse) + private static final com.google.cloud.kms.v1.ListEkmConnectionsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.kms.v1.ListEkmConnectionsResponse(); + } + + public static com.google.cloud.kms.v1.ListEkmConnectionsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEkmConnectionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEkmConnectionsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.kms.v1.ListEkmConnectionsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsResponseOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsResponseOrBuilder.java new file mode 100644 index 00000000..7277b536 --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListEkmConnectionsResponseOrBuilder.java @@ -0,0 +1,120 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +public interface ListEkmConnectionsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.ListEkmConnectionsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + java.util.List getEkmConnectionsList(); + /** + * + * + *
+   * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + com.google.cloud.kms.v1.EkmConnection getEkmConnections(int index); + /** + * + * + *
+   * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + int getEkmConnectionsCount(); + /** + * + * + *
+   * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + java.util.List + getEkmConnectionsOrBuilderList(); + /** + * + * + *
+   * The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
+   * 
+ * + * repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1; + */ + com.google.cloud.kms.v1.EkmConnectionOrBuilder getEkmConnectionsOrBuilder(int index); + + /** + * + * + *
+   * A token to retrieve next page of results. Pass this value in
+   * [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token]
+   * to retrieve the next page of results.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * A token to retrieve next page of results. Pass this value in
+   * [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token]
+   * to retrieve the next page of results.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); + + /** + * + * + *
+   * The total number of [EkmConnections][google.cloud.kms.v1.EkmConnection]
+   * that matched the query.
+   * 
+ * + * int32 total_size = 3; + * + * @return The totalSize. + */ + int getTotalSize(); +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsRequest.java index 5c9a0278..fca6bcb8 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs].
+ * Request message for
+ * [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs].
  * 
* * Protobuf type {@code google.cloud.kms.v1.ListImportJobsRequest} @@ -146,8 +147,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-   * `projects/*/locations/*/keyRings/*`.
+   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+   * to list, in the format `projects/*/locations/*/keyRings/*`.
    * 
* * @@ -172,8 +173,8 @@ public java.lang.String getParent() { * * *
-   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-   * `projects/*/locations/*/keyRings/*`.
+   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+   * to list, in the format `projects/*/locations/*/keyRings/*`.
    * 
* * @@ -201,10 +202,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Optional. Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the
-   * response. Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be obtained by
-   * including the [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token] in a subsequent
-   * request. If unspecified, the server will pick an appropriate default.
+   * Optional. Optional limit on the number of
+   * [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the response.
+   * Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be
+   * obtained by including the
+   * [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token]
+   * in a subsequent request. If unspecified, the server will pick an
+   * appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -576,7 +580,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs].
+   * Request message for
+   * [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs].
    * 
* * Protobuf type {@code google.cloud.kms.v1.ListImportJobsRequest} @@ -761,8 +766,8 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-     * `projects/*/locations/*/keyRings/*`.
+     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+     * to list, in the format `projects/*/locations/*/keyRings/*`.
      * 
* * @@ -786,8 +791,8 @@ public java.lang.String getParent() { * * *
-     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-     * `projects/*/locations/*/keyRings/*`.
+     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+     * to list, in the format `projects/*/locations/*/keyRings/*`.
      * 
* * @@ -811,8 +816,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-     * `projects/*/locations/*/keyRings/*`.
+     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+     * to list, in the format `projects/*/locations/*/keyRings/*`.
      * 
* * @@ -835,8 +840,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-     * `projects/*/locations/*/keyRings/*`.
+     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+     * to list, in the format `projects/*/locations/*/keyRings/*`.
      * 
* * @@ -855,8 +860,8 @@ public Builder clearParent() { * * *
-     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-     * `projects/*/locations/*/keyRings/*`.
+     * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+     * to list, in the format `projects/*/locations/*/keyRings/*`.
      * 
* * @@ -882,10 +887,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the
-     * response. Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be obtained by
-     * including the [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token] in a subsequent
-     * request. If unspecified, the server will pick an appropriate default.
+     * Optional. Optional limit on the number of
+     * [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the response.
+     * Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be
+     * obtained by including the
+     * [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token]
+     * in a subsequent request. If unspecified, the server will pick an
+     * appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -900,10 +908,13 @@ public int getPageSize() { * * *
-     * Optional. Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the
-     * response. Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be obtained by
-     * including the [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token] in a subsequent
-     * request. If unspecified, the server will pick an appropriate default.
+     * Optional. Optional limit on the number of
+     * [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the response.
+     * Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be
+     * obtained by including the
+     * [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token]
+     * in a subsequent request. If unspecified, the server will pick an
+     * appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -921,10 +932,13 @@ public Builder setPageSize(int value) { * * *
-     * Optional. Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the
-     * response. Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be obtained by
-     * including the [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token] in a subsequent
-     * request. If unspecified, the server will pick an appropriate default.
+     * Optional. Optional limit on the number of
+     * [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the response.
+     * Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be
+     * obtained by including the
+     * [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token]
+     * in a subsequent request. If unspecified, the server will pick an
+     * appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsRequestOrBuilder.java index f1b3f3fd..e3501bf0 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface ListImportJobsRequestOrBuilder * * *
-   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-   * `projects/*/locations/*/keyRings/*`.
+   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+   * to list, in the format `projects/*/locations/*/keyRings/*`.
    * 
* * @@ -42,8 +42,8 @@ public interface ListImportJobsRequestOrBuilder * * *
-   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
-   * `projects/*/locations/*/keyRings/*`.
+   * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
+   * to list, in the format `projects/*/locations/*/keyRings/*`.
    * 
* * @@ -58,10 +58,13 @@ public interface ListImportJobsRequestOrBuilder * * *
-   * Optional. Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the
-   * response. Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be obtained by
-   * including the [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token] in a subsequent
-   * request. If unspecified, the server will pick an appropriate default.
+   * Optional. Optional limit on the number of
+   * [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the response.
+   * Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be
+   * obtained by including the
+   * [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token]
+   * in a subsequent request. If unspecified, the server will pick an
+   * appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsResponse.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsResponse.java index 2b95a2f5..39c5f628 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsResponse.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsResponse.java @@ -22,7 +22,8 @@ * * *
- * Response message for [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs].
+ * Response message for
+ * [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs].
  * 
* * Protobuf type {@code google.cloud.kms.v1.ListImportJobsResponse} @@ -207,7 +208,8 @@ public com.google.cloud.kms.v1.ImportJobOrBuilder getImportJobsOrBuilder(int ind * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token] to retrieve the next page of results.
+   * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -231,7 +233,8 @@ public java.lang.String getNextPageToken() { * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token] to retrieve the next page of results.
+   * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -257,7 +260,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * *
-   * The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that matched the query.
+   * The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that
+   * matched the query.
    * 
* * int32 total_size = 3; @@ -452,7 +456,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs].
+   * Response message for
+   * [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs].
    * 
* * Protobuf type {@code google.cloud.kms.v1.ListImportJobsResponse} @@ -1012,7 +1017,8 @@ public java.util.List getImportJobsBu * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token] to retrieve the next page of results.
+     * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1035,7 +1041,8 @@ public java.lang.String getNextPageToken() { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token] to retrieve the next page of results.
+     * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1058,7 +1065,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token] to retrieve the next page of results.
+     * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1080,7 +1088,8 @@ public Builder setNextPageToken(java.lang.String value) { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token] to retrieve the next page of results.
+     * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1098,7 +1107,8 @@ public Builder clearNextPageToken() { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token] to retrieve the next page of results.
+     * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1122,7 +1132,8 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { * * *
-     * The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that matched the query.
+     * The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that
+     * matched the query.
      * 
* * int32 total_size = 3; @@ -1137,7 +1148,8 @@ public int getTotalSize() { * * *
-     * The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that matched the query.
+     * The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that
+     * matched the query.
      * 
* * int32 total_size = 3; @@ -1155,7 +1167,8 @@ public Builder setTotalSize(int value) { * * *
-     * The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that matched the query.
+     * The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that
+     * matched the query.
      * 
* * int32 total_size = 3; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsResponseOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsResponseOrBuilder.java index 7c2141d3..25ff1724 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsResponseOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsResponseOrBuilder.java @@ -79,7 +79,8 @@ public interface ListImportJobsResponseOrBuilder * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token] to retrieve the next page of results.
+   * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -92,7 +93,8 @@ public interface ListImportJobsResponseOrBuilder * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token] to retrieve the next page of results.
+   * [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -105,7 +107,8 @@ public interface ListImportJobsResponseOrBuilder * * *
-   * The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that matched the query.
+   * The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that
+   * matched the query.
    * 
* * int32 total_size = 3; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsRequest.java index 19f5573a..f6aee19c 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings].
+ * Request message for
+ * [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings].
  * 
* * Protobuf type {@code google.cloud.kms.v1.ListKeyRingsRequest} @@ -147,7 +148,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The resource name of the location associated with the
-   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+   * `projects/*/locations/*`.
    * 
* * @@ -173,7 +175,8 @@ public java.lang.String getParent() { * *
    * Required. The resource name of the location associated with the
-   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+   * `projects/*/locations/*`.
    * 
* * @@ -201,10 +204,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Optional. Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the
-   * response.  Further [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by
-   * including the [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token] in a subsequent
-   * request.  If unspecified, the server will pick an appropriate default.
+   * Optional. Optional limit on the number of
+   * [KeyRings][google.cloud.kms.v1.KeyRing] to include in the response. Further
+   * [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by
+   * including the
+   * [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token]
+   * in a subsequent request.  If unspecified, the server will pick an
+   * appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -576,7 +582,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings].
+   * Request message for
+   * [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings].
    * 
* * Protobuf type {@code google.cloud.kms.v1.ListKeyRingsRequest} @@ -762,7 +769,8 @@ public Builder mergeFrom( * *
      * Required. The resource name of the location associated with the
-     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+     * `projects/*/locations/*`.
      * 
* * @@ -787,7 +795,8 @@ public java.lang.String getParent() { * *
      * Required. The resource name of the location associated with the
-     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+     * `projects/*/locations/*`.
      * 
* * @@ -812,7 +821,8 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The resource name of the location associated with the
-     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+     * `projects/*/locations/*`.
      * 
* * @@ -836,7 +846,8 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The resource name of the location associated with the
-     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+     * `projects/*/locations/*`.
      * 
* * @@ -856,7 +867,8 @@ public Builder clearParent() { * *
      * Required. The resource name of the location associated with the
-     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+     * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+     * `projects/*/locations/*`.
      * 
* * @@ -882,10 +894,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the
-     * response.  Further [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by
-     * including the [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token] in a subsequent
-     * request.  If unspecified, the server will pick an appropriate default.
+     * Optional. Optional limit on the number of
+     * [KeyRings][google.cloud.kms.v1.KeyRing] to include in the response. Further
+     * [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by
+     * including the
+     * [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token]
+     * in a subsequent request.  If unspecified, the server will pick an
+     * appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -900,10 +915,13 @@ public int getPageSize() { * * *
-     * Optional. Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the
-     * response.  Further [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by
-     * including the [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token] in a subsequent
-     * request.  If unspecified, the server will pick an appropriate default.
+     * Optional. Optional limit on the number of
+     * [KeyRings][google.cloud.kms.v1.KeyRing] to include in the response. Further
+     * [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by
+     * including the
+     * [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token]
+     * in a subsequent request.  If unspecified, the server will pick an
+     * appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -921,10 +939,13 @@ public Builder setPageSize(int value) { * * *
-     * Optional. Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the
-     * response.  Further [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by
-     * including the [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token] in a subsequent
-     * request.  If unspecified, the server will pick an appropriate default.
+     * Optional. Optional limit on the number of
+     * [KeyRings][google.cloud.kms.v1.KeyRing] to include in the response. Further
+     * [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by
+     * including the
+     * [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token]
+     * in a subsequent request.  If unspecified, the server will pick an
+     * appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsRequestOrBuilder.java index b8890111..4a87024b 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsRequestOrBuilder.java @@ -28,7 +28,8 @@ public interface ListKeyRingsRequestOrBuilder * *
    * Required. The resource name of the location associated with the
-   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+   * `projects/*/locations/*`.
    * 
* * @@ -43,7 +44,8 @@ public interface ListKeyRingsRequestOrBuilder * *
    * Required. The resource name of the location associated with the
-   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`.
+   * [KeyRings][google.cloud.kms.v1.KeyRing], in the format
+   * `projects/*/locations/*`.
    * 
* * @@ -58,10 +60,13 @@ public interface ListKeyRingsRequestOrBuilder * * *
-   * Optional. Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the
-   * response.  Further [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by
-   * including the [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token] in a subsequent
-   * request.  If unspecified, the server will pick an appropriate default.
+   * Optional. Optional limit on the number of
+   * [KeyRings][google.cloud.kms.v1.KeyRing] to include in the response. Further
+   * [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by
+   * including the
+   * [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token]
+   * in a subsequent request.  If unspecified, the server will pick an
+   * appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsResponse.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsResponse.java index d656f182..111d6a71 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsResponse.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsResponse.java @@ -22,7 +22,8 @@ * * *
- * Response message for [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings].
+ * Response message for
+ * [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings].
  * 
* * Protobuf type {@code google.cloud.kms.v1.ListKeyRingsResponse} @@ -207,7 +208,8 @@ public com.google.cloud.kms.v1.KeyRingOrBuilder getKeyRingsOrBuilder(int index) * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results.
+   * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -231,7 +233,8 @@ public java.lang.String getNextPageToken() { * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results.
+   * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -257,7 +260,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * *
-   * The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched the query.
+   * The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched
+   * the query.
    * 
* * int32 total_size = 3; @@ -452,7 +456,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings].
+   * Response message for
+   * [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings].
    * 
* * Protobuf type {@code google.cloud.kms.v1.ListKeyRingsResponse} @@ -1010,7 +1015,8 @@ public java.util.List getKeyRingsBuilde * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results.
+     * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1033,7 +1039,8 @@ public java.lang.String getNextPageToken() { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results.
+     * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1056,7 +1063,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results.
+     * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1078,7 +1086,8 @@ public Builder setNextPageToken(java.lang.String value) { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results.
+     * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1096,7 +1105,8 @@ public Builder clearNextPageToken() { * *
      * A token to retrieve next page of results. Pass this value in
-     * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results.
+     * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; @@ -1120,7 +1130,8 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { * * *
-     * The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched the query.
+     * The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched
+     * the query.
      * 
* * int32 total_size = 3; @@ -1135,7 +1146,8 @@ public int getTotalSize() { * * *
-     * The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched the query.
+     * The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched
+     * the query.
      * 
* * int32 total_size = 3; @@ -1153,7 +1165,8 @@ public Builder setTotalSize(int value) { * * *
-     * The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched the query.
+     * The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched
+     * the query.
      * 
* * int32 total_size = 3; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsResponseOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsResponseOrBuilder.java index dc56f1cc..bb558e6c 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsResponseOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsResponseOrBuilder.java @@ -79,7 +79,8 @@ public interface ListKeyRingsResponseOrBuilder * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results.
+   * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -92,7 +93,8 @@ public interface ListKeyRingsResponseOrBuilder * *
    * A token to retrieve next page of results. Pass this value in
-   * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results.
+   * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; @@ -105,7 +107,8 @@ public interface ListKeyRingsResponseOrBuilder * * *
-   * The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched the query.
+   * The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched
+   * the query.
    * 
* * int32 total_size = 3; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/LocationMetadata.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/LocationMetadata.java index 51b339a6..c8c87f91 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/LocationMetadata.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/LocationMetadata.java @@ -22,7 +22,8 @@ * * *
- * Cloud KMS metadata for the given [google.cloud.location.Location][google.cloud.location.Location].
+ * Cloud KMS metadata for the given
+ * [google.cloud.location.Location][google.cloud.location.Location].
  * 
* * Protobuf type {@code google.cloud.kms.v1.LocationMetadata} @@ -120,7 +121,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with
    * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
-   * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this location.
+   * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this
+   * location.
    * 
* * bool hsm_available = 1; @@ -140,7 +142,8 @@ public boolean getHsmAvailable() { *
    * Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with
    * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
-   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in this location.
+   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in
+   * this location.
    * 
* * bool ekm_available = 2; @@ -323,7 +326,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Cloud KMS metadata for the given [google.cloud.location.Location][google.cloud.location.Location].
+   * Cloud KMS metadata for the given
+   * [google.cloud.location.Location][google.cloud.location.Location].
    * 
* * Protobuf type {@code google.cloud.kms.v1.LocationMetadata} @@ -488,7 +492,8 @@ public Builder mergeFrom( *
      * Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with
      * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
-     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this location.
+     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this
+     * location.
      * 
* * bool hsm_available = 1; @@ -505,7 +510,8 @@ public boolean getHsmAvailable() { *
      * Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with
      * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
-     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this location.
+     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this
+     * location.
      * 
* * bool hsm_available = 1; @@ -525,7 +531,8 @@ public Builder setHsmAvailable(boolean value) { *
      * Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with
      * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
-     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this location.
+     * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this
+     * location.
      * 
* * bool hsm_available = 1; @@ -546,7 +553,8 @@ public Builder clearHsmAvailable() { *
      * Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with
      * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
-     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in this location.
+     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in
+     * this location.
      * 
* * bool ekm_available = 2; @@ -563,7 +571,8 @@ public boolean getEkmAvailable() { *
      * Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with
      * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
-     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in this location.
+     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in
+     * this location.
      * 
* * bool ekm_available = 2; @@ -583,7 +592,8 @@ public Builder setEkmAvailable(boolean value) { *
      * Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with
      * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
-     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in this location.
+     * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in
+     * this location.
      * 
* * bool ekm_available = 2; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/LocationMetadataOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/LocationMetadataOrBuilder.java index 3b3ddcb8..e76d4834 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/LocationMetadataOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/LocationMetadataOrBuilder.java @@ -29,7 +29,8 @@ public interface LocationMetadataOrBuilder *
    * Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with
    * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
-   * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this location.
+   * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this
+   * location.
    * 
* * bool hsm_available = 1; @@ -44,7 +45,8 @@ public interface LocationMetadataOrBuilder *
    * Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with
    * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]
-   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in this location.
+   * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in
+   * this location.
    * 
* * bool ekm_available = 2; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignRequest.java index 753f6492..57db81c0 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign].
+ * Request message for
+ * [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign].
  * 
* * Protobuf type {@code google.cloud.kms.v1.MacSignRequest} @@ -138,7 +139,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * signing.
    * 
* * @@ -163,7 +166,9 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * signing.
    * 
* * @@ -191,8 +196,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. The data to sign. The MAC tag is computed over this data field based on
-   * the specific algorithm.
+   * Required. The data to sign. The MAC tag is computed over this data field
+   * based on the specific algorithm.
    * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -210,19 +215,23 @@ public com.google.protobuf.ByteString getData() { * * *
-   * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+   * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+   * equal to
+   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -238,19 +247,23 @@ public boolean hasDataCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+   * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+   * equal to
+   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -266,19 +279,23 @@ public com.google.protobuf.Int64Value getDataCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+   * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+   * equal to
+   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -474,7 +491,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign].
+   * Request message for
+   * [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign].
    * 
* * Protobuf type {@code google.cloud.kms.v1.MacSignRequest} @@ -652,7 +670,9 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * signing.
      * 
* * @@ -676,7 +696,9 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * signing.
      * 
* * @@ -700,7 +722,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * signing.
      * 
* * @@ -723,7 +747,9 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * signing.
      * 
* * @@ -742,7 +768,9 @@ public Builder clearName() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * signing.
      * 
* * @@ -768,8 +796,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The data to sign. The MAC tag is computed over this data field based on
-     * the specific algorithm.
+     * Required. The data to sign. The MAC tag is computed over this data field
+     * based on the specific algorithm.
      * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -784,8 +812,8 @@ public com.google.protobuf.ByteString getData() { * * *
-     * Required. The data to sign. The MAC tag is computed over this data field based on
-     * the specific algorithm.
+     * Required. The data to sign. The MAC tag is computed over this data field
+     * based on the specific algorithm.
      * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -806,8 +834,8 @@ public Builder setData(com.google.protobuf.ByteString value) { * * *
-     * Required. The data to sign. The MAC tag is computed over this data field based on
-     * the specific algorithm.
+     * Required. The data to sign. The MAC tag is computed over this data field
+     * based on the specific algorithm.
      * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -831,19 +859,23 @@ public Builder clearData() { * * *
-     * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+     * equal to
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -858,19 +890,23 @@ public boolean hasDataCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+     * equal to
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -891,19 +927,23 @@ public com.google.protobuf.Int64Value getDataCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+     * equal to
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -926,19 +966,23 @@ public Builder setDataCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+     * equal to
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -958,19 +1002,23 @@ public Builder setDataCrc32C(com.google.protobuf.Int64Value.Builder builderForVa * * *
-     * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+     * equal to
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -997,19 +1045,23 @@ public Builder mergeDataCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+     * equal to
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1030,19 +1082,23 @@ public Builder clearDataCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+     * equal to
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1057,19 +1113,23 @@ public com.google.protobuf.Int64Value.Builder getDataCrc32CBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+     * equal to
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1088,19 +1148,23 @@ public com.google.protobuf.Int64ValueOrBuilder getDataCrc32COrBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+     * equal to
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignRequestOrBuilder.java index 271ae7a0..fe2177c0 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignRequestOrBuilder.java @@ -27,7 +27,9 @@ public interface MacSignRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * signing.
    * 
* * @@ -41,7 +43,9 @@ public interface MacSignRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * signing.
    * 
* * @@ -56,8 +60,8 @@ public interface MacSignRequestOrBuilder * * *
-   * Required. The data to sign. The MAC tag is computed over this data field based on
-   * the specific algorithm.
+   * Required. The data to sign. The MAC tag is computed over this data field
+   * based on the specific algorithm.
    * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -70,19 +74,23 @@ public interface MacSignRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+   * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+   * equal to
+   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -95,19 +103,23 @@ public interface MacSignRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+   * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+   * equal to
+   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -120,19 +132,23 @@ public interface MacSignRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to
-   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this
+   * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is
+   * equal to
+   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignResponse.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignResponse.java index 0d62bf9e..a1d28f07 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignResponse.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignResponse.java @@ -22,7 +22,8 @@ * * *
- * Response message for [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign].
+ * Response message for
+ * [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign].
  * 
* * Protobuf type {@code google.cloud.kms.v1.MacSignResponse} @@ -151,8 +152,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-   * this field to verify that the intended resource was used for signing.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * Check this field to verify that the intended resource was used for signing.
    * 
* * string name = 1; @@ -175,8 +177,9 @@ public java.lang.String getName() { * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-   * this field to verify that the intended resource was used for signing.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * Check this field to verify that the intended resource was used for signing.
    * 
* * string name = 1; @@ -221,16 +224,18 @@ public com.google.protobuf.ByteString getMac() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-   * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+   * integrity check of
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+   * performed by computing the CRC32C checksum of
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+   * comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -246,16 +251,18 @@ public boolean hasMacCrc32C() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-   * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+   * integrity check of
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+   * performed by computing the CRC32C checksum of
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+   * comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -271,16 +278,18 @@ public com.google.protobuf.Int64Value getMacCrc32C() { * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-   * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+   * integrity check of
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+   * performed by computing the CRC32C checksum of
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+   * comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -297,13 +306,19 @@ public com.google.protobuf.Int64ValueOrBuilder getMacCrc32COrBuilder() { * *
    * Integrity verification field. A flag indicating whether
-   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [data][google.cloud.kms.v1.MacSignRequest.data]. A false value of this field
-   * indicates either that [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] was left
-   * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-   * set [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] but this field is still false,
-   * discard the response and perform a limited number of retries.
+   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [data][google.cloud.kms.v1.MacSignRequest.data]. A false value of this
+   * field indicates either that
+   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_data_crc32c = 4; @@ -321,7 +336,8 @@ public boolean getVerifiedDataCrc32C() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; @@ -336,7 +352,8 @@ public int getProtectionLevelValue() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; @@ -556,7 +573,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign].
+   * Response message for
+   * [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign].
    * 
* * Protobuf type {@code google.cloud.kms.v1.MacSignResponse} @@ -746,8 +764,9 @@ public Builder mergeFrom( * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-     * this field to verify that the intended resource was used for signing.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * Check this field to verify that the intended resource was used for signing.
      * 
* * string name = 1; @@ -769,8 +788,9 @@ public java.lang.String getName() { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-     * this field to verify that the intended resource was used for signing.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * Check this field to verify that the intended resource was used for signing.
      * 
* * string name = 1; @@ -792,8 +812,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-     * this field to verify that the intended resource was used for signing.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * Check this field to verify that the intended resource was used for signing.
      * 
* * string name = 1; @@ -814,8 +835,9 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-     * this field to verify that the intended resource was used for signing.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * Check this field to verify that the intended resource was used for signing.
      * 
* * string name = 1; @@ -832,8 +854,9 @@ public Builder clearName() { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-     * this field to verify that the intended resource was used for signing.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * Check this field to verify that the intended resource was used for signing.
      * 
* * string name = 1; @@ -918,16 +941,18 @@ public Builder clearMac() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-     * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+     * integrity check of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+     * performed by computing the CRC32C checksum of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+     * comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -942,16 +967,18 @@ public boolean hasMacCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-     * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+     * integrity check of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+     * performed by computing the CRC32C checksum of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+     * comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -972,16 +999,18 @@ public com.google.protobuf.Int64Value getMacCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-     * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+     * integrity check of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+     * performed by computing the CRC32C checksum of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+     * comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -1004,16 +1033,18 @@ public Builder setMacCrc32C(com.google.protobuf.Int64Value value) { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-     * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+     * integrity check of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+     * performed by computing the CRC32C checksum of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+     * comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -1033,16 +1064,18 @@ public Builder setMacCrc32C(com.google.protobuf.Int64Value.Builder builderForVal * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-     * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+     * integrity check of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+     * performed by computing the CRC32C checksum of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+     * comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -1067,16 +1100,18 @@ public Builder mergeMacCrc32C(com.google.protobuf.Int64Value value) { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-     * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+     * integrity check of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+     * performed by computing the CRC32C checksum of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+     * comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -1097,16 +1132,18 @@ public Builder clearMacCrc32C() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-     * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+     * integrity check of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+     * performed by computing the CRC32C checksum of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+     * comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -1121,16 +1158,18 @@ public com.google.protobuf.Int64Value.Builder getMacCrc32CBuilder() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-     * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+     * integrity check of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+     * performed by computing the CRC32C checksum of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+     * comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -1149,16 +1188,18 @@ public com.google.protobuf.Int64ValueOrBuilder getMacCrc32COrBuilder() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-     * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-     * results to this field. Discard the response in case of non-matching
-     * checksum values, and perform a limited number of retries. A persistent
-     * mismatch may indicate an issue in your computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+     * integrity check of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+     * performed by computing the CRC32C checksum of
+     * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+     * comparing your results to this field. Discard the response in case of
+     * non-matching checksum values, and perform a limited number of retries. A
+     * persistent mismatch may indicate an issue in your computation of the CRC32C
+     * checksum. Note: This field is defined as int64 for reasons of compatibility
+     * across different languages. However, it is a non-negative integer, which
+     * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+     * languages that support this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -1186,13 +1227,19 @@ public com.google.protobuf.Int64ValueOrBuilder getMacCrc32COrBuilder() { * *
      * Integrity verification field. A flag indicating whether
-     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [data][google.cloud.kms.v1.MacSignRequest.data]. A false value of this field
-     * indicates either that [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [data][google.cloud.kms.v1.MacSignRequest.data]. A false value of this
+     * field indicates either that
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_data_crc32c = 4; @@ -1208,13 +1255,19 @@ public boolean getVerifiedDataCrc32C() { * *
      * Integrity verification field. A flag indicating whether
-     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [data][google.cloud.kms.v1.MacSignRequest.data]. A false value of this field
-     * indicates either that [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [data][google.cloud.kms.v1.MacSignRequest.data]. A false value of this
+     * field indicates either that
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_data_crc32c = 4; @@ -1233,13 +1286,19 @@ public Builder setVerifiedDataCrc32C(boolean value) { * *
      * Integrity verification field. A flag indicating whether
-     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [data][google.cloud.kms.v1.MacSignRequest.data]. A false value of this field
-     * indicates either that [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [data][google.cloud.kms.v1.MacSignRequest.data]. A false value of this
+     * field indicates either that
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_data_crc32c = 4; @@ -1258,7 +1317,8 @@ public Builder clearVerifiedDataCrc32C() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; @@ -1273,7 +1333,8 @@ public int getProtectionLevelValue() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; @@ -1291,7 +1352,8 @@ public Builder setProtectionLevelValue(int value) { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; @@ -1309,7 +1371,8 @@ public com.google.cloud.kms.v1.ProtectionLevel getProtectionLevel() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; @@ -1330,7 +1393,8 @@ public Builder setProtectionLevel(com.google.cloud.kms.v1.ProtectionLevel value) * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignResponseOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignResponseOrBuilder.java index 5e9ae9f5..79c22327 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignResponseOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacSignResponseOrBuilder.java @@ -27,8 +27,9 @@ public interface MacSignResponseOrBuilder * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-   * this field to verify that the intended resource was used for signing.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * Check this field to verify that the intended resource was used for signing.
    * 
* * string name = 1; @@ -40,8 +41,9 @@ public interface MacSignResponseOrBuilder * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check
-   * this field to verify that the intended resource was used for signing.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * Check this field to verify that the intended resource was used for signing.
    * 
* * string name = 1; @@ -68,16 +70,18 @@ public interface MacSignResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-   * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+   * integrity check of
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+   * performed by computing the CRC32C checksum of
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+   * comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -90,16 +94,18 @@ public interface MacSignResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-   * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+   * integrity check of
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+   * performed by computing the CRC32C checksum of
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+   * comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -112,16 +118,18 @@ public interface MacSignResponseOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of
-   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the
-   * CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your
-   * results to this field. Discard the response in case of non-matching
-   * checksum values, and perform a limited number of retries. A persistent
-   * mismatch may indicate an issue in your computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An
+   * integrity check of
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be
+   * performed by computing the CRC32C checksum of
+   * [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and
+   * comparing your results to this field. Discard the response in case of
+   * non-matching checksum values, and perform a limited number of retries. A
+   * persistent mismatch may indicate an issue in your computation of the CRC32C
+   * checksum. Note: This field is defined as int64 for reasons of compatibility
+   * across different languages. However, it is a non-negative integer, which
+   * will never exceed 2^32-1, and can be safely downconverted to uint32 in
+   * languages that support this type.
    * 
* * .google.protobuf.Int64Value mac_crc32c = 3; @@ -133,13 +141,19 @@ public interface MacSignResponseOrBuilder * *
    * Integrity verification field. A flag indicating whether
-   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [data][google.cloud.kms.v1.MacSignRequest.data]. A false value of this field
-   * indicates either that [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] was left
-   * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-   * set [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] but this field is still false,
-   * discard the response and perform a limited number of retries.
+   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [data][google.cloud.kms.v1.MacSignRequest.data]. A false value of this
+   * field indicates either that
+   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_data_crc32c = 4; @@ -152,7 +166,8 @@ public interface MacSignResponseOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; @@ -164,7 +179,8 @@ public interface MacSignResponseOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyRequest.java index ad0e86c2..78042b65 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify].
+ * Request message for
+ * [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify].
  * 
* * Protobuf type {@code google.cloud.kms.v1.MacVerifyRequest} @@ -159,7 +160,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * verification.
    * 
* * @@ -184,7 +187,9 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * verification.
    * 
* * @@ -212,8 +217,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. The data used previously as a [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate the MAC
-   * tag.
+   * Required. The data used previously as a
+   * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate
+   * the MAC tag.
    * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -231,19 +237,24 @@ public com.google.protobuf.ByteString getData() { * * *
-   * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+   * this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+   * is equal to
+   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -259,19 +270,24 @@ public boolean hasDataCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+   * this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+   * is equal to
+   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -287,19 +303,24 @@ public com.google.protobuf.Int64Value getDataCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+   * this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+   * is equal to
+   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -334,19 +355,22 @@ public com.google.protobuf.ByteString getMac() { * * *
-   * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
+   * Optional. An optional CRC32C checksum of the
+   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+   * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
    * CRC32C([MacVerifyRequest.tag][]) is equal to
-   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -362,19 +386,22 @@ public boolean hasMacCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
+   * Optional. An optional CRC32C checksum of the
+   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+   * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
    * CRC32C([MacVerifyRequest.tag][]) is equal to
-   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -390,19 +417,22 @@ public com.google.protobuf.Int64Value getMacCrc32C() { * * *
-   * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
+   * Optional. An optional CRC32C checksum of the
+   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+   * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
    * CRC32C([MacVerifyRequest.tag][]) is equal to
-   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -621,7 +651,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify].
+   * Request message for
+   * [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify].
    * 
* * Protobuf type {@code google.cloud.kms.v1.MacVerifyRequest} @@ -819,7 +850,9 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * verification.
      * 
* * @@ -843,7 +876,9 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * verification.
      * 
* * @@ -867,7 +902,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * verification.
      * 
* * @@ -890,7 +927,9 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * verification.
      * 
* * @@ -909,7 +948,9 @@ public Builder clearName() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+     * verification.
      * 
* * @@ -935,8 +976,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The data used previously as a [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate the MAC
-     * tag.
+     * Required. The data used previously as a
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate
+     * the MAC tag.
      * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -951,8 +993,9 @@ public com.google.protobuf.ByteString getData() { * * *
-     * Required. The data used previously as a [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate the MAC
-     * tag.
+     * Required. The data used previously as a
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate
+     * the MAC tag.
      * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -973,8 +1016,9 @@ public Builder setData(com.google.protobuf.ByteString value) { * * *
-     * Required. The data used previously as a [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate the MAC
-     * tag.
+     * Required. The data used previously as a
+     * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate
+     * the MAC tag.
      * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -998,19 +1042,24 @@ public Builder clearData() { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+     * this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+     * is equal to
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1025,19 +1074,24 @@ public boolean hasDataCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+     * this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+     * is equal to
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1058,19 +1112,24 @@ public com.google.protobuf.Int64Value getDataCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+     * this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+     * is equal to
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1093,19 +1152,24 @@ public Builder setDataCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+     * this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+     * is equal to
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1125,19 +1189,24 @@ public Builder setDataCrc32C(com.google.protobuf.Int64Value.Builder builderForVa * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+     * this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+     * is equal to
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1164,19 +1233,24 @@ public Builder mergeDataCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+     * this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+     * is equal to
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1197,19 +1271,24 @@ public Builder clearDataCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+     * this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+     * is equal to
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1224,19 +1303,24 @@ public com.google.protobuf.Int64Value.Builder getDataCrc32CBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+     * this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+     * is equal to
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1255,19 +1339,24 @@ public com.google.protobuf.Int64ValueOrBuilder getDataCrc32COrBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
-     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+     * this checksum.
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+     * report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
+     * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+     * is equal to
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1355,19 +1444,22 @@ public Builder clearMac() { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
      * CRC32C([MacVerifyRequest.tag][]) is equal to
-     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1382,19 +1474,22 @@ public boolean hasMacCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
      * CRC32C([MacVerifyRequest.tag][]) is equal to
-     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1415,19 +1510,22 @@ public com.google.protobuf.Int64Value getMacCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
      * CRC32C([MacVerifyRequest.tag][]) is equal to
-     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1450,19 +1548,22 @@ public Builder setMacCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
      * CRC32C([MacVerifyRequest.tag][]) is equal to
-     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1482,19 +1583,22 @@ public Builder setMacCrc32C(com.google.protobuf.Int64Value.Builder builderForVal * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
      * CRC32C([MacVerifyRequest.tag][]) is equal to
-     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1519,19 +1623,22 @@ public Builder mergeMacCrc32C(com.google.protobuf.Int64Value value) { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
      * CRC32C([MacVerifyRequest.tag][]) is equal to
-     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1552,19 +1659,22 @@ public Builder clearMacCrc32C() { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
      * CRC32C([MacVerifyRequest.tag][]) is equal to
-     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1579,19 +1689,22 @@ public com.google.protobuf.Int64Value.Builder getMacCrc32CBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
      * CRC32C([MacVerifyRequest.tag][]) is equal to
-     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1610,19 +1723,22 @@ public com.google.protobuf.Int64ValueOrBuilder getMacCrc32COrBuilder() { * * *
-     * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-     * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-     * fails. If you receive a checksum error, your client should verify that
+     * Optional. An optional CRC32C checksum of the
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+     * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will verify the integrity of the received
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+     * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+     * will report an error if the checksum verification fails. If you receive a
+     * checksum error, your client should verify that
      * CRC32C([MacVerifyRequest.tag][]) is equal to
-     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-     * number of retries. A persistent mismatch may indicate an issue in your
-     * computation of the CRC32C checksum.
-     * Note: This field is defined as int64 for reasons of compatibility across
-     * different languages. However, it is a non-negative integer, which will
-     * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-     * that support this type.
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+     * and if so, perform a limited number of retries. A persistent mismatch may
+     * indicate an issue in your computation of the CRC32C checksum. Note: This
+     * field is defined as int64 for reasons of compatibility across different
+     * languages. However, it is a non-negative integer, which will never exceed
+     * 2^32-1, and can be safely downconverted to uint32 in languages that support
+     * this type.
      * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyRequestOrBuilder.java index b685e9ee..02f67521 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyRequestOrBuilder.java @@ -27,7 +27,9 @@ public interface MacVerifyRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * verification.
    * 
* * @@ -41,7 +43,9 @@ public interface MacVerifyRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
+   * verification.
    * 
* * @@ -56,8 +60,9 @@ public interface MacVerifyRequestOrBuilder * * *
-   * Required. The data used previously as a [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate the MAC
-   * tag.
+   * Required. The data used previously as a
+   * [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate
+   * the MAC tag.
    * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -70,19 +75,24 @@ public interface MacVerifyRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+   * this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+   * is equal to
+   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -95,19 +105,24 @@ public interface MacVerifyRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+   * this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+   * is equal to
+   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -120,19 +135,24 @@ public interface MacVerifyRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
-   * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to
-   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * Optional. An optional CRC32C checksum of the
+   * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using
+   * this checksum.
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
+   * report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
+   * CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
+   * is equal to
+   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -157,19 +177,22 @@ public interface MacVerifyRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
+   * Optional. An optional CRC32C checksum of the
+   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+   * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
    * CRC32C([MacVerifyRequest.tag][]) is equal to
-   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -182,19 +205,22 @@ public interface MacVerifyRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
+   * Optional. An optional CRC32C checksum of the
+   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+   * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
    * CRC32C([MacVerifyRequest.tag][]) is equal to
-   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -207,19 +233,22 @@ public interface MacVerifyRequestOrBuilder * * *
-   * Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
-   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the
-   * received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum.
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification
-   * fails. If you receive a checksum error, your client should verify that
+   * Optional. An optional CRC32C checksum of the
+   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
+   * specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will verify the integrity of the received
+   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this
+   * checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
+   * will report an error if the checksum verification fails. If you receive a
+   * checksum error, your client should verify that
    * CRC32C([MacVerifyRequest.tag][]) is equal to
-   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited
-   * number of retries. A persistent mismatch may indicate an issue in your
-   * computation of the CRC32C checksum.
-   * Note: This field is defined as int64 for reasons of compatibility across
-   * different languages. However, it is a non-negative integer, which will
-   * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
-   * that support this type.
+   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c],
+   * and if so, perform a limited number of retries. A persistent mismatch may
+   * indicate an issue in your computation of the CRC32C checksum. Note: This
+   * field is defined as int64 for reasons of compatibility across different
+   * languages. However, it is a non-negative integer, which will never exceed
+   * 2^32-1, and can be safely downconverted to uint32 in languages that support
+   * this type.
    * 
* * .google.protobuf.Int64Value mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyResponse.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyResponse.java index 36766826..321e1514 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyResponse.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyResponse.java @@ -22,7 +22,8 @@ * * *
- * Response message for [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify].
+ * Response message for
+ * [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify].
  * 
* * Protobuf type {@code google.cloud.kms.v1.MacVerifyResponse} @@ -145,9 +146,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
-   * Check this field to verify that the intended resource was used for
-   * verification.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+   * verification. Check this field to verify that the intended resource was
+   * used for verification.
    * 
* * string name = 1; @@ -170,9 +172,10 @@ public java.lang.String getName() { * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
-   * Check this field to verify that the intended resource was used for
-   * verification.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+   * verification. Check this field to verify that the intended resource was
+   * used for verification.
    * 
* * string name = 1; @@ -199,7 +202,9 @@ public com.google.protobuf.ByteString getNameBytes() { * *
    * This field indicates whether or not the verification operation for
-   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was successful.
+   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over
+   * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was
+   * successful.
    * 
* * bool success = 2; @@ -218,13 +223,19 @@ public boolean getSuccess() { * *
    * Integrity verification field. A flag indicating whether
-   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this field
-   * indicates either that [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was left
-   * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-   * set [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] but this field is still false,
-   * discard the response and perform a limited number of retries.
+   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this
+   * field indicates either that
+   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_data_crc32c = 3; @@ -243,13 +254,19 @@ public boolean getVerifiedDataCrc32C() { * *
    * Integrity verification field. A flag indicating whether
-   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this field
-   * indicates either that [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was left
-   * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-   * set [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] but this field is still false,
-   * discard the response and perform a limited number of retries.
+   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this
+   * field indicates either that
+   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_mac_crc32c = 4; @@ -288,7 +305,9 @@ public boolean getVerifiedSuccessIntegrity() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+   * verification.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; @@ -303,7 +322,9 @@ public int getProtectionLevelValue() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+   * verification.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; @@ -528,7 +549,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify].
+   * Response message for
+   * [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify].
    * 
* * Protobuf type {@code google.cloud.kms.v1.MacVerifyResponse} @@ -716,9 +738,10 @@ public Builder mergeFrom( * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
-     * Check this field to verify that the intended resource was used for
-     * verification.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+     * verification. Check this field to verify that the intended resource was
+     * used for verification.
      * 
* * string name = 1; @@ -740,9 +763,10 @@ public java.lang.String getName() { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
-     * Check this field to verify that the intended resource was used for
-     * verification.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+     * verification. Check this field to verify that the intended resource was
+     * used for verification.
      * 
* * string name = 1; @@ -764,9 +788,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
-     * Check this field to verify that the intended resource was used for
-     * verification.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+     * verification. Check this field to verify that the intended resource was
+     * used for verification.
      * 
* * string name = 1; @@ -787,9 +812,10 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
-     * Check this field to verify that the intended resource was used for
-     * verification.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+     * verification. Check this field to verify that the intended resource was
+     * used for verification.
      * 
* * string name = 1; @@ -806,9 +832,10 @@ public Builder clearName() { * * *
-     * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
-     * Check this field to verify that the intended resource was used for
-     * verification.
+     * The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+     * verification. Check this field to verify that the intended resource was
+     * used for verification.
      * 
* * string name = 1; @@ -833,7 +860,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * *
      * This field indicates whether or not the verification operation for
-     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was successful.
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was
+     * successful.
      * 
* * bool success = 2; @@ -849,7 +878,9 @@ public boolean getSuccess() { * *
      * This field indicates whether or not the verification operation for
-     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was successful.
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was
+     * successful.
      * 
* * bool success = 2; @@ -868,7 +899,9 @@ public Builder setSuccess(boolean value) { * *
      * This field indicates whether or not the verification operation for
-     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was successful.
+     * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over
+     * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was
+     * successful.
      * 
* * bool success = 2; @@ -888,13 +921,19 @@ public Builder clearSuccess() { * *
      * Integrity verification field. A flag indicating whether
-     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this field
-     * indicates either that [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this
+     * field indicates either that
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_data_crc32c = 3; @@ -910,13 +949,19 @@ public boolean getVerifiedDataCrc32C() { * *
      * Integrity verification field. A flag indicating whether
-     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this field
-     * indicates either that [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this
+     * field indicates either that
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_data_crc32c = 3; @@ -935,13 +980,19 @@ public Builder setVerifiedDataCrc32C(boolean value) { * *
      * Integrity verification field. A flag indicating whether
-     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this field
-     * indicates either that [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this
+     * field indicates either that
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_data_crc32c = 3; @@ -961,13 +1012,19 @@ public Builder clearVerifiedDataCrc32C() { * *
      * Integrity verification field. A flag indicating whether
-     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this field
-     * indicates either that [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this
+     * field indicates either that
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_mac_crc32c = 4; @@ -983,13 +1040,19 @@ public boolean getVerifiedMacCrc32C() { * *
      * Integrity verification field. A flag indicating whether
-     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this field
-     * indicates either that [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this
+     * field indicates either that
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_mac_crc32c = 4; @@ -1008,13 +1071,19 @@ public Builder setVerifiedMacCrc32C(boolean value) { * *
      * Integrity verification field. A flag indicating whether
-     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was received by
-     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-     * [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this field
-     * indicates either that [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was left
-     * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-     * set [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] but this field is still false,
-     * discard the response and perform a limited number of retries.
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+     * was received by
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+     * for the integrity verification of the
+     * [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this
+     * field indicates either that
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+     * was left unset or that it was not delivered to
+     * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+     * set
+     * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+     * but this field is still false, discard the response and perform a limited
+     * number of retries.
      * 
* * bool verified_mac_crc32c = 4; @@ -1094,7 +1163,9 @@ public Builder clearVerifiedSuccessIntegrity() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+     * verification.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; @@ -1109,7 +1180,9 @@ public int getProtectionLevelValue() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+     * verification.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; @@ -1127,7 +1200,9 @@ public Builder setProtectionLevelValue(int value) { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+     * verification.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; @@ -1145,7 +1220,9 @@ public com.google.cloud.kms.v1.ProtectionLevel getProtectionLevel() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+     * verification.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; @@ -1166,7 +1243,9 @@ public Builder setProtectionLevel(com.google.cloud.kms.v1.ProtectionLevel value) * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+     * verification.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyResponseOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyResponseOrBuilder.java index d8530cc8..d8f9b8ed 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyResponseOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/MacVerifyResponseOrBuilder.java @@ -27,9 +27,10 @@ public interface MacVerifyResponseOrBuilder * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
-   * Check this field to verify that the intended resource was used for
-   * verification.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+   * verification. Check this field to verify that the intended resource was
+   * used for verification.
    * 
* * string name = 1; @@ -41,9 +42,10 @@ public interface MacVerifyResponseOrBuilder * * *
-   * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
-   * Check this field to verify that the intended resource was used for
-   * verification.
+   * The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+   * verification. Check this field to verify that the intended resource was
+   * used for verification.
    * 
* * string name = 1; @@ -57,7 +59,9 @@ public interface MacVerifyResponseOrBuilder * *
    * This field indicates whether or not the verification operation for
-   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was successful.
+   * [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over
+   * [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was
+   * successful.
    * 
* * bool success = 2; @@ -71,13 +75,19 @@ public interface MacVerifyResponseOrBuilder * *
    * Integrity verification field. A flag indicating whether
-   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this field
-   * indicates either that [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was left
-   * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-   * set [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] but this field is still false,
-   * discard the response and perform a limited number of retries.
+   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this
+   * field indicates either that
+   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_data_crc32c = 3; @@ -91,13 +101,19 @@ public interface MacVerifyResponseOrBuilder * *
    * Integrity verification field. A flag indicating whether
-   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was received by
-   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the
-   * [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this field
-   * indicates either that [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was left
-   * unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
-   * set [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] but this field is still false,
-   * discard the response and perform a limited number of retries.
+   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+   * was received by
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used
+   * for the integrity verification of the
+   * [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this
+   * field indicates either that
+   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+   * was left unset or that it was not delivered to
+   * [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've
+   * set
+   * [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c]
+   * but this field is still false, discard the response and perform a limited
+   * number of retries.
    * 
* * bool verified_mac_crc32c = 4; @@ -126,7 +142,9 @@ public interface MacVerifyResponseOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+   * verification.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; @@ -138,7 +156,9 @@ public interface MacVerifyResponseOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
+   * verification.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 6; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ProtectionLevel.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ProtectionLevel.java index 473fea0d..e398ca83 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ProtectionLevel.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ProtectionLevel.java @@ -22,9 +22,9 @@ * * *
- * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] specifies how cryptographic operations are performed.
- * For more information, see [Protection levels]
- * (https://cloud.google.com/kms/docs/algorithms#protection_levels).
+ * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] specifies how
+ * cryptographic operations are performed. For more information, see [Protection
+ * levels] (https://cloud.google.com/kms/docs/algorithms#protection_levels).
  * 
* * Protobuf enum {@code google.cloud.kms.v1.ProtectionLevel} @@ -70,6 +70,16 @@ public enum ProtectionLevel implements com.google.protobuf.ProtocolMessageEnum { * EXTERNAL = 3; */ EXTERNAL(3), + /** + * + * + *
+   * Crypto operations are performed in an EKM-over-VPC backend.
+   * 
+ * + * EXTERNAL_VPC = 4; + */ + EXTERNAL_VPC(4), UNRECOGNIZED(-1), ; @@ -113,6 +123,16 @@ public enum ProtectionLevel implements com.google.protobuf.ProtocolMessageEnum { * EXTERNAL = 3; */ public static final int EXTERNAL_VALUE = 3; + /** + * + * + *
+   * Crypto operations are performed in an EKM-over-VPC backend.
+   * 
+ * + * EXTERNAL_VPC = 4; + */ + public static final int EXTERNAL_VPC_VALUE = 4; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -146,6 +166,8 @@ public static ProtectionLevel forNumber(int value) { return HSM; case 3: return EXTERNAL; + case 4: + return EXTERNAL_VPC; default: return null; } diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/PublicKey.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/PublicKey.java index 3ca5ba84..5218ff39 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/PublicKey.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/PublicKey.java @@ -22,7 +22,8 @@ * * *
- * The public key for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Obtained via
+ * The public key for a given
+ * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Obtained via
  * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
  * 
* @@ -214,8 +215,9 @@ public com.google.protobuf.ByteString getPemBytes() { * * *
-   * The [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] associated
-   * with this key.
+   * The
+   * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * associated with this key.
    * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2; @@ -230,8 +232,9 @@ public int getAlgorithmValue() { * * *
-   * The [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] associated
-   * with this key.
+   * The
+   * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * associated with this key.
    * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2; @@ -255,12 +258,13 @@ public com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm getAlg * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-   * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-   * comparing your results to this field. Discard the response in case of
-   * non-matching checksum values, and perform a limited number of retries. A
-   * persistent mismatch may indicate an issue in your computation of the CRC32C
-   * checksum.
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+   * computing the CRC32C checksum of
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+   * results to this field. Discard the response in case of non-matching
+   * checksum values, and perform a limited number of retries. A persistent
+   * mismatch may indicate an issue in your computation of the CRC32C checksum.
    * Note: This field is defined as int64 for reasons of compatibility across
    * different languages. However, it is a non-negative integer, which will
    * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -281,12 +285,13 @@ public boolean hasPemCrc32C() {
    *
    * 
    * Integrity verification field. A CRC32C checksum of the returned
-   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-   * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-   * comparing your results to this field. Discard the response in case of
-   * non-matching checksum values, and perform a limited number of retries. A
-   * persistent mismatch may indicate an issue in your computation of the CRC32C
-   * checksum.
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+   * computing the CRC32C checksum of
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+   * results to this field. Discard the response in case of non-matching
+   * checksum values, and perform a limited number of retries. A persistent
+   * mismatch may indicate an issue in your computation of the CRC32C checksum.
    * Note: This field is defined as int64 for reasons of compatibility across
    * different languages. However, it is a non-negative integer, which will
    * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -307,12 +312,13 @@ public com.google.protobuf.Int64Value getPemCrc32C() {
    *
    * 
    * Integrity verification field. A CRC32C checksum of the returned
-   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-   * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-   * comparing your results to this field. Discard the response in case of
-   * non-matching checksum values, and perform a limited number of retries. A
-   * persistent mismatch may indicate an issue in your computation of the CRC32C
-   * checksum.
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+   * computing the CRC32C checksum of
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+   * results to this field. Discard the response in case of non-matching
+   * checksum values, and perform a limited number of retries. A persistent
+   * mismatch may indicate an issue in your computation of the CRC32C checksum.
    * Note: This field is defined as int64 for reasons of compatibility across
    * different languages. However, it is a non-negative integer, which will
    * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -333,7 +339,8 @@ public com.google.protobuf.Int64ValueOrBuilder getPemCrc32COrBuilder() {
    *
    *
    * 
-   * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+   * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
    * Provided here for verification.
    * NOTE: This field is in Beta.
    * 
@@ -358,7 +365,8 @@ public java.lang.String getName() { * * *
-   * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+   * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
    * Provided here for verification.
    * NOTE: This field is in Beta.
    * 
@@ -386,7 +394,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; @@ -401,7 +410,8 @@ public int getProtectionLevelValue() { * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; @@ -626,7 +636,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The public key for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Obtained via
+   * The public key for a given
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Obtained via
    * [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
    * 
* @@ -943,8 +954,9 @@ public Builder setPemBytes(com.google.protobuf.ByteString value) { * * *
-     * The [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] associated
-     * with this key.
+     * The
+     * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * associated with this key.
      * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2; @@ -959,8 +971,9 @@ public int getAlgorithmValue() { * * *
-     * The [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] associated
-     * with this key.
+     * The
+     * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * associated with this key.
      * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2; @@ -978,8 +991,9 @@ public Builder setAlgorithmValue(int value) { * * *
-     * The [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] associated
-     * with this key.
+     * The
+     * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * associated with this key.
      * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2; @@ -999,8 +1013,9 @@ public com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm getAlg * * *
-     * The [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] associated
-     * with this key.
+     * The
+     * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * associated with this key.
      * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2; @@ -1022,8 +1037,9 @@ public Builder setAlgorithm( * * *
-     * The [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] associated
-     * with this key.
+     * The
+     * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+     * associated with this key.
      * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2; @@ -1048,12 +1064,13 @@ public Builder clearAlgorithm() { * *
      * Integrity verification field. A CRC32C checksum of the returned
-     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-     * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-     * comparing your results to this field. Discard the response in case of
-     * non-matching checksum values, and perform a limited number of retries. A
-     * persistent mismatch may indicate an issue in your computation of the CRC32C
-     * checksum.
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+     * computing the CRC32C checksum of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+     * results to this field. Discard the response in case of non-matching
+     * checksum values, and perform a limited number of retries. A persistent
+     * mismatch may indicate an issue in your computation of the CRC32C checksum.
      * Note: This field is defined as int64 for reasons of compatibility across
      * different languages. However, it is a non-negative integer, which will
      * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -1073,12 +1090,13 @@ public boolean hasPemCrc32C() {
      *
      * 
      * Integrity verification field. A CRC32C checksum of the returned
-     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-     * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-     * comparing your results to this field. Discard the response in case of
-     * non-matching checksum values, and perform a limited number of retries. A
-     * persistent mismatch may indicate an issue in your computation of the CRC32C
-     * checksum.
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+     * computing the CRC32C checksum of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+     * results to this field. Discard the response in case of non-matching
+     * checksum values, and perform a limited number of retries. A persistent
+     * mismatch may indicate an issue in your computation of the CRC32C checksum.
      * Note: This field is defined as int64 for reasons of compatibility across
      * different languages. However, it is a non-negative integer, which will
      * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -1104,12 +1122,13 @@ public com.google.protobuf.Int64Value getPemCrc32C() {
      *
      * 
      * Integrity verification field. A CRC32C checksum of the returned
-     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-     * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-     * comparing your results to this field. Discard the response in case of
-     * non-matching checksum values, and perform a limited number of retries. A
-     * persistent mismatch may indicate an issue in your computation of the CRC32C
-     * checksum.
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+     * computing the CRC32C checksum of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+     * results to this field. Discard the response in case of non-matching
+     * checksum values, and perform a limited number of retries. A persistent
+     * mismatch may indicate an issue in your computation of the CRC32C checksum.
      * Note: This field is defined as int64 for reasons of compatibility across
      * different languages. However, it is a non-negative integer, which will
      * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -1137,12 +1156,13 @@ public Builder setPemCrc32C(com.google.protobuf.Int64Value value) {
      *
      * 
      * Integrity verification field. A CRC32C checksum of the returned
-     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-     * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-     * comparing your results to this field. Discard the response in case of
-     * non-matching checksum values, and perform a limited number of retries. A
-     * persistent mismatch may indicate an issue in your computation of the CRC32C
-     * checksum.
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+     * computing the CRC32C checksum of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+     * results to this field. Discard the response in case of non-matching
+     * checksum values, and perform a limited number of retries. A persistent
+     * mismatch may indicate an issue in your computation of the CRC32C checksum.
      * Note: This field is defined as int64 for reasons of compatibility across
      * different languages. However, it is a non-negative integer, which will
      * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -1167,12 +1187,13 @@ public Builder setPemCrc32C(com.google.protobuf.Int64Value.Builder builderForVal
      *
      * 
      * Integrity verification field. A CRC32C checksum of the returned
-     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-     * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-     * comparing your results to this field. Discard the response in case of
-     * non-matching checksum values, and perform a limited number of retries. A
-     * persistent mismatch may indicate an issue in your computation of the CRC32C
-     * checksum.
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+     * computing the CRC32C checksum of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+     * results to this field. Discard the response in case of non-matching
+     * checksum values, and perform a limited number of retries. A persistent
+     * mismatch may indicate an issue in your computation of the CRC32C checksum.
      * Note: This field is defined as int64 for reasons of compatibility across
      * different languages. However, it is a non-negative integer, which will
      * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -1202,12 +1223,13 @@ public Builder mergePemCrc32C(com.google.protobuf.Int64Value value) {
      *
      * 
      * Integrity verification field. A CRC32C checksum of the returned
-     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-     * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-     * comparing your results to this field. Discard the response in case of
-     * non-matching checksum values, and perform a limited number of retries. A
-     * persistent mismatch may indicate an issue in your computation of the CRC32C
-     * checksum.
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+     * computing the CRC32C checksum of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+     * results to this field. Discard the response in case of non-matching
+     * checksum values, and perform a limited number of retries. A persistent
+     * mismatch may indicate an issue in your computation of the CRC32C checksum.
      * Note: This field is defined as int64 for reasons of compatibility across
      * different languages. However, it is a non-negative integer, which will
      * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -1233,12 +1255,13 @@ public Builder clearPemCrc32C() {
      *
      * 
      * Integrity verification field. A CRC32C checksum of the returned
-     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-     * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-     * comparing your results to this field. Discard the response in case of
-     * non-matching checksum values, and perform a limited number of retries. A
-     * persistent mismatch may indicate an issue in your computation of the CRC32C
-     * checksum.
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+     * computing the CRC32C checksum of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+     * results to this field. Discard the response in case of non-matching
+     * checksum values, and perform a limited number of retries. A persistent
+     * mismatch may indicate an issue in your computation of the CRC32C checksum.
      * Note: This field is defined as int64 for reasons of compatibility across
      * different languages. However, it is a non-negative integer, which will
      * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -1258,12 +1281,13 @@ public com.google.protobuf.Int64Value.Builder getPemCrc32CBuilder() {
      *
      * 
      * Integrity verification field. A CRC32C checksum of the returned
-     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-     * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-     * comparing your results to this field. Discard the response in case of
-     * non-matching checksum values, and perform a limited number of retries. A
-     * persistent mismatch may indicate an issue in your computation of the CRC32C
-     * checksum.
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+     * computing the CRC32C checksum of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+     * results to this field. Discard the response in case of non-matching
+     * checksum values, and perform a limited number of retries. A persistent
+     * mismatch may indicate an issue in your computation of the CRC32C checksum.
      * Note: This field is defined as int64 for reasons of compatibility across
      * different languages. However, it is a non-negative integer, which will
      * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -1287,12 +1311,13 @@ public com.google.protobuf.Int64ValueOrBuilder getPemCrc32COrBuilder() {
      *
      * 
      * Integrity verification field. A CRC32C checksum of the returned
-     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-     * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-     * comparing your results to this field. Discard the response in case of
-     * non-matching checksum values, and perform a limited number of retries. A
-     * persistent mismatch may indicate an issue in your computation of the CRC32C
-     * checksum.
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+     * computing the CRC32C checksum of
+     * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+     * results to this field. Discard the response in case of non-matching
+     * checksum values, and perform a limited number of retries. A persistent
+     * mismatch may indicate an issue in your computation of the CRC32C checksum.
      * Note: This field is defined as int64 for reasons of compatibility across
      * different languages. However, it is a non-negative integer, which will
      * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -1324,7 +1349,8 @@ public com.google.protobuf.Int64ValueOrBuilder getPemCrc32COrBuilder() {
      *
      *
      * 
-     * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+     * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
      * Provided here for verification.
      * NOTE: This field is in Beta.
      * 
@@ -1348,7 +1374,8 @@ public java.lang.String getName() { * * *
-     * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+     * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
      * Provided here for verification.
      * NOTE: This field is in Beta.
      * 
@@ -1372,7 +1399,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+     * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
      * Provided here for verification.
      * NOTE: This field is in Beta.
      * 
@@ -1395,7 +1423,8 @@ public Builder setName(java.lang.String value) { * * *
-     * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+     * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
      * Provided here for verification.
      * NOTE: This field is in Beta.
      * 
@@ -1414,7 +1443,8 @@ public Builder clearName() { * * *
-     * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+     * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
      * Provided here for verification.
      * NOTE: This field is in Beta.
      * 
@@ -1440,7 +1470,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; @@ -1455,7 +1486,8 @@ public int getProtectionLevelValue() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; @@ -1473,7 +1505,8 @@ public Builder setProtectionLevelValue(int value) { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; @@ -1491,7 +1524,8 @@ public com.google.cloud.kms.v1.ProtectionLevel getProtectionLevel() { * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; @@ -1512,7 +1546,8 @@ public Builder setProtectionLevel(com.google.cloud.kms.v1.ProtectionLevel value) * * *
-     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+     * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
      * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/PublicKeyOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/PublicKeyOrBuilder.java index fd754aae..7512b2a2 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/PublicKeyOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/PublicKeyOrBuilder.java @@ -60,8 +60,9 @@ public interface PublicKeyOrBuilder * * *
-   * The [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] associated
-   * with this key.
+   * The
+   * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * associated with this key.
    * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2; @@ -73,8 +74,9 @@ public interface PublicKeyOrBuilder * * *
-   * The [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] associated
-   * with this key.
+   * The
+   * [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
+   * associated with this key.
    * 
* * .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2; @@ -88,12 +90,13 @@ public interface PublicKeyOrBuilder * *
    * Integrity verification field. A CRC32C checksum of the returned
-   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-   * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-   * comparing your results to this field. Discard the response in case of
-   * non-matching checksum values, and perform a limited number of retries. A
-   * persistent mismatch may indicate an issue in your computation of the CRC32C
-   * checksum.
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+   * computing the CRC32C checksum of
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+   * results to this field. Discard the response in case of non-matching
+   * checksum values, and perform a limited number of retries. A persistent
+   * mismatch may indicate an issue in your computation of the CRC32C checksum.
    * Note: This field is defined as int64 for reasons of compatibility across
    * different languages. However, it is a non-negative integer, which will
    * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -111,12 +114,13 @@ public interface PublicKeyOrBuilder
    *
    * 
    * Integrity verification field. A CRC32C checksum of the returned
-   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-   * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-   * comparing your results to this field. Discard the response in case of
-   * non-matching checksum values, and perform a limited number of retries. A
-   * persistent mismatch may indicate an issue in your computation of the CRC32C
-   * checksum.
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+   * computing the CRC32C checksum of
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+   * results to this field. Discard the response in case of non-matching
+   * checksum values, and perform a limited number of retries. A persistent
+   * mismatch may indicate an issue in your computation of the CRC32C checksum.
    * Note: This field is defined as int64 for reasons of compatibility across
    * different languages. However, it is a non-negative integer, which will
    * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -134,12 +138,13 @@ public interface PublicKeyOrBuilder
    *
    * 
    * Integrity verification field. A CRC32C checksum of the returned
-   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed
-   * by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
-   * comparing your results to this field. Discard the response in case of
-   * non-matching checksum values, and perform a limited number of retries. A
-   * persistent mismatch may indicate an issue in your computation of the CRC32C
-   * checksum.
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
+   * computing the CRC32C checksum of
+   * [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
+   * results to this field. Discard the response in case of non-matching
+   * checksum values, and perform a limited number of retries. A persistent
+   * mismatch may indicate an issue in your computation of the CRC32C checksum.
    * Note: This field is defined as int64 for reasons of compatibility across
    * different languages. However, it is a non-negative integer, which will
    * never exceed 2^32-1, and can be safely downconverted to uint32 in languages
@@ -155,7 +160,8 @@ public interface PublicKeyOrBuilder
    *
    *
    * 
-   * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+   * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
    * Provided here for verification.
    * NOTE: This field is in Beta.
    * 
@@ -169,7 +175,8 @@ public interface PublicKeyOrBuilder * * *
-   * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+   * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
    * Provided here for verification.
    * NOTE: This field is in Beta.
    * 
@@ -184,7 +191,8 @@ public interface PublicKeyOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; @@ -196,7 +204,8 @@ public interface PublicKeyOrBuilder * * *
-   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
+   * The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key.
    * 
* * .google.cloud.kms.v1.ProtectionLevel protection_level = 5; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/RestoreCryptoKeyVersionRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/RestoreCryptoKeyVersionRequest.java index 511d9cbf..5ae63fef 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/RestoreCryptoKeyVersionRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/RestoreCryptoKeyVersionRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion].
+ * Request message for
+ * [KeyManagementService.RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion].
  * 
* * Protobuf type {@code google.cloud.kms.v1.RestoreCryptoKeyVersionRequest} @@ -118,7 +119,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
    * 
* * @@ -143,7 +145,8 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
    * 
* * @@ -329,7 +332,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion].
+   * Request message for
+   * [KeyManagementService.RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion].
    * 
* * Protobuf type {@code google.cloud.kms.v1.RestoreCryptoKeyVersionRequest} @@ -489,7 +493,8 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
      * 
* * @@ -513,7 +518,8 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
      * 
* * @@ -537,7 +543,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
      * 
* * @@ -560,7 +567,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
      * 
* * @@ -579,7 +587,8 @@ public Builder clearName() { * * *
-     * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
+     * Required. The resource name of the
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
      * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/RestoreCryptoKeyVersionRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/RestoreCryptoKeyVersionRequestOrBuilder.java index edd90abd..5be6da27 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/RestoreCryptoKeyVersionRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/RestoreCryptoKeyVersionRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface RestoreCryptoKeyVersionRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
    * 
* * @@ -41,7 +42,8 @@ public interface RestoreCryptoKeyVersionRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
+   * Required. The resource name of the
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
    * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyPrimaryVersionRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyPrimaryVersionRequest.java index 3cb3e317..f4ddde07 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyPrimaryVersionRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyPrimaryVersionRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
+ * Request message for
+ * [KeyManagementService.UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
  * 
* * Protobuf type {@code google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest} @@ -127,7 +128,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
    * 
* * @@ -152,7 +154,8 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
    * 
* * @@ -180,7 +183,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
+   * Required. The id of the child
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
    * 
* * string crypto_key_version_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -203,7 +207,8 @@ public java.lang.String getCryptoKeyVersionId() { * * *
-   * Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
+   * Required. The id of the child
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
    * 
* * string crypto_key_version_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -396,7 +401,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
+   * Request message for
+   * [KeyManagementService.UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
    * 
* * Protobuf type {@code google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest} @@ -565,7 +571,8 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
      * 
* * @@ -589,7 +596,8 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
      * 
* * @@ -613,7 +621,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
      * 
* * @@ -636,7 +645,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
      * 
* * @@ -655,7 +665,8 @@ public Builder clearName() { * * *
-     * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
+     * Required. The resource name of the
+     * [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
      * 
* * @@ -681,7 +692,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
+     * Required. The id of the child
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
      * 
* * string crypto_key_version_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -703,7 +715,8 @@ public java.lang.String getCryptoKeyVersionId() { * * *
-     * Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
+     * Required. The id of the child
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
      * 
* * string crypto_key_version_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -725,7 +738,8 @@ public com.google.protobuf.ByteString getCryptoKeyVersionIdBytes() { * * *
-     * Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
+     * Required. The id of the child
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
      * 
* * string crypto_key_version_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -746,7 +760,8 @@ public Builder setCryptoKeyVersionId(java.lang.String value) { * * *
-     * Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
+     * Required. The id of the child
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
      * 
* * string crypto_key_version_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -763,7 +778,8 @@ public Builder clearCryptoKeyVersionId() { * * *
-     * Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
+     * Required. The id of the child
+     * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
      * 
* * string crypto_key_version_id = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyPrimaryVersionRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyPrimaryVersionRequestOrBuilder.java index 715d5a07..deed1f1c 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyPrimaryVersionRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyPrimaryVersionRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface UpdateCryptoKeyPrimaryVersionRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
    * 
* * @@ -41,7 +42,8 @@ public interface UpdateCryptoKeyPrimaryVersionRequestOrBuilder * * *
-   * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
+   * Required. The resource name of the
+   * [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
    * 
* * @@ -56,7 +58,8 @@ public interface UpdateCryptoKeyPrimaryVersionRequestOrBuilder * * *
-   * Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
+   * Required. The id of the child
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
    * 
* * string crypto_key_version_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -68,7 +71,8 @@ public interface UpdateCryptoKeyPrimaryVersionRequestOrBuilder * * *
-   * Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
+   * Required. The id of the child
+   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
    * 
* * string crypto_key_version_id = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyRequest.java index 2fe60612..e9f0dcc2 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.UpdateCryptoKey][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey].
+ * Request message for
+ * [KeyManagementService.UpdateCryptoKey][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey].
  * 
* * Protobuf type {@code google.cloud.kms.v1.UpdateCryptoKeyRequest} @@ -412,7 +413,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.UpdateCryptoKey][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey].
+   * Request message for
+   * [KeyManagementService.UpdateCryptoKey][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey].
    * 
* * Protobuf type {@code google.cloud.kms.v1.UpdateCryptoKeyRequest} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyVersionRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyVersionRequest.java index 7513f948..9cd802d0 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyVersionRequest.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyVersionRequest.java @@ -22,7 +22,8 @@ * * *
- * Request message for [KeyManagementService.UpdateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion].
+ * Request message for
+ * [KeyManagementService.UpdateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion].
  * 
* * Protobuf type {@code google.cloud.kms.v1.UpdateCryptoKeyVersionRequest} @@ -139,7 +140,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+   * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+   * updated values.
    * 
* * @@ -156,7 +158,8 @@ public boolean hasCryptoKeyVersion() { * * *
-   * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+   * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+   * updated values.
    * 
* * @@ -175,7 +178,8 @@ public com.google.cloud.kms.v1.CryptoKeyVersion getCryptoKeyVersion() { * * *
-   * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+   * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+   * updated values.
    * 
* * @@ -419,7 +423,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for [KeyManagementService.UpdateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion].
+   * Request message for
+   * [KeyManagementService.UpdateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion].
    * 
* * Protobuf type {@code google.cloud.kms.v1.UpdateCryptoKeyVersionRequest} @@ -605,7 +610,8 @@ public Builder mergeFrom( * * *
-     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * updated values.
      * 
* * @@ -621,7 +627,8 @@ public boolean hasCryptoKeyVersion() { * * *
-     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * updated values.
      * 
* * @@ -643,7 +650,8 @@ public com.google.cloud.kms.v1.CryptoKeyVersion getCryptoKeyVersion() { * * *
-     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * updated values.
      * 
* * @@ -667,7 +675,8 @@ public Builder setCryptoKeyVersion(com.google.cloud.kms.v1.CryptoKeyVersion valu * * *
-     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * updated values.
      * 
* * @@ -689,7 +698,8 @@ public Builder setCryptoKeyVersion( * * *
-     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * updated values.
      * 
* * @@ -717,7 +727,8 @@ public Builder mergeCryptoKeyVersion(com.google.cloud.kms.v1.CryptoKeyVersion va * * *
-     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * updated values.
      * 
* * @@ -739,7 +750,8 @@ public Builder clearCryptoKeyVersion() { * * *
-     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * updated values.
      * 
* * @@ -755,7 +767,8 @@ public com.google.cloud.kms.v1.CryptoKeyVersion.Builder getCryptoKeyVersionBuild * * *
-     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * updated values.
      * 
* * @@ -775,7 +788,8 @@ public com.google.cloud.kms.v1.CryptoKeyVersionOrBuilder getCryptoKeyVersionOrBu * * *
-     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+     * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+     * updated values.
      * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyVersionRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyVersionRequestOrBuilder.java index 5e5a3a62..892fc36a 100644 --- a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyVersionRequestOrBuilder.java +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyVersionRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface UpdateCryptoKeyVersionRequestOrBuilder * * *
-   * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+   * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+   * updated values.
    * 
* * @@ -41,7 +42,8 @@ public interface UpdateCryptoKeyVersionRequestOrBuilder * * *
-   * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+   * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+   * updated values.
    * 
* * @@ -55,7 +57,8 @@ public interface UpdateCryptoKeyVersionRequestOrBuilder * * *
-   * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
+   * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
+   * updated values.
    * 
* * diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateEkmConnectionRequest.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateEkmConnectionRequest.java new file mode 100644 index 00000000..a52b558d --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateEkmConnectionRequest.java @@ -0,0 +1,1053 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +/** + * + * + *
+ * Request message for [KeyManagementService.UpdateEkmConnection][].
+ * 
+ * + * Protobuf type {@code google.cloud.kms.v1.UpdateEkmConnectionRequest} + */ +public final class UpdateEkmConnectionRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.kms.v1.UpdateEkmConnectionRequest) + UpdateEkmConnectionRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpdateEkmConnectionRequest.newBuilder() to construct. + private UpdateEkmConnectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UpdateEkmConnectionRequest() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateEkmConnectionRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private UpdateEkmConnectionRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.kms.v1.EkmConnection.Builder subBuilder = null; + if (ekmConnection_ != null) { + subBuilder = ekmConnection_.toBuilder(); + } + ekmConnection_ = + input.readMessage( + com.google.cloud.kms.v1.EkmConnection.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(ekmConnection_); + ekmConnection_ = subBuilder.buildPartial(); + } + + break; + } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_UpdateEkmConnectionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_UpdateEkmConnectionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.UpdateEkmConnectionRequest.class, + com.google.cloud.kms.v1.UpdateEkmConnectionRequest.Builder.class); + } + + public static final int EKM_CONNECTION_FIELD_NUMBER = 1; + private com.google.cloud.kms.v1.EkmConnection ekmConnection_; + /** + * + * + *
+   * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+   * values.
+   * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the ekmConnection field is set. + */ + @java.lang.Override + public boolean hasEkmConnection() { + return ekmConnection_ != null; + } + /** + * + * + *
+   * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+   * values.
+   * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The ekmConnection. + */ + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnection getEkmConnection() { + return ekmConnection_ == null + ? com.google.cloud.kms.v1.EkmConnection.getDefaultInstance() + : ekmConnection_; + } + /** + * + * + *
+   * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+   * values.
+   * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.kms.v1.EkmConnectionOrBuilder getEkmConnectionOrBuilder() { + return getEkmConnection(); + } + + public static final int UPDATE_MASK_FIELD_NUMBER = 2; + private com.google.protobuf.FieldMask updateMask_; + /** + * + * + *
+   * Required. List of fields to be updated in this request.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the updateMask field is set. + */ + @java.lang.Override + public boolean hasUpdateMask() { + return updateMask_ != null; + } + /** + * + * + *
+   * Required. List of fields to be updated in this request.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The updateMask. + */ + @java.lang.Override + public com.google.protobuf.FieldMask getUpdateMask() { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + /** + * + * + *
+   * Required. List of fields to be updated in this request.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + return getUpdateMask(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (ekmConnection_ != null) { + output.writeMessage(1, getEkmConnection()); + } + if (updateMask_ != null) { + output.writeMessage(2, getUpdateMask()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (ekmConnection_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEkmConnection()); + } + if (updateMask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.kms.v1.UpdateEkmConnectionRequest)) { + return super.equals(obj); + } + com.google.cloud.kms.v1.UpdateEkmConnectionRequest other = + (com.google.cloud.kms.v1.UpdateEkmConnectionRequest) obj; + + if (hasEkmConnection() != other.hasEkmConnection()) return false; + if (hasEkmConnection()) { + if (!getEkmConnection().equals(other.getEkmConnection())) return false; + } + if (hasUpdateMask() != other.hasUpdateMask()) return false; + if (hasUpdateMask()) { + if (!getUpdateMask().equals(other.getUpdateMask())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasEkmConnection()) { + hash = (37 * hash) + EKM_CONNECTION_FIELD_NUMBER; + hash = (53 * hash) + getEkmConnection().hashCode(); + } + if (hasUpdateMask()) { + hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; + hash = (53 * hash) + getUpdateMask().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.kms.v1.UpdateEkmConnectionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.UpdateEkmConnectionRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.UpdateEkmConnectionRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.UpdateEkmConnectionRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.UpdateEkmConnectionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.kms.v1.UpdateEkmConnectionRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.kms.v1.UpdateEkmConnectionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.UpdateEkmConnectionRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.UpdateEkmConnectionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.UpdateEkmConnectionRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.kms.v1.UpdateEkmConnectionRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.kms.v1.UpdateEkmConnectionRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.kms.v1.UpdateEkmConnectionRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for [KeyManagementService.UpdateEkmConnection][].
+   * 
+ * + * Protobuf type {@code google.cloud.kms.v1.UpdateEkmConnectionRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.kms.v1.UpdateEkmConnectionRequest) + com.google.cloud.kms.v1.UpdateEkmConnectionRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_UpdateEkmConnectionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_UpdateEkmConnectionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.kms.v1.UpdateEkmConnectionRequest.class, + com.google.cloud.kms.v1.UpdateEkmConnectionRequest.Builder.class); + } + + // Construct using com.google.cloud.kms.v1.UpdateEkmConnectionRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (ekmConnectionBuilder_ == null) { + ekmConnection_ = null; + } else { + ekmConnection_ = null; + ekmConnectionBuilder_ = null; + } + if (updateMaskBuilder_ == null) { + updateMask_ = null; + } else { + updateMask_ = null; + updateMaskBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.kms.v1.EkmServiceProto + .internal_static_google_cloud_kms_v1_UpdateEkmConnectionRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.kms.v1.UpdateEkmConnectionRequest getDefaultInstanceForType() { + return com.google.cloud.kms.v1.UpdateEkmConnectionRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.kms.v1.UpdateEkmConnectionRequest build() { + com.google.cloud.kms.v1.UpdateEkmConnectionRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.kms.v1.UpdateEkmConnectionRequest buildPartial() { + com.google.cloud.kms.v1.UpdateEkmConnectionRequest result = + new com.google.cloud.kms.v1.UpdateEkmConnectionRequest(this); + if (ekmConnectionBuilder_ == null) { + result.ekmConnection_ = ekmConnection_; + } else { + result.ekmConnection_ = ekmConnectionBuilder_.build(); + } + if (updateMaskBuilder_ == null) { + result.updateMask_ = updateMask_; + } else { + result.updateMask_ = updateMaskBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.kms.v1.UpdateEkmConnectionRequest) { + return mergeFrom((com.google.cloud.kms.v1.UpdateEkmConnectionRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.kms.v1.UpdateEkmConnectionRequest other) { + if (other == com.google.cloud.kms.v1.UpdateEkmConnectionRequest.getDefaultInstance()) + return this; + if (other.hasEkmConnection()) { + mergeEkmConnection(other.getEkmConnection()); + } + if (other.hasUpdateMask()) { + mergeUpdateMask(other.getUpdateMask()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.kms.v1.UpdateEkmConnectionRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.kms.v1.UpdateEkmConnectionRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.cloud.kms.v1.EkmConnection ekmConnection_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.kms.v1.EkmConnection, + com.google.cloud.kms.v1.EkmConnection.Builder, + com.google.cloud.kms.v1.EkmConnectionOrBuilder> + ekmConnectionBuilder_; + /** + * + * + *
+     * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+     * values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the ekmConnection field is set. + */ + public boolean hasEkmConnection() { + return ekmConnectionBuilder_ != null || ekmConnection_ != null; + } + /** + * + * + *
+     * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+     * values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The ekmConnection. + */ + public com.google.cloud.kms.v1.EkmConnection getEkmConnection() { + if (ekmConnectionBuilder_ == null) { + return ekmConnection_ == null + ? com.google.cloud.kms.v1.EkmConnection.getDefaultInstance() + : ekmConnection_; + } else { + return ekmConnectionBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+     * values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setEkmConnection(com.google.cloud.kms.v1.EkmConnection value) { + if (ekmConnectionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ekmConnection_ = value; + onChanged(); + } else { + ekmConnectionBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+     * values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setEkmConnection(com.google.cloud.kms.v1.EkmConnection.Builder builderForValue) { + if (ekmConnectionBuilder_ == null) { + ekmConnection_ = builderForValue.build(); + onChanged(); + } else { + ekmConnectionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+     * values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeEkmConnection(com.google.cloud.kms.v1.EkmConnection value) { + if (ekmConnectionBuilder_ == null) { + if (ekmConnection_ != null) { + ekmConnection_ = + com.google.cloud.kms.v1.EkmConnection.newBuilder(ekmConnection_) + .mergeFrom(value) + .buildPartial(); + } else { + ekmConnection_ = value; + } + onChanged(); + } else { + ekmConnectionBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+     * values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearEkmConnection() { + if (ekmConnectionBuilder_ == null) { + ekmConnection_ = null; + onChanged(); + } else { + ekmConnection_ = null; + ekmConnectionBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+     * values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.kms.v1.EkmConnection.Builder getEkmConnectionBuilder() { + + onChanged(); + return getEkmConnectionFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+     * values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.kms.v1.EkmConnectionOrBuilder getEkmConnectionOrBuilder() { + if (ekmConnectionBuilder_ != null) { + return ekmConnectionBuilder_.getMessageOrBuilder(); + } else { + return ekmConnection_ == null + ? com.google.cloud.kms.v1.EkmConnection.getDefaultInstance() + : ekmConnection_; + } + } + /** + * + * + *
+     * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+     * values.
+     * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.kms.v1.EkmConnection, + com.google.cloud.kms.v1.EkmConnection.Builder, + com.google.cloud.kms.v1.EkmConnectionOrBuilder> + getEkmConnectionFieldBuilder() { + if (ekmConnectionBuilder_ == null) { + ekmConnectionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.kms.v1.EkmConnection, + com.google.cloud.kms.v1.EkmConnection.Builder, + com.google.cloud.kms.v1.EkmConnectionOrBuilder>( + getEkmConnection(), getParentForChildren(), isClean()); + ekmConnection_ = null; + } + return ekmConnectionBuilder_; + } + + private com.google.protobuf.FieldMask updateMask_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; + /** + * + * + *
+     * Required. List of fields to be updated in this request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the updateMask field is set. + */ + public boolean hasUpdateMask() { + return updateMaskBuilder_ != null || updateMask_ != null; + } + /** + * + * + *
+     * Required. List of fields to be updated in this request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The updateMask. + */ + public com.google.protobuf.FieldMask getUpdateMask() { + if (updateMaskBuilder_ == null) { + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; + } else { + return updateMaskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. List of fields to be updated in this request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateMask_ = value; + onChanged(); + } else { + updateMaskBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Required. List of fields to be updated in this request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + if (updateMaskBuilder_ == null) { + updateMask_ = builderForValue.build(); + onChanged(); + } else { + updateMaskBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Required. List of fields to be updated in this request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (updateMask_ != null) { + updateMask_ = + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + } else { + updateMask_ = value; + } + onChanged(); + } else { + updateMaskBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Required. List of fields to be updated in this request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearUpdateMask() { + if (updateMaskBuilder_ == null) { + updateMask_ = null; + onChanged(); + } else { + updateMask_ = null; + updateMaskBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Required. List of fields to be updated in this request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { + + onChanged(); + return getUpdateMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. List of fields to be updated in this request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + if (updateMaskBuilder_ != null) { + return updateMaskBuilder_.getMessageOrBuilder(); + } else { + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; + } + } + /** + * + * + *
+     * Required. List of fields to be updated in this request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + getUpdateMaskFieldBuilder() { + if (updateMaskBuilder_ == null) { + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); + updateMask_ = null; + } + return updateMaskBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.kms.v1.UpdateEkmConnectionRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.kms.v1.UpdateEkmConnectionRequest) + private static final com.google.cloud.kms.v1.UpdateEkmConnectionRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.kms.v1.UpdateEkmConnectionRequest(); + } + + public static com.google.cloud.kms.v1.UpdateEkmConnectionRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateEkmConnectionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateEkmConnectionRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.kms.v1.UpdateEkmConnectionRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateEkmConnectionRequestOrBuilder.java b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateEkmConnectionRequestOrBuilder.java new file mode 100644 index 00000000..3e911b44 --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateEkmConnectionRequestOrBuilder.java @@ -0,0 +1,107 @@ +/* + * 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto + +package com.google.cloud.kms.v1; + +public interface UpdateEkmConnectionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.UpdateEkmConnectionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+   * values.
+   * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the ekmConnection field is set. + */ + boolean hasEkmConnection(); + /** + * + * + *
+   * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+   * values.
+   * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The ekmConnection. + */ + com.google.cloud.kms.v1.EkmConnection getEkmConnection(); + /** + * + * + *
+   * Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated
+   * values.
+   * 
+ * + * + * .google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.kms.v1.EkmConnectionOrBuilder getEkmConnectionOrBuilder(); + + /** + * + * + *
+   * Required. List of fields to be updated in this request.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the updateMask field is set. + */ + boolean hasUpdateMask(); + /** + * + * + *
+   * Required. List of fields to be updated in this request.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The updateMask. + */ + com.google.protobuf.FieldMask getUpdateMask(); + /** + * + * + *
+   * Required. List of fields to be updated in this request.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); +} diff --git a/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/ekm_service.proto b/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/ekm_service.proto new file mode 100644 index 00000000..de8669db --- /dev/null +++ b/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/ekm_service.proto @@ -0,0 +1,293 @@ +// Copyright 2021 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// 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. + +syntax = "proto3"; + +package google.cloud.kms.v1; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; + +option cc_enable_arenas = true; +option csharp_namespace = "Google.Cloud.Kms.V1"; +option go_package = "google.golang.org/genproto/googleapis/cloud/kms/v1;kms"; +option java_multiple_files = true; +option java_outer_classname = "EkmServiceProto"; +option java_package = "com.google.cloud.kms.v1"; +option php_namespace = "Google\\Cloud\\Kms\\V1"; +option (google.api.resource_definition) = { + type: "servicedirectory.googleapis.com/Service" + pattern: "projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}" +}; + +// Google Cloud Key Management EKM Service +// +// Manages external cryptographic keys and operations using those keys. +// Implements a REST model with the following objects: +// * [EkmConnection][google.cloud.kms.v1.EkmConnection] +service EkmService { + option (google.api.default_host) = "cloudkms.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/cloudkms"; + + // Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + rpc ListEkmConnections(ListEkmConnectionsRequest) + returns (ListEkmConnectionsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}/ekmConnections" + }; + option (google.api.method_signature) = "parent"; + } + + // Returns metadata for a given + // [EkmConnection][google.cloud.kms.v1.EkmConnection]. + rpc GetEkmConnection(GetEkmConnectionRequest) returns (EkmConnection) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/ekmConnections/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + // Project and Location. + rpc CreateEkmConnection(CreateEkmConnectionRequest) returns (EkmConnection) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/ekmConnections" + body: "ekm_connection" + }; + option (google.api.method_signature) = + "parent,ekm_connection_id,ekm_connection"; + } + + // Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + rpc UpdateEkmConnection(UpdateEkmConnectionRequest) returns (EkmConnection) { + option (google.api.http) = { + patch: "/v1/{ekm_connection.name=projects/*/locations/*/ekmConnections/*}" + body: "ekm_connection" + }; + option (google.api.method_signature) = "ekm_connection,update_mask"; + } +} + +// Request message for [KeyManagementService.ListEkmConnections][]. +message ListEkmConnectionsRequest { + // Required. The resource name of the location associated with the + // [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format + // `projects/*/locations/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Optional. Optional limit on the number of + // [EkmConnections][google.cloud.kms.v1.EkmConnection] to include in the + // response. Further [EkmConnections][google.cloud.kms.v1.EkmConnection] can + // subsequently be obtained by including the + // [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token] + // in a subsequent request. If unspecified, the server will pick an + // appropriate default. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Optional pagination token, returned earlier via + // [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token]. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Only include resources that match the filter in the response. For + // more information, see + // [Sorting and filtering list + // results](https://cloud.google.com/kms/docs/sorting-and-filtering). + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Specify how the results should be sorted. If not specified, the + // results will be sorted in the default order. For more information, see + // [Sorting and filtering list + // results](https://cloud.google.com/kms/docs/sorting-and-filtering). + string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for [KeyManagementService.ListEkmConnections][]. +message ListEkmConnectionsResponse { + // The list of [EkmConnections][google.cloud.kms.v1.EkmConnection]. + repeated EkmConnection ekm_connections = 1; + + // A token to retrieve next page of results. Pass this value in + // [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token] + // to retrieve the next page of results. + string next_page_token = 2; + + // The total number of [EkmConnections][google.cloud.kms.v1.EkmConnection] + // that matched the query. + int32 total_size = 3; +} + +// Request message for [KeyManagementService.GetEkmConnection][]. +message GetEkmConnectionRequest { + // Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the + // [EkmConnection][google.cloud.kms.v1.EkmConnection] to get. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudkms.googleapis.com/EkmConnection" + } + ]; +} + +// Request message for [KeyManagementService.CreateEkmConnection][]. +message CreateEkmConnectionRequest { + // Required. The resource name of the location associated with the + // [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format + // `projects/*/locations/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. It must be unique within a location and match the regular + // expression `[a-zA-Z0-9_-]{1,63}`. + string ekm_connection_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with + // initial field values. + EkmConnection ekm_connection = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for [KeyManagementService.UpdateEkmConnection][]. +message UpdateEkmConnectionRequest { + // Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated + // values. + EkmConnection ekm_connection = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. List of fields to be updated in this request. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// A [Certificate][google.cloud.kms.v1.Certificate] represents an X.509 +// certificate used to authenticate HTTPS connections to EKM replicas. +message Certificate { + // Required. The raw certificate bytes in DER format. + bytes raw_der = 1 [(google.api.field_behavior) = REQUIRED]; + + // Output only. True if the certificate was parsed successfully. + bool parsed = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The issuer distinguished name in RFC 2253 format. Only present + // if [parsed][google.cloud.kms.v1.Certificate.parsed] is true. + string issuer = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The subject distinguished name in RFC 2253 format. Only + // present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true. + string subject = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The subject Alternative DNS names. Only present if + // [parsed][google.cloud.kms.v1.Certificate.parsed] is true. + repeated string subject_alternative_dns_names = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The certificate is not valid before this time. Only present if + // [parsed][google.cloud.kms.v1.Certificate.parsed] is true. + google.protobuf.Timestamp not_before_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The certificate is not valid after this time. Only present if + // [parsed][google.cloud.kms.v1.Certificate.parsed] is true. + google.protobuf.Timestamp not_after_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The certificate serial number as a hex string. Only present if + // [parsed][google.cloud.kms.v1.Certificate.parsed] is true. + string serial_number = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The SHA-256 certificate fingerprint as a hex string. Only + // present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true. + string sha256_fingerprint = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// An [EkmConnection][google.cloud.kms.v1.EkmConnection] represents an +// individual EKM connection. It can be used for creating +// [CryptoKeys][google.cloud.kms.v1.CryptoKey] and +// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] with a +// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of +// [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], as well as +// performing cryptographic operations using keys created within the +// [EkmConnection][google.cloud.kms.v1.EkmConnection]. +message EkmConnection { + option (google.api.resource) = { + type: "cloudkms.googleapis.com/EkmConnection" + pattern: "projects/{project}/locations/{location}/ekmConnections/{ekm_connection}" + }; + + // A [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] + // represents an EKM replica that can be reached within an + // [EkmConnection][google.cloud.kms.v1.EkmConnection]. + message ServiceResolver { + // Required. The resource name of the Service Directory service pointing to + // an EKM replica, in the format + // `projects/*/locations/*/namespaces/*/services/*`. + string service_directory_service = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "servicedirectory.googleapis.com/Service" + } + ]; + + // Optional. The filter applied to the endpoints of the resolved service. If + // no filter is specified, all endpoints will be considered. An endpoint + // will be chosen arbitrarily from the filtered list for each request. + // + // For endpoint filter syntax and examples, see + // https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest. + string endpoint_filter = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Required. The hostname of the EKM replica used at TLS and HTTP layers. + string hostname = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. A list of leaf server certificates used to authenticate HTTPS + // connections to the EKM replica. + repeated Certificate server_certificates = 4 + [(google.api.field_behavior) = REQUIRED]; + } + + // Output only. The resource name for the + // [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format + // `projects/*/locations/*/ekmConnections/*`. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time at which the + // [EkmConnection][google.cloud.kms.v1.EkmConnection] was created. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // A list of + // [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where + // the EKM can be reached. There should be one ServiceResolver per EKM + // replica. Currently, only a single + // [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is + // supported. + repeated ServiceResolver service_resolvers = 3; + + // This checksum is computed by the server based on the value of other fields, + // and may be sent on update requests to ensure the client has an up-to-date + // value before proceeding. + string etag = 5; +} diff --git a/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto b/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto index 70c670b0..5029f3e0 100644 --- a/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto +++ b/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto @@ -21,7 +21,6 @@ import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; -import "google/api/annotations.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Kms.V1"; @@ -31,115 +30,140 @@ option java_outer_classname = "KmsResourcesProto"; option java_package = "com.google.cloud.kms.v1"; option php_namespace = "Google\\Cloud\\Kms\\V1"; -// A [KeyRing][google.cloud.kms.v1.KeyRing] is a toplevel logical grouping of [CryptoKeys][google.cloud.kms.v1.CryptoKey]. +// A [KeyRing][google.cloud.kms.v1.KeyRing] is a toplevel logical grouping of +// [CryptoKeys][google.cloud.kms.v1.CryptoKey]. message KeyRing { option (google.api.resource) = { type: "cloudkms.googleapis.com/KeyRing" pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}" }; - // Output only. The resource name for the [KeyRing][google.cloud.kms.v1.KeyRing] in the format + // Output only. The resource name for the + // [KeyRing][google.cloud.kms.v1.KeyRing] in the format // `projects/*/locations/*/keyRings/*`. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] + // was created. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; } -// A [CryptoKey][google.cloud.kms.v1.CryptoKey] represents a logical key that can be used for cryptographic -// operations. +// A [CryptoKey][google.cloud.kms.v1.CryptoKey] represents a logical key that +// can be used for cryptographic operations. // -// A [CryptoKey][google.cloud.kms.v1.CryptoKey] is made up of zero or more [versions][google.cloud.kms.v1.CryptoKeyVersion], -// which represent the actual key material used in cryptographic operations. +// A [CryptoKey][google.cloud.kms.v1.CryptoKey] is made up of zero or more +// [versions][google.cloud.kms.v1.CryptoKeyVersion], which represent the actual +// key material used in cryptographic operations. message CryptoKey { option (google.api.resource) = { type: "cloudkms.googleapis.com/CryptoKey" pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}" }; - // [CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose] describes the cryptographic capabilities of a - // [CryptoKey][google.cloud.kms.v1.CryptoKey]. A given key can only be used for the operations allowed by - // its purpose. For more information, see - // [Key purposes](https://cloud.google.com/kms/docs/algorithms#key_purposes). + // [CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose] + // describes the cryptographic capabilities of a + // [CryptoKey][google.cloud.kms.v1.CryptoKey]. A given key can only be used + // for the operations allowed by its purpose. For more information, see [Key + // purposes](https://cloud.google.com/kms/docs/algorithms#key_purposes). enum CryptoKeyPurpose { // Not specified. CRYPTO_KEY_PURPOSE_UNSPECIFIED = 0; - // [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with - // [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] and + // [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used + // with [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] and // [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. ENCRYPT_DECRYPT = 1; - // [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with - // [AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign] and + // [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used + // with + // [AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign] + // and // [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. ASYMMETRIC_SIGN = 5; - // [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with - // [AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt] and + // [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used + // with + // [AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt] + // and // [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. ASYMMETRIC_DECRYPT = 6; - // [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with - // [MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. + // [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used + // with [MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. MAC = 9; } - // Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format + // Output only. The resource name for this + // [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format // `projects/*/locations/*/keyRings/*/cryptoKeys/*`. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used - // by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given - // in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name]. + // Output only. A copy of the "primary" + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used + // by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this + // [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in + // [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name]. // - // The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via + // The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be + // updated via // [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]. // // Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] - // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a - // primary. For other keys, this field will be omitted. + // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] + // may have a primary. For other keys, this field will be omitted. CryptoKeyVersion primary = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. + // Immutable. The immutable purpose of this + // [CryptoKey][google.cloud.kms.v1.CryptoKey]. CryptoKeyPurpose purpose = 3 [(google.api.field_behavior) = IMMUTABLE]; - // Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created. - google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time at which this + // [CryptoKey][google.cloud.kms.v1.CryptoKey] was created. + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically: + // At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], + // the Key Management Service will automatically: // // 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. // 2. Mark the new version as primary. // // Key rotations performed manually via - // [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and + // [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] + // and // [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion] - // do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]. + // do not affect + // [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]. // // Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] - // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support - // automatic rotation. For other keys, this field must be omitted. + // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] + // support automatic rotation. For other keys, this field must be omitted. google.protobuf.Timestamp next_rotation_time = 7; // Controls the rate of automatic rotation. oneof rotation_schedule { - // [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service - // automatically rotates a key. Must be at least 24 hours and at most - // 876,000 hours. + // [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] + // will be advanced by this period when the service automatically rotates a + // key. Must be at least 24 hours and at most 876,000 hours. // - // If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set. + // If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is + // set, + // [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] + // must also be set. // // Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] - // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support - // automatic rotation. For other keys, this field must be omitted. + // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] + // support automatic rotation. For other keys, this field must be omitted. google.protobuf.Duration rotation_period = 8; } - // A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. - // The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either - // [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or - // auto-rotation are controlled by this template. + // A template describing settings for new + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The + // properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + // instances created by either + // [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] + // or auto-rotation are controlled by this template. CryptoKeyVersionTemplate version_template = 11; // Labels with user-defined metadata. For more information, see @@ -152,27 +176,52 @@ message CryptoKey { // Immutable. The period of time that versions of this key spend in the // [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] // state before transitioning to - // [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - // specified at creation time, the default duration is 24 hours. - google.protobuf.Duration destroy_scheduled_duration = 14 [(google.api.field_behavior) = IMMUTABLE]; + // [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + // If not specified at creation time, the default duration is 24 hours. + google.protobuf.Duration destroy_scheduled_duration = 14 + [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. The resource name of the backend environment where the key + // material for all [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] + // associated with this [CryptoKey][google.cloud.kms.v1.CryptoKey] reside and + // where all related cryptographic operations are performed. Only applicable + // if [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] have a + // [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of + // [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], with the + // resource name in the format `projects/*/locations/*/ekmConnections/*`. + // Note, this list is non-exhaustive and may apply to additional + // [ProtectionLevels][google.cloud.kms.v1.ProtectionLevel] in the future. + string crypto_key_backend = 15 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.resource_reference) = { type: "*" } + ]; } -// A [CryptoKeyVersionTemplate][google.cloud.kms.v1.CryptoKeyVersionTemplate] specifies the properties to use when creating -// a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], either manually with -// [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or -// automatically as a result of auto-rotation. +// A [CryptoKeyVersionTemplate][google.cloud.kms.v1.CryptoKeyVersionTemplate] +// specifies the properties to use when creating a new +// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], either manually +// with +// [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] +// or automatically as a result of auto-rotation. message CryptoKeyVersionTemplate { - // [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on - // this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE]. + // [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating + // a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this + // template. Immutable. Defaults to + // [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE]. ProtectionLevel protection_level = 1; - // Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use - // when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template. + // Required. + // [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] + // to use when creating a + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this + // template. // // For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both - // this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is + // this field is omitted and + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. - CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 3 [(google.api.field_behavior) = REQUIRED]; + CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 3 + [(google.api.field_behavior) = REQUIRED]; } // Contains an HSM-generated attestation about a key operation. For more @@ -193,39 +242,60 @@ message KeyOperationAttestation { CAVIUM_V2_COMPRESSED = 4; } + // Certificate chains needed to verify the attestation. + // Certificates in chains are PEM-encoded and are ordered based on + // https://tools.ietf.org/html/rfc5246#section-7.4.2. + message CertificateChains { + // Cavium certificate chain corresponding to the attestation. + repeated string cavium_certs = 1; + + // Google card certificate chain corresponding to the attestation. + repeated string google_card_certs = 2; + + // Google partition certificate chain corresponding to the attestation. + repeated string google_partition_certs = 3; + } + // Output only. The format of the attestation data. AttestationFormat format = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The attestation data provided by the HSM when the key // operation was performed. bytes content = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The certificate chains needed to validate the attestation + CertificateChains cert_chains = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents an individual cryptographic key, and the -// associated key material. +// A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents an +// individual cryptographic key, and the associated key material. // -// An [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] version can be -// used for cryptographic operations. +// An +// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] +// version can be used for cryptographic operations. // // For security reasons, the raw cryptographic key material represented by a -// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] can never be viewed or exported. It can only be used to -// encrypt, decrypt, or sign data when an authorized user or application invokes -// Cloud KMS. +// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] can never be viewed +// or exported. It can only be used to encrypt, decrypt, or sign data when an +// authorized user or application invokes Cloud KMS. message CryptoKeyVersion { option (google.api.resource) = { type: "cloudkms.googleapis.com/CryptoKeyVersion" pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}" }; - // The algorithm of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating what + // The algorithm of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating what // parameters must be used for each cryptographic operation. // // The // [GOOGLE_SYMMETRIC_ENCRYPTION][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.GOOGLE_SYMMETRIC_ENCRYPTION] - // algorithm is usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + // algorithm is usable with + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. // - // Algorithms beginning with "RSA_SIGN_" are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + // Algorithms beginning with "RSA_SIGN_" are usable with + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] // [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]. // // The fields in the name after "RSA_SIGN_" correspond to the following @@ -243,13 +313,15 @@ message CryptoKeyVersion { // The fields in the name after "RSA_DECRYPT_" correspond to the following // parameters: padding algorithm, modulus bit length, and digest algorithm. // - // Algorithms beginning with "EC_SIGN_" are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + // Algorithms beginning with "EC_SIGN_" are usable with + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] // [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]. // // The fields in the name after "EC_SIGN_" correspond to the following // parameters: elliptic curve, digest algorithm. // - // Algorithms beginning with "HMAC_" are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + // Algorithms beginning with "HMAC_" are usable with + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] // [MAC][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.MAC]. // // The suffix following "HMAC_" corresponds to the hash algorithm being used @@ -335,39 +407,50 @@ message CryptoKeyVersion { EXTERNAL_SYMMETRIC_ENCRYPTION = 18; } - // The state of a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating if it can be used. + // The state of a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], + // indicating if it can be used. enum CryptoKeyVersionState { // Not specified. CRYPTO_KEY_VERSION_STATE_UNSPECIFIED = 0; // This version is still being generated. It may not be used, enabled, // disabled, or destroyed yet. Cloud KMS will automatically mark this - // version [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] as soon as the version is ready. + // version + // [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + // as soon as the version is ready. PENDING_GENERATION = 5; // This version may be used for cryptographic operations. ENABLED = 1; // This version may not be used, but the key material is still available, - // and the version can be placed back into the [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] state. + // and the version can be placed back into the + // [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + // state. DISABLED = 2; // This version is destroyed, and the key material is no longer stored. - // This version may only become [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] again if this version is - // [reimport_eligible][google.cloud.kms.v1.CryptoKeyVersion.reimport_eligible] and the original - // key material is reimported with a call to + // This version may only become + // [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + // again if this version is + // [reimport_eligible][google.cloud.kms.v1.CryptoKeyVersion.reimport_eligible] + // and the original key material is reimported with a call to // [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]. DESTROYED = 3; // This version is scheduled for destruction, and will be destroyed soon. // Call // [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] - // to put it back into the [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] state. + // to put it back into the + // [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + // state. DESTROY_SCHEDULED = 4; // This version is still being imported. It may not be used, enabled, // disabled, or destroyed yet. Cloud KMS will automatically mark this - // version [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] as soon as the version is ready. + // version + // [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + // as soon as the version is ready. PENDING_IMPORT = 6; // This version was not imported successfully. It may not be used, enabled, @@ -377,84 +460,114 @@ message CryptoKeyVersion { IMPORT_FAILED = 7; } - // A view for [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]s. Controls the level of detail returned - // for [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] in - // [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions] and + // A view for [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]s. + // Controls the level of detail returned for + // [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] in + // [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions] + // and // [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys]. enum CryptoKeyVersionView { - // Default view for each [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Does not include - // the [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation] field. + // Default view for each + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Does not + // include the + // [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation] field. CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED = 0; - // Provides all fields in each [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], including the + // Provides all fields in each + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], including the // [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation]. FULL = 1; } - // Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format + // Output only. The resource name for this + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format // `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + // The current state of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. CryptoKeyVersionState state = 3; - // Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are - // performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. - ProtectionLevel protection_level = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] + // describing how crypto operations are performed with this + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + ProtectionLevel protection_level = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this - // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports. - CryptoKeyVersionAlgorithm algorithm = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The + // [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] + // that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + // supports. + CryptoKeyVersionAlgorithm algorithm = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Statement that was generated and signed by the HSM at key // creation time. Use this statement to verify attributes of the key as stored // on the HSM, independently of Google. Only provided for key versions with - // [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. - KeyOperationAttestation attestation = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created. - google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was + // [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + // [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + KeyOperationAttestation attestation = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time at which this + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created. + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time this + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was // generated. - google.protobuf.Timestamp generate_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp generate_time = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled - // for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is + // Output only. The time this + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is + // scheduled for destruction. Only present if + // [state][google.cloud.kms.v1.CryptoKeyVersion.state] is // [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED]. - google.protobuf.Timestamp destroy_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp destroy_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time this CryptoKeyVersion's key material was - // destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is + // destroyed. Only present if + // [state][google.cloud.kms.v1.CryptoKeyVersion.state] is // [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. - google.protobuf.Timestamp destroy_event_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp destroy_event_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this - // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was - // imported. + // Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] + // used in the most recent import of this + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if + // the underlying key material was imported. string import_job = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material - // was most recently imported. - google.protobuf.Timestamp import_time = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time at which this + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was + // most recently imported. + google.protobuf.Timestamp import_time = 15 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The root cause of the most recent import failure. Only present if - // [state][google.cloud.kms.v1.CryptoKeyVersion.state] is + // Output only. The root cause of the most recent import failure. Only present + // if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is // [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]. string import_failure_reason = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; // ExternalProtectionLevelOptions stores a group of additional fields for - // configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the - // [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level. + // configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that + // are specific to the + // [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level + // and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] + // protection levels. ExternalProtectionLevelOptions external_protection_level_options = 17; - // Output only. Whether or not this key version is eligible for reimport, by being - // specified as a target in + // Output only. Whether or not this key version is eligible for reimport, by + // being specified as a target in // [ImportCryptoKeyVersionRequest.crypto_key_version][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.crypto_key_version]. bool reimport_eligible = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// The public key for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Obtained via +// The public key for a given +// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Obtained via // [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. message PublicKey { option (google.api.resource) = { @@ -469,17 +582,19 @@ message PublicKey { // (https://tools.ietf.org/html/rfc7468#section-13). string pem = 1; - // The [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] associated - // with this key. + // The + // [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] + // associated with this key. CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2; // Integrity verification field. A CRC32C checksum of the returned - // [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed - // by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and - // comparing your results to this field. Discard the response in case of - // non-matching checksum values, and perform a limited number of retries. A - // persistent mismatch may indicate an issue in your computation of the CRC32C - // checksum. + // [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of + // [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by + // computing the CRC32C checksum of + // [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your + // results to this field. Discard the response in case of non-matching + // checksum values, and perform a limited number of retries. A persistent + // mismatch may indicate an issue in your computation of the CRC32C checksum. // Note: This field is defined as int64 for reasons of compatibility across // different languages. However, it is a non-negative integer, which will // never exceed 2^32-1, and can be safely downconverted to uint32 in languages @@ -488,40 +603,48 @@ message PublicKey { // NOTE: This field is in Beta. google.protobuf.Int64Value pem_crc32c = 3; - // The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key. + // The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key. // Provided here for verification. // // NOTE: This field is in Beta. string name = 4; - // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key. + // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key. ProtectionLevel protection_level = 5; } -// An [ImportJob][google.cloud.kms.v1.ImportJob] can be used to create [CryptoKeys][google.cloud.kms.v1.CryptoKey] and -// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] using pre-existing key material, -// generated outside of Cloud KMS. +// An [ImportJob][google.cloud.kms.v1.ImportJob] can be used to create +// [CryptoKeys][google.cloud.kms.v1.CryptoKey] and +// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] using pre-existing +// key material, generated outside of Cloud KMS. // -// When an [ImportJob][google.cloud.kms.v1.ImportJob] is created, Cloud KMS will generate a "wrapping key", -// which is a public/private key pair. You use the wrapping key to encrypt (also -// known as wrap) the pre-existing key material to protect it during the import -// process. The nature of the wrapping key depends on the choice of -// [import_method][google.cloud.kms.v1.ImportJob.import_method]. When the wrapping key generation -// is complete, the [state][google.cloud.kms.v1.ImportJob.state] will be set to -// [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] and the [public_key][google.cloud.kms.v1.ImportJob.public_key] -// can be fetched. The fetched public key can then be used to wrap your -// pre-existing key material. +// When an [ImportJob][google.cloud.kms.v1.ImportJob] is created, Cloud KMS will +// generate a "wrapping key", which is a public/private key pair. You use the +// wrapping key to encrypt (also known as wrap) the pre-existing key material to +// protect it during the import process. The nature of the wrapping key depends +// on the choice of +// [import_method][google.cloud.kms.v1.ImportJob.import_method]. When the +// wrapping key generation is complete, the +// [state][google.cloud.kms.v1.ImportJob.state] will be set to +// [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] and the +// [public_key][google.cloud.kms.v1.ImportJob.public_key] can be fetched. The +// fetched public key can then be used to wrap your pre-existing key material. // // Once the key material is wrapped, it can be imported into a new -// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in an existing [CryptoKey][google.cloud.kms.v1.CryptoKey] by calling +// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in an existing +// [CryptoKey][google.cloud.kms.v1.CryptoKey] by calling // [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]. -// Multiple [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can be imported with a single -// [ImportJob][google.cloud.kms.v1.ImportJob]. Cloud KMS uses the private key portion of the wrapping key to -// unwrap the key material. Only Cloud KMS has access to the private key. +// Multiple [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can be +// imported with a single [ImportJob][google.cloud.kms.v1.ImportJob]. Cloud KMS +// uses the private key portion of the wrapping key to unwrap the key material. +// Only Cloud KMS has access to the private key. // -// An [ImportJob][google.cloud.kms.v1.ImportJob] expires 3 days after it is created. Once expired, Cloud KMS -// will no longer be able to import or unwrap any key material that was wrapped -// with the [ImportJob][google.cloud.kms.v1.ImportJob]'s public key. +// An [ImportJob][google.cloud.kms.v1.ImportJob] expires 3 days after it is +// created. Once expired, Cloud KMS will no longer be able to import or unwrap +// any key material that was wrapped with the +// [ImportJob][google.cloud.kms.v1.ImportJob]'s public key. // // For more information, see // [Importing a key](https://cloud.google.com/kms/docs/importing-a-key). @@ -531,18 +654,8 @@ message ImportJob { pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/importJobs/{import_job}" }; - // The public key component of the wrapping key. For details of the type of - // key this public key corresponds to, see the [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod]. - message WrappingPublicKey { - // The public key, encoded in PEM format. For more information, see the [RFC - // 7468](https://tools.ietf.org/html/rfc7468) sections for [General - // Considerations](https://tools.ietf.org/html/rfc7468#section-2) and - // [Textual Encoding of Subject Public Key Info] - // (https://tools.ietf.org/html/rfc7468#section-13). - string pem = 1; - } - - // [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] describes the key wrapping method chosen for this + // [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] describes the + // key wrapping method chosen for this // [ImportJob][google.cloud.kms.v1.ImportJob]. enum ImportMethod { // Not specified. @@ -565,18 +678,21 @@ message ImportJob { RSA_OAEP_4096_SHA1_AES_256 = 2; } - // The state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used. + // The state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if + // it can be used. enum ImportJobState { // Not specified. IMPORT_JOB_STATE_UNSPECIFIED = 0; // The wrapping key for this job is still being generated. It may not be // used. Cloud KMS will automatically mark this job as - // [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] as soon as the wrapping key is generated. + // [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] as soon as + // the wrapping key is generated. PENDING_GENERATION = 1; // This job may be used in - // [CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey] and + // [CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey] + // and // [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] // requests. ACTIVE = 2; @@ -585,41 +701,65 @@ message ImportJob { EXPIRED = 3; } - // Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format + // The public key component of the wrapping key. For details of the type of + // key this public key corresponds to, see the + // [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod]. + message WrappingPublicKey { + // The public key, encoded in PEM format. For more information, see the [RFC + // 7468](https://tools.ietf.org/html/rfc7468) sections for [General + // Considerations](https://tools.ietf.org/html/rfc7468#section-2) and + // [Textual Encoding of Subject Public Key Info] + // (https://tools.ietf.org/html/rfc7468#section-13). + string pem = 1; + } + + // Output only. The resource name for this + // [ImportJob][google.cloud.kms.v1.ImportJob] in the format // `projects/*/locations/*/keyRings/*/importJobs/*`. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Required. Immutable. The wrapping method to be used for incoming key material. + // Required. Immutable. The wrapping method to be used for incoming key + // material. ImportMethod import_method = 2 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE ]; - // Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the - // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the - // [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you - // attempt to import into. + // Required. Immutable. The protection level of the + // [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the + // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] + // of the [version_template][google.cloud.kms.v1.CryptoKey.version_template] + // on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you attempt to import + // into. ProtectionLevel protection_level = 9 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE ]; - // Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated. - google.protobuf.Timestamp generate_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for - // expiration and can no longer be used to import key material. - google.protobuf.Timestamp expire_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if - // [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED]. - google.protobuf.Timestamp expire_event_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The current state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can - // be used. + // Output only. The time at which this + // [ImportJob][google.cloud.kms.v1.ImportJob] was created. + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key + // material was generated. + google.protobuf.Timestamp generate_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time at which this + // [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and + // can no longer be used to import key material. + google.protobuf.Timestamp expire_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] + // expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is + // [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED]. + google.protobuf.Timestamp expire_event_time = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The current state of the + // [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used. ImportJobState state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The public key with which to wrap key material prior to @@ -630,14 +770,34 @@ message ImportJob { // Output only. Statement that was generated and signed by the key creator // (for example, an HSM) at key creation time. Use this statement to verify // attributes of the key as stored on the HSM, independently of Google. - // Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - // level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. - KeyOperationAttestation attestation = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Only present if the chosen + // [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + // protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + KeyOperationAttestation attestation = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// ExternalProtectionLevelOptions stores a group of additional fields for +// configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that +// are specific to the [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] +// protection level and +// [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] protection +// levels. +message ExternalProtectionLevelOptions { + // The URI for an external resource that this + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents. + string external_key_uri = 1; + + // The path to the external key material on the EKM when using + // [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set + // this field instead of external_key_uri when using an + // [EkmConnection][google.cloud.kms.v1.EkmConnection]. + string ekm_connection_key_path = 2; } -// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] specifies how cryptographic operations are performed. -// For more information, see [Protection levels] -// (https://cloud.google.com/kms/docs/algorithms#protection_levels). +// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] specifies how +// cryptographic operations are performed. For more information, see [Protection +// levels] (https://cloud.google.com/kms/docs/algorithms#protection_levels). enum ProtectionLevel { // Not specified. PROTECTION_LEVEL_UNSPECIFIED = 0; @@ -650,12 +810,7 @@ enum ProtectionLevel { // Crypto operations are performed by an external key manager. EXTERNAL = 3; -} -// ExternalProtectionLevelOptions stores a group of additional fields for -// configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the -// [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level. -message ExternalProtectionLevelOptions { - // The URI for an external resource that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents. - string external_key_uri = 1; + // Crypto operations are performed in an EKM-over-VPC backend. + EXTERNAL_VPC = 4; } diff --git a/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/service.proto b/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/service.proto index 497fb921..565678da 100644 --- a/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/service.proto +++ b/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/service.proto @@ -67,7 +67,8 @@ service KeyManagementService { } // Lists [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. - rpc ListCryptoKeyVersions(ListCryptoKeyVersionsRequest) returns (ListCryptoKeyVersionsResponse) { + rpc ListCryptoKeyVersions(ListCryptoKeyVersionsRequest) + returns (ListCryptoKeyVersionsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions" }; @@ -90,8 +91,9 @@ service KeyManagementService { option (google.api.method_signature) = "name"; } - // Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - // [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + // Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + // well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. rpc GetCryptoKey(GetCryptoKeyRequest) returns (CryptoKey) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}" @@ -99,17 +101,21 @@ service KeyManagementService { option (google.api.method_signature) = "name"; } - // Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. - rpc GetCryptoKeyVersion(GetCryptoKeyVersionRequest) returns (CryptoKeyVersion) { + // Returns metadata for a given + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + rpc GetCryptoKeyVersion(GetCryptoKeyVersionRequest) + returns (CryptoKeyVersion) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}" }; option (google.api.method_signature) = "name"; } - // Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + // Returns the public key for the given + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - // [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + // [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + // or // [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. rpc GetPublicKey(GetPublicKeyRequest) returns (PublicKey) { option (google.api.http) = { @@ -126,7 +132,8 @@ service KeyManagementService { option (google.api.method_signature) = "name"; } - // Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + // Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + // Location. rpc CreateKeyRing(CreateKeyRingRequest) returns (KeyRing) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/keyRings" @@ -135,7 +142,8 @@ service KeyManagementService { option (google.api.method_signature) = "parent,key_ring_id,key_ring"; } - // Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + // Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + // [KeyRing][google.cloud.kms.v1.KeyRing]. // // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and // [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] @@ -148,12 +156,14 @@ service KeyManagementService { option (google.api.method_signature) = "parent,crypto_key_id,crypto_key"; } - // Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + // Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + // [CryptoKey][google.cloud.kms.v1.CryptoKey]. // // The server will assign the next sequential id. If unset, // [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to // [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]. - rpc CreateCryptoKeyVersion(CreateCryptoKeyVersionRequest) returns (CryptoKeyVersion) { + rpc CreateCryptoKeyVersion(CreateCryptoKeyVersionRequest) + returns (CryptoKeyVersion) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions" body: "crypto_key_version" @@ -161,22 +171,27 @@ service KeyManagementService { option (google.api.method_signature) = "parent,crypto_key_version"; } - // Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + // Import wrapped key material into a + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. // - // All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is - // additionally specified in the request, key material will be reimported into - // that version. Otherwise, a new version will be created, and will be - // assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. - rpc ImportCryptoKeyVersion(ImportCryptoKeyVersionRequest) returns (CryptoKeyVersion) { + // All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If + // a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally + // specified in the request, key material will be reimported into that + // version. Otherwise, a new version will be created, and will be assigned the + // next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. + rpc ImportCryptoKeyVersion(ImportCryptoKeyVersionRequest) + returns (CryptoKeyVersion) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions:import" body: "*" }; } - // Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + // Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + // [KeyRing][google.cloud.kms.v1.KeyRing]. // - // [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + // [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + // required. rpc CreateImportJob(CreateImportJobRequest) returns (ImportJob) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/keyRings/*}/importJobs" @@ -194,14 +209,20 @@ service KeyManagementService { option (google.api.method_signature) = "crypto_key,update_mask"; } - // Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata. + // Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s + // metadata. // // [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between - // [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and - // [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this - // method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to - // move between other states. - rpc UpdateCryptoKeyVersion(UpdateCryptoKeyVersionRequest) returns (CryptoKeyVersion) { + // [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + // and + // [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + // using this method. See + // [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] + // and + // [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + // to move between other states. + rpc UpdateCryptoKeyVersion(UpdateCryptoKeyVersionRequest) + returns (CryptoKeyVersion) { option (google.api.http) = { patch: "/v1/{crypto_key_version.name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}" body: "crypto_key_version" @@ -209,11 +230,14 @@ service KeyManagementService { option (google.api.method_signature) = "crypto_key_version,update_mask"; } - // Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + // Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + // will be used in + // [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. // // Returns an error if called on a key whose purpose is not // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. - rpc UpdateCryptoKeyPrimaryVersion(UpdateCryptoKeyPrimaryVersionRequest) returns (CryptoKey) { + rpc UpdateCryptoKeyPrimaryVersion(UpdateCryptoKeyPrimaryVersionRequest) + returns (CryptoKey) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}:updatePrimaryVersion" body: "*" @@ -221,20 +245,29 @@ service KeyManagementService { option (google.api.method_signature) = "name,crypto_key_version_id"; } - // Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + // Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + // destruction. // - // Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + // Upon calling this method, + // [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + // be set to // [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - // and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - // [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - // future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - // automatically change to - // [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - // material will be irrevocably destroyed. + // and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + // be set to the time + // [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + // in the future. At that time, the + // [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + // change to + // [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + // and the key material will be irrevocably destroyed. // - // Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - // [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. - rpc DestroyCryptoKeyVersion(DestroyCryptoKeyVersionRequest) returns (CryptoKeyVersion) { + // Before the + // [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + // reached, + // [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + // may be called to reverse the process. + rpc DestroyCryptoKeyVersion(DestroyCryptoKeyVersionRequest) + returns (CryptoKeyVersion) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:destroy" body: "*" @@ -246,10 +279,13 @@ service KeyManagementService { // [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] // state. // - // Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - // will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - // and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. - rpc RestoreCryptoKeyVersion(RestoreCryptoKeyVersionRequest) returns (CryptoKeyVersion) { + // Upon restoration of the CryptoKeyVersion, + // [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + // [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + // and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + // be cleared. + rpc RestoreCryptoKeyVersion(RestoreCryptoKeyVersionRequest) + returns (CryptoKeyVersion) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:restore" body: "*" @@ -257,8 +293,9 @@ service KeyManagementService { option (google.api.method_signature) = "name"; } - // Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - // The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + // Encrypts data, so that it can only be recovered by a call to + // [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. rpc Encrypt(EncryptRequest) returns (EncryptResponse) { option (google.api.http) = { @@ -268,8 +305,10 @@ service KeyManagementService { option (google.api.method_signature) = "name,plaintext"; } - // Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - // must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + // Decrypts data that was protected by + // [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. rpc Decrypt(DecryptRequest) returns (DecryptResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}:decrypt" @@ -278,9 +317,11 @@ service KeyManagementService { option (google.api.method_signature) = "name,ciphertext"; } - // Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + // Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + // with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] // ASYMMETRIC_SIGN, producing a signature that can be verified with the public - // key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + // key retrieved from + // [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. rpc AsymmetricSign(AsymmetricSignRequest) returns (AsymmetricSignResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:asymmetricSign" @@ -290,9 +331,12 @@ service KeyManagementService { } // Decrypts data that was encrypted with a public key retrieved from - // [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. - rpc AsymmetricDecrypt(AsymmetricDecryptRequest) returns (AsymmetricDecryptResponse) { + // [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + // corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + // with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + // ASYMMETRIC_DECRYPT. + rpc AsymmetricDecrypt(AsymmetricDecryptRequest) + returns (AsymmetricDecryptResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:asymmetricDecrypt" body: "*" @@ -300,9 +344,9 @@ service KeyManagementService { option (google.api.method_signature) = "name,ciphertext"; } - // Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - // MAC, producing a tag that can be verified by another source with the - // same key. + // Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + // with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + // producing a tag that can be verified by another source with the same key. rpc MacSign(MacSignRequest) returns (MacSignResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:macSign" @@ -311,9 +355,10 @@ service KeyManagementService { option (google.api.method_signature) = "name,data"; } - // Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - // MAC, and returns a response that indicates whether or not the verification - // was successful. + // Verifies MAC tag using a + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + // a response that indicates whether or not the verification was successful. rpc MacVerify(MacVerifyRequest) returns (MacVerifyResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:macVerify" @@ -324,19 +369,23 @@ service KeyManagementService { // Generate random bytes using the Cloud KMS randomness source in the provided // location. - rpc GenerateRandomBytes(GenerateRandomBytesRequest) returns (GenerateRandomBytesResponse) { + rpc GenerateRandomBytes(GenerateRandomBytesRequest) + returns (GenerateRandomBytesResponse) { option (google.api.http) = { post: "/v1/{location=projects/*/locations/*}:generateRandomBytes" body: "*" }; - option (google.api.method_signature) = "location,length_bytes,protection_level"; + option (google.api.method_signature) = + "location,length_bytes,protection_level"; } } -// Request message for [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings]. +// Request message for +// [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings]. message ListKeyRingsRequest { // Required. The resource name of the location associated with the - // [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. + // [KeyRings][google.cloud.kms.v1.KeyRing], in the format + // `projects/*/locations/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -344,10 +393,13 @@ message ListKeyRingsRequest { } ]; - // Optional. Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the - // response. Further [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by - // including the [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token] in a subsequent - // request. If unspecified, the server will pick an appropriate default. + // Optional. Optional limit on the number of + // [KeyRings][google.cloud.kms.v1.KeyRing] to include in the response. Further + // [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by + // including the + // [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token] + // in a subsequent request. If unspecified, the server will pick an + // appropriate default. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Optional pagination token, returned earlier via @@ -367,10 +419,11 @@ message ListKeyRingsRequest { string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys]. +// Request message for +// [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys]. message ListCryptoKeysRequest { - // Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format - // `projects/*/locations/*/keyRings/*`. + // Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] + // to list, in the format `projects/*/locations/*/keyRings/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -378,10 +431,13 @@ message ListCryptoKeysRequest { } ]; - // Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the - // response. Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by - // including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent - // request. If unspecified, the server will pick an appropriate default. + // Optional. Optional limit on the number of + // [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the response. + // Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be + // obtained by including the + // [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] + // in a subsequent request. If unspecified, the server will pick an + // appropriate default. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Optional pagination token, returned earlier via @@ -404,9 +460,11 @@ message ListCryptoKeysRequest { string order_by = 6 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions]. +// Request message for +// [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions]. message ListCryptoKeyVersionsRequest { - // Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format + // Required. The resource name of the + // [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format // `projects/*/locations/*/keyRings/*/cryptoKeys/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -415,11 +473,13 @@ message ListCryptoKeyVersionsRequest { } ]; - // Optional. Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to - // include in the response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can - // subsequently be obtained by including the - // [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token] in a subsequent request. - // If unspecified, the server will pick an appropriate default. + // Optional. Optional limit on the number of + // [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to include in the + // response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] + // can subsequently be obtained by including the + // [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token] + // in a subsequent request. If unspecified, the server will pick an + // appropriate default. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Optional pagination token, returned earlier via @@ -442,10 +502,11 @@ message ListCryptoKeyVersionsRequest { string order_by = 6 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs]. +// Request message for +// [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs]. message ListImportJobsRequest { - // Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format - // `projects/*/locations/*/keyRings/*`. + // Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] + // to list, in the format `projects/*/locations/*/keyRings/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -453,10 +514,13 @@ message ListImportJobsRequest { } ]; - // Optional. Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the - // response. Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be obtained by - // including the [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token] in a subsequent - // request. If unspecified, the server will pick an appropriate default. + // Optional. Optional limit on the number of + // [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the response. + // Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be + // obtained by including the + // [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token] + // in a subsequent request. If unspecified, the server will pick an + // appropriate default. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Optional pagination token, returned earlier via @@ -476,63 +540,76 @@ message ListImportJobsRequest { string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings]. +// Response message for +// [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings]. message ListKeyRingsResponse { // The list of [KeyRings][google.cloud.kms.v1.KeyRing]. repeated KeyRing key_rings = 1; // A token to retrieve next page of results. Pass this value in - // [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results. + // [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] + // to retrieve the next page of results. string next_page_token = 2; - // The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched the query. + // The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched + // the query. int32 total_size = 3; } -// Response message for [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys]. +// Response message for +// [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys]. message ListCryptoKeysResponse { // The list of [CryptoKeys][google.cloud.kms.v1.CryptoKey]. repeated CryptoKey crypto_keys = 1; // A token to retrieve next page of results. Pass this value in - // [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token] to retrieve the next page of results. + // [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token] + // to retrieve the next page of results. string next_page_token = 2; - // The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that matched the query. + // The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that + // matched the query. int32 total_size = 3; } -// Response message for [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions]. +// Response message for +// [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions]. message ListCryptoKeyVersionsResponse { // The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. repeated CryptoKeyVersion crypto_key_versions = 1; // A token to retrieve next page of results. Pass this value in - // [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of - // results. + // [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] + // to retrieve the next page of results. string next_page_token = 2; - // The total number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the + // The total number of + // [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the // query. int32 total_size = 3; } -// Response message for [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs]. +// Response message for +// [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs]. message ListImportJobsResponse { // The list of [ImportJobs][google.cloud.kms.v1.ImportJob]. repeated ImportJob import_jobs = 1; // A token to retrieve next page of results. Pass this value in - // [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token] to retrieve the next page of results. + // [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token] + // to retrieve the next page of results. string next_page_token = 2; - // The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that matched the query. + // The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that + // matched the query. int32 total_size = 3; } -// Request message for [KeyManagementService.GetKeyRing][google.cloud.kms.v1.KeyManagementService.GetKeyRing]. +// Request message for +// [KeyManagementService.GetKeyRing][google.cloud.kms.v1.KeyManagementService.GetKeyRing]. message GetKeyRingRequest { - // Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. + // Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + // [KeyRing][google.cloud.kms.v1.KeyRing] to get. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -541,9 +618,11 @@ message GetKeyRingRequest { ]; } -// Request message for [KeyManagementService.GetCryptoKey][google.cloud.kms.v1.KeyManagementService.GetCryptoKey]. +// Request message for +// [KeyManagementService.GetCryptoKey][google.cloud.kms.v1.KeyManagementService.GetCryptoKey]. message GetCryptoKeyRequest { - // Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. + // Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + // [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -552,9 +631,11 @@ message GetCryptoKeyRequest { ]; } -// Request message for [KeyManagementService.GetCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion]. +// Request message for +// [KeyManagementService.GetCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion]. message GetCryptoKeyVersionRequest { - // Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. + // Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -563,10 +644,11 @@ message GetCryptoKeyVersionRequest { ]; } -// Request message for [KeyManagementService.GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. +// Request message for +// [KeyManagementService.GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. message GetPublicKeyRequest { - // Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to - // get. + // Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -575,9 +657,11 @@ message GetPublicKeyRequest { ]; } -// Request message for [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob]. +// Request message for +// [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob]. message GetImportJobRequest { - // Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. + // Required. The [name][google.cloud.kms.v1.ImportJob.name] of the + // [ImportJob][google.cloud.kms.v1.ImportJob] to get. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -586,10 +670,12 @@ message GetImportJobRequest { ]; } -// Request message for [KeyManagementService.CreateKeyRing][google.cloud.kms.v1.KeyManagementService.CreateKeyRing]. +// Request message for +// [KeyManagementService.CreateKeyRing][google.cloud.kms.v1.KeyManagementService.CreateKeyRing]. message CreateKeyRingRequest { // Required. The resource name of the location associated with the - // [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. + // [KeyRings][google.cloud.kms.v1.KeyRing], in the format + // `projects/*/locations/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -601,14 +687,16 @@ message CreateKeyRingRequest { // expression `[a-zA-Z0-9_-]{1,63}` string key_ring_id = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. + // Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field + // values. KeyRing key_ring = 3 [(google.api.field_behavior) = REQUIRED]; } -// Request message for [KeyManagementService.CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey]. +// Request message for +// [KeyManagementService.CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey]. message CreateCryptoKeyRequest { - // Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the - // [CryptoKeys][google.cloud.kms.v1.CryptoKey]. + // Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing + // associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey]. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -620,21 +708,27 @@ message CreateCryptoKeyRequest { // expression `[a-zA-Z0-9_-]{1,63}` string crypto_key_id = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. + // Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field + // values. CryptoKey crypto_key = 3 [(google.api.field_behavior) = REQUIRED]; - // If set to true, the request will create a [CryptoKey][google.cloud.kms.v1.CryptoKey] without any - // [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must manually call - // [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or + // If set to true, the request will create a + // [CryptoKey][google.cloud.kms.v1.CryptoKey] without any + // [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must + // manually call + // [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] + // or // [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion] // before you can use this [CryptoKey][google.cloud.kms.v1.CryptoKey]. bool skip_initial_version_creation = 5; } -// Request message for [KeyManagementService.CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]. +// Request message for +// [KeyManagementService.CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]. message CreateCryptoKeyVersionRequest { - // Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with - // the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. + // Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + // [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the + // [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -642,13 +736,17 @@ message CreateCryptoKeyVersionRequest { } ]; - // Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. - CryptoKeyVersion crypto_key_version = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + // initial field values. + CryptoKeyVersion crypto_key_version = 2 + [(google.api.field_behavior) = REQUIRED]; } -// Request message for [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]. +// Request message for +// [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]. message ImportCryptoKeyVersionRequest { - // Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into. + // Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + // [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into. // // The create permission is only required on this key when creating a new // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. @@ -659,20 +757,25 @@ message ImportCryptoKeyVersionRequest { } ]; - // Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of an existing - // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to target for an import operation. - // If this field is not present, a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the + // Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of + // an existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to + // target for an import operation. If this field is not present, a new + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the // supplied key material is created. // // If this field is present, the supplied key material is imported into - // the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To import into an existing - // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of - // [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent], have been previously created via - // [ImportCryptoKeyVersion][], and be in - // [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED] or + // the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To + // import into an existing + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of + // [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent], + // have been previously created via [ImportCryptoKeyVersion][], and be in + // [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED] + // or // [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED] // state. The key material and algorithm must match the previous - // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained // key material. string crypto_key_version = 6 [ (google.api.field_behavior) = OPTIONAL, @@ -681,14 +784,17 @@ message ImportCryptoKeyVersionRequest { } ]; - // Required. The [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] of - // the key being imported. This does not need to match the - // [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this - // version imports into. - CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to - // wrap this key material. + // Required. The + // [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] + // of the key being imported. This does not need to match the + // [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the + // [CryptoKey][google.cloud.kms.v1.CryptoKey] this version imports into. + CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The [name][google.cloud.kms.v1.ImportJob.name] of the + // [ImportJob][google.cloud.kms.v1.ImportJob] that was used to wrap this key + // material. string import_job = 4 [(google.api.field_behavior) = REQUIRED]; // Required. The incoming wrapped key material that is to be imported. @@ -701,8 +807,9 @@ message ImportCryptoKeyVersionRequest { // This field contains the concatenation of two wrapped keys: //
    //
  1. An ephemeral AES-256 wrapping key wrapped with the - // [public_key][google.cloud.kms.v1.ImportJob.public_key] using RSAES-OAEP with SHA-1, - // MGF1 with SHA-1, and an empty label. + // [public_key][google.cloud.kms.v1.ImportJob.public_key] using + // RSAES-OAEP with SHA-1/SHA-256, MGF1 with SHA-1/SHA-256, and an + // empty label. //
  2. //
  3. The key to be imported, wrapped with the ephemeral AES-256 key // using AES-KWP (RFC 5649). @@ -720,9 +827,11 @@ message ImportCryptoKeyVersionRequest { } } -// Request message for [KeyManagementService.CreateImportJob][google.cloud.kms.v1.KeyManagementService.CreateImportJob]. +// Request message for +// [KeyManagementService.CreateImportJob][google.cloud.kms.v1.KeyManagementService.CreateImportJob]. message CreateImportJobRequest { - // Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the + // Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + // [KeyRing][google.cloud.kms.v1.KeyRing] associated with the // [ImportJobs][google.cloud.kms.v1.ImportJob]. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -735,31 +844,40 @@ message CreateImportJobRequest { // expression `[a-zA-Z0-9_-]{1,63}` string import_job_id = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values. + // Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field + // values. ImportJob import_job = 3 [(google.api.field_behavior) = REQUIRED]; } -// Request message for [KeyManagementService.UpdateCryptoKey][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey]. +// Request message for +// [KeyManagementService.UpdateCryptoKey][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey]. message UpdateCryptoKeyRequest { // Required. [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values. CryptoKey crypto_key = 1 [(google.api.field_behavior) = REQUIRED]; // Required. List of fields to be updated in this request. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } -// Request message for [KeyManagementService.UpdateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion]. +// Request message for +// [KeyManagementService.UpdateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion]. message UpdateCryptoKeyVersionRequest { - // Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. - CryptoKeyVersion crypto_key_version = 1 [(google.api.field_behavior) = REQUIRED]; + // Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + // updated values. + CryptoKeyVersion crypto_key_version = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. List of fields to be updated in this request. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } -// Request message for [KeyManagementService.UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]. +// Request message for +// [KeyManagementService.UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]. message UpdateCryptoKeyPrimaryVersionRequest { - // Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. + // Required. The resource name of the + // [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -767,13 +885,16 @@ message UpdateCryptoKeyPrimaryVersionRequest { } ]; - // Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. + // Required. The id of the child + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. string crypto_key_version_id = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for [KeyManagementService.DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion]. +// Request message for +// [KeyManagementService.DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion]. message DestroyCryptoKeyVersionRequest { - // Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. + // Required. The resource name of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -782,9 +903,11 @@ message DestroyCryptoKeyVersionRequest { ]; } -// Request message for [KeyManagementService.RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]. +// Request message for +// [KeyManagementService.RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]. message RestoreCryptoKeyVersionRequest { - // Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. + // Required. The resource name of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -793,77 +916,97 @@ message RestoreCryptoKeyVersionRequest { ]; } -// Request message for [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. +// Request message for +// [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. message EncryptRequest { - // Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] - // to use for encryption. + // Required. The resource name of the + // [CryptoKey][google.cloud.kms.v1.CryptoKey] or + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + // encryption. // - // If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its - // [primary version][google.cloud.kms.v1.CryptoKey.primary]. + // If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server + // will use its [primary version][google.cloud.kms.v1.CryptoKey.primary]. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "*" - } + (google.api.resource_reference) = { type: "*" } ]; // Required. The data to encrypt. Must be no larger than 64KiB. // // The maximum size depends on the key version's - // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For - // [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the plaintext must be no larger - // than 64KiB. For [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of the - // plaintext and additional_authenticated_data fields must be no larger than - // 8KiB. + // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. + // For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the + // plaintext must be no larger than 64KiB. For + // [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of + // the plaintext and additional_authenticated_data fields must be no larger + // than 8KiB. bytes plaintext = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. Optional data that, if specified, must also be provided during decryption - // through [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. + // Optional. Optional data that, if specified, must also be provided during + // decryption through + // [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. // // The maximum size depends on the key version's - // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For - // [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the AAD must be no larger than - // 64KiB. For [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of the - // plaintext and additional_authenticated_data fields must be no larger than - // 8KiB. - bytes additional_authenticated_data = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If - // specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - // received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum. - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - // fails. If you receive a checksum error, your client should verify that - // CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to - // [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of - // retries. A persistent mismatch may indicate an issue in your computation of - // the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. - google.protobuf.Int64Value plaintext_crc32c = 7 [(google.api.field_behavior) = OPTIONAL]; + // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. + // For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the AAD + // must be no larger than 64KiB. For + // [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of + // the plaintext and additional_authenticated_data fields must be no larger + // than 8KiB. + bytes additional_authenticated_data = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. An optional CRC32C checksum of the + // [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. + // If specified, + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // verify the integrity of the received + // [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] + // using this checksum. + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that + // CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) + // is equal to + // [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], + // and if so, perform a limited number of retries. A persistent mismatch may + // indicate an issue in your computation of the CRC32C checksum. Note: This + // field is defined as int64 for reasons of compatibility across different + // languages. However, it is a non-negative integer, which will never exceed + // 2^32-1, and can be safely downconverted to uint32 in languages that support + // this type. + google.protobuf.Int64Value plaintext_crc32c = 7 + [(google.api.field_behavior) = OPTIONAL]; // Optional. An optional CRC32C checksum of the - // [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified, - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received - // [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum. - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - // fails. If you receive a checksum error, your client should verify that - // CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to - // [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform - // a limited number of retries. A persistent mismatch may indicate an issue in - // your computation of the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. - google.protobuf.Int64Value additional_authenticated_data_crc32c = 8 [(google.api.field_behavior) = OPTIONAL]; + // [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. + // If specified, + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // verify the integrity of the received + // [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] + // using this checksum. + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that + // CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) + // is equal to + // [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], + // and if so, perform a limited number of retries. A persistent mismatch may + // indicate an issue in your computation of the CRC32C checksum. Note: This + // field is defined as int64 for reasons of compatibility across different + // languages. However, it is a non-negative integer, which will never exceed + // 2^32-1, and can be safely downconverted to uint32 in languages that support + // this type. + google.protobuf.Int64Value additional_authenticated_data_crc32c = 8 + [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. +// Request message for +// [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. message DecryptRequest { - // Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. - // The server will choose the appropriate version. + // Required. The resource name of the + // [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The + // server will choose the appropriate version. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -877,43 +1020,60 @@ message DecryptRequest { // Optional. Optional data that must match the data originally supplied in // [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. - bytes additional_authenticated_data = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If - // specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - // received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum. - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - // fails. If you receive a checksum error, your client should verify that - // CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to - // [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number - // of retries. A persistent mismatch may indicate an issue in your computation - // of the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. - google.protobuf.Int64Value ciphertext_crc32c = 5 [(google.api.field_behavior) = OPTIONAL]; + bytes additional_authenticated_data = 3 + [(google.api.field_behavior) = OPTIONAL]; // Optional. An optional CRC32C checksum of the - // [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified, - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received - // [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum. - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - // fails. If you receive a checksum error, your client should verify that - // CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to - // [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform - // a limited number of retries. A persistent mismatch may indicate an issue in - // your computation of the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. - google.protobuf.Int64Value additional_authenticated_data_crc32c = 6 [(google.api.field_behavior) = OPTIONAL]; + // [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. + // If specified, + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // verify the integrity of the received + // [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] + // using this checksum. + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that + // CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) + // is equal to + // [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], + // and if so, perform a limited number of retries. A persistent mismatch may + // indicate an issue in your computation of the CRC32C checksum. Note: This + // field is defined as int64 for reasons of compatibility across different + // languages. However, it is a non-negative integer, which will never exceed + // 2^32-1, and can be safely downconverted to uint32 in languages that support + // this type. + google.protobuf.Int64Value ciphertext_crc32c = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. An optional CRC32C checksum of the + // [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. + // If specified, + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // verify the integrity of the received + // [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] + // using this checksum. + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that + // CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) + // is equal to + // [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], + // and if so, perform a limited number of retries. A persistent mismatch may + // indicate an issue in your computation of the CRC32C checksum. Note: This + // field is defined as int64 for reasons of compatibility across different + // languages. However, it is a non-negative integer, which will never exceed + // 2^32-1, and can be safely downconverted to uint32 in languages that support + // this type. + google.protobuf.Int64Value additional_authenticated_data_crc32c = 6 + [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]. +// Request message for +// [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]. message AsymmetricSignRequest { - // Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + // Required. The resource name of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + // signing. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -924,47 +1084,68 @@ message AsymmetricSignRequest { // Optional. The digest of the data to sign. The digest must be produced with // the same digest algorithm as specified by the key version's // [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + // + // This field may not be supplied if + // [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + // is supplied. Digest digest = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If - // specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - // received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum. - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - // fails. If you receive a checksum error, your client should verify that - // CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to - // [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited - // number of retries. A persistent mismatch may indicate an issue in your - // computation of the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. - google.protobuf.Int64Value digest_crc32c = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. This field will only be honored for RAW_PKCS1 keys. - // The data to sign. A digest is computed over the data that will be signed, - // PKCS #1 padding is applied to the digest directly and then encrypted. + // Optional. An optional CRC32C checksum of the + // [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. + // If specified, + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // verify the integrity of the received + // [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] + // using this checksum. + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that + // CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) + // is equal to + // [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], + // and if so, perform a limited number of retries. A persistent mismatch may + // indicate an issue in your computation of the CRC32C checksum. Note: This + // field is defined as int64 for reasons of compatibility across different + // languages. However, it is a non-negative integer, which will never exceed + // 2^32-1, and can be safely downconverted to uint32 in languages that support + // this type. + google.protobuf.Int64Value digest_crc32c = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The data to sign. + // It can't be supplied if + // [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] + // is supplied. bytes data = 6 [(google.api.field_behavior) = OPTIONAL]; - // Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If - // specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - // received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum. - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - // fails. If you receive a checksum error, your client should verify that - // CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to - // [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited - // number of retries. A persistent mismatch may indicate an issue in your - // computation of the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. - google.protobuf.Int64Value data_crc32c = 7 [(google.api.field_behavior) = OPTIONAL]; + // Optional. An optional CRC32C checksum of the + // [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. + // If specified, + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // verify the integrity of the received + // [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + // using this checksum. + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that + // CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) + // is equal to + // [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], + // and if so, perform a limited number of retries. A persistent mismatch may + // indicate an issue in your computation of the CRC32C checksum. Note: This + // field is defined as int64 for reasons of compatibility across different + // languages. However, it is a non-negative integer, which will never exceed + // 2^32-1, and can be safely downconverted to uint32 in languages that support + // this type. + google.protobuf.Int64Value data_crc32c = 7 + [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt]. +// Request message for +// [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt]. message AsymmetricDecryptRequest { - // Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + // Required. The resource name of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for // decryption. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -973,29 +1154,40 @@ message AsymmetricDecryptRequest { } ]; - // Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public - // key using OAEP. + // Required. The data encrypted with the named + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using + // OAEP. bytes ciphertext = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. - // If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - // received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum. - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - // fails. If you receive a checksum error, your client should verify that - // CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to - // [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a - // limited number of retries. A persistent mismatch may indicate an issue in - // your computation of the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. - google.protobuf.Int64Value ciphertext_crc32c = 4 [(google.api.field_behavior) = OPTIONAL]; + // Optional. An optional CRC32C checksum of the + // [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. + // If specified, + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // verify the integrity of the received + // [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] + // using this checksum. + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that + // CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) + // is equal to + // [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], + // and if so, perform a limited number of retries. A persistent mismatch may + // indicate an issue in your computation of the CRC32C checksum. Note: This + // field is defined as int64 for reasons of compatibility across different + // languages. However, it is a non-negative integer, which will never exceed + // 2^32-1, and can be safely downconverted to uint32 in languages that support + // this type. + google.protobuf.Int64Value ciphertext_crc32c = 4 + [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. +// Request message for +// [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. message MacSignRequest { - // Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + // Required. The resource name of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + // signing. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1003,29 +1195,37 @@ message MacSignRequest { } ]; - // Required. The data to sign. The MAC tag is computed over this data field based on - // the specific algorithm. + // Required. The data to sign. The MAC tag is computed over this data field + // based on the specific algorithm. bytes data = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If - // specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - // received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum. - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - // fails. If you receive a checksum error, your client should verify that - // CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to - // [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited - // number of retries. A persistent mismatch may indicate an issue in your - // computation of the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. - google.protobuf.Int64Value data_crc32c = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. An optional CRC32C checksum of the + // [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If + // specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] + // will verify the integrity of the received + // [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this + // checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService] + // will report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that + // CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is + // equal to + // [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], + // and if so, perform a limited number of retries. A persistent mismatch may + // indicate an issue in your computation of the CRC32C checksum. Note: This + // field is defined as int64 for reasons of compatibility across different + // languages. However, it is a non-negative integer, which will never exceed + // 2^32-1, and can be safely downconverted to uint32 in languages that support + // this type. + google.protobuf.Int64Value data_crc32c = 3 + [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify]. +// Request message for +// [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify]. message MacVerifyRequest { - // Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification. + // Required. The resource name of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + // verification. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1033,45 +1233,57 @@ message MacVerifyRequest { } ]; - // Required. The data used previously as a [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate the MAC - // tag. + // Required. The data used previously as a + // [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate + // the MAC tag. bytes data = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If - // specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - // received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum. - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - // fails. If you receive a checksum error, your client should verify that - // CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to - // [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited - // number of retries. A persistent mismatch may indicate an issue in your - // computation of the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. - google.protobuf.Int64Value data_crc32c = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. An optional CRC32C checksum of the + // [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If + // specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] + // will verify the integrity of the received + // [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using + // this checksum. + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that + // CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) + // is equal to + // [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], + // and if so, perform a limited number of retries. A persistent mismatch may + // indicate an issue in your computation of the CRC32C checksum. Note: This + // field is defined as int64 for reasons of compatibility across different + // languages. However, it is a non-negative integer, which will never exceed + // 2^32-1, and can be safely downconverted to uint32 in languages that support + // this type. + google.protobuf.Int64Value data_crc32c = 3 + [(google.api.field_behavior) = OPTIONAL]; // Required. The signature to verify. bytes mac = 4 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If - // specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - // received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum. - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - // fails. If you receive a checksum error, your client should verify that + // Optional. An optional CRC32C checksum of the + // [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If + // specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] + // will verify the integrity of the received + // [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this + // checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService] + // will report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that // CRC32C([MacVerifyRequest.tag][]) is equal to - // [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited - // number of retries. A persistent mismatch may indicate an issue in your - // computation of the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. - google.protobuf.Int64Value mac_crc32c = 5 [(google.api.field_behavior) = OPTIONAL]; + // [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], + // and if so, perform a limited number of retries. A persistent mismatch may + // indicate an issue in your computation of the CRC32C checksum. Note: This + // field is defined as int64 for reasons of compatibility across different + // languages. However, it is a non-negative integer, which will never exceed + // 2^32-1, and can be safely downconverted to uint32 in languages that support + // this type. + google.protobuf.Int64Value mac_crc32c = 5 + [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes]. +// Request message for +// [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes]. message GenerateRandomBytesRequest { // The project-specific location in which to generate random bytes. // For example, "projects/my-project/locations/us-central1". @@ -1081,228 +1293,311 @@ message GenerateRandomBytesRequest { // bytes, maximum 1024 bytes. int32 length_bytes = 2; - // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Defaults to - // [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE]. + // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when + // generating the random data. Currently, only + // [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is + // supported. ProtectionLevel protection_level = 3; } -// Response message for [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. +// Response message for +// [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. message EncryptResponse { - // The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check - // this field to verify that the intended resource was used for encryption. + // The resource name of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in + // encryption. Check this field to verify that the intended resource was used + // for encryption. string name = 1; // The encrypted data. bytes ciphertext = 2; // Integrity verification field. A CRC32C checksum of the returned - // [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of - // [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C - // checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to - // this field. Discard the response in case of non-matching checksum values, - // and perform a limited number of retries. A persistent mismatch may indicate - // an issue in your computation of the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. + // [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. + // An integrity check of + // [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] + // can be performed by computing the CRC32C checksum of + // [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] + // and comparing your results to this field. Discard the response in case of + // non-matching checksum values, and perform a limited number of retries. A + // persistent mismatch may indicate an issue in your computation of the CRC32C + // checksum. Note: This field is defined as int64 for reasons of compatibility + // across different languages. However, it is a non-negative integer, which + // will never exceed 2^32-1, and can be safely downconverted to uint32 in + // languages that support this type. google.protobuf.Int64Value ciphertext_crc32c = 4; // Integrity verification field. A flag indicating whether - // [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] was received by - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - // [plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. A false value of this field - // indicates either that [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] was left unset or - // that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set - // [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] but this field is still false, discard - // the response and perform a limited number of retries. + // [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] + // was received by + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + // for the integrity verification of the + // [plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. A false value of + // this field indicates either that + // [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] + // was left unset or that it was not delivered to + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + // set + // [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] + // but this field is still false, discard the response and perform a limited + // number of retries. bool verified_plaintext_crc32c = 5; // Integrity verification field. A flag indicating whether - // [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] was received by - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - // [AAD][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. A false value of this - // field indicates either that - // [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] was left unset or - // that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set - // [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] but this field is - // still false, discard the response and perform a limited number of retries. + // [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] + // was received by + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + // for the integrity verification of the + // [AAD][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. A + // false value of this field indicates either that + // [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] + // was left unset or that it was not delivered to + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + // set + // [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] + // but this field is still false, discard the response and perform a limited + // number of retries. bool verified_additional_authenticated_data_crc32c = 6; - // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. + // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in + // encryption. ProtectionLevel protection_level = 7; } -// Response message for [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. +// Response message for +// [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. message DecryptResponse { - // The decrypted data originally supplied in [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. + // The decrypted data originally supplied in + // [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. bytes plaintext = 1; // Integrity verification field. A CRC32C checksum of the returned - // [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of - // [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C - // checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to - // this field. Discard the response in case of non-matching checksum values, - // and perform a limited number of retries. A persistent mismatch may indicate - // an issue in your computation of the CRC32C checksum. Note: receiving this - // response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to - // successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. + // [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. + // An integrity check of + // [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] + // can be performed by computing the CRC32C checksum of + // [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] + // and comparing your results to this field. Discard the response in case of + // non-matching checksum values, and perform a limited number of retries. A + // persistent mismatch may indicate an issue in your computation of the CRC32C + // checksum. Note: receiving this response message indicates that + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to + // successfully decrypt the + // [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This + // field is defined as int64 for reasons of compatibility across different + // languages. However, it is a non-negative integer, which will never exceed + // 2^32-1, and can be safely downconverted to uint32 in languages that support + // this type. google.protobuf.Int64Value plaintext_crc32c = 2; // Whether the Decryption was performed using the primary key version. bool used_primary = 3; - // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption. + // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in + // decryption. ProtectionLevel protection_level = 4; } -// Response message for [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]. +// Response message for +// [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]. message AsymmetricSignResponse { // The created signature. bytes signature = 1; // Integrity verification field. A CRC32C checksum of the returned - // [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of - // [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the - // CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your - // results to this field. Discard the response in case of non-matching - // checksum values, and perform a limited number of retries. A persistent - // mismatch may indicate an issue in your computation of the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. + // [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. + // An integrity check of + // [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] + // can be performed by computing the CRC32C checksum of + // [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] + // and comparing your results to this field. Discard the response in case of + // non-matching checksum values, and perform a limited number of retries. A + // persistent mismatch may indicate an issue in your computation of the CRC32C + // checksum. Note: This field is defined as int64 for reasons of compatibility + // across different languages. However, it is a non-negative integer, which + // will never exceed 2^32-1, and can be safely downconverted to uint32 in + // languages that support this type. google.protobuf.Int64Value signature_crc32c = 2; // Integrity verification field. A flag indicating whether - // [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was received by - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - // [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value of this field - // indicates either that [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was left - // unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've - // set [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] but this field is still false, - // discard the response and perform a limited number of retries. + // [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] + // was received by + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + // for the integrity verification of the + // [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value + // of this field indicates either that + // [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] + // was left unset or that it was not delivered to + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + // set + // [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] + // but this field is still false, discard the response and perform a limited + // number of retries. bool verified_digest_crc32c = 3; - // The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check - // this field to verify that the intended resource was used for signing. + // The resource name of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. + // Check this field to verify that the intended resource was used for signing. string name = 4; // Integrity verification field. A flag indicating whether - // [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was received by - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - // [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of this field - // indicates either that [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was left - // unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've - // set [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] but this field is still false, - // discard the response and perform a limited number of retries. + // [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] + // was received by + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + // for the integrity verification of the + // [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of + // this field indicates either that + // [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] + // was left unset or that it was not delivered to + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + // set + // [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] + // but this field is still false, discard the response and perform a limited + // number of retries. bool verified_data_crc32c = 5; - // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. + // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. ProtectionLevel protection_level = 6; } -// Response message for [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt]. +// Response message for +// [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt]. message AsymmetricDecryptResponse { // The decrypted data originally encrypted with the matching public key. bytes plaintext = 1; // Integrity verification field. A CRC32C checksum of the returned - // [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of - // [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the - // CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing - // your results to this field. Discard the response in case of non-matching - // checksum values, and perform a limited number of retries. A persistent - // mismatch may indicate an issue in your computation of the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. + // [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. + // An integrity check of + // [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] + // can be performed by computing the CRC32C checksum of + // [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] + // and comparing your results to this field. Discard the response in case of + // non-matching checksum values, and perform a limited number of retries. A + // persistent mismatch may indicate an issue in your computation of the CRC32C + // checksum. Note: This field is defined as int64 for reasons of compatibility + // across different languages. However, it is a non-negative integer, which + // will never exceed 2^32-1, and can be safely downconverted to uint32 in + // languages that support this type. google.protobuf.Int64Value plaintext_crc32c = 2; // Integrity verification field. A flag indicating whether - // [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] was received by - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - // [ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. A false value of this - // field indicates either that [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] - // was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If - // you've set [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] but this field is - // still false, discard the response and perform a limited number of retries. + // [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] + // was received by + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + // for the integrity verification of the + // [ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. A + // false value of this field indicates either that + // [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] + // was left unset or that it was not delivered to + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + // set + // [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] + // but this field is still false, discard the response and perform a limited + // number of retries. bool verified_ciphertext_crc32c = 3; - // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption. + // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in + // decryption. ProtectionLevel protection_level = 4; } -// Response message for [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. +// Response message for +// [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. message MacSignResponse { - // The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check - // this field to verify that the intended resource was used for signing. + // The resource name of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. + // Check this field to verify that the intended resource was used for signing. string name = 1; // The created signature. bytes mac = 2; // Integrity verification field. A CRC32C checksum of the returned - // [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of - // [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the - // CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your - // results to this field. Discard the response in case of non-matching - // checksum values, and perform a limited number of retries. A persistent - // mismatch may indicate an issue in your computation of the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. + // [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An + // integrity check of + // [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be + // performed by computing the CRC32C checksum of + // [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and + // comparing your results to this field. Discard the response in case of + // non-matching checksum values, and perform a limited number of retries. A + // persistent mismatch may indicate an issue in your computation of the CRC32C + // checksum. Note: This field is defined as int64 for reasons of compatibility + // across different languages. However, it is a non-negative integer, which + // will never exceed 2^32-1, and can be safely downconverted to uint32 in + // languages that support this type. google.protobuf.Int64Value mac_crc32c = 3; // Integrity verification field. A flag indicating whether - // [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] was received by - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - // [data][google.cloud.kms.v1.MacSignRequest.data]. A false value of this field - // indicates either that [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] was left - // unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've - // set [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] but this field is still false, - // discard the response and perform a limited number of retries. + // [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] + // was received by + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + // for the integrity verification of the + // [data][google.cloud.kms.v1.MacSignRequest.data]. A false value of this + // field indicates either that + // [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] + // was left unset or that it was not delivered to + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + // set + // [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] + // but this field is still false, discard the response and perform a limited + // number of retries. bool verified_data_crc32c = 4; - // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. + // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. ProtectionLevel protection_level = 5; } -// Response message for [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify]. +// Response message for +// [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify]. message MacVerifyResponse { - // The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification. - // Check this field to verify that the intended resource was used for - // verification. + // The resource name of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for + // verification. Check this field to verify that the intended resource was + // used for verification. string name = 1; // This field indicates whether or not the verification operation for - // [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was successful. + // [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over + // [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was + // successful. bool success = 2; // Integrity verification field. A flag indicating whether - // [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was received by - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - // [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this field - // indicates either that [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was left - // unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've - // set [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] but this field is still false, - // discard the response and perform a limited number of retries. + // [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] + // was received by + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + // for the integrity verification of the + // [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this + // field indicates either that + // [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] + // was left unset or that it was not delivered to + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + // set + // [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] + // but this field is still false, discard the response and perform a limited + // number of retries. bool verified_data_crc32c = 3; // Integrity verification field. A flag indicating whether - // [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was received by - // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - // [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this field - // indicates either that [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was left - // unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've - // set [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] but this field is still false, - // discard the response and perform a limited number of retries. + // [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] + // was received by + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + // for the integrity verification of the + // [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this + // field indicates either that + // [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] + // was left unset or that it was not delivered to + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + // set + // [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] + // but this field is still false, discard the response and perform a limited + // number of retries. bool verified_mac_crc32c = 4; // Integrity verification field. This value is used for the integrity @@ -1311,26 +1606,31 @@ message MacVerifyResponse { // and perform a limited number of retries. bool verified_success_integrity = 5; - // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification. + // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for + // verification. ProtectionLevel protection_level = 6; } -// Response message for [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes]. +// Response message for +// [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes]. message GenerateRandomBytesResponse { // The generated data. bytes data = 1; // Integrity verification field. A CRC32C checksum of the returned - // [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of - // [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the - // CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your - // results to this field. Discard the response in case of non-matching - // checksum values, and perform a limited number of retries. A persistent - // mismatch may indicate an issue in your computation of the CRC32C checksum. - // Note: This field is defined as int64 for reasons of compatibility across - // different languages. However, it is a non-negative integer, which will - // never exceed 2^32-1, and can be safely downconverted to uint32 in languages - // that support this type. + // [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. + // An integrity check of + // [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] + // can be performed by computing the CRC32C checksum of + // [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] + // and comparing your results to this field. Discard the response in case of + // non-matching checksum values, and perform a limited number of retries. A + // persistent mismatch may indicate an issue in your computation of the CRC32C + // checksum. Note: This field is defined as int64 for reasons of compatibility + // across different languages. However, it is a non-negative integer, which + // will never exceed 2^32-1, and can be safely downconverted to uint32 in + // languages that support this type. google.protobuf.Int64Value data_crc32c = 3; } @@ -1349,15 +1649,18 @@ message Digest { } } -// Cloud KMS metadata for the given [google.cloud.location.Location][google.cloud.location.Location]. +// Cloud KMS metadata for the given +// [google.cloud.location.Location][google.cloud.location.Location]. message LocationMetadata { // Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] - // [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this location. + // [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this + // location. bool hsm_available = 1; // Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] - // [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in this location. + // [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in + // this location. bool ekm_available = 2; } From b4d7408e56cccbdd2a39f9ab39b4e3f41eca1ad0 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 3 Feb 2022 19:50:46 +0000 Subject: [PATCH 17/18] chore: add kokoro config to run nightly integration test on java11.0.14 (#1347) (#713) --- .github/.OwlBot.lock.yaml | 2 +- .kokoro/nightly/java11-integration.cfg | 37 ++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 .kokoro/nightly/java11-integration.cfg diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index be3b9bde..8807efca 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:7062473f423f339256346ddbee3d81fb1de6b784fabc2a4d959d7df2c720e375 + digest: sha256:7c853edc4136ae8f19f9d46d4569d38de2e446db2eea057f32e412bdba255846 diff --git a/.kokoro/nightly/java11-integration.cfg b/.kokoro/nightly/java11-integration.cfg new file mode 100644 index 00000000..58049cc3 --- /dev/null +++ b/.kokoro/nightly/java11-integration.cfg @@ -0,0 +1,37 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-public-resources/java11014" +} + +env_vars: { + key: "JOB_TYPE" + value: "integration" +} +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "ENABLE_FLAKYBOT" + value: "true" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} From c6c4bb54293d66c48696b714f8433b4d92a0bd7e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 3 Feb 2022 21:00:51 +0000 Subject: [PATCH 18/18] chore(main): release 2.4.0 (#705) :robot: I have created a release *beep* *boop* --- ## [2.4.0](https://github.com/googleapis/java-kms/compare/v2.3.1...v2.4.0) (2022-02-03) ### Features * add a new EkmService API ([#712](https://github.com/googleapis/java-kms/issues/712)) ([659a232](https://github.com/googleapis/java-kms/commit/659a2323a6964ffa8b7ff30d2f1ff8b53b4ac76f)) ### Dependencies * **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-kms/issues/1339)) ([#708](https://github.com/googleapis/java-kms/issues/708)) ([cfbfc03](https://github.com/googleapis/java-kms/commit/cfbfc034039efec3d0e2987b3642dd3425a456e1)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#711](https://github.com/googleapis/java-kms/issues/711)) ([34baff6](https://github.com/googleapis/java-kms/commit/34baff6a551778e1490280353b0edddffff7078e)) * update dependency com.google.protobuf:protobuf-java-util to v3.19.3 ([#701](https://github.com/googleapis/java-kms/issues/701)) ([9407c6d](https://github.com/googleapis/java-kms/commit/9407c6d4aca50fd22025fd7cb368e34c69ce06bd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 14 ++++++++++++++ google-cloud-kms-bom/pom.xml | 8 ++++---- google-cloud-kms/pom.xml | 4 ++-- grpc-google-cloud-kms-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-kms-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 8 files changed, 32 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5c33049..ac3388f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [2.4.0](https://github.com/googleapis/java-kms/compare/v2.3.1...v2.4.0) (2022-02-03) + + +### Features + +* add a new EkmService API ([#712](https://github.com/googleapis/java-kms/issues/712)) ([659a232](https://github.com/googleapis/java-kms/commit/659a2323a6964ffa8b7ff30d2f1ff8b53b4ac76f)) + + +### Dependencies + +* **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-kms/issues/1339)) ([#708](https://github.com/googleapis/java-kms/issues/708)) ([cfbfc03](https://github.com/googleapis/java-kms/commit/cfbfc034039efec3d0e2987b3642dd3425a456e1)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#711](https://github.com/googleapis/java-kms/issues/711)) ([34baff6](https://github.com/googleapis/java-kms/commit/34baff6a551778e1490280353b0edddffff7078e)) +* update dependency com.google.protobuf:protobuf-java-util to v3.19.3 ([#701](https://github.com/googleapis/java-kms/issues/701)) ([9407c6d](https://github.com/googleapis/java-kms/commit/9407c6d4aca50fd22025fd7cb368e34c69ce06bd)) + ### [2.3.1](https://www.github.com/googleapis/java-kms/compare/v2.3.0...v2.3.1) (2022-01-07) diff --git a/google-cloud-kms-bom/pom.xml b/google-cloud-kms-bom/pom.xml index a16010bd..040bb6bf 100644 --- a/google-cloud-kms-bom/pom.xml +++ b/google-cloud-kms-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-kms-bom - 2.3.2-SNAPSHOT + 2.4.0 pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-kms - 2.3.2-SNAPSHOT + 2.4.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.94.2-SNAPSHOT + 0.95.0 com.google.api.grpc proto-google-cloud-kms-v1 - 0.94.2-SNAPSHOT + 0.95.0 diff --git a/google-cloud-kms/pom.xml b/google-cloud-kms/pom.xml index d3dcdebd..7fb69353 100644 --- a/google-cloud-kms/pom.xml +++ b/google-cloud-kms/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-kms - 2.3.2-SNAPSHOT + 2.4.0 jar Google Cloud KMS https://github.com/googleapis/java-kms @@ -11,7 +11,7 @@ com.google.cloud google-cloud-kms-parent - 2.3.2-SNAPSHOT + 2.4.0 google-cloud-kms diff --git a/grpc-google-cloud-kms-v1/pom.xml b/grpc-google-cloud-kms-v1/pom.xml index 9b876c8c..92ba9e16 100644 --- a/grpc-google-cloud-kms-v1/pom.xml +++ b/grpc-google-cloud-kms-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.94.2-SNAPSHOT + 0.95.0 grpc-google-cloud-kms-v1 GRPC library for grpc-google-cloud-kms-v1 com.google.cloud google-cloud-kms-parent - 2.3.2-SNAPSHOT + 2.4.0 diff --git a/pom.xml b/pom.xml index 5a6abf94..13eb07c5 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-kms-parent pom - 2.3.2-SNAPSHOT + 2.4.0 Google Cloud KMS Parent https://github.com/googleapis/java-kms @@ -61,17 +61,17 @@ com.google.api.grpc proto-google-cloud-kms-v1 - 0.94.2-SNAPSHOT + 0.95.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.94.2-SNAPSHOT + 0.95.0 com.google.cloud google-cloud-kms - 2.3.2-SNAPSHOT + 2.4.0 com.google.cloud diff --git a/proto-google-cloud-kms-v1/pom.xml b/proto-google-cloud-kms-v1/pom.xml index 4a37bb10..3158294e 100644 --- a/proto-google-cloud-kms-v1/pom.xml +++ b/proto-google-cloud-kms-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-kms-v1 - 0.94.2-SNAPSHOT + 0.95.0 proto-google-cloud-kms-v1 PROTO library for proto-google-cloud-kms-v1 com.google.cloud google-cloud-kms-parent - 2.3.2-SNAPSHOT + 2.4.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 86e54237..eadc0c67 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-kms - 2.3.2-SNAPSHOT + 2.4.0 diff --git a/versions.txt b/versions.txt index d94555ef..41c04adb 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-kms:2.3.1:2.3.2-SNAPSHOT -grpc-google-cloud-kms-v1:0.94.1:0.94.2-SNAPSHOT -proto-google-cloud-kms-v1:0.94.1:0.94.2-SNAPSHOT +google-cloud-kms:2.4.0:2.4.0 +grpc-google-cloud-kms-v1:0.95.0:0.95.0 +proto-google-cloud-kms-v1:0.95.0:0.95.0