From d03540cc2c5cc4b34fc7c0c06588f75148a95d42 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:44:27 +0000 Subject: [PATCH 01/18] chore: release 2.1.10-SNAPSHOT (#722) :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-document-ai-bom/pom.xml | 20 +++++++++---------- google-cloud-document-ai/pom.xml | 4 ++-- grpc-google-cloud-document-ai-v1/pom.xml | 4 ++-- grpc-google-cloud-document-ai-v1beta1/pom.xml | 4 ++-- grpc-google-cloud-document-ai-v1beta2/pom.xml | 4 ++-- grpc-google-cloud-document-ai-v1beta3/pom.xml | 4 ++-- pom.xml | 20 +++++++++---------- proto-google-cloud-document-ai-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- versions.txt | 18 ++++++++--------- 12 files changed, 47 insertions(+), 47 deletions(-) diff --git a/google-cloud-document-ai-bom/pom.xml b/google-cloud-document-ai-bom/pom.xml index aa7149e1..3e4f691e 100644 --- a/google-cloud-document-ai-bom/pom.xml +++ b/google-cloud-document-ai-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-document-ai-bom - 2.1.9 + 2.1.10-SNAPSHOT pom com.google.cloud @@ -50,47 +50,47 @@ com.google.cloud google-cloud-document-ai - 2.1.9 + 2.1.10-SNAPSHOT com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.13.9 + 0.13.10-SNAPSHOT com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.13.9 + 0.13.10-SNAPSHOT com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.13.9 + 0.13.10-SNAPSHOT com.google.api.grpc grpc-google-cloud-document-ai-v1 - 2.1.9 + 2.1.10-SNAPSHOT com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.13.9 + 0.13.10-SNAPSHOT com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.13.9 + 0.13.10-SNAPSHOT com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.13.9 + 0.13.10-SNAPSHOT com.google.api.grpc proto-google-cloud-document-ai-v1 - 2.1.9 + 2.1.10-SNAPSHOT diff --git a/google-cloud-document-ai/pom.xml b/google-cloud-document-ai/pom.xml index c7a570e5..ce13089f 100644 --- a/google-cloud-document-ai/pom.xml +++ b/google-cloud-document-ai/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-document-ai - 2.1.9 + 2.1.10-SNAPSHOT jar Google Cloud Document AI https://github.com/googleapis/java-document-ai @@ -11,7 +11,7 @@ com.google.cloud google-cloud-document-ai-parent - 2.1.9 + 2.1.10-SNAPSHOT google-cloud-document-ai diff --git a/grpc-google-cloud-document-ai-v1/pom.xml b/grpc-google-cloud-document-ai-v1/pom.xml index 8f1a9b4e..9d91dccf 100644 --- a/grpc-google-cloud-document-ai-v1/pom.xml +++ b/grpc-google-cloud-document-ai-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1 - 2.1.9 + 2.1.10-SNAPSHOT grpc-google-cloud-document-ai-v1 GRPC library for google-cloud-document-ai com.google.cloud google-cloud-document-ai-parent - 2.1.9 + 2.1.10-SNAPSHOT diff --git a/grpc-google-cloud-document-ai-v1beta1/pom.xml b/grpc-google-cloud-document-ai-v1beta1/pom.xml index d4c6280a..c1f6e9c1 100644 --- a/grpc-google-cloud-document-ai-v1beta1/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta1/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.13.9 + 0.13.10-SNAPSHOT grpc-google-cloud-document-ai-v1beta1 GRPC library for grpc-google-cloud-document-ai-v1beta1 com.google.cloud google-cloud-document-ai-parent - 2.1.9 + 2.1.10-SNAPSHOT diff --git a/grpc-google-cloud-document-ai-v1beta2/pom.xml b/grpc-google-cloud-document-ai-v1beta2/pom.xml index c25aa900..a49754c6 100644 --- a/grpc-google-cloud-document-ai-v1beta2/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta2/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.13.9 + 0.13.10-SNAPSHOT grpc-google-cloud-document-ai-v1beta2 GRPC library for grpc-google-cloud-document-ai-v1beta2 com.google.cloud google-cloud-document-ai-parent - 2.1.9 + 2.1.10-SNAPSHOT diff --git a/grpc-google-cloud-document-ai-v1beta3/pom.xml b/grpc-google-cloud-document-ai-v1beta3/pom.xml index 7db9969c..1ac5e03a 100644 --- a/grpc-google-cloud-document-ai-v1beta3/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta3/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.13.9 + 0.13.10-SNAPSHOT grpc-google-cloud-document-ai-v1beta3 GRPC library for grpc-google-cloud-document-ai-v1beta3 com.google.cloud google-cloud-document-ai-parent - 2.1.9 + 2.1.10-SNAPSHOT diff --git a/pom.xml b/pom.xml index 1719a5c8..ed24ff6f 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-document-ai-parent pom - 2.1.9 + 2.1.10-SNAPSHOT Google Cloud Document AI Parent https://github.com/googleapis/java-document-ai @@ -61,47 +61,47 @@ com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.13.9 + 0.13.10-SNAPSHOT com.google.api.grpc proto-google-cloud-document-ai-v1 - 2.1.9 + 2.1.10-SNAPSHOT com.google.api.grpc grpc-google-cloud-document-ai-v1 - 2.1.9 + 2.1.10-SNAPSHOT com.google.cloud google-cloud-document-ai - 2.1.9 + 2.1.10-SNAPSHOT com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.13.9 + 0.13.10-SNAPSHOT com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.13.9 + 0.13.10-SNAPSHOT com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.13.9 + 0.13.10-SNAPSHOT com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.13.9 + 0.13.10-SNAPSHOT com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.13.9 + 0.13.10-SNAPSHOT diff --git a/proto-google-cloud-document-ai-v1/pom.xml b/proto-google-cloud-document-ai-v1/pom.xml index e968d86c..ae5065db 100644 --- a/proto-google-cloud-document-ai-v1/pom.xml +++ b/proto-google-cloud-document-ai-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1 - 2.1.9 + 2.1.10-SNAPSHOT proto-google-cloud-document-ai-v1 Proto library for google-cloud-document-ai com.google.cloud google-cloud-document-ai-parent - 2.1.9 + 2.1.10-SNAPSHOT diff --git a/proto-google-cloud-document-ai-v1beta1/pom.xml b/proto-google-cloud-document-ai-v1beta1/pom.xml index 6385d088..aceac76a 100644 --- a/proto-google-cloud-document-ai-v1beta1/pom.xml +++ b/proto-google-cloud-document-ai-v1beta1/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.13.9 + 0.13.10-SNAPSHOT proto-google-cloud-document-ai-v1beta1 PROTO library for proto-google-cloud-document-ai-v1beta1 com.google.cloud google-cloud-document-ai-parent - 2.1.9 + 2.1.10-SNAPSHOT diff --git a/proto-google-cloud-document-ai-v1beta2/pom.xml b/proto-google-cloud-document-ai-v1beta2/pom.xml index 3776c591..74f47075 100644 --- a/proto-google-cloud-document-ai-v1beta2/pom.xml +++ b/proto-google-cloud-document-ai-v1beta2/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.13.9 + 0.13.10-SNAPSHOT proto-google-cloud-document-ai-v1beta2 PROTO library for proto-google-cloud-document-ai-v1beta2 com.google.cloud google-cloud-document-ai-parent - 2.1.9 + 2.1.10-SNAPSHOT diff --git a/proto-google-cloud-document-ai-v1beta3/pom.xml b/proto-google-cloud-document-ai-v1beta3/pom.xml index 9c9289ef..22993bb1 100644 --- a/proto-google-cloud-document-ai-v1beta3/pom.xml +++ b/proto-google-cloud-document-ai-v1beta3/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.13.9 + 0.13.10-SNAPSHOT proto-google-cloud-document-ai-v1beta3 PROTO library for proto-google-cloud-document-ai-v1beta3 com.google.cloud google-cloud-document-ai-parent - 2.1.9 + 2.1.10-SNAPSHOT diff --git a/versions.txt b/versions.txt index b4eee865..cbaf539f 100644 --- a/versions.txt +++ b/versions.txt @@ -1,12 +1,12 @@ # Format: # module:released-version:current-version -google-cloud-document-ai:2.1.9:2.1.9 -grpc-google-cloud-document-ai-v1beta1:0.13.9:0.13.9 -grpc-google-cloud-document-ai-v1beta2:0.13.9:0.13.9 -grpc-google-cloud-document-ai-v1beta3:0.13.9:0.13.9 -grpc-google-cloud-document-ai-v1:2.1.9:2.1.9 -proto-google-cloud-document-ai-v1beta1:0.13.9:0.13.9 -proto-google-cloud-document-ai-v1beta2:0.13.9:0.13.9 -proto-google-cloud-document-ai-v1beta3:0.13.9:0.13.9 -proto-google-cloud-document-ai-v1:2.1.9:2.1.9 +google-cloud-document-ai:2.1.9:2.1.10-SNAPSHOT +grpc-google-cloud-document-ai-v1beta1:0.13.9:0.13.10-SNAPSHOT +grpc-google-cloud-document-ai-v1beta2:0.13.9:0.13.10-SNAPSHOT +grpc-google-cloud-document-ai-v1beta3:0.13.9:0.13.10-SNAPSHOT +grpc-google-cloud-document-ai-v1:2.1.9:2.1.10-SNAPSHOT +proto-google-cloud-document-ai-v1beta1:0.13.9:0.13.10-SNAPSHOT +proto-google-cloud-document-ai-v1beta2:0.13.9:0.13.10-SNAPSHOT +proto-google-cloud-document-ai-v1beta3:0.13.9:0.13.10-SNAPSHOT +proto-google-cloud-document-ai-v1:2.1.9:2.1.10-SNAPSHOT From 191861835ca6c04950723e63b3c6f681228da494 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 02/18] chore(owlbot-java): disable re-writing clirr file in owlbot java post-processor (#1320) (#725) --- .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 6c86350b..0d474d7c 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 682984cd..80237e6a 100644 --- a/README.md +++ b/README.md @@ -57,13 +57,13 @@ implementation 'com.google.cloud:google-cloud-document-ai' If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-document-ai:2.1.8' +implementation 'com.google.cloud:google-cloud-document-ai:2.1.9' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.1.8" +libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.1.9" ``` ## Authentication From f51baee8379e350bd615aa6813d308c7e40f5ef0 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Mon, 10 Jan 2022 19:20:17 -0500 Subject: [PATCH 03/18] chore: change name to api_shortname in .repo-metadata.json (#726) --- .repo-metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.repo-metadata.json b/.repo-metadata.json index 7ef9bdbb..26651b46 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -1,5 +1,5 @@ { - "name": "documentai", + "api_shortname": "documentai", "name_pretty": "Document AI", "product_documentation": "https://cloud.google.com/compute/docs/documentai/", "client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-document-ai/latest/history", From 43db9c6f353a4b5cfc6f12e41a25db72b263eddc 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:38:11 +0000 Subject: [PATCH 04/18] chore(java): update variable name to api_shortname in README template (#1323) (#727) --- .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 31669f9b..584ac227 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. documentai version(s): +4. version(s): #### Steps to reproduce diff --git a/README.md b/README.md index 80237e6a..949fdd78 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-document-ai' ``` From dd1a7922f097945fc6304fadfcb871dbd8b083f7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 12 Jan 2022 18:08:27 +0100 Subject: [PATCH 05/18] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.5 (#728) 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-document-ai). --- google-cloud-document-ai-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-document-ai-bom/pom.xml b/google-cloud-document-ai-bom/pom.xml index 3e4f691e..c409a74d 100644 --- a/google-cloud-document-ai-bom/pom.xml +++ b/google-cloud-document-ai-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.4 + 1.2.5 Google Cloud Document AI BOM diff --git a/pom.xml b/pom.xml index ed24ff6f..0cac78aa 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 2517be8e9f18f63abdd7220ab66b9a0d3f542533 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 13 Jan 2022 14:36:18 -0500 Subject: [PATCH 06/18] chore: update release-level in .repo-metadata.json (#731) --- .repo-metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.repo-metadata.json b/.repo-metadata.json index 26651b46..59852d91 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -5,7 +5,7 @@ "client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-document-ai/latest/history", "api_description": "allows developers to unlock insights from your documents with machine learning.", "issue_tracker": "https://issuetracker.google.com/savedsearches/559755", - "release_level": "ga", + "release_level": "stable", "language": "java", "repo": "googleapis/java-document-ai", "repo_short": "java-document-ai", From 4364cf69eb0fac30ee3f22e9f9c880a24fdd957a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 17 Jan 2022 19:20:27 +0100 Subject: [PATCH 07/18] chore(deps): update dependency com.google.cloud:google-cloud-document-ai to v2.1.9 (#723) 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-document-ai](https://togithub.com/googleapis/java-document-ai) | `2.1.8` -> `2.1.9` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/2.1.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/2.1.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/2.1.9/compatibility-slim/2.1.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/2.1.9/confidence-slim/2.1.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-document-ai ### [`v2.1.9`](https://togithub.com/googleapis/java-document-ai/blob/HEAD/CHANGELOG.md#​219-httpswwwgithubcomgoogleapisjava-document-aicomparev218v219-2022-01-07) [Compare Source](https://togithub.com/googleapis/java-document-ai/compare/v2.1.8...v2.1.9)
--- ### 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-document-ai). --- README.md | 4 ++-- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 949fdd78..b753e630 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud google-cloud-document-ai - 2.1.8 + 2.1.9 ``` @@ -42,7 +42,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-document-ai - 2.1.8 + 2.1.9 ``` diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index a6730c48..b3b74c04 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-document-ai - 2.1.8 + 2.1.9 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 9f464f64..f0c2ab9b 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-document-ai - 2.1.8 + 2.1.9 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 99d63ec0..becf0a38 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-cloud-document-ai - 2.1.8 + 2.1.9 From 149957e13b4854a4494185f4e59793658913ff73 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:18:40 +0000 Subject: [PATCH 08/18] chore(java): update release_type choices to stable and preview (#1331) (#733) --- .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 b753e630..3e1b3c0e 100644 --- a/README.md +++ b/README.md @@ -223,7 +223,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-document-ai/java8-win.html [kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-document-ai/java11.svg [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-document-ai/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-document-ai.svg [maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-document-ai&core=gav [authentication]: https://github.com/googleapis/google-cloud-java#authentication From 5f13e049b8006d3527c72f76f54dae5effafbc3c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Jan 2022 20:00:33 +0100 Subject: [PATCH 09/18] build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.3.0 (#721) 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-document-ai). --- 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 b3b74c04..8659b8e1 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -57,7 +57,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 f0c2ab9b..6acfa4de 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 c2a2c472abbd005f5544a16c141f106486ec64a2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Jan 2022 20:04:12 +0100 Subject: [PATCH 10/18] chore(deps): update dependency com.google.cloud:libraries-bom to v24.2.0 (#729) 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:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `24.1.2` -> `24.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.2.0/compatibility-slim/24.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.2.0/confidence-slim/24.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai). --- README.md | 2 +- samples/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3e1b3c0e..a9932038 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 24.1.2 + 24.2.0 pom import diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index becf0a38..95ae862e 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 24.1.2 + 24.2.0 pom import From db706f86fb612c05fd60d17f0338accabd7d1a8d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 00:02:17 +0100 Subject: [PATCH 11/18] deps: update dependency com.google.cloud:google-cloud-storage to v2.2.3 (#724) 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-storage](https://togithub.com/googleapis/java-storage) | `2.2.2` -> `2.2.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.2.3/compatibility-slim/2.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.2.3/confidence-slim/2.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-storage ### [`v2.2.3`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#​223-httpswwwgithubcomgoogleapisjava-storagecomparev222v223-2022-01-07) [Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.2.2...v2.2.3)
--- ### Configuration πŸ“… **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai). --- 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 8659b8e1..d5aacba4 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -35,7 +35,7 @@ com.google.cloud google-cloud-storage - 2.2.2 + 2.2.3 junit diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 6acfa4de..57631123 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -34,7 +34,7 @@ com.google.cloud google-cloud-storage - 2.2.2 + 2.2.3 junit From fb069e032a08874d434c5a77ab74d7f03318e8e1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 20 Jan 2022 00:54:18 +0100 Subject: [PATCH 12/18] deps: update dependency com.google.cloud:google-cloud-storage to v2.3.0 (#735) 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-storage](https://togithub.com/googleapis/java-storage) | `2.2.3` -> `2.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.3.0/compatibility-slim/2.2.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.3.0/confidence-slim/2.2.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-storage ### [`v2.3.0`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#​230-httpsgithubcomgoogleapisjava-storagecomparev223v230-2022-01-12) [Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.2.3...v2.3.0) ##### Features - Add RPO metadata settings ([#​1105](https://togithub.com/googleapis/java-storage/issues/1105)) ([6f9dfdf](https://togithub.com/googleapis/java-storage/commit/6f9dfdfdbf9f1466839a17ef97489f207f18bec6)) ##### Bug Fixes - **java:** run Maven in plain console-friendly mode ([#​1301](https://togithub.com/googleapis/java-storage/issues/1301)) ([#​1186](https://togithub.com/googleapis/java-storage/issues/1186)) ([1e55dba](https://togithub.com/googleapis/java-storage/commit/1e55dba4cd5111472b9bb05db08ba7e47fafe762)) - Remove all client side validation for OLM, allow nonspecific lif… ([#​1160](https://togithub.com/googleapis/java-storage/issues/1160)) ([5a160ee](https://togithub.com/googleapis/java-storage/commit/5a160eee2b80e3d392df9d73dfc30ca9cd665764)) ##### Dependencies - update dependency org.easymock:easymock to v4 ([#​1198](https://togithub.com/googleapis/java-storage/issues/1198)) ([558520f](https://togithub.com/googleapis/java-storage/commit/558520f35ed64f0b36f7f8ada4491023a0fb759e)) - update kms.version to v0.94.1 ([#​1195](https://togithub.com/googleapis/java-storage/issues/1195)) ([cc999b1](https://togithub.com/googleapis/java-storage/commit/cc999b1ebaba051524ce6131052c824232ccb79a)) ##### [2.2.3](https://www.github.com/googleapis/java-storage/compare/v2.2.2...v2.2.3) (2022-01-07) ##### Bug Fixes - do not cause a failure when encountering no bindings ([#​1177](https://www.togithub.com/googleapis/java-storage/issues/1177)) ([16c2aef](https://www.github.com/googleapis/java-storage/commit/16c2aef4f09eccee59d1028e3bbf01c65b5982d6)) - **java:** add -ntp flag to native image testing command ([#​1169](https://www.togithub.com/googleapis/java-storage/issues/1169)) ([b8a6395](https://www.github.com/googleapis/java-storage/commit/b8a6395fcaa34423d42a90bd42f71809f89a6c3b)) - update retry handling to retry idempotent requests that encounter unexpected EOF while parsing json responses ([#​1155](https://www.togithub.com/googleapis/java-storage/issues/1155)) ([8fbe6ef](https://www.github.com/googleapis/java-storage/commit/8fbe6efab969d699e9ba9e5448db7a6ee10c0572)) ##### Documentation - add new sample storage_configure_retries ([#​1152](https://www.togithub.com/googleapis/java-storage/issues/1152)) ([8634c4b](https://www.github.com/googleapis/java-storage/commit/8634c4b5cb88d2818378558427170ecf6c403df5)) - update comments ([#​1188](https://www.togithub.com/googleapis/java-storage/issues/1188)) ([d58e67c](https://www.github.com/googleapis/java-storage/commit/d58e67c217f38ca7b1926882ec48bd7b0c351ea7)) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.6.0 ([#​1191](https://www.togithub.com/googleapis/java-storage/issues/1191)) ([3b384cf](https://www.github.com/googleapis/java-storage/commit/3b384cf46876610ce33f2842ee8e9fc13e08443c)) - update dependency org.apache.httpcomponents:httpcore to v4.4.15 ([#​1171](https://www.togithub.com/googleapis/java-storage/issues/1171)) ([57f7a74](https://www.github.com/googleapis/java-storage/commit/57f7a743ee042c52261cd388fb0aec48c84e5d32)) ##### [2.2.2](https://www.github.com/googleapis/java-storage/compare/v2.2.1...v2.2.2) (2021-12-06) ##### Bug Fixes - update StorageOptions to not overwrite any previously set host ([#​1142](https://www.togithub.com/googleapis/java-storage/issues/1142)) ([05375c0](https://www.github.com/googleapis/java-storage/commit/05375c0b9b6f9fde2e6cefb1af6a695aa3b01732)) ##### Documentation - Add comments to GCS gRPC API proto spec to describe how naming work ([#​1139](https://www.togithub.com/googleapis/java-storage/issues/1139)) ([417c525](https://www.github.com/googleapis/java-storage/commit/417c5250eb7ad1a7b04a055a39d72e6536a63e18)) ##### Dependencies - update dependency com.google.apis:google-api-services-storage to v1-rev20211201-1.32.1 ([#​1165](https://www.togithub.com/googleapis/java-storage/issues/1165)) ([9031836](https://www.github.com/googleapis/java-storage/commit/90318368e69d7677c49e985eb58ff1b61d878ec9)) - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.1 ([#​1163](https://www.togithub.com/googleapis/java-storage/issues/1163)) ([feca2c6](https://www.github.com/googleapis/java-storage/commit/feca2c6342786ef3fb699c459067c015bd374a13)) - update kms.version to v0.94.0 ([#​1164](https://www.togithub.com/googleapis/java-storage/issues/1164)) ([8653783](https://www.github.com/googleapis/java-storage/commit/86537836a3b96f369e1cad59c692d350047414f7)) ##### [2.2.1](https://www.github.com/googleapis/java-storage/compare/v2.2.0...v2.2.1) (2021-11-15) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 ([#​1146](https://www.togithub.com/googleapis/java-storage/issues/1146)) ([a5d13a9](https://www.github.com/googleapis/java-storage/commit/a5d13a97bae50b4ee8a2fcef180ddc26b77e3d16))
--- ### 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-document-ai). --- 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 d5aacba4..b3069c0a 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -35,7 +35,7 @@ com.google.cloud google-cloud-storage - 2.2.3 + 2.3.0 junit diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 57631123..d15ce2d8 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -34,7 +34,7 @@ com.google.cloud google-cloud-storage - 2.2.3 + 2.3.0 junit From d58d49a3d379a9c6e838500cf0690e4e770ac17e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 21 Jan 2022 21:32:20 +0100 Subject: [PATCH 13/18] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.6 (#736) 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-document-ai). --- google-cloud-document-ai-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-document-ai-bom/pom.xml b/google-cloud-document-ai-bom/pom.xml index c409a74d..e0bca039 100644 --- a/google-cloud-document-ai-bom/pom.xml +++ b/google-cloud-document-ai-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.5 + 1.2.6 Google Cloud Document AI BOM diff --git a/pom.xml b/pom.xml index 0cac78aa..cc66a5cf 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 f06e5de507f88352b0ee9abc032319a875f806f9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 1 Feb 2022 04:52:43 +0100 Subject: [PATCH 14/18] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 (#740) 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-document-ai). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index cc66a5cf..02f8fa16 100644 --- a/pom.xml +++ b/pom.xml @@ -107,7 +107,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.6.0 + 2.7.0 pom import From 2733ea09d73ba3f1594e651919590b58e917704c 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 05:00:47 +0000 Subject: [PATCH 15/18] deps(java): update actions/github-script action to v5 (#1339) (#737) --- .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 a6c1b4a869981c62843707ce6afb4bb30858790b 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 20:34:46 +0000 Subject: [PATCH 16/18] feat: add question_id field in ReviewDocumentOperationMetadata (#739) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 424949086 Source-Link: https://github.com/googleapis/googleapis/commit/087bceb20b8f938e5167e1272c1b7fba50feae19 Source-Link: https://github.com/googleapis/googleapis-gen/commit/af347930b66df50d30cd079e282776d08eb7f2aa Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWYzNDc5MzBiNjZkZjUwZDMwY2QwNzllMjgyNzc2ZDA4ZWI3ZjJhYSJ9 --- .../v1/DocumentAiProcessorService.java | 77 ++++---- .../v1/ReviewDocumentOperationMetadata.java | 182 +++++++++++++++++- ...iewDocumentOperationMetadataOrBuilder.java | 25 +++ .../v1/document_processor_service.proto | 3 + 4 files changed, 248 insertions(+), 39 deletions(-) diff --git a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java index bb9032f5..db02fad7 100644 --- a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java +++ b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java @@ -137,43 +137,44 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "Request.Priority\"#\n\010Priority\022\013\n\007DEFAULT\020" + "\000\022\n\n\006URGENT\020\001B\010\n\006sourceJ\004\010\002\020\003\"1\n\026ReviewD" + "ocumentResponse\022\027\n\017gcs_destination\030\001 \001(\t" - + "\"o\n\037ReviewDocumentOperationMetadata\022L\n\017c" - + "ommon_metadata\030\005 \001(\01323.google.cloud.docu" - + "mentai.v1.CommonOperationMetadata2\253\006\n\030Do" - + "cumentProcessorService\022\264\001\n\017ProcessDocume" - + "nt\022*.google.cloud.documentai.v1.ProcessR" - + "equest\032+.google.cloud.documentai.v1.Proc" - + "essResponse\"H\202\323\344\223\002;\"6/v1/{name=projects/" - + "*/locations/*/processors/*}:process:\001*\332A" - + "\004name\022\345\001\n\025BatchProcessDocuments\022/.google" - + ".cloud.documentai.v1.BatchProcessRequest" - + "\032\035.google.longrunning.Operation\"|\202\323\344\223\002@\"" - + ";/v1/{name=projects/*/locations/*/proces" - + "sors/*}:batchProcess:\001*\332A\004name\312A,\n\024Batch" - + "ProcessResponse\022\024BatchProcessMetadata\022\240\002" - + "\n\016ReviewDocument\0221.google.cloud.document" - + "ai.v1.ReviewDocumentRequest\032\035.google.lon" - + "grunning.Operation\"\273\001\202\323\344\223\002c\"^/v1/{human_" - + "review_config=projects/*/locations/*/pro" - + "cessors/*/humanReviewConfig}:reviewDocum" - + "ent:\001*\332A\023human_review_config\312A9\n\026ReviewD" - + "ocumentResponse\022\037ReviewDocumentOperation" - + "Metadata\032M\312A\031documentai.googleapis.com\322A" - + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\230\004\n\036com.google.cloud.documentai." - + "v1B\032DocumentAiProcessorServiceP\001ZDgoogle" - + ".golang.org/genproto/googleapis/cloud/do" - + "cumentai/v1;documentai\252\002\032Google.Cloud.Do" - + "cumentAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V1" - + "\352\002\035Google::Cloud::DocumentAI::V1\352AM\n\"doc" - + "umentai.googleapis.com/Location\022\'project" - + "s/{project}/locations/{location}\352Ae\n#doc" - + "umentai.googleapis.com/Processor\022>projec" - + "ts/{project}/locations/{location}/proces" - + "sors/{processor}\352A\177\n+documentai.googleap" - + "is.com/HumanReviewConfig\022Pprojects/{proj" - + "ect}/locations/{location}/processors/{pr" - + "ocessor}/humanReviewConfigb\006proto3" + + "\"\204\001\n\037ReviewDocumentOperationMetadata\022L\n\017" + + "common_metadata\030\005 \001(\01323.google.cloud.doc" + + "umentai.v1.CommonOperationMetadata\022\023\n\013qu" + + "estion_id\030\006 \001(\t2\253\006\n\030DocumentProcessorSer" + + "vice\022\264\001\n\017ProcessDocument\022*.google.cloud." + + "documentai.v1.ProcessRequest\032+.google.cl" + + "oud.documentai.v1.ProcessResponse\"H\202\323\344\223\002" + + ";\"6/v1/{name=projects/*/locations/*/proc" + + "essors/*}:process:\001*\332A\004name\022\345\001\n\025BatchPro" + + "cessDocuments\022/.google.cloud.documentai." + + "v1.BatchProcessRequest\032\035.google.longrunn" + + "ing.Operation\"|\202\323\344\223\002@\";/v1/{name=project" + + "s/*/locations/*/processors/*}:batchProce" + + "ss:\001*\332A\004name\312A,\n\024BatchProcessResponse\022\024B" + + "atchProcessMetadata\022\240\002\n\016ReviewDocument\0221" + + ".google.cloud.documentai.v1.ReviewDocume" + + "ntRequest\032\035.google.longrunning.Operation" + + "\"\273\001\202\323\344\223\002c\"^/v1/{human_review_config=proj" + + "ects/*/locations/*/processors/*/humanRev" + + "iewConfig}:reviewDocument:\001*\332A\023human_rev" + + "iew_config\312A9\n\026ReviewDocumentResponse\022\037R" + + "eviewDocumentOperationMetadata\032M\312A\031docum" + + "entai.googleapis.com\322A.https://www.googl" + + "eapis.com/auth/cloud-platformB\230\004\n\036com.go" + + "ogle.cloud.documentai.v1B\032DocumentAiProc" + + "essorServiceP\001ZDgoogle.golang.org/genpro" + + "to/googleapis/cloud/documentai/v1;docume" + + "ntai\252\002\032Google.Cloud.DocumentAI.V1\312\002\032Goog" + + "le\\Cloud\\DocumentAI\\V1\352\002\035Google::Cloud::" + + "DocumentAI::V1\352AM\n\"documentai.googleapis" + + ".com/Location\022\'projects/{project}/locati" + + "ons/{location}\352Ae\n#documentai.googleapis" + + ".com/Processor\022>projects/{project}/locat" + + "ions/{location}/processors/{processor}\352A" + + "\177\n+documentai.googleapis.com/HumanReview" + + "Config\022Pprojects/{project}/locations/{lo" + + "cation}/processors/{processor}/humanRevi" + + "ewConfigb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -269,7 +270,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_documentai_v1_ReviewDocumentOperationMetadata_descriptor, new java.lang.String[] { - "CommonMetadata", + "CommonMetadata", "QuestionId", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); diff --git a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentOperationMetadata.java b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentOperationMetadata.java index 9f5b2dbf..700cfe3b 100644 --- a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentOperationMetadata.java +++ b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentOperationMetadata.java @@ -38,7 +38,9 @@ private ReviewDocumentOperationMetadata( super(builder); } - private ReviewDocumentOperationMetadata() {} + private ReviewDocumentOperationMetadata() { + questionId_ = ""; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -84,6 +86,13 @@ private ReviewDocumentOperationMetadata( commonMetadata_ = subBuilder.buildPartial(); } + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + + questionId_ = s; break; } default: @@ -169,6 +178,55 @@ public com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata( return getCommonMetadata(); } + public static final int QUESTION_ID_FIELD_NUMBER = 6; + private volatile java.lang.Object questionId_; + /** + * + * + *
+   * The question ID.
+   * 
+ * + * string question_id = 6; + * + * @return The questionId. + */ + @java.lang.Override + public java.lang.String getQuestionId() { + java.lang.Object ref = questionId_; + 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(); + questionId_ = s; + return s; + } + } + /** + * + * + *
+   * The question ID.
+   * 
+ * + * string question_id = 6; + * + * @return The bytes for questionId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getQuestionIdBytes() { + java.lang.Object ref = questionId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + questionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -186,6 +244,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (commonMetadata_ != null) { output.writeMessage(5, getCommonMetadata()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(questionId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, questionId_); + } unknownFields.writeTo(output); } @@ -198,6 +259,9 @@ public int getSerializedSize() { if (commonMetadata_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommonMetadata()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(questionId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, questionId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -218,6 +282,7 @@ public boolean equals(final java.lang.Object obj) { if (hasCommonMetadata()) { if (!getCommonMetadata().equals(other.getCommonMetadata())) return false; } + if (!getQuestionId().equals(other.getQuestionId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,6 +298,8 @@ public int hashCode() { hash = (37 * hash) + COMMON_METADATA_FIELD_NUMBER; hash = (53 * hash) + getCommonMetadata().hashCode(); } + hash = (37 * hash) + QUESTION_ID_FIELD_NUMBER; + hash = (53 * hash) + getQuestionId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -385,6 +452,8 @@ public Builder clear() { commonMetadata_ = null; commonMetadataBuilder_ = null; } + questionId_ = ""; + return this; } @@ -418,6 +487,7 @@ public com.google.cloud.documentai.v1.ReviewDocumentOperationMetadata buildParti } else { result.commonMetadata_ = commonMetadataBuilder_.build(); } + result.questionId_ = questionId_; onBuilt(); return result; } @@ -472,6 +542,10 @@ public Builder mergeFrom(com.google.cloud.documentai.v1.ReviewDocumentOperationM if (other.hasCommonMetadata()) { mergeCommonMetadata(other.getCommonMetadata()); } + if (!other.getQuestionId().isEmpty()) { + questionId_ = other.questionId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -692,6 +766,112 @@ public Builder clearCommonMetadata() { return commonMetadataBuilder_; } + private java.lang.Object questionId_ = ""; + /** + * + * + *
+     * The question ID.
+     * 
+ * + * string question_id = 6; + * + * @return The questionId. + */ + public java.lang.String getQuestionId() { + java.lang.Object ref = questionId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + questionId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The question ID.
+     * 
+ * + * string question_id = 6; + * + * @return The bytes for questionId. + */ + public com.google.protobuf.ByteString getQuestionIdBytes() { + java.lang.Object ref = questionId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + questionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The question ID.
+     * 
+ * + * string question_id = 6; + * + * @param value The questionId to set. + * @return This builder for chaining. + */ + public Builder setQuestionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + questionId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The question ID.
+     * 
+ * + * string question_id = 6; + * + * @return This builder for chaining. + */ + public Builder clearQuestionId() { + + questionId_ = getDefaultInstance().getQuestionId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The question ID.
+     * 
+ * + * string question_id = 6; + * + * @param value The bytes for questionId to set. + * @return This builder for chaining. + */ + public Builder setQuestionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + questionId_ = 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-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentOperationMetadataOrBuilder.java b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentOperationMetadataOrBuilder.java index 1b0f64df..f15debfa 100644 --- a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentOperationMetadataOrBuilder.java +++ b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentOperationMetadataOrBuilder.java @@ -57,4 +57,29 @@ public interface ReviewDocumentOperationMetadataOrBuilder * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; */ com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder(); + + /** + * + * + *
+   * The question ID.
+   * 
+ * + * string question_id = 6; + * + * @return The questionId. + */ + java.lang.String getQuestionId(); + /** + * + * + *
+   * The question ID.
+   * 
+ * + * string question_id = 6; + * + * @return The bytes for questionId. + */ + com.google.protobuf.ByteString getQuestionIdBytes(); } diff --git a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto index 65f0e6d9..314a51d9 100644 --- a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto +++ b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto @@ -298,4 +298,7 @@ message ReviewDocumentResponse { message ReviewDocumentOperationMetadata { // The basic metadata of the long running operation. CommonOperationMetadata common_metadata = 5; + + // The question ID. + string question_id = 6; } From 45d4ebc0aab4e4698a6038a41ad35d4c8ea290cd 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:54:46 +0000 Subject: [PATCH 17/18] chore: add kokoro config to run nightly integration test on java11.0.14 (#1347) (#741) --- .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 7d789ce77ad626421afea3dd2be8c5ec081e0991 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:02:51 +0000 Subject: [PATCH 18/18] chore(main): release 2.2.0 (#734) :robot: I have created a release *beep* *boop* --- ## [2.2.0](https://github.com/googleapis/java-document-ai/compare/v2.1.9...v2.2.0) (2022-02-03) ### Features * add question_id field in ReviewDocumentOperationMetadata ([#739](https://github.com/googleapis/java-document-ai/issues/739)) ([a6c1b4a](https://github.com/googleapis/java-document-ai/commit/a6c1b4a869981c62843707ce6afb4bb30858790b)) ### Dependencies * **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-document-ai/issues/1339)) ([#737](https://github.com/googleapis/java-document-ai/issues/737)) ([2733ea0](https://github.com/googleapis/java-document-ai/commit/2733ea09d73ba3f1594e651919590b58e917704c)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#740](https://github.com/googleapis/java-document-ai/issues/740)) ([f06e5de](https://github.com/googleapis/java-document-ai/commit/f06e5de507f88352b0ee9abc032319a875f806f9)) * update dependency com.google.cloud:google-cloud-storage to v2.2.3 ([#724](https://github.com/googleapis/java-document-ai/issues/724)) ([db706f8](https://github.com/googleapis/java-document-ai/commit/db706f86fb612c05fd60d17f0338accabd7d1a8d)) * update dependency com.google.cloud:google-cloud-storage to v2.3.0 ([#735](https://github.com/googleapis/java-document-ai/issues/735)) ([fb069e0](https://github.com/googleapis/java-document-ai/commit/fb069e032a08874d434c5a77ab74d7f03318e8e1)) --- 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 | 15 ++++++++++++++ google-cloud-document-ai-bom/pom.xml | 20 +++++++++---------- google-cloud-document-ai/pom.xml | 4 ++-- grpc-google-cloud-document-ai-v1/pom.xml | 4 ++-- grpc-google-cloud-document-ai-v1beta1/pom.xml | 4 ++-- grpc-google-cloud-document-ai-v1beta2/pom.xml | 4 ++-- grpc-google-cloud-document-ai-v1beta3/pom.xml | 4 ++-- pom.xml | 20 +++++++++---------- proto-google-cloud-document-ai-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- versions.txt | 18 ++++++++--------- 13 files changed, 62 insertions(+), 47 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71187244..10629162 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [2.2.0](https://github.com/googleapis/java-document-ai/compare/v2.1.9...v2.2.0) (2022-02-03) + + +### Features + +* add question_id field in ReviewDocumentOperationMetadata ([#739](https://github.com/googleapis/java-document-ai/issues/739)) ([a6c1b4a](https://github.com/googleapis/java-document-ai/commit/a6c1b4a869981c62843707ce6afb4bb30858790b)) + + +### Dependencies + +* **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-document-ai/issues/1339)) ([#737](https://github.com/googleapis/java-document-ai/issues/737)) ([2733ea0](https://github.com/googleapis/java-document-ai/commit/2733ea09d73ba3f1594e651919590b58e917704c)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#740](https://github.com/googleapis/java-document-ai/issues/740)) ([f06e5de](https://github.com/googleapis/java-document-ai/commit/f06e5de507f88352b0ee9abc032319a875f806f9)) +* update dependency com.google.cloud:google-cloud-storage to v2.2.3 ([#724](https://github.com/googleapis/java-document-ai/issues/724)) ([db706f8](https://github.com/googleapis/java-document-ai/commit/db706f86fb612c05fd60d17f0338accabd7d1a8d)) +* update dependency com.google.cloud:google-cloud-storage to v2.3.0 ([#735](https://github.com/googleapis/java-document-ai/issues/735)) ([fb069e0](https://github.com/googleapis/java-document-ai/commit/fb069e032a08874d434c5a77ab74d7f03318e8e1)) + ### [2.1.9](https://www.github.com/googleapis/java-document-ai/compare/v2.1.8...v2.1.9) (2022-01-07) diff --git a/google-cloud-document-ai-bom/pom.xml b/google-cloud-document-ai-bom/pom.xml index e0bca039..9a3b0fdf 100644 --- a/google-cloud-document-ai-bom/pom.xml +++ b/google-cloud-document-ai-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-document-ai-bom - 2.1.10-SNAPSHOT + 2.2.0 pom com.google.cloud @@ -50,47 +50,47 @@ com.google.cloud google-cloud-document-ai - 2.1.10-SNAPSHOT + 2.2.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.13.10-SNAPSHOT + 0.14.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.13.10-SNAPSHOT + 0.14.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.13.10-SNAPSHOT + 0.14.0 com.google.api.grpc grpc-google-cloud-document-ai-v1 - 2.1.10-SNAPSHOT + 2.2.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.13.10-SNAPSHOT + 0.14.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.13.10-SNAPSHOT + 0.14.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.13.10-SNAPSHOT + 0.14.0 com.google.api.grpc proto-google-cloud-document-ai-v1 - 2.1.10-SNAPSHOT + 2.2.0
diff --git a/google-cloud-document-ai/pom.xml b/google-cloud-document-ai/pom.xml index ce13089f..5d84a5db 100644 --- a/google-cloud-document-ai/pom.xml +++ b/google-cloud-document-ai/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-document-ai - 2.1.10-SNAPSHOT + 2.2.0 jar Google Cloud Document AI https://github.com/googleapis/java-document-ai @@ -11,7 +11,7 @@ com.google.cloud google-cloud-document-ai-parent - 2.1.10-SNAPSHOT + 2.2.0 google-cloud-document-ai diff --git a/grpc-google-cloud-document-ai-v1/pom.xml b/grpc-google-cloud-document-ai-v1/pom.xml index 9d91dccf..2aab107c 100644 --- a/grpc-google-cloud-document-ai-v1/pom.xml +++ b/grpc-google-cloud-document-ai-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1 - 2.1.10-SNAPSHOT + 2.2.0 grpc-google-cloud-document-ai-v1 GRPC library for google-cloud-document-ai com.google.cloud google-cloud-document-ai-parent - 2.1.10-SNAPSHOT + 2.2.0 diff --git a/grpc-google-cloud-document-ai-v1beta1/pom.xml b/grpc-google-cloud-document-ai-v1beta1/pom.xml index c1f6e9c1..c6ceb245 100644 --- a/grpc-google-cloud-document-ai-v1beta1/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta1/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.13.10-SNAPSHOT + 0.14.0 grpc-google-cloud-document-ai-v1beta1 GRPC library for grpc-google-cloud-document-ai-v1beta1 com.google.cloud google-cloud-document-ai-parent - 2.1.10-SNAPSHOT + 2.2.0 diff --git a/grpc-google-cloud-document-ai-v1beta2/pom.xml b/grpc-google-cloud-document-ai-v1beta2/pom.xml index a49754c6..bab7a5ff 100644 --- a/grpc-google-cloud-document-ai-v1beta2/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta2/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.13.10-SNAPSHOT + 0.14.0 grpc-google-cloud-document-ai-v1beta2 GRPC library for grpc-google-cloud-document-ai-v1beta2 com.google.cloud google-cloud-document-ai-parent - 2.1.10-SNAPSHOT + 2.2.0 diff --git a/grpc-google-cloud-document-ai-v1beta3/pom.xml b/grpc-google-cloud-document-ai-v1beta3/pom.xml index 1ac5e03a..79656600 100644 --- a/grpc-google-cloud-document-ai-v1beta3/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta3/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.13.10-SNAPSHOT + 0.14.0 grpc-google-cloud-document-ai-v1beta3 GRPC library for grpc-google-cloud-document-ai-v1beta3 com.google.cloud google-cloud-document-ai-parent - 2.1.10-SNAPSHOT + 2.2.0 diff --git a/pom.xml b/pom.xml index 02f8fa16..13312d97 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-document-ai-parent pom - 2.1.10-SNAPSHOT + 2.2.0 Google Cloud Document AI Parent https://github.com/googleapis/java-document-ai @@ -61,47 +61,47 @@ com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.13.10-SNAPSHOT + 0.14.0 com.google.api.grpc proto-google-cloud-document-ai-v1 - 2.1.10-SNAPSHOT + 2.2.0 com.google.api.grpc grpc-google-cloud-document-ai-v1 - 2.1.10-SNAPSHOT + 2.2.0 com.google.cloud google-cloud-document-ai - 2.1.10-SNAPSHOT + 2.2.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.13.10-SNAPSHOT + 0.14.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.13.10-SNAPSHOT + 0.14.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.13.10-SNAPSHOT + 0.14.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.13.10-SNAPSHOT + 0.14.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.13.10-SNAPSHOT + 0.14.0 diff --git a/proto-google-cloud-document-ai-v1/pom.xml b/proto-google-cloud-document-ai-v1/pom.xml index ae5065db..3f257b8d 100644 --- a/proto-google-cloud-document-ai-v1/pom.xml +++ b/proto-google-cloud-document-ai-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1 - 2.1.10-SNAPSHOT + 2.2.0 proto-google-cloud-document-ai-v1 Proto library for google-cloud-document-ai com.google.cloud google-cloud-document-ai-parent - 2.1.10-SNAPSHOT + 2.2.0 diff --git a/proto-google-cloud-document-ai-v1beta1/pom.xml b/proto-google-cloud-document-ai-v1beta1/pom.xml index aceac76a..26de3d0b 100644 --- a/proto-google-cloud-document-ai-v1beta1/pom.xml +++ b/proto-google-cloud-document-ai-v1beta1/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.13.10-SNAPSHOT + 0.14.0 proto-google-cloud-document-ai-v1beta1 PROTO library for proto-google-cloud-document-ai-v1beta1 com.google.cloud google-cloud-document-ai-parent - 2.1.10-SNAPSHOT + 2.2.0 diff --git a/proto-google-cloud-document-ai-v1beta2/pom.xml b/proto-google-cloud-document-ai-v1beta2/pom.xml index 74f47075..4b7869a9 100644 --- a/proto-google-cloud-document-ai-v1beta2/pom.xml +++ b/proto-google-cloud-document-ai-v1beta2/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.13.10-SNAPSHOT + 0.14.0 proto-google-cloud-document-ai-v1beta2 PROTO library for proto-google-cloud-document-ai-v1beta2 com.google.cloud google-cloud-document-ai-parent - 2.1.10-SNAPSHOT + 2.2.0 diff --git a/proto-google-cloud-document-ai-v1beta3/pom.xml b/proto-google-cloud-document-ai-v1beta3/pom.xml index 22993bb1..fdd1d9a9 100644 --- a/proto-google-cloud-document-ai-v1beta3/pom.xml +++ b/proto-google-cloud-document-ai-v1beta3/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.13.10-SNAPSHOT + 0.14.0 proto-google-cloud-document-ai-v1beta3 PROTO library for proto-google-cloud-document-ai-v1beta3 com.google.cloud google-cloud-document-ai-parent - 2.1.10-SNAPSHOT + 2.2.0 diff --git a/versions.txt b/versions.txt index cbaf539f..9b114241 100644 --- a/versions.txt +++ b/versions.txt @@ -1,12 +1,12 @@ # Format: # module:released-version:current-version -google-cloud-document-ai:2.1.9:2.1.10-SNAPSHOT -grpc-google-cloud-document-ai-v1beta1:0.13.9:0.13.10-SNAPSHOT -grpc-google-cloud-document-ai-v1beta2:0.13.9:0.13.10-SNAPSHOT -grpc-google-cloud-document-ai-v1beta3:0.13.9:0.13.10-SNAPSHOT -grpc-google-cloud-document-ai-v1:2.1.9:2.1.10-SNAPSHOT -proto-google-cloud-document-ai-v1beta1:0.13.9:0.13.10-SNAPSHOT -proto-google-cloud-document-ai-v1beta2:0.13.9:0.13.10-SNAPSHOT -proto-google-cloud-document-ai-v1beta3:0.13.9:0.13.10-SNAPSHOT -proto-google-cloud-document-ai-v1:2.1.9:2.1.10-SNAPSHOT +google-cloud-document-ai:2.2.0:2.2.0 +grpc-google-cloud-document-ai-v1beta1:0.14.0:0.14.0 +grpc-google-cloud-document-ai-v1beta2:0.14.0:0.14.0 +grpc-google-cloud-document-ai-v1beta3:0.14.0:0.14.0 +grpc-google-cloud-document-ai-v1:2.2.0:2.2.0 +proto-google-cloud-document-ai-v1beta1:0.14.0:0.14.0 +proto-google-cloud-document-ai-v1beta2:0.14.0:0.14.0 +proto-google-cloud-document-ai-v1beta3:0.14.0:0.14.0 +proto-google-cloud-document-ai-v1:2.2.0:2.2.0