From 9348890521c300a315a8779471619709388a4f16 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Jul 2022 19:00:26 +0200 Subject: [PATCH 01/19] chore(deps): update dependency com.google.cloud:google-cloud-vision to v3 (#943) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend 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-vision](https://togithub.com/googleapis/java-vision) | `2.1.2` -> `3.0.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-vision/3.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-vision/3.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-vision/3.0.1/compatibility-slim/2.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-vision/3.0.1/confidence-slim/2.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- 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 679776143..992978089 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-vision - 2.1.2 + 3.0.1 ``` diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 51e067917..15587a5c0 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-vision - 2.1.2 + 3.0.1 From 9ce85312108adb3f27da5396e3bbe0003e6d2f72 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Jul 2022 19:02:16 +0200 Subject: [PATCH 02/19] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.1 (#942) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend 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.5.0` -> `1.5.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.1/compatibility-slim/1.5.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.1/confidence-slim/1.5.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- google-cloud-vision-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-vision-bom/pom.xml b/google-cloud-vision-bom/pom.xml index 36e91f8b9..b69b3360e 100644 --- a/google-cloud-vision-bom/pom.xml +++ b/google-cloud-vision-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.5.0 + 1.5.1 Google Cloud Vision BOM diff --git a/pom.xml b/pom.xml index e0eb8d1f2..70f83e197 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.0 + 1.5.1 From 0f0f0e34606f48ff90936fee8d79efd7d2d4a098 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Jul 2022 19:04:11 +0200 Subject: [PATCH 03/19] chore(deps): update dependency com.google.cloud:libraries-bom to v26 (#945) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend 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://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `25.4.0` -> `26.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.0.0/compatibility-slim/25.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.0.0/confidence-slim/25.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- README.md | 2 +- samples/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 992978089..35199363b 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 - 25.4.0 + 26.0.0 pom import diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 33c08035c..0798ae073 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 25.4.0 + 26.0.0 pom import From a8adeff6485980c7e9491938bbdcf1fc11a5cfc8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 18 Jul 2022 17:02:43 +0200 Subject: [PATCH 04/19] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.4.0 (#949) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-project-info-reports-plugin](https://maven.apache.org/plugins/) | `3.3.0` -> `3.4.0` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.0/compatibility-slim/3.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.0/confidence-slim/3.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 70f83e197..ee43f92ec 100644 --- a/pom.xml +++ b/pom.xml @@ -167,7 +167,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.3.0 + 3.4.0 From 9c8f9c6bf92e76466068c88e0830dfe0f9838678 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 19 Jul 2022 19:26:20 +0200 Subject: [PATCH 05/19] build(deps): update dependency org.apache.maven.plugins:maven-deploy-plugin to v3 (#950) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-deploy-plugin](https://maven.apache.org/plugins/) | `2.8.2` -> `3.0.0` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-deploy-plugin/3.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-deploy-plugin/3.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-deploy-plugin/3.0.0/compatibility-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-deploy-plugin/3.0.0/confidence-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- samples/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/pom.xml b/samples/pom.xml index 2e8579fe2..e011cdee7 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -38,7 +38,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.0.0 true From 4e894da9ded800c143a1d0823102d82efb7e7745 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Wed, 20 Jul 2022 22:40:05 -0400 Subject: [PATCH 06/19] chore: mark native image checks as required (#936) --- .github/sync-repo-settings.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index dd5626f32..0501f63f2 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -16,6 +16,8 @@ branchProtectionRules: - 'Kokoro - Test: Integration' - cla/google - OwlBot Post Processor + - 'Kokoro - Test: Java GraalVM Native Image' + - 'Kokoro - Test: Java 17 GraalVM Native Image' - pattern: java7 isAdminEnforced: true requiredApprovingReviewCount: 1 From c86ad9fb00e2d88daec9563873d60893242dfc2d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 Jul 2022 20:22:12 +0200 Subject: [PATCH 07/19] deps: update spring.version to v2.7.2 (#951) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.springframework.boot:spring-boot-maven-plugin](https://spring.io/projects/spring-boot) ([source](https://togithub.com/spring-projects/spring-boot)) | `2.7.1` -> `2.7.2` | [![age](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-maven-plugin/2.7.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-maven-plugin/2.7.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-maven-plugin/2.7.2/compatibility-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-maven-plugin/2.7.2/confidence-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | | [org.springframework.boot:spring-boot-starter-thymeleaf](https://spring.io/projects/spring-boot) ([source](https://togithub.com/spring-projects/spring-boot)) | `2.7.1` -> `2.7.2` | [![age](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-thymeleaf/2.7.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-thymeleaf/2.7.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-thymeleaf/2.7.2/compatibility-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-thymeleaf/2.7.2/confidence-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | | [org.springframework.boot:spring-boot-starter-web](https://spring.io/projects/spring-boot) ([source](https://togithub.com/spring-projects/spring-boot)) | `2.7.1` -> `2.7.2` | [![age](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.2/compatibility-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.2/confidence-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
spring-projects/spring-boot ### [`v2.7.2`](https://togithub.com/spring-projects/spring-boot/releases/tag/v2.7.2) [Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.7.1...v2.7.2) #### :lady_beetle: Bug Fixes - Publishing a docker image to a private registry fails without authentication [#​31824](https://togithub.com/spring-projects/spring-boot/issues/31824) - In a non-reactive application, health indicators in a parent context are not found [#​31818](https://togithub.com/spring-projects/spring-boot/issues/31818) - Dependency management for Derby is incomplete [#​31814](https://togithub.com/spring-projects/spring-boot/issues/31814) - ApplicationPid doesn't log a warning if it takes a long time to return [#​31810](https://togithub.com/spring-projects/spring-boot/issues/31810) - A router function with attributes causes /actuator/mappings to return a 500 response due to an UnsupportedOperationException [#​31806](https://togithub.com/spring-projects/spring-boot/issues/31806) - InstanceAlreadyExistsException when using Actuator with multiple context and JMX enabled [#​31804](https://togithub.com/spring-projects/spring-boot/issues/31804) - Using 'ImportAutoConfigurationImportSelector' in the jar package loaded by a custom class loader throws ClassNotFoundException [#​31801](https://togithub.com/spring-projects/spring-boot/issues/31801) - GraphQL auto-configuration does not configure the GrapQlSource with SubscriptionExceptionResolver beans [#​31794](https://togithub.com/spring-projects/spring-boot/issues/31794) - Trailing whitespace in the value of a property is hard to identify in failure analysis descriptions [#​31780](https://togithub.com/spring-projects/spring-boot/issues/31780) - Log4j2's shutdown hook is not disabled when using Log4j 2.18 or later [#​31732](https://togithub.com/spring-projects/spring-boot/issues/31732) - HTTP Server and Data repositories metrics record null for the description [#​31706](https://togithub.com/spring-projects/spring-boot/issues/31706) - Deprecation hint for spring.data.mongodb.grid-fs-database is located in the wrong section [#​31690](https://togithub.com/spring-projects/spring-boot/issues/31690) - Image building fails with latest Paketo base builder and additional buildpacks configured [#​31558](https://togithub.com/spring-projects/spring-boot/issues/31558) - Tomcat fails to start when PEM files are used and key-store-password is not specified [#​31253](https://togithub.com/spring-projects/spring-boot/issues/31253) #### :notebook_with_decorative_cover: Documentation - Clarify how docker image publishing registry is determined [#​31826](https://togithub.com/spring-projects/spring-boot/issues/31826) - Fix typo in "HTTP and WebSocket" section of GraphQL documentation [#​31518](https://togithub.com/spring-projects/spring-boot/pull/31518) #### :hammer: Dependency Upgrades - Upgrade to AppEngine SDK 1.9.98 [#​31790](https://togithub.com/spring-projects/spring-boot/issues/31790) - Upgrade to Byte Buddy 1.12.12 [#​31735](https://togithub.com/spring-projects/spring-boot/issues/31735) - Upgrade to Couchbase Client 3.3.2 [#​31736](https://togithub.com/spring-projects/spring-boot/issues/31736) - Upgrade to Dependency Management Plugin 1.0.12.RELEASE [#​31556](https://togithub.com/spring-projects/spring-boot/issues/31556) - Upgrade to Embedded Mongo 3.4.7 [#​31830](https://togithub.com/spring-projects/spring-boot/issues/31830) - Upgrade to GraphQL Java 18.2 [#​31812](https://togithub.com/spring-projects/spring-boot/issues/31812) - Upgrade to Hibernate 5.6.10.Final [#​31738](https://togithub.com/spring-projects/spring-boot/issues/31738) - Upgrade to HttpCore5 5.1.4 [#​31739](https://togithub.com/spring-projects/spring-boot/issues/31739) - Upgrade to Jetty Reactive HTTPClient 1.1.12 [#​31740](https://togithub.com/spring-projects/spring-boot/issues/31740) - Upgrade to JsonAssert 1.5.1 [#​31741](https://togithub.com/spring-projects/spring-boot/issues/31741) - Upgrade to Kotlin Coroutines 1.6.4 [#​31742](https://togithub.com/spring-projects/spring-boot/issues/31742) - Upgrade to Lettuce 6.1.9.RELEASE [#​31743](https://togithub.com/spring-projects/spring-boot/issues/31743) - Upgrade to MariaDB 3.0.6 [#​31744](https://togithub.com/spring-projects/spring-boot/issues/31744) - Upgrade to Micrometer 1.9.2 [#​31614](https://togithub.com/spring-projects/spring-boot/issues/31614) - Upgrade to Neo4j Java Driver 4.4.9 [#​31745](https://togithub.com/spring-projects/spring-boot/issues/31745) - Upgrade to Netty 4.1.79.Final [#​31746](https://togithub.com/spring-projects/spring-boot/issues/31746) - Upgrade to Reactor 2020.0.21 [#​31608](https://togithub.com/spring-projects/spring-boot/issues/31608) - Upgrade to SendGrid 4.9.3 [#​31747](https://togithub.com/spring-projects/spring-boot/issues/31747) - Upgrade to Spring Data 2021.2.2 [#​31615](https://togithub.com/spring-projects/spring-boot/issues/31615) - Upgrade to Spring Framework 5.3.22 [#​31613](https://togithub.com/spring-projects/spring-boot/issues/31613) - Upgrade to Spring GraphQL 1.0.1 [#​31616](https://togithub.com/spring-projects/spring-boot/issues/31616) - Upgrade to Spring Integration 5.5.14 [#​31800](https://togithub.com/spring-projects/spring-boot/issues/31800) - Upgrade to Spring Kafka 2.8.8 [#​31786](https://togithub.com/spring-projects/spring-boot/issues/31786) - Upgrade to Tomcat 9.0.65 [#​31831](https://togithub.com/spring-projects/spring-boot/issues/31831) #### :heart: Contributors We'd like to thank all the contributors who worked on this release! - [@​TheoCaldas](https://togithub.com/TheoCaldas) - [@​izeye](https://togithub.com/izeye) - [@​jakubskalak](https://togithub.com/jakubskalak) - [@​felixscheinost](https://togithub.com/felixscheinost) - [@​dependabot\[bot\]](https://togithub.com/apps/dependabot) - [@​naveensrinivasan](https://togithub.com/naveensrinivasan) - [@​sonallux](https://togithub.com/sonallux) - [@​aoyvx](https://togithub.com/aoyvx)
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- samples/spring-framework/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/spring-framework/pom.xml b/samples/spring-framework/pom.xml index f893deb9f..72bd87ce4 100644 --- a/samples/spring-framework/pom.xml +++ b/samples/spring-framework/pom.xml @@ -19,7 +19,7 @@ limitations under the License. 1.8 1.8 - 2.7.1 + 2.7.2 If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- 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 15587a5c0..cc4b76fd6 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.7.0 + 2.10.0 net.sourceforge.argparse4j diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 31f23f904..31a29c196 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -35,7 +35,7 @@ com.google.cloud google-cloud-storage - 2.7.0 + 2.10.0 net.sourceforge.argparse4j From f245d7396d6e194386f14923e99f921fc535f46e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 21:12:11 +0200 Subject: [PATCH 09/19] deps: update dependency com.google.cloud:google-cloud-core to v2.8.6 (#955) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend 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-core](https://togithub.com/googleapis/java-core) | `2.8.1` -> `2.8.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.6/compatibility-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.6/confidence-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.8.6`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​286-httpsgithubcomgoogleapisjava-corecomparev285v286-2022-08-02) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.5...v2.8.6) ##### Dependencies - update dependency com.google.api:gax-bom to v2.18.7 ([#​890](https://togithub.com/googleapis/java-core/issues/890)) ([c67bed5](https://togithub.com/googleapis/java-core/commit/c67bed5281b458e78780cdd918235b5d073917c7)) - update dependency com.google.code.gson:gson to v2.9.1 ([#​888](https://togithub.com/googleapis/java-core/issues/888)) ([7b799c6](https://togithub.com/googleapis/java-core/commit/7b799c66f4aaf057242e9a231b920e49a7c964e9)) ### [`v2.8.5`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​285-httpsgithubcomgoogleapisjava-corecomparev284v285-2022-07-29) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.4...v2.8.5) ##### Dependencies - update dependency com.google.api:gax-bom to v2.18.6 ([#​885](https://togithub.com/googleapis/java-core/issues/885)) ([7fa028c](https://togithub.com/googleapis/java-core/commit/7fa028c0e78bd21583c8687582da24834bd54449)) ### [`v2.8.4`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​284-httpsgithubcomgoogleapisjava-corecomparev283v284-2022-07-27) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.3...v2.8.4) ##### Documentation - update javadocs for ReadChannel#limit to be more clear ([#​880](https://togithub.com/googleapis/java-core/issues/880)) ([c7de4e2](https://togithub.com/googleapis/java-core/commit/c7de4e2871d6a32cacc7aab69d826f3afd6301ef)) ##### Dependencies - Update google-cloud-shared-config to v1.5.3 ([#​882](https://togithub.com/googleapis/java-core/issues/882)) ([aabb0b4](https://togithub.com/googleapis/java-core/commit/aabb0b42076f8a02e7b31d604add567fa909df6c)) ### [`v2.8.3`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​283-httpsgithubcomgoogleapisjava-corecomparev282v283-2022-07-26) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.1...v2.8.3) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v2 ([#​868](https://togithub.com/googleapis/java-core/issues/868)) ([e117c40](https://togithub.com/googleapis/java-core/commit/e117c40f31acf16a45bdbeeb727ba26d80eb6a51)) - update dependency com.google.api:gax-bom to v2.18.4 ([#​864](https://togithub.com/googleapis/java-core/issues/864)) ([bd40b1d](https://togithub.com/googleapis/java-core/commit/bd40b1d1b36cdcfa833047609e2488594b112be1)) - update dependency com.google.api:gax-bom to v2.18.5 ([#​876](https://togithub.com/googleapis/java-core/issues/876)) ([d8dc7fb](https://togithub.com/googleapis/java-core/commit/d8dc7fbdb0d65e493ca4154658c63e80d89ab600)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.9.2 ([#​870](https://togithub.com/googleapis/java-core/issues/870)) ([7e961e9](https://togithub.com/googleapis/java-core/commit/7e961e945d5e049a1a1bb2592e9c155b5937e33b)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.5.2 ([#​865](https://togithub.com/googleapis/java-core/issues/865)) ([fe7b974](https://togithub.com/googleapis/java-core/commit/fe7b974a0eae82711ca96edf412944309d5d6202)) - update dependency com.google.auth:google-auth-library-bom to v1.8.1 ([#​856](https://togithub.com/googleapis/java-core/issues/856)) ([92df5d3](https://togithub.com/googleapis/java-core/commit/92df5d3c248214970d38432e8c264d151298d1e6)) - update dependency com.google.http-client:google-http-client-bom to v1.42.2 ([#​871](https://togithub.com/googleapis/java-core/issues/871)) ([1972e8e](https://togithub.com/googleapis/java-core/commit/1972e8e45e11597e56609aa5fcd44e61958d5857)) - update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#​874](https://togithub.com/googleapis/java-core/issues/874)) ([1e18977](https://togithub.com/googleapis/java-core/commit/1e18977820ac766157156fb6246bd318d207971c)) - update dependency com.google.protobuf:protobuf-bom to v3.21.4 ([#​877](https://togithub.com/googleapis/java-core/issues/877)) ([d12fb5e](https://togithub.com/googleapis/java-core/commit/d12fb5e4eb8aa42015df84abf31f56408c8b64d8)) - update dependency io.grpc:grpc-bom to v1.48.0 ([#​873](https://togithub.com/googleapis/java-core/issues/873)) ([a45b075](https://togithub.com/googleapis/java-core/commit/a45b075e414049550c51ff0097337e45128fc499))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index cc4b76fd6..4654f58a7 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -62,7 +62,7 @@ com.google.cloud google-cloud-core - 2.8.1 + 2.8.6 test tests diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 31a29c196..02e86b8f3 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -62,7 +62,7 @@ com.google.cloud google-cloud-core - 2.8.1 + 2.8.6 test tests diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 0798ae073..3efd7964b 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -66,7 +66,7 @@ com.google.cloud google-cloud-core - 2.8.1 + 2.8.6 test tests From 37fdb29a9364d5423ea2b9e3e4c8ae3cea90d149 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 21:12:24 +0200 Subject: [PATCH 10/19] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3 (#952) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend 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.13.0` -> `3.0.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.1/compatibility-slim/2.13.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.1/confidence-slim/2.13.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v3.0.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​301-httpsgithubcomgoogleapisjava-shared-dependenciescomparev300v301-2022-08-02) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.0...v3.0.1) ##### Dependencies - update dependency com.google.code.gson:gson to v2.9.1 ([#​766](https://togithub.com/googleapis/java-shared-dependencies/issues/766)) ([f7b2b06](https://togithub.com/googleapis/java-shared-dependencies/commit/f7b2b06b80e3e95ff8ab9b1d6a2638ef3069298a)) - update gax.version to v2.18.7 ([#​767](https://togithub.com/googleapis/java-shared-dependencies/issues/767)) ([9650368](https://togithub.com/googleapis/java-shared-dependencies/commit/96503682e98cdf348ea2c1365a03a60f4322c712)) - update google.core.version to v2.8.6 ([#​770](https://togithub.com/googleapis/java-shared-dependencies/issues/770)) ([cfd4377](https://togithub.com/googleapis/java-shared-dependencies/commit/cfd4377dc178cebb4724065d55d185ce03988d55)) ### [`v3.0.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​300-httpsgithubcomgoogleapisjava-shared-dependenciescomparev2130v300-2022-07-29) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.13.0...v3.0.0) ##### Bug Fixes - enable longpaths support for windows test ([#​1485](https://togithub.com/googleapis/java-shared-dependencies/issues/1485)) ([#​738](https://togithub.com/googleapis/java-shared-dependencies/issues/738)) ([11bc8f8](https://togithub.com/googleapis/java-shared-dependencies/commit/11bc8f81f28be88a97fdeafca21724e33638770c)) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.35.2 ([#​729](https://togithub.com/googleapis/java-shared-dependencies/issues/729)) ([1fa59af](https://togithub.com/googleapis/java-shared-dependencies/commit/1fa59af80abb9f278f57658c10158567e825fec6)) - update dependency com.google.api-client:google-api-client-bom to v2 ([#​746](https://togithub.com/googleapis/java-shared-dependencies/issues/746)) ([2dcb2e0](https://togithub.com/googleapis/java-shared-dependencies/commit/2dcb2e071e0ba0eea21bb575bd13cd559d4a1ca6)) - update dependency com.google.api.grpc:grpc-google-common-protos to v2.9.2 ([#​741](https://togithub.com/googleapis/java-shared-dependencies/issues/741)) ([3352d6c](https://togithub.com/googleapis/java-shared-dependencies/commit/3352d6c36111c04e3f6f3e6360470fa3efb10d8f)) - update dependency com.google.auth:google-auth-library-bom to v1.8.0 ([#​726](https://togithub.com/googleapis/java-shared-dependencies/issues/726)) ([2c5d64c](https://togithub.com/googleapis/java-shared-dependencies/commit/2c5d64c127db8384e49113acfeac6928716a2d7f)) - update dependency com.google.auth:google-auth-library-bom to v1.8.1 ([#​742](https://togithub.com/googleapis/java-shared-dependencies/issues/742)) ([4f53527](https://togithub.com/googleapis/java-shared-dependencies/commit/4f53527bda7f40896711b7c1d1c02453321ffbc8)) - update dependency com.google.cloud:first-party-dependencies to v2 ([#​747](https://togithub.com/googleapis/java-shared-dependencies/issues/747)) ([e970ac0](https://togithub.com/googleapis/java-shared-dependencies/commit/e970ac0599941c825dc2516146a7c6673e68a9b9)) - update dependency com.google.cloud:grpc-gcp to v1.2.1 ([#​751](https://togithub.com/googleapis/java-shared-dependencies/issues/751)) ([b3284b6](https://togithub.com/googleapis/java-shared-dependencies/commit/b3284b6ee52a96a6ea8696a05a94443df9ee5b9f)) - update dependency com.google.cloud:third-party-dependencies to v2 ([#​748](https://togithub.com/googleapis/java-shared-dependencies/issues/748)) ([573b41a](https://togithub.com/googleapis/java-shared-dependencies/commit/573b41a69504372741cbeb01dd200e7c71967186)) - update dependency com.google.http-client:google-http-client-bom to v1.42.1 ([#​730](https://togithub.com/googleapis/java-shared-dependencies/issues/730)) ([6b47126](https://togithub.com/googleapis/java-shared-dependencies/commit/6b47126686b603a5d112e097ce6aa3a1880daf6f)) - update dependency com.google.http-client:google-http-client-bom to v1.42.2 ([#​749](https://togithub.com/googleapis/java-shared-dependencies/issues/749)) ([299d7b0](https://togithub.com/googleapis/java-shared-dependencies/commit/299d7b0d4920644e2c3070d12dd1d97da17a5e88)) - update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#​722](https://togithub.com/googleapis/java-shared-dependencies/issues/722)) ([7a96b12](https://togithub.com/googleapis/java-shared-dependencies/commit/7a96b1259a526b63e9376fd6cc18b27cddeb5f0f)) - update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#​756](https://togithub.com/googleapis/java-shared-dependencies/issues/756)) ([3d0bac2](https://togithub.com/googleapis/java-shared-dependencies/commit/3d0bac23487aebb94267c0708f41ff6c02a028a4)) - update dependency com.google.protobuf:protobuf-bom to v3.21.4 ([#​759](https://togithub.com/googleapis/java-shared-dependencies/issues/759)) ([5a54ef1](https://togithub.com/googleapis/java-shared-dependencies/commit/5a54ef1a2d56244166d4fcc46041d62c0dc4b411)) - update dependency io.grpc:grpc-bom to v1.48.0 ([#​752](https://togithub.com/googleapis/java-shared-dependencies/issues/752)) ([20ac908](https://togithub.com/googleapis/java-shared-dependencies/commit/20ac908932a5e7c8e581bdfcd68579d7e1cedd5f)) - update dependency org.checkerframework:checker-qual to v3.23.0 ([#​736](https://togithub.com/googleapis/java-shared-dependencies/issues/736)) ([fc01d8f](https://togithub.com/googleapis/java-shared-dependencies/commit/fc01d8f93f391f12fdb800d5006f0b4505832eeb)) - update gax.version to v2.18.3 ([#​731](https://togithub.com/googleapis/java-shared-dependencies/issues/731)) ([e8ee554](https://togithub.com/googleapis/java-shared-dependencies/commit/e8ee554707acb2f71c739d08e2ff02fbe43ffa52)) - update gax.version to v2.18.4 ([#​735](https://togithub.com/googleapis/java-shared-dependencies/issues/735)) ([11c7415](https://togithub.com/googleapis/java-shared-dependencies/commit/11c74152a84697924de3a0e838b05f606c3098f7)) - update gax.version to v2.18.5 ([#​758](https://togithub.com/googleapis/java-shared-dependencies/issues/758)) ([7469fc1](https://togithub.com/googleapis/java-shared-dependencies/commit/7469fc1cc5095b39a5738e60156711a268f6e052)) - update gax.version to v2.18.6 ([#​763](https://togithub.com/googleapis/java-shared-dependencies/issues/763)) ([b5ca2f7](https://togithub.com/googleapis/java-shared-dependencies/commit/b5ca2f7b4d81c705823253f4f03363a32d2be48b)) - update google.common-protos.version to v2.9.1 ([#​724](https://togithub.com/googleapis/java-shared-dependencies/issues/724)) ([5213dbb](https://togithub.com/googleapis/java-shared-dependencies/commit/5213dbbfa9c9b73d2420ec2be7782f16c9c4955f)) - update google.core.version to v2.8.1 ([#​725](https://togithub.com/googleapis/java-shared-dependencies/issues/725)) ([575858a](https://togithub.com/googleapis/java-shared-dependencies/commit/575858a60f76e46bbc2a2435c2b6c01c8f4ab681)) - update google.core.version to v2.8.3 ([#​760](https://togithub.com/googleapis/java-shared-dependencies/issues/760)) ([cb10ae4](https://togithub.com/googleapis/java-shared-dependencies/commit/cb10ae4b76939215ea465af74163b3d4ad65a548)) - update google.core.version to v2.8.4 ([#​762](https://togithub.com/googleapis/java-shared-dependencies/issues/762)) ([821daaf](https://togithub.com/googleapis/java-shared-dependencies/commit/821daafefdbcfdfe6e363e580747538096a562ef)) - update google.core.version to v2.8.5 ([#​764](https://togithub.com/googleapis/java-shared-dependencies/issues/764)) ([a1f8f50](https://togithub.com/googleapis/java-shared-dependencies/commit/a1f8f501b54143a2cec8e72efd4ceb3ce47f13ae)) - update iam.version to v1.5.0 ([#​732](https://togithub.com/googleapis/java-shared-dependencies/issues/732)) ([9dce0e5](https://togithub.com/googleapis/java-shared-dependencies/commit/9dce0e5199c1e425119adc804304958f58003a27)) - update iam.version to v1.5.1 ([#​737](https://togithub.com/googleapis/java-shared-dependencies/issues/737)) ([df39168](https://togithub.com/googleapis/java-shared-dependencies/commit/df391685d42fcb1b04f03ab1380a594893bdce37)) - update iam.version to v1.5.2 ([#​743](https://togithub.com/googleapis/java-shared-dependencies/issues/743)) ([cdde697](https://togithub.com/googleapis/java-shared-dependencies/commit/cdde697f25a89fc8c2ec7eae6b7c54f69977bb1c))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ee43f92ec..b2fbdfa58 100644 --- a/pom.xml +++ b/pom.xml @@ -117,7 +117,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.13.0 + 3.0.1 pom import From 2ac457a1a1e6b36dda66252258af5ee720399d80 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 21:30:27 +0200 Subject: [PATCH 11/19] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.3 (#954) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend 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.5.1` -> `1.5.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/compatibility-slim/1.5.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/confidence-slim/1.5.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v1.5.3`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​153-httpsgithubcomgoogleapisjava-shared-configcomparev152v153-2022-07-27) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.5.2...v1.5.3) ##### Dependencies - update dependency org.junit.vintage:junit-vintage-engine to v5.9.0 ([#​497](https://togithub.com/googleapis/java-shared-config/issues/497)) ([1fc6ab4](https://togithub.com/googleapis/java-shared-config/commit/1fc6ab445624cd4f9c8b161d109f346a9e5ed09a)) - Update doclet to latest version 1.6.0 ([38fb7c3](https://togithub.com/googleapis/java-shared-config/commit/38fb7c3957fb6c9b2da10f9e463cc93a8b80a3a4)) ### [`v1.5.2`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​152-httpsgithubcomgoogleapisjava-shared-configcomparev151v152-2022-07-25) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.5.1...v1.5.2) ##### Dependencies - update dependency com.puppycrawl.tools:checkstyle to v10 ([#​435](https://togithub.com/googleapis/java-shared-config/issues/435)) ([bfc8ce1](https://togithub.com/googleapis/java-shared-config/commit/bfc8ce1deca6292147d002d3afe22a09840aa5d6)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.13 ([#​488](https://togithub.com/googleapis/java-shared-config/issues/488)) ([39b91ee](https://togithub.com/googleapis/java-shared-config/commit/39b91ee1283f0a5fbbe63e8bfd1ec97ab4ab377e)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.13 ([#​489](https://togithub.com/googleapis/java-shared-config/issues/489)) ([cc3bcfa](https://togithub.com/googleapis/java-shared-config/commit/cc3bcfa2d6717441a8d5b5048fa78c2cf7aabf2b))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- google-cloud-vision-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-vision-bom/pom.xml b/google-cloud-vision-bom/pom.xml index b69b3360e..ac9400271 100644 --- a/google-cloud-vision-bom/pom.xml +++ b/google-cloud-vision-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.5.1 + 1.5.3 Google Cloud Vision BOM diff --git a/pom.xml b/pom.xml index b2fbdfa58..02b924d4d 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.1 + 1.5.3 From 8694f43b12956e24a450c91928d94df5496bcfc5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 3 Aug 2022 21:40:16 +0200 Subject: [PATCH 12/19] deps: update dependency com.google.cloud:google-cloud-core to v2.8.7 (#958) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend 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-core](https://togithub.com/googleapis/java-core) | `2.8.6` -> `2.8.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/compatibility-slim/2.8.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/confidence-slim/2.8.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.8.7`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​287-httpsgithubcomgoogleapisjava-corecomparev286v287-2022-08-03) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.6...v2.8.7) ##### Dependencies - update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#​894](https://togithub.com/googleapis/java-core/issues/894)) ([82aaa16](https://togithub.com/googleapis/java-core/commit/82aaa16cd9813984a0c92d944eb1ad956759a8e5)) - update dependency io.grpc:grpc-bom to v1.48.1 ([#​891](https://togithub.com/googleapis/java-core/issues/891)) ([0b0f9b8](https://togithub.com/googleapis/java-core/commit/0b0f9b89757b801e8334c764644d7b66032d36d1))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 4654f58a7..12384b71d 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -62,7 +62,7 @@ com.google.cloud google-cloud-core - 2.8.6 + 2.8.7 test tests diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 02e86b8f3..bffe8dad1 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -62,7 +62,7 @@ com.google.cloud google-cloud-core - 2.8.6 + 2.8.7 test tests diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 3efd7964b..16ba3dd32 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -66,7 +66,7 @@ com.google.cloud google-cloud-core - 2.8.6 + 2.8.7 test tests From 0ab0e07ae7fdfc4b8f7ee50e60ad7132e20a6f41 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Aug 2022 07:06:29 +0200 Subject: [PATCH 13/19] deps: update dependency com.google.cloud:google-cloud-storage to v2.11.0 (#959) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend 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.10.0` -> `2.11.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.0/compatibility-slim/2.10.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.0/confidence-slim/2.10.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-storage ### [`v2.11.0`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#​2110-httpsgithubcomgoogleapisjava-storagecomparev2100v2110-2022-08-03) [Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.10.0...v2.11.0) ##### Features - introduce RPC CancelResumableWriteRequest ([#​1518](https://togithub.com/googleapis/java-storage/issues/1518)) ([f8811c6](https://togithub.com/googleapis/java-storage/commit/f8811c654109516116bbbe142f4b27ec7f63b5fb)) ##### Documentation - Refactor Custom Dual Region sample to work with API changes ([#​1516](https://togithub.com/googleapis/java-storage/issues/1516)) ([a60cace](https://togithub.com/googleapis/java-storage/commit/a60caced9584855f12cdb7cac8ad7606ba32a60a)) ##### Dependencies - update dependency com.google.cloud:google-cloud-pubsub to v1.120.5 ([#​1527](https://togithub.com/googleapis/java-storage/issues/1527)) ([77072e3](https://togithub.com/googleapis/java-storage/commit/77072e3835bbeb802299fec1359c5f3ca13e3c8a)) - update dependency com.google.cloud:google-cloud-pubsub to v1.120.7 ([#​1530](https://togithub.com/googleapis/java-storage/issues/1530)) ([8c2ebad](https://togithub.com/googleapis/java-storage/commit/8c2ebad79affb766d842615aa30cc2a3dbe7d0de)) - update dependency com.google.cloud:google-cloud-pubsub to v1.120.8 ([#​1534](https://togithub.com/googleapis/java-storage/issues/1534)) ([723b100](https://togithub.com/googleapis/java-storage/commit/723b10014cafae257fa75d9c0bfd3fb0c34b9943)) - update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#​1526](https://togithub.com/googleapis/java-storage/issues/1526)) ([f7fc0d2](https://togithub.com/googleapis/java-storage/commit/f7fc0d2f301bd22e96a0b43f8657cc738f49f278)) - update dependency org.junit.vintage:junit-vintage-engine to v5.9.0 ([#​1524](https://togithub.com/googleapis/java-storage/issues/1524)) ([0e74093](https://togithub.com/googleapis/java-storage/commit/0e74093f3dffd829f8fb9f2525c1502e1910fbe6))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- 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 12384b71d..c9eae6cf7 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.10.0 + 2.11.0 net.sourceforge.argparse4j diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index bffe8dad1..0d7bc117d 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -35,7 +35,7 @@ com.google.cloud google-cloud-storage - 2.10.0 + 2.11.0 net.sourceforge.argparse4j From f6271cb5a5452f39779ef3f7accc728896e25608 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Aug 2022 19:10:24 +0200 Subject: [PATCH 14/19] deps: update dependency com.google.cloud:google-cloud-storage to v2.11.1 (#961) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend 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.11.0` -> `2.11.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.1/compatibility-slim/2.11.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.1/confidence-slim/2.11.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-storage ### [`v2.11.1`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#​2111-httpsgithubcomgoogleapisjava-storagecomparev2110v2111-2022-08-04) [Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.11.0...v2.11.1) ##### Dependencies - update dependency com.google.cloud:google-cloud-pubsub to v1.120.9 ([#​1537](https://togithub.com/googleapis/java-storage/issues/1537)) ([ae17737](https://togithub.com/googleapis/java-storage/commit/ae17737342e262f7afd404e4c758a7fbf5530da5))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- 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 c9eae6cf7..9a823d21a 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.11.0 + 2.11.1 net.sourceforge.argparse4j diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 0d7bc117d..e7e21d3e7 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -35,7 +35,7 @@ com.google.cloud google-cloud-storage - 2.11.0 + 2.11.1 net.sourceforge.argparse4j From 0737a1ffcd29e87ca64e064fe43cbb29ec6a1de4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Aug 2022 19:12:18 +0200 Subject: [PATCH 15/19] deps: update dependency com.google.cloud:google-cloud-core to v2.8.8 (#960) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend 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-core](https://togithub.com/googleapis/java-core) | `2.8.7` -> `2.8.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.8/compatibility-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.8/confidence-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.8.8`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​288-httpsgithubcomgoogleapisjava-corecomparev287v288-2022-08-04) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.7...v2.8.8) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​897](https://togithub.com/googleapis/java-core/issues/897)) ([29e4fc9](https://togithub.com/googleapis/java-core/commit/29e4fc93d5d4d50f7de85eae7a8150314cca6f43))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 9a823d21a..3f4cf169c 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -62,7 +62,7 @@ com.google.cloud google-cloud-core - 2.8.7 + 2.8.8 test tests diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index e7e21d3e7..8761e0359 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -62,7 +62,7 @@ com.google.cloud google-cloud-core - 2.8.7 + 2.8.8 test tests diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 16ba3dd32..611215a50 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -66,7 +66,7 @@ com.google.cloud google-cloud-core - 2.8.7 + 2.8.8 test tests From 7b559956116ea8b4a3bbb6f6d3214e0c4076a2b5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 5 Aug 2022 17:52:12 +0200 Subject: [PATCH 16/19] deps: update dependency com.google.cloud:google-cloud-storage to v2.11.2 (#963) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend 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.11.1` -> `2.11.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.2/compatibility-slim/2.11.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.2/confidence-slim/2.11.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-storage ### [`v2.11.2`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#​2112-httpsgithubcomgoogleapisjava-storagecomparev2111v2112-2022-08-04) [Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.11.1...v2.11.2) ##### Dependencies - update dependency com.google.cloud:google-cloud-pubsub to v1.120.10 ([#​1543](https://togithub.com/googleapis/java-storage/issues/1543)) ([8ff1dff](https://togithub.com/googleapis/java-storage/commit/8ff1dffb07141411daaf49ac9af570a1654eb2da))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). --- 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 3f4cf169c..bdacf7e22 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.11.1 + 2.11.2 net.sourceforge.argparse4j diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 8761e0359..fc445c104 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -35,7 +35,7 @@ com.google.cloud google-cloud-storage - 2.11.1 + 2.11.2 net.sourceforge.argparse4j From 62ce19b72c5cb544819f47b64decc20a9499c6df Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 5 Aug 2022 18:42:16 +0000 Subject: [PATCH 17/19] feat: Add TextDetectionParams.advanced_ocr_options (#962) - [ ] Regenerate this pull request now. Advanced OCR options allow users to customize behavior for a specific OCR engine version. PiperOrigin-RevId: 465402148 Source-Link: https://github.com/googleapis/googleapis/commit/ad64930eaf928b006c55914d8319b84670eeaf67 Source-Link: https://github.com/googleapis/googleapis-gen/commit/5d2c8b2b1cb0d15bf7243513a5543a9ec3ecd778 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWQyYzhiMmIxY2IwZDE1YmY3MjQzNTEzYTU1NDNhOWVjM2VjZDc3OCJ9 --- .../cloud/vision/v1/ImageAnnotatorProto.java | 281 ++++++++--------- .../cloud/vision/v1/TextDetectionParams.java | 283 +++++++++++++++++- .../v1/TextDetectionParamsOrBuilder.java | 51 ++++ .../cloud/vision/v1/image_annotator.proto | 3 + .../vision/v1p1beta1/ImageAnnotatorProto.java | 115 +++---- .../vision/v1p1beta1/TextDetectionParams.java | 283 +++++++++++++++++- .../TextDetectionParamsOrBuilder.java | 51 ++++ .../vision/v1p1beta1/image_annotator.proto | 3 + .../vision/v1p2beta1/ImageAnnotatorProto.java | 197 ++++++------ .../vision/v1p2beta1/TextDetectionParams.java | 283 +++++++++++++++++- .../TextDetectionParamsOrBuilder.java | 51 ++++ .../vision/v1p2beta1/image_annotator.proto | 3 + .../vision/v1p3beta1/ImageAnnotatorProto.java | 213 ++++++------- .../vision/v1p3beta1/TextDetectionParams.java | 283 +++++++++++++++++- .../TextDetectionParamsOrBuilder.java | 51 ++++ .../vision/v1p3beta1/image_annotator.proto | 3 + .../vision/v1p4beta1/ImageAnnotatorProto.java | 280 ++++++++--------- .../vision/v1p4beta1/TextDetectionParams.java | 283 +++++++++++++++++- .../TextDetectionParamsOrBuilder.java | 51 ++++ .../vision/v1p4beta1/image_annotator.proto | 3 + ...tateFilesListasyncannotatefilerequest.java | 6 +- ...sListannotateimagerequestOutputconfig.java | 6 +- ...nnotateImagesListannotateimagerequest.java | 3 +- .../SyncAddProductToProductSet.java | 1 + ...ToProductSetProductsetnameProductname.java | 7 +- ...oductToProductSetProductsetnameString.java | 1 + ...dProductToProductSetStringProductname.java | 1 + ...yncAddProductToProductSetStringString.java | 1 + ...roductSetLocationnameProductsetString.java | 3 +- ...eImageProductnameReferenceimageString.java | 6 +- ...erenceImageStringReferenceimageString.java | 6 +- .../deleteproduct/SyncDeleteProduct.java | 1 + .../SyncDeleteProductProductname.java | 1 + .../SyncDeleteProductString.java | 1 + .../SyncDeleteProductSet.java | 1 + .../SyncDeleteProductSetProductsetname.java | 1 + .../SyncDeleteProductSetString.java | 1 + .../SyncDeleteReferenceImage.java | 1 + ...eleteReferenceImageReferenceimagename.java | 1 + .../SyncDeleteReferenceImageString.java | 1 + ...ationnameImportproductsetsinputconfig.java | 6 +- ...etsStringImportproductsetsinputconfig.java | 6 +- .../purgeproducts/SyncPurgeProducts.java | 1 + .../SyncPurgeProductsLocationname.java | 1 + .../SyncPurgeProductsString.java | 1 + .../SyncRemoveProductFromProductSet.java | 1 + ...omProductSetProductsetnameProductname.java | 7 +- ...uctFromProductSetProductsetnameString.java | 7 +- ...roductFromProductSetStringProductname.java | 4 +- ...moveProductFromProductSetStringString.java | 1 + ...nnotateImagesListannotateimagerequest.java | 6 +- ...tateFilesListasyncannotatefilerequest.java | 6 +- ...nnotateImagesListannotateimagerequest.java | 6 +- ...tateFilesListasyncannotatefilerequest.java | 6 +- ...nnotateImagesListannotateimagerequest.java | 6 +- .../SyncAddProductToProductSet.java | 1 + ...ToProductSetProductsetnameProductname.java | 7 +- ...oductToProductSetProductsetnameString.java | 7 +- ...dProductToProductSetStringProductname.java | 7 +- ...yncAddProductToProductSetStringString.java | 1 + ...reateProductLocationnameProductString.java | 3 +- ...roductSetLocationnameProductsetString.java | 6 +- ...reateProductSetStringProductsetString.java | 3 +- ...eImageProductnameReferenceimageString.java | 6 +- ...erenceImageStringReferenceimageString.java | 6 +- .../deleteproduct/SyncDeleteProduct.java | 1 + .../SyncDeleteProductProductname.java | 1 + .../SyncDeleteProductString.java | 1 + .../SyncDeleteProductSet.java | 1 + .../SyncDeleteProductSetProductsetname.java | 1 + .../SyncDeleteProductSetString.java | 1 + .../SyncDeleteReferenceImage.java | 1 + ...eleteReferenceImageReferenceimagename.java | 4 +- .../SyncDeleteReferenceImageString.java | 1 + ...ationnameImportproductsetsinputconfig.java | 6 +- ...etsStringImportproductsetsinputconfig.java | 6 +- ...istProductsInProductSetProductsetname.java | 3 +- .../SyncRemoveProductFromProductSet.java | 1 + ...omProductSetProductsetnameProductname.java | 7 +- ...uctFromProductSetProductsetnameString.java | 7 +- ...roductFromProductSetStringProductname.java | 7 +- ...moveProductFromProductSetStringString.java | 7 +- ...tateFilesListasyncannotatefilerequest.java | 6 +- ...sListannotateimagerequestOutputconfig.java | 6 +- ...hAnnotateFilesListannotatefilerequest.java | 6 +- ...nnotateImagesListannotateimagerequest.java | 6 +- .../SyncAddProductToProductSet.java | 1 + ...ToProductSetProductsetnameProductname.java | 7 +- ...oductToProductSetProductsetnameString.java | 7 +- ...dProductToProductSetStringProductname.java | 7 +- ...yncAddProductToProductSetStringString.java | 1 + ...reateProductLocationnameProductString.java | 3 +- ...roductSetLocationnameProductsetString.java | 6 +- ...reateProductSetStringProductsetString.java | 3 +- ...eImageProductnameReferenceimageString.java | 6 +- ...erenceImageStringReferenceimageString.java | 6 +- .../deleteproduct/SyncDeleteProduct.java | 1 + .../SyncDeleteProductProductname.java | 1 + .../SyncDeleteProductString.java | 1 + .../SyncDeleteProductSet.java | 1 + .../SyncDeleteProductSetProductsetname.java | 1 + .../SyncDeleteProductSetString.java | 1 + .../SyncDeleteReferenceImage.java | 1 + ...eleteReferenceImageReferenceimagename.java | 4 +- .../SyncDeleteReferenceImageString.java | 1 + ...ationnameImportproductsetsinputconfig.java | 6 +- ...etsStringImportproductsetsinputconfig.java | 6 +- ...istProductsInProductSetProductsetname.java | 3 +- .../purgeproducts/SyncPurgeProducts.java | 1 + .../SyncPurgeProductsLocationname.java | 1 + .../SyncPurgeProductsString.java | 1 + .../SyncRemoveProductFromProductSet.java | 1 + ...omProductSetProductsetnameProductname.java | 7 +- ...uctFromProductSetProductsetnameString.java | 7 +- ...roductFromProductSetStringProductname.java | 7 +- ...moveProductFromProductSetStringString.java | 7 +- 116 files changed, 2383 insertions(+), 736 deletions(-) diff --git a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorProto.java b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorProto.java index d5f7e4f6e..285bfec39 100644 --- a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorProto.java +++ b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorProto.java @@ -303,146 +303,147 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "crop_hints\030\001 \003(\0132 .google.cloud.vision.v" + "1.CropHint\"(\n\017CropHintsParams\022\025\n\raspect_" + "ratios\030\001 \003(\002\"1\n\022WebDetectionParams\022\033\n\023in" - + "clude_geo_results\030\002 \001(\010\"E\n\023TextDetection" + + "clude_geo_results\030\002 \001(\010\"c\n\023TextDetection" + "Params\022.\n&enable_text_detection_confiden" - + "ce_score\030\t \001(\010\"\210\003\n\014ImageContext\022:\n\rlat_l" - + "ong_rect\030\001 \001(\0132#.google.cloud.vision.v1." - + "LatLongRect\022\026\n\016language_hints\030\002 \003(\t\022B\n\021c" - + "rop_hints_params\030\004 \001(\0132\'.google.cloud.vi" - + "sion.v1.CropHintsParams\022J\n\025product_searc" - + "h_params\030\005 \001(\0132+.google.cloud.vision.v1." - + "ProductSearchParams\022H\n\024web_detection_par" - + "ams\030\006 \001(\0132*.google.cloud.vision.v1.WebDe" - + "tectionParams\022J\n\025text_detection_params\030\014" - + " \001(\0132+.google.cloud.vision.v1.TextDetect" - + "ionParams\"\264\001\n\024AnnotateImageRequest\022,\n\005im" - + "age\030\001 \001(\0132\035.google.cloud.vision.v1.Image" - + "\0221\n\010features\030\002 \003(\0132\037.google.cloud.vision" - + ".v1.Feature\022;\n\rimage_context\030\003 \001(\0132$.goo" - + "gle.cloud.vision.v1.ImageContext\":\n\026Imag" - + "eAnnotationContext\022\013\n\003uri\030\001 \001(\t\022\023\n\013page_" - + "number\030\002 \001(\005\"\344\007\n\025AnnotateImageResponse\022@" - + "\n\020face_annotations\030\001 \003(\0132&.google.cloud." - + "vision.v1.FaceAnnotation\022F\n\024landmark_ann" - + "otations\030\002 \003(\0132(.google.cloud.vision.v1." - + "EntityAnnotation\022B\n\020logo_annotations\030\003 \003" - + "(\0132(.google.cloud.vision.v1.EntityAnnota" - + "tion\022C\n\021label_annotations\030\004 \003(\0132(.google" - + ".cloud.vision.v1.EntityAnnotation\022W\n\034loc" - + "alized_object_annotations\030\026 \003(\01321.google" - + ".cloud.vision.v1.LocalizedObjectAnnotati" - + "on\022B\n\020text_annotations\030\005 \003(\0132(.google.cl" - + "oud.vision.v1.EntityAnnotation\022D\n\024full_t" - + "ext_annotation\030\014 \001(\0132&.google.cloud.visi" - + "on.v1.TextAnnotation\022L\n\026safe_search_anno" - + "tation\030\006 \001(\0132,.google.cloud.vision.v1.Sa" - + "feSearchAnnotation\022L\n\033image_properties_a" - + "nnotation\030\010 \001(\0132\'.google.cloud.vision.v1" - + ".ImageProperties\022J\n\025crop_hints_annotatio" - + "n\030\013 \001(\0132+.google.cloud.vision.v1.CropHin" - + "tsAnnotation\022;\n\rweb_detection\030\r \001(\0132$.go" - + "ogle.cloud.vision.v1.WebDetection\022L\n\026pro" - + "duct_search_results\030\016 \001(\0132,.google.cloud" - + ".vision.v1.ProductSearchResults\022!\n\005error" - + "\030\t \001(\0132\022.google.rpc.Status\022?\n\007context\030\025 " - + "\001(\0132..google.cloud.vision.v1.ImageAnnota" - + "tionContext\"q\n\032BatchAnnotateImagesReques" - + "t\022C\n\010requests\030\001 \003(\0132,.google.cloud.visio" - + "n.v1.AnnotateImageRequestB\003\340A\002\022\016\n\006parent" - + "\030\004 \001(\t\"_\n\033BatchAnnotateImagesResponse\022@\n" - + "\tresponses\030\001 \003(\0132-.google.cloud.vision.v" - + "1.AnnotateImageResponse\"\317\001\n\023AnnotateFile" - + "Request\0229\n\014input_config\030\001 \001(\0132#.google.c" - + "loud.vision.v1.InputConfig\0221\n\010features\030\002" - + " \003(\0132\037.google.cloud.vision.v1.Feature\022;\n" - + "\rimage_context\030\003 \001(\0132$.google.cloud.visi" - + "on.v1.ImageContext\022\r\n\005pages\030\004 \003(\005\"\313\001\n\024An" - + "notateFileResponse\0229\n\014input_config\030\001 \001(\013" - + "2#.google.cloud.vision.v1.InputConfig\022@\n" - + "\tresponses\030\002 \003(\0132-.google.cloud.vision.v" - + "1.AnnotateImageResponse\022\023\n\013total_pages\030\003" - + " \001(\005\022!\n\005error\030\004 \001(\0132\022.google.rpc.Status\"" - + "o\n\031BatchAnnotateFilesRequest\022B\n\010requests" - + "\030\001 \003(\0132+.google.cloud.vision.v1.Annotate" - + "FileRequestB\003\340A\002\022\016\n\006parent\030\003 \001(\t\"]\n\032Batc" - + "hAnnotateFilesResponse\022?\n\tresponses\030\001 \003(" - + "\0132,.google.cloud.vision.v1.AnnotateFileR" - + "esponse\"\202\002\n\030AsyncAnnotateFileRequest\0229\n\014" - + "input_config\030\001 \001(\0132#.google.cloud.vision" - + ".v1.InputConfig\0221\n\010features\030\002 \003(\0132\037.goog" - + "le.cloud.vision.v1.Feature\022;\n\rimage_cont" - + "ext\030\003 \001(\0132$.google.cloud.vision.v1.Image" - + "Context\022;\n\routput_config\030\004 \001(\0132$.google." - + "cloud.vision.v1.OutputConfig\"X\n\031AsyncAnn" - + "otateFileResponse\022;\n\routput_config\030\001 \001(\013" - + "2$.google.cloud.vision.v1.OutputConfig\"\270" - + "\001\n\037AsyncBatchAnnotateImagesRequest\022C\n\010re" - + "quests\030\001 \003(\0132,.google.cloud.vision.v1.An" - + "notateImageRequestB\003\340A\002\022@\n\routput_config" - + "\030\002 \001(\0132$.google.cloud.vision.v1.OutputCo" - + "nfigB\003\340A\002\022\016\n\006parent\030\004 \001(\t\"_\n AsyncBatchA" - + "nnotateImagesResponse\022;\n\routput_config\030\001" - + " \001(\0132$.google.cloud.vision.v1.OutputConf" - + "ig\"y\n\036AsyncBatchAnnotateFilesRequest\022G\n\010" - + "requests\030\001 \003(\01320.google.cloud.vision.v1." - + "AsyncAnnotateFileRequestB\003\340A\002\022\016\n\006parent\030" - + "\004 \001(\t\"g\n\037AsyncBatchAnnotateFilesResponse" - + "\022D\n\tresponses\030\001 \003(\01321.google.cloud.visio" - + "n.v1.AsyncAnnotateFileResponse\"h\n\013InputC" - + "onfig\0225\n\ngcs_source\030\001 \001(\0132!.google.cloud" - + ".vision.v1.GcsSource\022\017\n\007content\030\003 \001(\014\022\021\n" - + "\tmime_type\030\002 \001(\t\"c\n\014OutputConfig\022?\n\017gcs_" - + "destination\030\001 \001(\0132&.google.cloud.vision." - + "v1.GcsDestination\022\022\n\nbatch_size\030\002 \001(\005\"\030\n" - + "\tGcsSource\022\013\n\003uri\030\001 \001(\t\"\035\n\016GcsDestinatio" - + "n\022\013\n\003uri\030\001 \001(\t\"\210\002\n\021OperationMetadata\022>\n\005" - + "state\030\001 \001(\0162/.google.cloud.vision.v1.Ope" - + "rationMetadata.State\022/\n\013create_time\030\005 \001(" - + "\0132\032.google.protobuf.Timestamp\022/\n\013update_" - + "time\030\006 \001(\0132\032.google.protobuf.Timestamp\"Q" - + "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007CREATE" - + "D\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\r\n\tCANCELLED\020" - + "\004*e\n\nLikelihood\022\013\n\007UNKNOWN\020\000\022\021\n\rVERY_UNL" - + "IKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006L" - + "IKELY\020\004\022\017\n\013VERY_LIKELY\020\0052\365\n\n\016ImageAnnota" - + "tor\022\223\002\n\023BatchAnnotateImages\0222.google.clo" - + "ud.vision.v1.BatchAnnotateImagesRequest\032" - + "3.google.cloud.vision.v1.BatchAnnotateIm" - + "agesResponse\"\222\001\202\323\344\223\002\200\001\"\023/v1/images:annot" - + "ate:\001*Z8\"3/v1/{parent=projects/*/locatio" - + "ns/*}/images:annotate:\001*Z,\"\'/v1/{parent=" - + "projects/*}/images:annotate:\001*\332A\010request" - + "s\022\214\002\n\022BatchAnnotateFiles\0221.google.cloud." - + "vision.v1.BatchAnnotateFilesRequest\0322.go" - + "ogle.cloud.vision.v1.BatchAnnotateFilesR" - + "esponse\"\216\001\202\323\344\223\002}\"\022/v1/files:annotate:\001*Z" - + "7\"2/v1/{parent=projects/*/locations/*}/f" - + "iles:annotate:\001*Z+\"&/v1/{parent=projects" - + "/*}/files:annotate:\001*\332A\010requests\022\353\002\n\030Asy" - + "ncBatchAnnotateImages\0227.google.cloud.vis" - + "ion.v1.AsyncBatchAnnotateImagesRequest\032\035" - + ".google.longrunning.Operation\"\366\001\202\323\344\223\002\236\001\"" - + "\035/v1/images:asyncBatchAnnotate:\001*ZB\"=/v1" - + "/{parent=projects/*/locations/*}/images:" - + "asyncBatchAnnotate:\001*Z6\"1/v1/{parent=pro" - + "jects/*}/images:asyncBatchAnnotate:\001*\332A\026" - + "requests,output_config\312A5\n AsyncBatchAnn" - + "otateImagesResponse\022\021OperationMetadata\022\327" - + "\002\n\027AsyncBatchAnnotateFiles\0226.google.clou" - + "d.vision.v1.AsyncBatchAnnotateFilesReque" - + "st\032\035.google.longrunning.Operation\"\344\001\202\323\344\223" - + "\002\233\001\"\034/v1/files:asyncBatchAnnotate:\001*ZA\"<" - + "/v1/{parent=projects/*/locations/*}/file" - + "s:asyncBatchAnnotate:\001*Z5\"0/v1/{parent=p" - + "rojects/*}/files:asyncBatchAnnotate:\001*\332A" - + "\010requests\312A4\n\037AsyncBatchAnnotateFilesRes" - + "ponse\022\021OperationMetadata\032v\312A\025vision.goog" - + "leapis.com\322A[https://www.googleapis.com/" - + "auth/cloud-platform,https://www.googleap" - + "is.com/auth/cloud-visionB{\n\032com.google.c" - + "loud.vision.v1B\023ImageAnnotatorProtoP\001Z\n\005state\030\001 \001(" + + "\0162/.google.cloud.vision.v1.OperationMeta" + + "data.State\022/\n\013create_time\030\005 \001(\0132\032.google" + + ".protobuf.Timestamp\022/\n\013update_time\030\006 \001(\013" + + "2\032.google.protobuf.Timestamp\"Q\n\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\013\n\007CREATED\020\001\022\013\n\007RUN" + + "NING\020\002\022\010\n\004DONE\020\003\022\r\n\tCANCELLED\020\004*e\n\nLikel" + + "ihood\022\013\n\007UNKNOWN\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n" + + "\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n" + + "\013VERY_LIKELY\020\0052\365\n\n\016ImageAnnotator\022\223\002\n\023Ba" + + "tchAnnotateImages\0222.google.cloud.vision." + + "v1.BatchAnnotateImagesRequest\0323.google.c" + + "loud.vision.v1.BatchAnnotateImagesRespon" + + "se\"\222\001\202\323\344\223\002\200\001\"\023/v1/images:annotate:\001*Z8\"3" + + "/v1/{parent=projects/*/locations/*}/imag" + + "es:annotate:\001*Z,\"\'/v1/{parent=projects/*" + + "}/images:annotate:\001*\332A\010requests\022\214\002\n\022Batc" + + "hAnnotateFiles\0221.google.cloud.vision.v1." + + "BatchAnnotateFilesRequest\0322.google.cloud" + + ".vision.v1.BatchAnnotateFilesResponse\"\216\001" + + "\202\323\344\223\002}\"\022/v1/files:annotate:\001*Z7\"2/v1/{pa" + + "rent=projects/*/locations/*}/files:annot" + + "ate:\001*Z+\"&/v1/{parent=projects/*}/files:" + + "annotate:\001*\332A\010requests\022\353\002\n\030AsyncBatchAnn" + + "otateImages\0227.google.cloud.vision.v1.Asy" + + "ncBatchAnnotateImagesRequest\032\035.google.lo" + + "ngrunning.Operation\"\366\001\202\323\344\223\002\236\001\"\035/v1/image" + + "s:asyncBatchAnnotate:\001*ZB\"=/v1/{parent=p" + + "rojects/*/locations/*}/images:asyncBatch" + + "Annotate:\001*Z6\"1/v1/{parent=projects/*}/i" + + "mages:asyncBatchAnnotate:\001*\332A\026requests,o" + + "utput_config\312A5\n AsyncBatchAnnotateImage" + + "sResponse\022\021OperationMetadata\022\327\002\n\027AsyncBa" + + "tchAnnotateFiles\0226.google.cloud.vision.v" + + "1.AsyncBatchAnnotateFilesRequest\032\035.googl" + + "e.longrunning.Operation\"\344\001\202\323\344\223\002\233\001\"\034/v1/f" + + "iles:asyncBatchAnnotate:\001*ZA\" bu super(builder); } - private TextDetectionParams() {} + private TextDetectionParams() { + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -59,6 +61,7 @@ private TextDetectionParams( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -74,6 +77,16 @@ private TextDetectionParams( enableTextDetectionConfidenceScore_ = input.readBool(); break; } + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + advancedOcrOptions_.add(s); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -90,6 +103,9 @@ private TextDetectionParams( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = advancedOcrOptions_.getUnmodifiableView(); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -130,6 +146,67 @@ public boolean getEnableTextDetectionConfidenceScore() { return enableTextDetectionConfidenceScore_; } + public static final int ADVANCED_OCR_OPTIONS_FIELD_NUMBER = 11; + private com.google.protobuf.LazyStringList advancedOcrOptions_; + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + public com.google.protobuf.ProtocolStringList getAdvancedOcrOptionsList() { + return advancedOcrOptions_; + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + public int getAdvancedOcrOptionsCount() { + return advancedOcrOptions_.size(); + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + public java.lang.String getAdvancedOcrOptions(int index) { + return advancedOcrOptions_.get(index); + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + public com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index) { + return advancedOcrOptions_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -147,6 +224,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enableTextDetectionConfidenceScore_ != false) { output.writeBool(9, enableTextDetectionConfidenceScore_); } + for (int i = 0; i < advancedOcrOptions_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, advancedOcrOptions_.getRaw(i)); + } unknownFields.writeTo(output); } @@ -161,6 +241,14 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeBoolSize( 9, enableTextDetectionConfidenceScore_); } + { + int dataSize = 0; + for (int i = 0; i < advancedOcrOptions_.size(); i++) { + dataSize += computeStringSizeNoTag(advancedOcrOptions_.getRaw(i)); + } + size += dataSize; + size += 1 * getAdvancedOcrOptionsList().size(); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -179,6 +267,7 @@ public boolean equals(final java.lang.Object obj) { if (getEnableTextDetectionConfidenceScore() != other.getEnableTextDetectionConfidenceScore()) return false; + if (!getAdvancedOcrOptionsList().equals(other.getAdvancedOcrOptionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -194,6 +283,10 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableTextDetectionConfidenceScore()); + if (getAdvancedOcrOptionsCount() > 0) { + hash = (37 * hash) + ADVANCED_OCR_OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getAdvancedOcrOptionsList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -342,6 +435,8 @@ public Builder clear() { super.clear(); enableTextDetectionConfidenceScore_ = false; + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -369,7 +464,13 @@ public com.google.cloud.vision.v1.TextDetectionParams build() { public com.google.cloud.vision.v1.TextDetectionParams buildPartial() { com.google.cloud.vision.v1.TextDetectionParams result = new com.google.cloud.vision.v1.TextDetectionParams(this); + int from_bitField0_ = bitField0_; result.enableTextDetectionConfidenceScore_ = enableTextDetectionConfidenceScore_; + if (((bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = advancedOcrOptions_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.advancedOcrOptions_ = advancedOcrOptions_; onBuilt(); return result; } @@ -422,6 +523,16 @@ public Builder mergeFrom(com.google.cloud.vision.v1.TextDetectionParams other) { if (other.getEnableTextDetectionConfidenceScore() != false) { setEnableTextDetectionConfidenceScore(other.getEnableTextDetectionConfidenceScore()); } + if (!other.advancedOcrOptions_.isEmpty()) { + if (advancedOcrOptions_.isEmpty()) { + advancedOcrOptions_ = other.advancedOcrOptions_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.addAll(other.advancedOcrOptions_); + } + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -451,6 +562,8 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private boolean enableTextDetectionConfidenceScore_; /** * @@ -509,6 +622,174 @@ public Builder clearEnableTextDetectionConfidenceScore() { return this; } + private com.google.protobuf.LazyStringList advancedOcrOptions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureAdvancedOcrOptionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = new com.google.protobuf.LazyStringArrayList(advancedOcrOptions_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + public com.google.protobuf.ProtocolStringList getAdvancedOcrOptionsList() { + return advancedOcrOptions_.getUnmodifiableView(); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + public int getAdvancedOcrOptionsCount() { + return advancedOcrOptions_.size(); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + public java.lang.String getAdvancedOcrOptions(int index) { + return advancedOcrOptions_.get(index); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + public com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index) { + return advancedOcrOptions_.getByteString(index); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index to set the value at. + * @param value The advancedOcrOptions to set. + * @return This builder for chaining. + */ + public Builder setAdvancedOcrOptions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param value The advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAdvancedOcrOptions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param values The advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAllAdvancedOcrOptions(java.lang.Iterable values) { + ensureAdvancedOcrOptionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, advancedOcrOptions_); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return This builder for chaining. + */ + public Builder clearAdvancedOcrOptions() { + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param value The bytes of the advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAdvancedOcrOptionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.add(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-vision-v1/src/main/java/com/google/cloud/vision/v1/TextDetectionParamsOrBuilder.java b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/TextDetectionParamsOrBuilder.java index 1afe75377..7d038b80b 100644 --- a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/TextDetectionParamsOrBuilder.java +++ b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/TextDetectionParamsOrBuilder.java @@ -37,4 +37,55 @@ public interface TextDetectionParamsOrBuilder * @return The enableTextDetectionConfidenceScore. */ boolean getEnableTextDetectionConfidenceScore(); + + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + java.util.List getAdvancedOcrOptionsList(); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + int getAdvancedOcrOptionsCount(); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + java.lang.String getAdvancedOcrOptions(int index); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index); } diff --git a/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/image_annotator.proto b/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/image_annotator.proto index a70c7fdc8..10464b0e0 100644 --- a/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/image_annotator.proto +++ b/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/image_annotator.proto @@ -654,6 +654,9 @@ message TextDetectionParams { // DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence // score for TEXT_DETECTION as well. bool enable_text_detection_confidence_score = 9; + + // A list of advanced OCR options to fine-tune OCR behavior. + repeated string advanced_ocr_options = 11; } // Image context and/or feature-specific parameters. diff --git a/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorProto.java b/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorProto.java index a2d1fae31..6bd7d0d6a 100644 --- a/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorProto.java +++ b/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorProto.java @@ -231,63 +231,64 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ";\n\ncrop_hints\030\001 \003(\0132\'.google.cloud.visio" + "n.v1p1beta1.CropHint\"(\n\017CropHintsParams\022" + "\025\n\raspect_ratios\030\001 \003(\002\"1\n\022WebDetectionPa" - + "rams\022\033\n\023include_geo_results\030\002 \001(\010\"E\n\023Tex" + + "rams\022\033\n\023include_geo_results\030\002 \001(\010\"c\n\023Tex" + "tDetectionParams\022.\n&enable_text_detectio" - + "n_confidence_score\030\t \001(\010\"\330\002\n\014ImageContex" - + "t\022A\n\rlat_long_rect\030\001 \001(\0132*.google.cloud." - + "vision.v1p1beta1.LatLongRect\022\026\n\016language" - + "_hints\030\002 \003(\t\022I\n\021crop_hints_params\030\004 \001(\0132" - + "..google.cloud.vision.v1p1beta1.CropHint" - + "sParams\022O\n\024web_detection_params\030\006 \001(\01321." - + "google.cloud.vision.v1p1beta1.WebDetecti" - + "onParams\022Q\n\025text_detection_params\030\014 \001(\0132" - + "2.google.cloud.vision.v1p1beta1.TextDete" - + "ctionParams\"\311\001\n\024AnnotateImageRequest\0223\n\005" - + "image\030\001 \001(\0132$.google.cloud.vision.v1p1be" - + "ta1.Image\0228\n\010features\030\002 \003(\0132&.google.clo" - + "ud.vision.v1p1beta1.Feature\022B\n\rimage_con" - + "text\030\003 \001(\0132+.google.cloud.vision.v1p1bet" - + "a1.ImageContext\"\302\006\n\025AnnotateImageRespons" - + "e\022G\n\020face_annotations\030\001 \003(\0132-.google.clo" - + "ud.vision.v1p1beta1.FaceAnnotation\022M\n\024la" - + "ndmark_annotations\030\002 \003(\0132/.google.cloud." - + "vision.v1p1beta1.EntityAnnotation\022I\n\020log" - + "o_annotations\030\003 \003(\0132/.google.cloud.visio" - + "n.v1p1beta1.EntityAnnotation\022J\n\021label_an" - + "notations\030\004 \003(\0132/.google.cloud.vision.v1" - + "p1beta1.EntityAnnotation\022I\n\020text_annotat" - + "ions\030\005 \003(\0132/.google.cloud.vision.v1p1bet" - + "a1.EntityAnnotation\022K\n\024full_text_annotat" - + "ion\030\014 \001(\0132-.google.cloud.vision.v1p1beta" - + "1.TextAnnotation\022S\n\026safe_search_annotati" - + "on\030\006 \001(\01323.google.cloud.vision.v1p1beta1" - + ".SafeSearchAnnotation\022S\n\033image_propertie" - + "s_annotation\030\010 \001(\0132..google.cloud.vision" - + ".v1p1beta1.ImageProperties\022Q\n\025crop_hints" - + "_annotation\030\013 \001(\01322.google.cloud.vision." - + "v1p1beta1.CropHintsAnnotation\022B\n\rweb_det" - + "ection\030\r \001(\0132+.google.cloud.vision.v1p1b" - + "eta1.WebDetection\022!\n\005error\030\t \001(\0132\022.googl" - + "e.rpc.Status\"h\n\032BatchAnnotateImagesReque" - + "st\022J\n\010requests\030\001 \003(\01323.google.cloud.visi" - + "on.v1p1beta1.AnnotateImageRequestB\003\340A\002\"f" - + "\n\033BatchAnnotateImagesResponse\022G\n\trespons" - + "es\030\001 \003(\01324.google.cloud.vision.v1p1beta1" - + ".AnnotateImageResponse*e\n\nLikelihood\022\013\n\007" - + "UNKNOWN\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY" - + "\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIK" - + "ELY\020\0052\311\002\n\016ImageAnnotator\022\276\001\n\023BatchAnnota" - + "teImages\0229.google.cloud.vision.v1p1beta1" - + ".BatchAnnotateImagesRequest\032:.google.clo" - + "ud.vision.v1p1beta1.BatchAnnotateImagesR" - + "esponse\"0\202\323\344\223\002\037\"\032/v1p1beta1/images:annot" - + "ate:\001*\332A\010requests\032v\312A\025vision.googleapis." - + "com\322A[https://www.googleapis.com/auth/cl" - + "oud-platform,https://www.googleapis.com/" - + "auth/cloud-visionB\202\001\n!com.google.cloud.v" - + "ision.v1p1beta1B\023ImageAnnotatorProtoP\001ZC" - + "google.golang.org/genproto/googleapis/cl" - + "oud/vision/v1p1beta1;vision\370\001\001b\006proto3" + + "n_confidence_score\030\t \001(\010\022\034\n\024advanced_ocr" + + "_options\030\013 \003(\t\"\330\002\n\014ImageContext\022A\n\rlat_l" + + "ong_rect\030\001 \001(\0132*.google.cloud.vision.v1p" + + "1beta1.LatLongRect\022\026\n\016language_hints\030\002 \003" + + "(\t\022I\n\021crop_hints_params\030\004 \001(\0132..google.c" + + "loud.vision.v1p1beta1.CropHintsParams\022O\n" + + "\024web_detection_params\030\006 \001(\01321.google.clo" + + "ud.vision.v1p1beta1.WebDetectionParams\022Q" + + "\n\025text_detection_params\030\014 \001(\01322.google.c" + + "loud.vision.v1p1beta1.TextDetectionParam" + + "s\"\311\001\n\024AnnotateImageRequest\0223\n\005image\030\001 \001(" + + "\0132$.google.cloud.vision.v1p1beta1.Image\022" + + "8\n\010features\030\002 \003(\0132&.google.cloud.vision." + + "v1p1beta1.Feature\022B\n\rimage_context\030\003 \001(\013" + + "2+.google.cloud.vision.v1p1beta1.ImageCo" + + "ntext\"\302\006\n\025AnnotateImageResponse\022G\n\020face_" + + "annotations\030\001 \003(\0132-.google.cloud.vision." + + "v1p1beta1.FaceAnnotation\022M\n\024landmark_ann" + + "otations\030\002 \003(\0132/.google.cloud.vision.v1p" + + "1beta1.EntityAnnotation\022I\n\020logo_annotati" + + "ons\030\003 \003(\0132/.google.cloud.vision.v1p1beta" + + "1.EntityAnnotation\022J\n\021label_annotations\030" + + "\004 \003(\0132/.google.cloud.vision.v1p1beta1.En" + + "tityAnnotation\022I\n\020text_annotations\030\005 \003(\013" + + "2/.google.cloud.vision.v1p1beta1.EntityA" + + "nnotation\022K\n\024full_text_annotation\030\014 \001(\0132" + + "-.google.cloud.vision.v1p1beta1.TextAnno" + + "tation\022S\n\026safe_search_annotation\030\006 \001(\01323" + + ".google.cloud.vision.v1p1beta1.SafeSearc" + + "hAnnotation\022S\n\033image_properties_annotati" + + "on\030\010 \001(\0132..google.cloud.vision.v1p1beta1" + + ".ImageProperties\022Q\n\025crop_hints_annotatio" + + "n\030\013 \001(\01322.google.cloud.vision.v1p1beta1." + + "CropHintsAnnotation\022B\n\rweb_detection\030\r \001" + + "(\0132+.google.cloud.vision.v1p1beta1.WebDe" + + "tection\022!\n\005error\030\t \001(\0132\022.google.rpc.Stat" + + "us\"h\n\032BatchAnnotateImagesRequest\022J\n\010requ" + + "ests\030\001 \003(\01323.google.cloud.vision.v1p1bet" + + "a1.AnnotateImageRequestB\003\340A\002\"f\n\033BatchAnn" + + "otateImagesResponse\022G\n\tresponses\030\001 \003(\01324" + + ".google.cloud.vision.v1p1beta1.AnnotateI" + + "mageResponse*e\n\nLikelihood\022\013\n\007UNKNOWN\020\000\022" + + "\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSS" + + "IBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\0052\311\002\n\016" + + "ImageAnnotator\022\276\001\n\023BatchAnnotateImages\0229" + + ".google.cloud.vision.v1p1beta1.BatchAnno" + + "tateImagesRequest\032:.google.cloud.vision." + + "v1p1beta1.BatchAnnotateImagesResponse\"0\202" + + "\323\344\223\002\037\"\032/v1p1beta1/images:annotate:\001*\332A\010r" + + "equests\032v\312A\025vision.googleapis.com\322A[http" + + "s://www.googleapis.com/auth/cloud-platfo" + + "rm,https://www.googleapis.com/auth/cloud" + + "-visionB\202\001\n!com.google.cloud.vision.v1p1" + + "beta1B\023ImageAnnotatorProtoP\001ZCgoogle.gol" + + "ang.org/genproto/googleapis/cloud/vision" + + "/v1p1beta1;vision\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -469,7 +470,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vision_v1p1beta1_TextDetectionParams_descriptor, new java.lang.String[] { - "EnableTextDetectionConfidenceScore", + "EnableTextDetectionConfidenceScore", "AdvancedOcrOptions", }); internal_static_google_cloud_vision_v1p1beta1_ImageContext_descriptor = getDescriptor().getMessageTypes().get(17); diff --git a/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextDetectionParams.java b/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextDetectionParams.java index cb68cab87..7a53543f6 100644 --- a/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextDetectionParams.java +++ b/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextDetectionParams.java @@ -38,7 +38,9 @@ private TextDetectionParams(com.google.protobuf.GeneratedMessageV3.Builder bu super(builder); } - private TextDetectionParams() {} + private TextDetectionParams() { + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -59,6 +61,7 @@ private TextDetectionParams( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -74,6 +77,16 @@ private TextDetectionParams( enableTextDetectionConfidenceScore_ = input.readBool(); break; } + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + advancedOcrOptions_.add(s); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -90,6 +103,9 @@ private TextDetectionParams( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = advancedOcrOptions_.getUnmodifiableView(); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -130,6 +146,67 @@ public boolean getEnableTextDetectionConfidenceScore() { return enableTextDetectionConfidenceScore_; } + public static final int ADVANCED_OCR_OPTIONS_FIELD_NUMBER = 11; + private com.google.protobuf.LazyStringList advancedOcrOptions_; + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + public com.google.protobuf.ProtocolStringList getAdvancedOcrOptionsList() { + return advancedOcrOptions_; + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + public int getAdvancedOcrOptionsCount() { + return advancedOcrOptions_.size(); + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + public java.lang.String getAdvancedOcrOptions(int index) { + return advancedOcrOptions_.get(index); + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + public com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index) { + return advancedOcrOptions_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -147,6 +224,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enableTextDetectionConfidenceScore_ != false) { output.writeBool(9, enableTextDetectionConfidenceScore_); } + for (int i = 0; i < advancedOcrOptions_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, advancedOcrOptions_.getRaw(i)); + } unknownFields.writeTo(output); } @@ -161,6 +241,14 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeBoolSize( 9, enableTextDetectionConfidenceScore_); } + { + int dataSize = 0; + for (int i = 0; i < advancedOcrOptions_.size(); i++) { + dataSize += computeStringSizeNoTag(advancedOcrOptions_.getRaw(i)); + } + size += dataSize; + size += 1 * getAdvancedOcrOptionsList().size(); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -179,6 +267,7 @@ public boolean equals(final java.lang.Object obj) { if (getEnableTextDetectionConfidenceScore() != other.getEnableTextDetectionConfidenceScore()) return false; + if (!getAdvancedOcrOptionsList().equals(other.getAdvancedOcrOptionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -194,6 +283,10 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableTextDetectionConfidenceScore()); + if (getAdvancedOcrOptionsCount() > 0) { + hash = (37 * hash) + ADVANCED_OCR_OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getAdvancedOcrOptionsList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -343,6 +436,8 @@ public Builder clear() { super.clear(); enableTextDetectionConfidenceScore_ = false; + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -370,7 +465,13 @@ public com.google.cloud.vision.v1p1beta1.TextDetectionParams build() { public com.google.cloud.vision.v1p1beta1.TextDetectionParams buildPartial() { com.google.cloud.vision.v1p1beta1.TextDetectionParams result = new com.google.cloud.vision.v1p1beta1.TextDetectionParams(this); + int from_bitField0_ = bitField0_; result.enableTextDetectionConfidenceScore_ = enableTextDetectionConfidenceScore_; + if (((bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = advancedOcrOptions_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.advancedOcrOptions_ = advancedOcrOptions_; onBuilt(); return result; } @@ -424,6 +525,16 @@ public Builder mergeFrom(com.google.cloud.vision.v1p1beta1.TextDetectionParams o if (other.getEnableTextDetectionConfidenceScore() != false) { setEnableTextDetectionConfidenceScore(other.getEnableTextDetectionConfidenceScore()); } + if (!other.advancedOcrOptions_.isEmpty()) { + if (advancedOcrOptions_.isEmpty()) { + advancedOcrOptions_ = other.advancedOcrOptions_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.addAll(other.advancedOcrOptions_); + } + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -454,6 +565,8 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private boolean enableTextDetectionConfidenceScore_; /** * @@ -512,6 +625,174 @@ public Builder clearEnableTextDetectionConfidenceScore() { return this; } + private com.google.protobuf.LazyStringList advancedOcrOptions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureAdvancedOcrOptionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = new com.google.protobuf.LazyStringArrayList(advancedOcrOptions_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + public com.google.protobuf.ProtocolStringList getAdvancedOcrOptionsList() { + return advancedOcrOptions_.getUnmodifiableView(); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + public int getAdvancedOcrOptionsCount() { + return advancedOcrOptions_.size(); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + public java.lang.String getAdvancedOcrOptions(int index) { + return advancedOcrOptions_.get(index); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + public com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index) { + return advancedOcrOptions_.getByteString(index); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index to set the value at. + * @param value The advancedOcrOptions to set. + * @return This builder for chaining. + */ + public Builder setAdvancedOcrOptions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param value The advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAdvancedOcrOptions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param values The advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAllAdvancedOcrOptions(java.lang.Iterable values) { + ensureAdvancedOcrOptionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, advancedOcrOptions_); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return This builder for chaining. + */ + public Builder clearAdvancedOcrOptions() { + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param value The bytes of the advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAdvancedOcrOptionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.add(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-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextDetectionParamsOrBuilder.java b/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextDetectionParamsOrBuilder.java index 61f5c77a7..df752eec7 100644 --- a/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextDetectionParamsOrBuilder.java +++ b/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextDetectionParamsOrBuilder.java @@ -37,4 +37,55 @@ public interface TextDetectionParamsOrBuilder * @return The enableTextDetectionConfidenceScore. */ boolean getEnableTextDetectionConfidenceScore(); + + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + java.util.List getAdvancedOcrOptionsList(); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + int getAdvancedOcrOptionsCount(); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + java.lang.String getAdvancedOcrOptions(int index); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index); } diff --git a/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/image_annotator.proto b/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/image_annotator.proto index daf6a2d27..729a0fa08 100644 --- a/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/image_annotator.proto +++ b/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/image_annotator.proto @@ -498,6 +498,9 @@ message TextDetectionParams { // DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence // score for TEXT_DETECTION as well. bool enable_text_detection_confidence_score = 9; + + // A list of advanced OCR options to fine-tune OCR behavior. + repeated string advanced_ocr_options = 11; } // Image context and/or feature-specific parameters. diff --git a/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorProto.java b/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorProto.java index 413a66f58..625320e96 100644 --- a/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorProto.java +++ b/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorProto.java @@ -277,105 +277,106 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nts\030\001 \003(\0132\'.google.cloud.vision.v1p2beta" + "1.CropHint\"(\n\017CropHintsParams\022\025\n\raspect_" + "ratios\030\001 \003(\002\"1\n\022WebDetectionParams\022\033\n\023in" - + "clude_geo_results\030\002 \001(\010\"E\n\023TextDetection" + + "clude_geo_results\030\002 \001(\010\"c\n\023TextDetection" + "Params\022.\n&enable_text_detection_confiden" - + "ce_score\030\t \001(\010\"\330\002\n\014ImageContext\022A\n\rlat_l" - + "ong_rect\030\001 \001(\0132*.google.cloud.vision.v1p" - + "2beta1.LatLongRect\022\026\n\016language_hints\030\002 \003" - + "(\t\022I\n\021crop_hints_params\030\004 \001(\0132..google.c" - + "loud.vision.v1p2beta1.CropHintsParams\022O\n" - + "\024web_detection_params\030\006 \001(\01321.google.clo" - + "ud.vision.v1p2beta1.WebDetectionParams\022Q" - + "\n\025text_detection_params\030\014 \001(\01322.google.c" - + "loud.vision.v1p2beta1.TextDetectionParam" - + "s\"\311\001\n\024AnnotateImageRequest\0223\n\005image\030\001 \001(" - + "\0132$.google.cloud.vision.v1p2beta1.Image\022" - + "8\n\010features\030\002 \003(\0132&.google.cloud.vision." - + "v1p2beta1.Feature\022B\n\rimage_context\030\003 \001(\013" - + "2+.google.cloud.vision.v1p2beta1.ImageCo" - + "ntext\":\n\026ImageAnnotationContext\022\013\n\003uri\030\001" - + " \001(\t\022\023\n\013page_number\030\002 \001(\005\"\212\007\n\025AnnotateIm" - + "ageResponse\022G\n\020face_annotations\030\001 \003(\0132-." - + "google.cloud.vision.v1p2beta1.FaceAnnota" - + "tion\022M\n\024landmark_annotations\030\002 \003(\0132/.goo" - + "gle.cloud.vision.v1p2beta1.EntityAnnotat" - + "ion\022I\n\020logo_annotations\030\003 \003(\0132/.google.c" - + "loud.vision.v1p2beta1.EntityAnnotation\022J" - + "\n\021label_annotations\030\004 \003(\0132/.google.cloud" - + ".vision.v1p2beta1.EntityAnnotation\022I\n\020te" - + "xt_annotations\030\005 \003(\0132/.google.cloud.visi" - + "on.v1p2beta1.EntityAnnotation\022K\n\024full_te" - + "xt_annotation\030\014 \001(\0132-.google.cloud.visio" - + "n.v1p2beta1.TextAnnotation\022S\n\026safe_searc" - + "h_annotation\030\006 \001(\01323.google.cloud.vision" - + ".v1p2beta1.SafeSearchAnnotation\022S\n\033image" - + "_properties_annotation\030\010 \001(\0132..google.cl" - + "oud.vision.v1p2beta1.ImageProperties\022Q\n\025" - + "crop_hints_annotation\030\013 \001(\01322.google.clo" - + "ud.vision.v1p2beta1.CropHintsAnnotation\022" - + "B\n\rweb_detection\030\r \001(\0132+.google.cloud.vi" - + "sion.v1p2beta1.WebDetection\022!\n\005error\030\t \001" - + "(\0132\022.google.rpc.Status\022F\n\007context\030\025 \001(\0132" - + "5.google.cloud.vision.v1p2beta1.ImageAnn" - + "otationContext\"\241\001\n\024AnnotateFileResponse\022" - + "@\n\014input_config\030\001 \001(\0132*.google.cloud.vis" - + "ion.v1p2beta1.InputConfig\022G\n\tresponses\030\002" + + "ce_score\030\t \001(\010\022\034\n\024advanced_ocr_options\030\013" + + " \003(\t\"\330\002\n\014ImageContext\022A\n\rlat_long_rect\030\001" + + " \001(\0132*.google.cloud.vision.v1p2beta1.Lat" + + "LongRect\022\026\n\016language_hints\030\002 \003(\t\022I\n\021crop" + + "_hints_params\030\004 \001(\0132..google.cloud.visio" + + "n.v1p2beta1.CropHintsParams\022O\n\024web_detec" + + "tion_params\030\006 \001(\01321.google.cloud.vision." + + "v1p2beta1.WebDetectionParams\022Q\n\025text_det" + + "ection_params\030\014 \001(\01322.google.cloud.visio" + + "n.v1p2beta1.TextDetectionParams\"\311\001\n\024Anno" + + "tateImageRequest\0223\n\005image\030\001 \001(\0132$.google" + + ".cloud.vision.v1p2beta1.Image\0228\n\010feature" + + "s\030\002 \003(\0132&.google.cloud.vision.v1p2beta1." + + "Feature\022B\n\rimage_context\030\003 \001(\0132+.google." + + "cloud.vision.v1p2beta1.ImageContext\":\n\026I" + + "mageAnnotationContext\022\013\n\003uri\030\001 \001(\t\022\023\n\013pa" + + "ge_number\030\002 \001(\005\"\212\007\n\025AnnotateImageRespons" + + "e\022G\n\020face_annotations\030\001 \003(\0132-.google.clo" + + "ud.vision.v1p2beta1.FaceAnnotation\022M\n\024la" + + "ndmark_annotations\030\002 \003(\0132/.google.cloud." + + "vision.v1p2beta1.EntityAnnotation\022I\n\020log" + + "o_annotations\030\003 \003(\0132/.google.cloud.visio" + + "n.v1p2beta1.EntityAnnotation\022J\n\021label_an" + + "notations\030\004 \003(\0132/.google.cloud.vision.v1" + + "p2beta1.EntityAnnotation\022I\n\020text_annotat" + + "ions\030\005 \003(\0132/.google.cloud.vision.v1p2bet" + + "a1.EntityAnnotation\022K\n\024full_text_annotat" + + "ion\030\014 \001(\0132-.google.cloud.vision.v1p2beta" + + "1.TextAnnotation\022S\n\026safe_search_annotati" + + "on\030\006 \001(\01323.google.cloud.vision.v1p2beta1" + + ".SafeSearchAnnotation\022S\n\033image_propertie" + + "s_annotation\030\010 \001(\0132..google.cloud.vision" + + ".v1p2beta1.ImageProperties\022Q\n\025crop_hints" + + "_annotation\030\013 \001(\01322.google.cloud.vision." + + "v1p2beta1.CropHintsAnnotation\022B\n\rweb_det" + + "ection\030\r \001(\0132+.google.cloud.vision.v1p2b" + + "eta1.WebDetection\022!\n\005error\030\t \001(\0132\022.googl" + + "e.rpc.Status\022F\n\007context\030\025 \001(\01325.google.c" + + "loud.vision.v1p2beta1.ImageAnnotationCon" + + "text\"\241\001\n\024AnnotateFileResponse\022@\n\014input_c" + + "onfig\030\001 \001(\0132*.google.cloud.vision.v1p2be" + + "ta1.InputConfig\022G\n\tresponses\030\002 \003(\01324.goo" + + "gle.cloud.vision.v1p2beta1.AnnotateImage" + + "Response\"h\n\032BatchAnnotateImagesRequest\022J" + + "\n\010requests\030\001 \003(\01323.google.cloud.vision.v" + + "1p2beta1.AnnotateImageRequestB\003\340A\002\"f\n\033Ba" + + "tchAnnotateImagesResponse\022G\n\tresponses\030\001" + " \003(\01324.google.cloud.vision.v1p2beta1.Ann" - + "otateImageResponse\"h\n\032BatchAnnotateImage" - + "sRequest\022J\n\010requests\030\001 \003(\01323.google.clou" - + "d.vision.v1p2beta1.AnnotateImageRequestB" - + "\003\340A\002\"f\n\033BatchAnnotateImagesResponse\022G\n\tr" - + "esponses\030\001 \003(\01324.google.cloud.vision.v1p" - + "2beta1.AnnotateImageResponse\"\236\002\n\030AsyncAn" - + "notateFileRequest\022@\n\014input_config\030\001 \001(\0132" - + "*.google.cloud.vision.v1p2beta1.InputCon" - + "fig\0228\n\010features\030\002 \003(\0132&.google.cloud.vis" - + "ion.v1p2beta1.Feature\022B\n\rimage_context\030\003" - + " \001(\0132+.google.cloud.vision.v1p2beta1.Ima" - + "geContext\022B\n\routput_config\030\004 \001(\0132+.googl" - + "e.cloud.vision.v1p2beta1.OutputConfig\"_\n" - + "\031AsyncAnnotateFileResponse\022B\n\routput_con" - + "fig\030\001 \001(\0132+.google.cloud.vision.v1p2beta" - + "1.OutputConfig\"p\n\036AsyncBatchAnnotateFile" - + "sRequest\022N\n\010requests\030\001 \003(\01327.google.clou" - + "d.vision.v1p2beta1.AsyncAnnotateFileRequ" - + "estB\003\340A\002\"n\n\037AsyncBatchAnnotateFilesRespo" - + "nse\022K\n\tresponses\030\001 \003(\01328.google.cloud.vi" - + "sion.v1p2beta1.AsyncAnnotateFileResponse" - + "\"^\n\013InputConfig\022<\n\ngcs_source\030\001 \001(\0132(.go" - + "ogle.cloud.vision.v1p2beta1.GcsSource\022\021\n" - + "\tmime_type\030\002 \001(\t\"j\n\014OutputConfig\022F\n\017gcs_" - + "destination\030\001 \001(\0132-.google.cloud.vision." - + "v1p2beta1.GcsDestination\022\022\n\nbatch_size\030\002" - + " \001(\005\"\030\n\tGcsSource\022\013\n\003uri\030\001 \001(\t\"\035\n\016GcsDes" - + "tination\022\013\n\003uri\030\001 \001(\t\"\217\002\n\021OperationMetad" - + "ata\022E\n\005state\030\001 \001(\01626.google.cloud.vision" - + ".v1p2beta1.OperationMetadata.State\022/\n\013cr" - + "eate_time\030\005 \001(\0132\032.google.protobuf.Timest" - + "amp\022/\n\013update_time\030\006 \001(\0132\032.google.protob" - + "uf.Timestamp\"Q\n\005State\022\025\n\021STATE_UNSPECIFI" - + "ED\020\000\022\013\n\007CREATED\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003" - + "\022\r\n\tCANCELLED\020\004*e\n\nLikelihood\022\013\n\007UNKNOWN" - + "\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010P" - + "OSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\0052\265" - + "\004\n\016ImageAnnotator\022\276\001\n\023BatchAnnotateImage" - + "s\0229.google.cloud.vision.v1p2beta1.BatchA" - + "nnotateImagesRequest\032:.google.cloud.visi" - + "on.v1p2beta1.BatchAnnotateImagesResponse" - + "\"0\202\323\344\223\002\037\"\032/v1p2beta1/images:annotate:\001*\332" - + "A\010requests\022\351\001\n\027AsyncBatchAnnotateFiles\022=" - + ".google.cloud.vision.v1p2beta1.AsyncBatc" - + "hAnnotateFilesRequest\032\035.google.longrunni" - + "ng.Operation\"p\202\323\344\223\002(\"#/v1p2beta1/files:a" - + "syncBatchAnnotate:\001*\332A\010requests\312A4\n\037Asyn" - + "cBatchAnnotateFilesResponse\022\021OperationMe" - + "tadata\032v\312A\025vision.googleapis.com\322A[https" - + "://www.googleapis.com/auth/cloud-platfor" - + "m,https://www.googleapis.com/auth/cloud-" - + "visionB\202\001\n!com.google.cloud.vision.v1p2b" - + "eta1B\023ImageAnnotatorProtoP\001ZCgoogle.gola" - + "ng.org/genproto/googleapis/cloud/vision/" - + "v1p2beta1;vision\370\001\001b\006proto3" + + "otateImageResponse\"\236\002\n\030AsyncAnnotateFile" + + "Request\022@\n\014input_config\030\001 \001(\0132*.google.c" + + "loud.vision.v1p2beta1.InputConfig\0228\n\010fea" + + "tures\030\002 \003(\0132&.google.cloud.vision.v1p2be" + + "ta1.Feature\022B\n\rimage_context\030\003 \001(\0132+.goo" + + "gle.cloud.vision.v1p2beta1.ImageContext\022" + + "B\n\routput_config\030\004 \001(\0132+.google.cloud.vi" + + "sion.v1p2beta1.OutputConfig\"_\n\031AsyncAnno" + + "tateFileResponse\022B\n\routput_config\030\001 \001(\0132" + + "+.google.cloud.vision.v1p2beta1.OutputCo" + + "nfig\"p\n\036AsyncBatchAnnotateFilesRequest\022N" + + "\n\010requests\030\001 \003(\01327.google.cloud.vision.v" + + "1p2beta1.AsyncAnnotateFileRequestB\003\340A\002\"n" + + "\n\037AsyncBatchAnnotateFilesResponse\022K\n\tres" + + "ponses\030\001 \003(\01328.google.cloud.vision.v1p2b" + + "eta1.AsyncAnnotateFileResponse\"^\n\013InputC" + + "onfig\022<\n\ngcs_source\030\001 \001(\0132(.google.cloud" + + ".vision.v1p2beta1.GcsSource\022\021\n\tmime_type" + + "\030\002 \001(\t\"j\n\014OutputConfig\022F\n\017gcs_destinatio" + + "n\030\001 \001(\0132-.google.cloud.vision.v1p2beta1." + + "GcsDestination\022\022\n\nbatch_size\030\002 \001(\005\"\030\n\tGc" + + "sSource\022\013\n\003uri\030\001 \001(\t\"\035\n\016GcsDestination\022\013" + + "\n\003uri\030\001 \001(\t\"\217\002\n\021OperationMetadata\022E\n\005sta" + + "te\030\001 \001(\01626.google.cloud.vision.v1p2beta1" + + ".OperationMetadata.State\022/\n\013create_time\030" + + "\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013upd" + + "ate_time\030\006 \001(\0132\032.google.protobuf.Timesta" + + "mp\"Q\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007CR" + + "EATED\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\r\n\tCANCEL" + + "LED\020\004*e\n\nLikelihood\022\013\n\007UNKNOWN\020\000\022\021\n\rVERY" + + "_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022" + + "\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\0052\265\004\n\016ImageAn" + + "notator\022\276\001\n\023BatchAnnotateImages\0229.google" + + ".cloud.vision.v1p2beta1.BatchAnnotateIma" + + "gesRequest\032:.google.cloud.vision.v1p2bet" + + "a1.BatchAnnotateImagesResponse\"0\202\323\344\223\002\037\"\032" + + "/v1p2beta1/images:annotate:\001*\332A\010requests" + + "\022\351\001\n\027AsyncBatchAnnotateFiles\022=.google.cl" + + "oud.vision.v1p2beta1.AsyncBatchAnnotateF" + + "ilesRequest\032\035.google.longrunning.Operati" + + "on\"p\202\323\344\223\002(\"#/v1p2beta1/files:asyncBatchA" + + "nnotate:\001*\332A\010requests\312A4\n\037AsyncBatchAnno" + + "tateFilesResponse\022\021OperationMetadata\032v\312A" + + "\025vision.googleapis.com\322A[https://www.goo" + + "gleapis.com/auth/cloud-platform,https://" + + "www.googleapis.com/auth/cloud-visionB\202\001\n" + + "!com.google.cloud.vision.v1p2beta1B\023Imag" + + "eAnnotatorProtoP\001ZCgoogle.golang.org/gen" + + "proto/googleapis/cloud/vision/v1p2beta1;" + + "vision\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -559,7 +560,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vision_v1p2beta1_TextDetectionParams_descriptor, new java.lang.String[] { - "EnableTextDetectionConfidenceScore", + "EnableTextDetectionConfidenceScore", "AdvancedOcrOptions", }); internal_static_google_cloud_vision_v1p2beta1_ImageContext_descriptor = getDescriptor().getMessageTypes().get(17); diff --git a/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextDetectionParams.java b/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextDetectionParams.java index e9606418c..27ece1398 100644 --- a/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextDetectionParams.java +++ b/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextDetectionParams.java @@ -38,7 +38,9 @@ private TextDetectionParams(com.google.protobuf.GeneratedMessageV3.Builder bu super(builder); } - private TextDetectionParams() {} + private TextDetectionParams() { + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -59,6 +61,7 @@ private TextDetectionParams( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -74,6 +77,16 @@ private TextDetectionParams( enableTextDetectionConfidenceScore_ = input.readBool(); break; } + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + advancedOcrOptions_.add(s); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -90,6 +103,9 @@ private TextDetectionParams( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = advancedOcrOptions_.getUnmodifiableView(); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -130,6 +146,67 @@ public boolean getEnableTextDetectionConfidenceScore() { return enableTextDetectionConfidenceScore_; } + public static final int ADVANCED_OCR_OPTIONS_FIELD_NUMBER = 11; + private com.google.protobuf.LazyStringList advancedOcrOptions_; + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + public com.google.protobuf.ProtocolStringList getAdvancedOcrOptionsList() { + return advancedOcrOptions_; + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + public int getAdvancedOcrOptionsCount() { + return advancedOcrOptions_.size(); + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + public java.lang.String getAdvancedOcrOptions(int index) { + return advancedOcrOptions_.get(index); + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + public com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index) { + return advancedOcrOptions_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -147,6 +224,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enableTextDetectionConfidenceScore_ != false) { output.writeBool(9, enableTextDetectionConfidenceScore_); } + for (int i = 0; i < advancedOcrOptions_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, advancedOcrOptions_.getRaw(i)); + } unknownFields.writeTo(output); } @@ -161,6 +241,14 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeBoolSize( 9, enableTextDetectionConfidenceScore_); } + { + int dataSize = 0; + for (int i = 0; i < advancedOcrOptions_.size(); i++) { + dataSize += computeStringSizeNoTag(advancedOcrOptions_.getRaw(i)); + } + size += dataSize; + size += 1 * getAdvancedOcrOptionsList().size(); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -179,6 +267,7 @@ public boolean equals(final java.lang.Object obj) { if (getEnableTextDetectionConfidenceScore() != other.getEnableTextDetectionConfidenceScore()) return false; + if (!getAdvancedOcrOptionsList().equals(other.getAdvancedOcrOptionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -194,6 +283,10 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableTextDetectionConfidenceScore()); + if (getAdvancedOcrOptionsCount() > 0) { + hash = (37 * hash) + ADVANCED_OCR_OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getAdvancedOcrOptionsList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -343,6 +436,8 @@ public Builder clear() { super.clear(); enableTextDetectionConfidenceScore_ = false; + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -370,7 +465,13 @@ public com.google.cloud.vision.v1p2beta1.TextDetectionParams build() { public com.google.cloud.vision.v1p2beta1.TextDetectionParams buildPartial() { com.google.cloud.vision.v1p2beta1.TextDetectionParams result = new com.google.cloud.vision.v1p2beta1.TextDetectionParams(this); + int from_bitField0_ = bitField0_; result.enableTextDetectionConfidenceScore_ = enableTextDetectionConfidenceScore_; + if (((bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = advancedOcrOptions_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.advancedOcrOptions_ = advancedOcrOptions_; onBuilt(); return result; } @@ -424,6 +525,16 @@ public Builder mergeFrom(com.google.cloud.vision.v1p2beta1.TextDetectionParams o if (other.getEnableTextDetectionConfidenceScore() != false) { setEnableTextDetectionConfidenceScore(other.getEnableTextDetectionConfidenceScore()); } + if (!other.advancedOcrOptions_.isEmpty()) { + if (advancedOcrOptions_.isEmpty()) { + advancedOcrOptions_ = other.advancedOcrOptions_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.addAll(other.advancedOcrOptions_); + } + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -454,6 +565,8 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private boolean enableTextDetectionConfidenceScore_; /** * @@ -512,6 +625,174 @@ public Builder clearEnableTextDetectionConfidenceScore() { return this; } + private com.google.protobuf.LazyStringList advancedOcrOptions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureAdvancedOcrOptionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = new com.google.protobuf.LazyStringArrayList(advancedOcrOptions_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + public com.google.protobuf.ProtocolStringList getAdvancedOcrOptionsList() { + return advancedOcrOptions_.getUnmodifiableView(); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + public int getAdvancedOcrOptionsCount() { + return advancedOcrOptions_.size(); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + public java.lang.String getAdvancedOcrOptions(int index) { + return advancedOcrOptions_.get(index); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + public com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index) { + return advancedOcrOptions_.getByteString(index); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index to set the value at. + * @param value The advancedOcrOptions to set. + * @return This builder for chaining. + */ + public Builder setAdvancedOcrOptions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param value The advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAdvancedOcrOptions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param values The advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAllAdvancedOcrOptions(java.lang.Iterable values) { + ensureAdvancedOcrOptionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, advancedOcrOptions_); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return This builder for chaining. + */ + public Builder clearAdvancedOcrOptions() { + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param value The bytes of the advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAdvancedOcrOptionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.add(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-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextDetectionParamsOrBuilder.java b/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextDetectionParamsOrBuilder.java index e7e7f4f54..a0a0aac15 100644 --- a/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextDetectionParamsOrBuilder.java +++ b/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextDetectionParamsOrBuilder.java @@ -37,4 +37,55 @@ public interface TextDetectionParamsOrBuilder * @return The enableTextDetectionConfidenceScore. */ boolean getEnableTextDetectionConfidenceScore(); + + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + java.util.List getAdvancedOcrOptionsList(); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + int getAdvancedOcrOptionsCount(); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + java.lang.String getAdvancedOcrOptions(int index); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index); } diff --git a/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/image_annotator.proto b/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/image_annotator.proto index eaf5abf05..5fc3163c7 100644 --- a/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/image_annotator.proto +++ b/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/image_annotator.proto @@ -529,6 +529,9 @@ message TextDetectionParams { // DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence // score for TEXT_DETECTION as well. bool enable_text_detection_confidence_score = 9; + + // A list of advanced OCR options to fine-tune OCR behavior. + repeated string advanced_ocr_options = 11; } // Image context and/or feature-specific parameters. diff --git a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorProto.java b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorProto.java index c3faa0587..4de97a561 100644 --- a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorProto.java +++ b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorProto.java @@ -288,111 +288,112 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "loud.vision.v1p3beta1.CropHint\"(\n\017CropHi" + "ntsParams\022\025\n\raspect_ratios\030\001 \003(\002\"1\n\022WebD" + "etectionParams\022\033\n\023include_geo_results\030\002 " - + "\001(\010\"E\n\023TextDetectionParams\022.\n&enable_tex" - + "t_detection_confidence_score\030\t \001(\010\"\253\003\n\014I" - + "mageContext\022A\n\rlat_long_rect\030\001 \001(\0132*.goo" - + "gle.cloud.vision.v1p3beta1.LatLongRect\022\026" - + "\n\016language_hints\030\002 \003(\t\022I\n\021crop_hints_par" - + "ams\030\004 \001(\0132..google.cloud.vision.v1p3beta" - + "1.CropHintsParams\022Q\n\025product_search_para" - + "ms\030\005 \001(\01322.google.cloud.vision.v1p3beta1" - + ".ProductSearchParams\022O\n\024web_detection_pa" - + "rams\030\006 \001(\01321.google.cloud.vision.v1p3bet" - + "a1.WebDetectionParams\022Q\n\025text_detection_" - + "params\030\014 \001(\01322.google.cloud.vision.v1p3b" - + "eta1.TextDetectionParams\"\311\001\n\024AnnotateIma" - + "geRequest\0223\n\005image\030\001 \001(\0132$.google.cloud." - + "vision.v1p3beta1.Image\0228\n\010features\030\002 \003(\013" - + "2&.google.cloud.vision.v1p3beta1.Feature" - + "\022B\n\rimage_context\030\003 \001(\0132+.google.cloud.v" - + "ision.v1p3beta1.ImageContext\":\n\026ImageAnn" - + "otationContext\022\013\n\003uri\030\001 \001(\t\022\023\n\013page_numb" - + "er\030\002 \001(\005\"\277\010\n\025AnnotateImageResponse\022G\n\020fa" - + "ce_annotations\030\001 \003(\0132-.google.cloud.visi" - + "on.v1p3beta1.FaceAnnotation\022M\n\024landmark_" - + "annotations\030\002 \003(\0132/.google.cloud.vision." - + "v1p3beta1.EntityAnnotation\022I\n\020logo_annot" - + "ations\030\003 \003(\0132/.google.cloud.vision.v1p3b" - + "eta1.EntityAnnotation\022J\n\021label_annotatio" - + "ns\030\004 \003(\0132/.google.cloud.vision.v1p3beta1" - + ".EntityAnnotation\022^\n\034localized_object_an" - + "notations\030\026 \003(\01328.google.cloud.vision.v1" - + "p3beta1.LocalizedObjectAnnotation\022I\n\020tex" - + "t_annotations\030\005 \003(\0132/.google.cloud.visio" - + "n.v1p3beta1.EntityAnnotation\022K\n\024full_tex" - + "t_annotation\030\014 \001(\0132-.google.cloud.vision" - + ".v1p3beta1.TextAnnotation\022S\n\026safe_search" - + "_annotation\030\006 \001(\01323.google.cloud.vision." - + "v1p3beta1.SafeSearchAnnotation\022S\n\033image_" - + "properties_annotation\030\010 \001(\0132..google.clo" - + "ud.vision.v1p3beta1.ImageProperties\022Q\n\025c" - + "rop_hints_annotation\030\013 \001(\01322.google.clou" - + "d.vision.v1p3beta1.CropHintsAnnotation\022B" - + "\n\rweb_detection\030\r \001(\0132+.google.cloud.vis" - + "ion.v1p3beta1.WebDetection\022S\n\026product_se" - + "arch_results\030\016 \001(\01323.google.cloud.vision" - + ".v1p3beta1.ProductSearchResults\022!\n\005error" - + "\030\t \001(\0132\022.google.rpc.Status\022F\n\007context\030\025 " - + "\001(\01325.google.cloud.vision.v1p3beta1.Imag" - + "eAnnotationContext\"\241\001\n\024AnnotateFileRespo" - + "nse\022@\n\014input_config\030\001 \001(\0132*.google.cloud" - + ".vision.v1p3beta1.InputConfig\022G\n\trespons" - + "es\030\002 \003(\01324.google.cloud.vision.v1p3beta1" - + ".AnnotateImageResponse\"h\n\032BatchAnnotateI" - + "magesRequest\022J\n\010requests\030\001 \003(\01323.google." - + "cloud.vision.v1p3beta1.AnnotateImageRequ" - + "estB\003\340A\002\"f\n\033BatchAnnotateImagesResponse\022" - + "G\n\tresponses\030\001 \003(\01324.google.cloud.vision" - + ".v1p3beta1.AnnotateImageResponse\"\236\002\n\030Asy" - + "ncAnnotateFileRequest\022@\n\014input_config\030\001 " - + "\001(\0132*.google.cloud.vision.v1p3beta1.Inpu" - + "tConfig\0228\n\010features\030\002 \003(\0132&.google.cloud" - + ".vision.v1p3beta1.Feature\022B\n\rimage_conte" - + "xt\030\003 \001(\0132+.google.cloud.vision.v1p3beta1" - + ".ImageContext\022B\n\routput_config\030\004 \001(\0132+.g" - + "oogle.cloud.vision.v1p3beta1.OutputConfi" - + "g\"_\n\031AsyncAnnotateFileResponse\022B\n\routput" - + "_config\030\001 \001(\0132+.google.cloud.vision.v1p3" - + "beta1.OutputConfig\"p\n\036AsyncBatchAnnotate" - + "FilesRequest\022N\n\010requests\030\001 \003(\01327.google." - + "cloud.vision.v1p3beta1.AsyncAnnotateFile" - + "RequestB\003\340A\002\"n\n\037AsyncBatchAnnotateFilesR" - + "esponse\022K\n\tresponses\030\001 \003(\01328.google.clou" - + "d.vision.v1p3beta1.AsyncAnnotateFileResp" - + "onse\"^\n\013InputConfig\022<\n\ngcs_source\030\001 \001(\0132" - + "(.google.cloud.vision.v1p3beta1.GcsSourc" - + "e\022\021\n\tmime_type\030\002 \001(\t\"j\n\014OutputConfig\022F\n\017" - + "gcs_destination\030\001 \001(\0132-.google.cloud.vis" - + "ion.v1p3beta1.GcsDestination\022\022\n\nbatch_si" - + "ze\030\002 \001(\005\"\030\n\tGcsSource\022\013\n\003uri\030\001 \001(\t\"\035\n\016Gc" - + "sDestination\022\013\n\003uri\030\001 \001(\t\"\217\002\n\021OperationM" - + "etadata\022E\n\005state\030\001 \001(\01626.google.cloud.vi" - + "sion.v1p3beta1.OperationMetadata.State\022/" - + "\n\013create_time\030\005 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022/\n\013update_time\030\006 \001(\0132\032.google.pr" - + "otobuf.Timestamp\"Q\n\005State\022\025\n\021STATE_UNSPE" - + "CIFIED\020\000\022\013\n\007CREATED\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DO" - + "NE\020\003\022\r\n\tCANCELLED\020\004*e\n\nLikelihood\022\013\n\007UNK" - + "NOWN\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022" - + "\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY" - + "\020\0052\265\004\n\016ImageAnnotator\022\276\001\n\023BatchAnnotateI" - + "mages\0229.google.cloud.vision.v1p3beta1.Ba" - + "tchAnnotateImagesRequest\032:.google.cloud." - + "vision.v1p3beta1.BatchAnnotateImagesResp" - + "onse\"0\202\323\344\223\002\037\"\032/v1p3beta1/images:annotate" - + ":\001*\332A\010requests\022\351\001\n\027AsyncBatchAnnotateFil" - + "es\022=.google.cloud.vision.v1p3beta1.Async" - + "BatchAnnotateFilesRequest\032\035.google.longr" - + "unning.Operation\"p\202\323\344\223\002(\"#/v1p3beta1/fil" - + "es:asyncBatchAnnotate:\001*\332A\010requests\312A4\n\037" - + "AsyncBatchAnnotateFilesResponse\022\021Operati" - + "onMetadata\032v\312A\025vision.googleapis.com\322A[h" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform,https://www.googleapis.com/auth/cl" - + "oud-visionB\202\001\n!com.google.cloud.vision.v" - + "1p3beta1B\023ImageAnnotatorProtoP\001ZCgoogle." - + "golang.org/genproto/googleapis/cloud/vis" - + "ion/v1p3beta1;vision\370\001\001b\006proto3" + + "\001(\010\"c\n\023TextDetectionParams\022.\n&enable_tex" + + "t_detection_confidence_score\030\t \001(\010\022\034\n\024ad" + + "vanced_ocr_options\030\013 \003(\t\"\253\003\n\014ImageContex" + + "t\022A\n\rlat_long_rect\030\001 \001(\0132*.google.cloud." + + "vision.v1p3beta1.LatLongRect\022\026\n\016language" + + "_hints\030\002 \003(\t\022I\n\021crop_hints_params\030\004 \001(\0132" + + "..google.cloud.vision.v1p3beta1.CropHint" + + "sParams\022Q\n\025product_search_params\030\005 \001(\01322" + + ".google.cloud.vision.v1p3beta1.ProductSe" + + "archParams\022O\n\024web_detection_params\030\006 \001(\013" + + "21.google.cloud.vision.v1p3beta1.WebDete" + + "ctionParams\022Q\n\025text_detection_params\030\014 \001" + + "(\01322.google.cloud.vision.v1p3beta1.TextD" + + "etectionParams\"\311\001\n\024AnnotateImageRequest\022" + + "3\n\005image\030\001 \001(\0132$.google.cloud.vision.v1p" + + "3beta1.Image\0228\n\010features\030\002 \003(\0132&.google." + + "cloud.vision.v1p3beta1.Feature\022B\n\rimage_" + + "context\030\003 \001(\0132+.google.cloud.vision.v1p3" + + "beta1.ImageContext\":\n\026ImageAnnotationCon" + + "text\022\013\n\003uri\030\001 \001(\t\022\023\n\013page_number\030\002 \001(\005\"\277" + + "\010\n\025AnnotateImageResponse\022G\n\020face_annotat" + + "ions\030\001 \003(\0132-.google.cloud.vision.v1p3bet" + + "a1.FaceAnnotation\022M\n\024landmark_annotation" + + "s\030\002 \003(\0132/.google.cloud.vision.v1p3beta1." + + "EntityAnnotation\022I\n\020logo_annotations\030\003 \003" + + "(\0132/.google.cloud.vision.v1p3beta1.Entit" + + "yAnnotation\022J\n\021label_annotations\030\004 \003(\0132/" + + ".google.cloud.vision.v1p3beta1.EntityAnn" + + "otation\022^\n\034localized_object_annotations\030" + + "\026 \003(\01328.google.cloud.vision.v1p3beta1.Lo" + + "calizedObjectAnnotation\022I\n\020text_annotati" + + "ons\030\005 \003(\0132/.google.cloud.vision.v1p3beta" + + "1.EntityAnnotation\022K\n\024full_text_annotati" + + "on\030\014 \001(\0132-.google.cloud.vision.v1p3beta1" + + ".TextAnnotation\022S\n\026safe_search_annotatio" + + "n\030\006 \001(\01323.google.cloud.vision.v1p3beta1." + + "SafeSearchAnnotation\022S\n\033image_properties" + + "_annotation\030\010 \001(\0132..google.cloud.vision." + + "v1p3beta1.ImageProperties\022Q\n\025crop_hints_" + + "annotation\030\013 \001(\01322.google.cloud.vision.v" + + "1p3beta1.CropHintsAnnotation\022B\n\rweb_dete" + + "ction\030\r \001(\0132+.google.cloud.vision.v1p3be" + + "ta1.WebDetection\022S\n\026product_search_resul" + + "ts\030\016 \001(\01323.google.cloud.vision.v1p3beta1" + + ".ProductSearchResults\022!\n\005error\030\t \001(\0132\022.g" + + "oogle.rpc.Status\022F\n\007context\030\025 \001(\01325.goog" + + "le.cloud.vision.v1p3beta1.ImageAnnotatio" + + "nContext\"\241\001\n\024AnnotateFileResponse\022@\n\014inp" + + "ut_config\030\001 \001(\0132*.google.cloud.vision.v1" + + "p3beta1.InputConfig\022G\n\tresponses\030\002 \003(\01324" + + ".google.cloud.vision.v1p3beta1.AnnotateI" + + "mageResponse\"h\n\032BatchAnnotateImagesReque" + + "st\022J\n\010requests\030\001 \003(\01323.google.cloud.visi" + + "on.v1p3beta1.AnnotateImageRequestB\003\340A\002\"f" + + "\n\033BatchAnnotateImagesResponse\022G\n\trespons" + + "es\030\001 \003(\01324.google.cloud.vision.v1p3beta1" + + ".AnnotateImageResponse\"\236\002\n\030AsyncAnnotate" + + "FileRequest\022@\n\014input_config\030\001 \001(\0132*.goog" + + "le.cloud.vision.v1p3beta1.InputConfig\0228\n" + + "\010features\030\002 \003(\0132&.google.cloud.vision.v1" + + "p3beta1.Feature\022B\n\rimage_context\030\003 \001(\0132+" + + ".google.cloud.vision.v1p3beta1.ImageCont" + + "ext\022B\n\routput_config\030\004 \001(\0132+.google.clou" + + "d.vision.v1p3beta1.OutputConfig\"_\n\031Async" + + "AnnotateFileResponse\022B\n\routput_config\030\001 " + + "\001(\0132+.google.cloud.vision.v1p3beta1.Outp" + + "utConfig\"p\n\036AsyncBatchAnnotateFilesReque" + + "st\022N\n\010requests\030\001 \003(\01327.google.cloud.visi" + + "on.v1p3beta1.AsyncAnnotateFileRequestB\003\340" + + "A\002\"n\n\037AsyncBatchAnnotateFilesResponse\022K\n" + + "\tresponses\030\001 \003(\01328.google.cloud.vision.v" + + "1p3beta1.AsyncAnnotateFileResponse\"^\n\013In" + + "putConfig\022<\n\ngcs_source\030\001 \001(\0132(.google.c" + + "loud.vision.v1p3beta1.GcsSource\022\021\n\tmime_" + + "type\030\002 \001(\t\"j\n\014OutputConfig\022F\n\017gcs_destin" + + "ation\030\001 \001(\0132-.google.cloud.vision.v1p3be" + + "ta1.GcsDestination\022\022\n\nbatch_size\030\002 \001(\005\"\030" + + "\n\tGcsSource\022\013\n\003uri\030\001 \001(\t\"\035\n\016GcsDestinati" + + "on\022\013\n\003uri\030\001 \001(\t\"\217\002\n\021OperationMetadata\022E\n" + + "\005state\030\001 \001(\01626.google.cloud.vision.v1p3b" + + "eta1.OperationMetadata.State\022/\n\013create_t" + + "ime\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n" + + "\013update_time\030\006 \001(\0132\032.google.protobuf.Tim" + + "estamp\"Q\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013" + + "\n\007CREATED\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\r\n\tCA" + + "NCELLED\020\004*e\n\nLikelihood\022\013\n\007UNKNOWN\020\000\022\021\n\r" + + "VERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBL" + + "E\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\0052\265\004\n\016Ima" + + "geAnnotator\022\276\001\n\023BatchAnnotateImages\0229.go" + + "ogle.cloud.vision.v1p3beta1.BatchAnnotat" + + "eImagesRequest\032:.google.cloud.vision.v1p" + + "3beta1.BatchAnnotateImagesResponse\"0\202\323\344\223" + + "\002\037\"\032/v1p3beta1/images:annotate:\001*\332A\010requ" + + "ests\022\351\001\n\027AsyncBatchAnnotateFiles\022=.googl" + + "e.cloud.vision.v1p3beta1.AsyncBatchAnnot" + + "ateFilesRequest\032\035.google.longrunning.Ope" + + "ration\"p\202\323\344\223\002(\"#/v1p3beta1/files:asyncBa" + + "tchAnnotate:\001*\332A\010requests\312A4\n\037AsyncBatch" + + "AnnotateFilesResponse\022\021OperationMetadata" + + "\032v\312A\025vision.googleapis.com\322A[https://www" + + ".googleapis.com/auth/cloud-platform,http" + + "s://www.googleapis.com/auth/cloud-vision" + + "B\202\001\n!com.google.cloud.vision.v1p3beta1B\023" + + "ImageAnnotatorProtoP\001ZCgoogle.golang.org" + + "/genproto/googleapis/cloud/vision/v1p3be" + + "ta1;vision\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -585,7 +586,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vision_v1p3beta1_TextDetectionParams_descriptor, new java.lang.String[] { - "EnableTextDetectionConfidenceScore", + "EnableTextDetectionConfidenceScore", "AdvancedOcrOptions", }); internal_static_google_cloud_vision_v1p3beta1_ImageContext_descriptor = getDescriptor().getMessageTypes().get(18); diff --git a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/TextDetectionParams.java b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/TextDetectionParams.java index 7f3d9ba5c..cd18a9ab8 100644 --- a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/TextDetectionParams.java +++ b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/TextDetectionParams.java @@ -38,7 +38,9 @@ private TextDetectionParams(com.google.protobuf.GeneratedMessageV3.Builder bu super(builder); } - private TextDetectionParams() {} + private TextDetectionParams() { + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -59,6 +61,7 @@ private TextDetectionParams( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -74,6 +77,16 @@ private TextDetectionParams( enableTextDetectionConfidenceScore_ = input.readBool(); break; } + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + advancedOcrOptions_.add(s); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -90,6 +103,9 @@ private TextDetectionParams( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = advancedOcrOptions_.getUnmodifiableView(); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -130,6 +146,67 @@ public boolean getEnableTextDetectionConfidenceScore() { return enableTextDetectionConfidenceScore_; } + public static final int ADVANCED_OCR_OPTIONS_FIELD_NUMBER = 11; + private com.google.protobuf.LazyStringList advancedOcrOptions_; + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + public com.google.protobuf.ProtocolStringList getAdvancedOcrOptionsList() { + return advancedOcrOptions_; + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + public int getAdvancedOcrOptionsCount() { + return advancedOcrOptions_.size(); + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + public java.lang.String getAdvancedOcrOptions(int index) { + return advancedOcrOptions_.get(index); + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + public com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index) { + return advancedOcrOptions_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -147,6 +224,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enableTextDetectionConfidenceScore_ != false) { output.writeBool(9, enableTextDetectionConfidenceScore_); } + for (int i = 0; i < advancedOcrOptions_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, advancedOcrOptions_.getRaw(i)); + } unknownFields.writeTo(output); } @@ -161,6 +241,14 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeBoolSize( 9, enableTextDetectionConfidenceScore_); } + { + int dataSize = 0; + for (int i = 0; i < advancedOcrOptions_.size(); i++) { + dataSize += computeStringSizeNoTag(advancedOcrOptions_.getRaw(i)); + } + size += dataSize; + size += 1 * getAdvancedOcrOptionsList().size(); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -179,6 +267,7 @@ public boolean equals(final java.lang.Object obj) { if (getEnableTextDetectionConfidenceScore() != other.getEnableTextDetectionConfidenceScore()) return false; + if (!getAdvancedOcrOptionsList().equals(other.getAdvancedOcrOptionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -194,6 +283,10 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableTextDetectionConfidenceScore()); + if (getAdvancedOcrOptionsCount() > 0) { + hash = (37 * hash) + ADVANCED_OCR_OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getAdvancedOcrOptionsList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -343,6 +436,8 @@ public Builder clear() { super.clear(); enableTextDetectionConfidenceScore_ = false; + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -370,7 +465,13 @@ public com.google.cloud.vision.v1p3beta1.TextDetectionParams build() { public com.google.cloud.vision.v1p3beta1.TextDetectionParams buildPartial() { com.google.cloud.vision.v1p3beta1.TextDetectionParams result = new com.google.cloud.vision.v1p3beta1.TextDetectionParams(this); + int from_bitField0_ = bitField0_; result.enableTextDetectionConfidenceScore_ = enableTextDetectionConfidenceScore_; + if (((bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = advancedOcrOptions_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.advancedOcrOptions_ = advancedOcrOptions_; onBuilt(); return result; } @@ -424,6 +525,16 @@ public Builder mergeFrom(com.google.cloud.vision.v1p3beta1.TextDetectionParams o if (other.getEnableTextDetectionConfidenceScore() != false) { setEnableTextDetectionConfidenceScore(other.getEnableTextDetectionConfidenceScore()); } + if (!other.advancedOcrOptions_.isEmpty()) { + if (advancedOcrOptions_.isEmpty()) { + advancedOcrOptions_ = other.advancedOcrOptions_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.addAll(other.advancedOcrOptions_); + } + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -454,6 +565,8 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private boolean enableTextDetectionConfidenceScore_; /** * @@ -512,6 +625,174 @@ public Builder clearEnableTextDetectionConfidenceScore() { return this; } + private com.google.protobuf.LazyStringList advancedOcrOptions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureAdvancedOcrOptionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = new com.google.protobuf.LazyStringArrayList(advancedOcrOptions_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + public com.google.protobuf.ProtocolStringList getAdvancedOcrOptionsList() { + return advancedOcrOptions_.getUnmodifiableView(); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + public int getAdvancedOcrOptionsCount() { + return advancedOcrOptions_.size(); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + public java.lang.String getAdvancedOcrOptions(int index) { + return advancedOcrOptions_.get(index); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + public com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index) { + return advancedOcrOptions_.getByteString(index); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index to set the value at. + * @param value The advancedOcrOptions to set. + * @return This builder for chaining. + */ + public Builder setAdvancedOcrOptions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param value The advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAdvancedOcrOptions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param values The advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAllAdvancedOcrOptions(java.lang.Iterable values) { + ensureAdvancedOcrOptionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, advancedOcrOptions_); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return This builder for chaining. + */ + public Builder clearAdvancedOcrOptions() { + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param value The bytes of the advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAdvancedOcrOptionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.add(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-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/TextDetectionParamsOrBuilder.java b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/TextDetectionParamsOrBuilder.java index 3c2c1d525..df5e59803 100644 --- a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/TextDetectionParamsOrBuilder.java +++ b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/TextDetectionParamsOrBuilder.java @@ -37,4 +37,55 @@ public interface TextDetectionParamsOrBuilder * @return The enableTextDetectionConfidenceScore. */ boolean getEnableTextDetectionConfidenceScore(); + + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + java.util.List getAdvancedOcrOptionsList(); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + int getAdvancedOcrOptionsCount(); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + java.lang.String getAdvancedOcrOptions(int index); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index); } diff --git a/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/image_annotator.proto b/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/image_annotator.proto index 5f2111784..ca0b4e86d 100644 --- a/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/image_annotator.proto +++ b/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/image_annotator.proto @@ -557,6 +557,9 @@ message TextDetectionParams { // DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence // score for TEXT_DETECTION as well. bool enable_text_detection_confidence_score = 9; + + // A list of advanced OCR options to fine-tune OCR behavior. + repeated string advanced_ocr_options = 11; } // Image context and/or feature-specific parameters. diff --git a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorProto.java b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorProto.java index 469eeec6e..5ca697736 100644 --- a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorProto.java +++ b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorProto.java @@ -312,145 +312,145 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".cloud.vision.v1p4beta1.CropHint\"(\n\017Crop" + "HintsParams\022\025\n\raspect_ratios\030\001 \003(\002\"1\n\022We" + "bDetectionParams\022\033\n\023include_geo_results\030" - + "\002 \001(\010\"E\n\023TextDetectionParams\022.\n&enable_t" - + "ext_detection_confidence_score\030\t \001(\010\"\202\004\n" - + "\014ImageContext\022A\n\rlat_long_rect\030\001 \001(\0132*.g" - + "oogle.cloud.vision.v1p4beta1.LatLongRect" - + "\022\026\n\016language_hints\030\002 \003(\t\022I\n\021crop_hints_p" - + "arams\030\004 \001(\0132..google.cloud.vision.v1p4be" - + "ta1.CropHintsParams\022U\n\027face_recognition_" - + "params\030\n \001(\01324.google.cloud.vision.v1p4b" - + "eta1.FaceRecognitionParams\022Q\n\025product_se" - + "arch_params\030\005 \001(\01322.google.cloud.vision." - + "v1p4beta1.ProductSearchParams\022O\n\024web_det" - + "ection_params\030\006 \001(\01321.google.cloud.visio" - + "n.v1p4beta1.WebDetectionParams\022Q\n\025text_d" - + "etection_params\030\014 \001(\01322.google.cloud.vis" - + "ion.v1p4beta1.TextDetectionParams\"\311\001\n\024An" - + "notateImageRequest\0223\n\005image\030\001 \001(\0132$.goog" - + "le.cloud.vision.v1p4beta1.Image\0228\n\010featu" - + "res\030\002 \003(\0132&.google.cloud.vision.v1p4beta" - + "1.Feature\022B\n\rimage_context\030\003 \001(\0132+.googl" - + "e.cloud.vision.v1p4beta1.ImageContext\":\n" - + "\026ImageAnnotationContext\022\013\n\003uri\030\001 \001(\t\022\023\n\013" - + "page_number\030\002 \001(\005\"\277\010\n\025AnnotateImageRespo" - + "nse\022G\n\020face_annotations\030\001 \003(\0132-.google.c" - + "loud.vision.v1p4beta1.FaceAnnotation\022M\n\024" - + "landmark_annotations\030\002 \003(\0132/.google.clou" - + "d.vision.v1p4beta1.EntityAnnotation\022I\n\020l" - + "ogo_annotations\030\003 \003(\0132/.google.cloud.vis" - + "ion.v1p4beta1.EntityAnnotation\022J\n\021label_" - + "annotations\030\004 \003(\0132/.google.cloud.vision." - + "v1p4beta1.EntityAnnotation\022^\n\034localized_" - + "object_annotations\030\026 \003(\01328.google.cloud." - + "vision.v1p4beta1.LocalizedObjectAnnotati" - + "on\022I\n\020text_annotations\030\005 \003(\0132/.google.cl" - + "oud.vision.v1p4beta1.EntityAnnotation\022K\n" - + "\024full_text_annotation\030\014 \001(\0132-.google.clo" - + "ud.vision.v1p4beta1.TextAnnotation\022S\n\026sa" - + "fe_search_annotation\030\006 \001(\01323.google.clou" - + "d.vision.v1p4beta1.SafeSearchAnnotation\022" - + "S\n\033image_properties_annotation\030\010 \001(\0132..g" - + "oogle.cloud.vision.v1p4beta1.ImageProper" - + "ties\022Q\n\025crop_hints_annotation\030\013 \001(\01322.go" - + "ogle.cloud.vision.v1p4beta1.CropHintsAnn" - + "otation\022B\n\rweb_detection\030\r \001(\0132+.google." - + "cloud.vision.v1p4beta1.WebDetection\022S\n\026p" - + "roduct_search_results\030\016 \001(\01323.google.clo" - + "ud.vision.v1p4beta1.ProductSearchResults" - + "\022!\n\005error\030\t \001(\0132\022.google.rpc.Status\022F\n\007c" - + "ontext\030\025 \001(\01325.google.cloud.vision.v1p4b" - + "eta1.ImageAnnotationContext\"h\n\032BatchAnno" - + "tateImagesRequest\022J\n\010requests\030\001 \003(\01323.go" - + "ogle.cloud.vision.v1p4beta1.AnnotateImag" - + "eRequestB\003\340A\002\"f\n\033BatchAnnotateImagesResp" - + "onse\022G\n\tresponses\030\001 \003(\01324.google.cloud.v" - + "ision.v1p4beta1.AnnotateImageResponse\"\344\001" - + "\n\023AnnotateFileRequest\022@\n\014input_config\030\001 " - + "\001(\0132*.google.cloud.vision.v1p4beta1.Inpu" - + "tConfig\0228\n\010features\030\002 \003(\0132&.google.cloud" - + ".vision.v1p4beta1.Feature\022B\n\rimage_conte" - + "xt\030\003 \001(\0132+.google.cloud.vision.v1p4beta1" - + ".ImageContext\022\r\n\005pages\030\004 \003(\005\"\331\001\n\024Annotat" - + "eFileResponse\022@\n\014input_config\030\001 \001(\0132*.go" - + "ogle.cloud.vision.v1p4beta1.InputConfig\022" - + "G\n\tresponses\030\002 \003(\01324.google.cloud.vision" - + ".v1p4beta1.AnnotateImageResponse\022\023\n\013tota" - + "l_pages\030\003 \001(\005\022!\n\005error\030\004 \001(\0132\022.google.rp" - + "c.Status\"f\n\031BatchAnnotateFilesRequest\022I\n" - + "\010requests\030\001 \003(\01322.google.cloud.vision.v1" - + "p4beta1.AnnotateFileRequestB\003\340A\002\"d\n\032Batc" - + "hAnnotateFilesResponse\022F\n\tresponses\030\001 \003(" - + "\01323.google.cloud.vision.v1p4beta1.Annota" - + "teFileResponse\"\236\002\n\030AsyncAnnotateFileRequ" - + "est\022@\n\014input_config\030\001 \001(\0132*.google.cloud" - + ".vision.v1p4beta1.InputConfig\0228\n\010feature" - + "s\030\002 \003(\0132&.google.cloud.vision.v1p4beta1." - + "Feature\022B\n\rimage_context\030\003 \001(\0132+.google." - + "cloud.vision.v1p4beta1.ImageContext\022B\n\ro" - + "utput_config\030\004 \001(\0132+.google.cloud.vision" - + ".v1p4beta1.OutputConfig\"_\n\031AsyncAnnotate" - + "FileResponse\022B\n\routput_config\030\001 \001(\0132+.go" - + "ogle.cloud.vision.v1p4beta1.OutputConfig" - + "\"\266\001\n\037AsyncBatchAnnotateImagesRequest\022J\n\010" - + "requests\030\001 \003(\01323.google.cloud.vision.v1p" - + "4beta1.AnnotateImageRequestB\003\340A\002\022G\n\routp" - + "ut_config\030\002 \001(\0132+.google.cloud.vision.v1" - + "p4beta1.OutputConfigB\003\340A\002\"f\n AsyncBatchA" - + "nnotateImagesResponse\022B\n\routput_config\030\001" - + " \001(\0132+.google.cloud.vision.v1p4beta1.Out" - + "putConfig\"p\n\036AsyncBatchAnnotateFilesRequ" - + "est\022N\n\010requests\030\001 \003(\01327.google.cloud.vis" - + "ion.v1p4beta1.AsyncAnnotateFileRequestB\003" - + "\340A\002\"n\n\037AsyncBatchAnnotateFilesResponse\022K" - + "\n\tresponses\030\001 \003(\01328.google.cloud.vision." - + "v1p4beta1.AsyncAnnotateFileResponse\"o\n\013I" - + "nputConfig\022<\n\ngcs_source\030\001 \001(\0132(.google." - + "cloud.vision.v1p4beta1.GcsSource\022\017\n\007cont" - + "ent\030\003 \001(\014\022\021\n\tmime_type\030\002 \001(\t\"j\n\014OutputCo" - + "nfig\022F\n\017gcs_destination\030\001 \001(\0132-.google.c" - + "loud.vision.v1p4beta1.GcsDestination\022\022\n\n" - + "batch_size\030\002 \001(\005\"\030\n\tGcsSource\022\013\n\003uri\030\001 \001" - + "(\t\"\035\n\016GcsDestination\022\013\n\003uri\030\001 \001(\t\"\217\002\n\021Op" - + "erationMetadata\022E\n\005state\030\001 \001(\01626.google." - + "cloud.vision.v1p4beta1.OperationMetadata" - + ".State\022/\n\013create_time\030\005 \001(\0132\032.google.pro" - + "tobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\"Q\n\005State\022\025\n\021STA" - + "TE_UNSPECIFIED\020\000\022\013\n\007CREATED\020\001\022\013\n\007RUNNING" - + "\020\002\022\010\n\004DONE\020\003\022\r\n\tCANCELLED\020\004*e\n\nLikelihoo" - + "d\022\013\n\007UNKNOWN\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNL" - + "IKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VER" - + "Y_LIKELY\020\0052\361\007\n\016ImageAnnotator\022\276\001\n\023BatchA" - + "nnotateImages\0229.google.cloud.vision.v1p4" - + "beta1.BatchAnnotateImagesRequest\032:.googl" - + "e.cloud.vision.v1p4beta1.BatchAnnotateIm" - + "agesResponse\"0\202\323\344\223\002\037\"\032/v1p4beta1/images:" - + "annotate:\001*\332A\010requests\022\272\001\n\022BatchAnnotate" - + "Files\0228.google.cloud.vision.v1p4beta1.Ba" - + "tchAnnotateFilesRequest\0329.google.cloud.v" - + "ision.v1p4beta1.BatchAnnotateFilesRespon" - + "se\"/\202\323\344\223\002\036\"\031/v1p4beta1/files:annotate:\001*" - + "\332A\010requests\022\374\001\n\030AsyncBatchAnnotateImages" - + "\022>.google.cloud.vision.v1p4beta1.AsyncBa" - + "tchAnnotateImagesRequest\032\035.google.longru" - + "nning.Operation\"\200\001\202\323\344\223\002)\"$/v1p4beta1/ima" - + "ges:asyncBatchAnnotate:\001*\332A\026requests,out" - + "put_config\312A5\n AsyncBatchAnnotateImagesR" - + "esponse\022\021OperationMetadata\022\351\001\n\027AsyncBatc" - + "hAnnotateFiles\022=.google.cloud.vision.v1p" - + "4beta1.AsyncBatchAnnotateFilesRequest\032\035." - + "google.longrunning.Operation\"p\202\323\344\223\002(\"#/v" - + "1p4beta1/files:asyncBatchAnnotate:\001*\332A\010r" - + "equests\312A4\n\037AsyncBatchAnnotateFilesRespo" - + "nse\022\021OperationMetadata\032v\312A\025vision.google" - + "apis.com\322A[https://www.googleapis.com/au" - + "th/cloud-platform,https://www.googleapis" - + ".com/auth/cloud-visionB\211\001\n!com.google.cl" - + "oud.vision.v1p4beta1B\023ImageAnnotatorProt" - + "oP\001ZCgoogle.golang.org/genproto/googleap" - + "is/cloud/vision/v1p4beta1;vision\370\001\001\242\002\004GC" - + "VNb\006proto3" + + "\002 \001(\010\"c\n\023TextDetectionParams\022.\n&enable_t" + + "ext_detection_confidence_score\030\t \001(\010\022\034\n\024" + + "advanced_ocr_options\030\013 \003(\t\"\202\004\n\014ImageCont" + + "ext\022A\n\rlat_long_rect\030\001 \001(\0132*.google.clou" + + "d.vision.v1p4beta1.LatLongRect\022\026\n\016langua" + + "ge_hints\030\002 \003(\t\022I\n\021crop_hints_params\030\004 \001(" + + "\0132..google.cloud.vision.v1p4beta1.CropHi" + + "ntsParams\022U\n\027face_recognition_params\030\n \001" + + "(\01324.google.cloud.vision.v1p4beta1.FaceR" + + "ecognitionParams\022Q\n\025product_search_param" + + "s\030\005 \001(\01322.google.cloud.vision.v1p4beta1." + + "ProductSearchParams\022O\n\024web_detection_par" + + "ams\030\006 \001(\01321.google.cloud.vision.v1p4beta" + + "1.WebDetectionParams\022Q\n\025text_detection_p" + + "arams\030\014 \001(\01322.google.cloud.vision.v1p4be" + + "ta1.TextDetectionParams\"\311\001\n\024AnnotateImag" + + "eRequest\0223\n\005image\030\001 \001(\0132$.google.cloud.v" + + "ision.v1p4beta1.Image\0228\n\010features\030\002 \003(\0132" + + "&.google.cloud.vision.v1p4beta1.Feature\022" + + "B\n\rimage_context\030\003 \001(\0132+.google.cloud.vi" + + "sion.v1p4beta1.ImageContext\":\n\026ImageAnno" + + "tationContext\022\013\n\003uri\030\001 \001(\t\022\023\n\013page_numbe" + + "r\030\002 \001(\005\"\277\010\n\025AnnotateImageResponse\022G\n\020fac" + + "e_annotations\030\001 \003(\0132-.google.cloud.visio" + + "n.v1p4beta1.FaceAnnotation\022M\n\024landmark_a" + + "nnotations\030\002 \003(\0132/.google.cloud.vision.v" + + "1p4beta1.EntityAnnotation\022I\n\020logo_annota" + + "tions\030\003 \003(\0132/.google.cloud.vision.v1p4be" + + "ta1.EntityAnnotation\022J\n\021label_annotation" + + "s\030\004 \003(\0132/.google.cloud.vision.v1p4beta1." + + "EntityAnnotation\022^\n\034localized_object_ann" + + "otations\030\026 \003(\01328.google.cloud.vision.v1p" + + "4beta1.LocalizedObjectAnnotation\022I\n\020text" + + "_annotations\030\005 \003(\0132/.google.cloud.vision" + + ".v1p4beta1.EntityAnnotation\022K\n\024full_text" + + "_annotation\030\014 \001(\0132-.google.cloud.vision." + + "v1p4beta1.TextAnnotation\022S\n\026safe_search_" + + "annotation\030\006 \001(\01323.google.cloud.vision.v" + + "1p4beta1.SafeSearchAnnotation\022S\n\033image_p" + + "roperties_annotation\030\010 \001(\0132..google.clou" + + "d.vision.v1p4beta1.ImageProperties\022Q\n\025cr" + + "op_hints_annotation\030\013 \001(\01322.google.cloud" + + ".vision.v1p4beta1.CropHintsAnnotation\022B\n" + + "\rweb_detection\030\r \001(\0132+.google.cloud.visi" + + "on.v1p4beta1.WebDetection\022S\n\026product_sea" + + "rch_results\030\016 \001(\01323.google.cloud.vision." + + "v1p4beta1.ProductSearchResults\022!\n\005error\030" + + "\t \001(\0132\022.google.rpc.Status\022F\n\007context\030\025 \001" + + "(\01325.google.cloud.vision.v1p4beta1.Image" + + "AnnotationContext\"h\n\032BatchAnnotateImages" + + "Request\022J\n\010requests\030\001 \003(\01323.google.cloud" + + ".vision.v1p4beta1.AnnotateImageRequestB\003" + + "\340A\002\"f\n\033BatchAnnotateImagesResponse\022G\n\tre" + + "sponses\030\001 \003(\01324.google.cloud.vision.v1p4" + + "beta1.AnnotateImageResponse\"\344\001\n\023Annotate" + + "FileRequest\022@\n\014input_config\030\001 \001(\0132*.goog" + + "le.cloud.vision.v1p4beta1.InputConfig\0228\n" + + "\010features\030\002 \003(\0132&.google.cloud.vision.v1" + + "p4beta1.Feature\022B\n\rimage_context\030\003 \001(\0132+" + + ".google.cloud.vision.v1p4beta1.ImageCont" + + "ext\022\r\n\005pages\030\004 \003(\005\"\331\001\n\024AnnotateFileRespo" + + "nse\022@\n\014input_config\030\001 \001(\0132*.google.cloud" + + ".vision.v1p4beta1.InputConfig\022G\n\trespons" + + "es\030\002 \003(\01324.google.cloud.vision.v1p4beta1" + + ".AnnotateImageResponse\022\023\n\013total_pages\030\003 " + + "\001(\005\022!\n\005error\030\004 \001(\0132\022.google.rpc.Status\"f" + + "\n\031BatchAnnotateFilesRequest\022I\n\010requests\030" + + "\001 \003(\01322.google.cloud.vision.v1p4beta1.An" + + "notateFileRequestB\003\340A\002\"d\n\032BatchAnnotateF" + + "ilesResponse\022F\n\tresponses\030\001 \003(\01323.google" + + ".cloud.vision.v1p4beta1.AnnotateFileResp" + + "onse\"\236\002\n\030AsyncAnnotateFileRequest\022@\n\014inp" + + "ut_config\030\001 \001(\0132*.google.cloud.vision.v1" + + "p4beta1.InputConfig\0228\n\010features\030\002 \003(\0132&." + + "google.cloud.vision.v1p4beta1.Feature\022B\n" + + "\rimage_context\030\003 \001(\0132+.google.cloud.visi" + + "on.v1p4beta1.ImageContext\022B\n\routput_conf" + + "ig\030\004 \001(\0132+.google.cloud.vision.v1p4beta1" + + ".OutputConfig\"_\n\031AsyncAnnotateFileRespon" + + "se\022B\n\routput_config\030\001 \001(\0132+.google.cloud" + + ".vision.v1p4beta1.OutputConfig\"\266\001\n\037Async" + + "BatchAnnotateImagesRequest\022J\n\010requests\030\001" + + " \003(\01323.google.cloud.vision.v1p4beta1.Ann" + + "otateImageRequestB\003\340A\002\022G\n\routput_config\030" + + "\002 \001(\0132+.google.cloud.vision.v1p4beta1.Ou" + + "tputConfigB\003\340A\002\"f\n AsyncBatchAnnotateIma" + + "gesResponse\022B\n\routput_config\030\001 \001(\0132+.goo" + + "gle.cloud.vision.v1p4beta1.OutputConfig\"" + + "p\n\036AsyncBatchAnnotateFilesRequest\022N\n\010req" + + "uests\030\001 \003(\01327.google.cloud.vision.v1p4be" + + "ta1.AsyncAnnotateFileRequestB\003\340A\002\"n\n\037Asy" + + "ncBatchAnnotateFilesResponse\022K\n\tresponse" + + "s\030\001 \003(\01328.google.cloud.vision.v1p4beta1." + + "AsyncAnnotateFileResponse\"o\n\013InputConfig" + + "\022<\n\ngcs_source\030\001 \001(\0132(.google.cloud.visi" + + "on.v1p4beta1.GcsSource\022\017\n\007content\030\003 \001(\014\022" + + "\021\n\tmime_type\030\002 \001(\t\"j\n\014OutputConfig\022F\n\017gc" + + "s_destination\030\001 \001(\0132-.google.cloud.visio" + + "n.v1p4beta1.GcsDestination\022\022\n\nbatch_size" + + "\030\002 \001(\005\"\030\n\tGcsSource\022\013\n\003uri\030\001 \001(\t\"\035\n\016GcsD" + + "estination\022\013\n\003uri\030\001 \001(\t\"\217\002\n\021OperationMet" + + "adata\022E\n\005state\030\001 \001(\01626.google.cloud.visi" + + "on.v1p4beta1.OperationMetadata.State\022/\n\013" + + "create_time\030\005 \001(\0132\032.google.protobuf.Time" + + "stamp\022/\n\013update_time\030\006 \001(\0132\032.google.prot" + + "obuf.Timestamp\"Q\n\005State\022\025\n\021STATE_UNSPECI" + + "FIED\020\000\022\013\n\007CREATED\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE" + + "\020\003\022\r\n\tCANCELLED\020\004*e\n\nLikelihood\022\013\n\007UNKNO" + + "WN\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n" + + "\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005" + + "2\361\007\n\016ImageAnnotator\022\276\001\n\023BatchAnnotateIma" + + "ges\0229.google.cloud.vision.v1p4beta1.Batc" + + "hAnnotateImagesRequest\032:.google.cloud.vi" + + "sion.v1p4beta1.BatchAnnotateImagesRespon" + + "se\"0\202\323\344\223\002\037\"\032/v1p4beta1/images:annotate:\001" + + "*\332A\010requests\022\272\001\n\022BatchAnnotateFiles\0228.go" + + "ogle.cloud.vision.v1p4beta1.BatchAnnotat" + + "eFilesRequest\0329.google.cloud.vision.v1p4" + + "beta1.BatchAnnotateFilesResponse\"/\202\323\344\223\002\036" + + "\"\031/v1p4beta1/files:annotate:\001*\332A\010request" + + "s\022\374\001\n\030AsyncBatchAnnotateImages\022>.google." + + "cloud.vision.v1p4beta1.AsyncBatchAnnotat" + + "eImagesRequest\032\035.google.longrunning.Oper" + + "ation\"\200\001\202\323\344\223\002)\"$/v1p4beta1/images:asyncB" + + "atchAnnotate:\001*\332A\026requests,output_config" + + "\312A5\n AsyncBatchAnnotateImagesResponse\022\021O" + + "perationMetadata\022\351\001\n\027AsyncBatchAnnotateF" + + "iles\022=.google.cloud.vision.v1p4beta1.Asy" + + "ncBatchAnnotateFilesRequest\032\035.google.lon" + + "grunning.Operation\"p\202\323\344\223\002(\"#/v1p4beta1/f" + + "iles:asyncBatchAnnotate:\001*\332A\010requests\312A4" + + "\n\037AsyncBatchAnnotateFilesResponse\022\021Opera" + + "tionMetadata\032v\312A\025vision.googleapis.com\322A" + + "[https://www.googleapis.com/auth/cloud-p" + + "latform,https://www.googleapis.com/auth/" + + "cloud-visionB\211\001\n!com.google.cloud.vision" + + ".v1p4beta1B\023ImageAnnotatorProtoP\001ZCgoogl" + + "e.golang.org/genproto/googleapis/cloud/v" + + "ision/v1p4beta1;vision\370\001\001\242\002\004GCVNb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -646,7 +646,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vision_v1p4beta1_TextDetectionParams_descriptor, new java.lang.String[] { - "EnableTextDetectionConfidenceScore", + "EnableTextDetectionConfidenceScore", "AdvancedOcrOptions", }); internal_static_google_cloud_vision_v1p4beta1_ImageContext_descriptor = getDescriptor().getMessageTypes().get(18); diff --git a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextDetectionParams.java b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextDetectionParams.java index 3ce07f30d..afdc5a7eb 100644 --- a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextDetectionParams.java +++ b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextDetectionParams.java @@ -38,7 +38,9 @@ private TextDetectionParams(com.google.protobuf.GeneratedMessageV3.Builder bu super(builder); } - private TextDetectionParams() {} + private TextDetectionParams() { + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -59,6 +61,7 @@ private TextDetectionParams( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -74,6 +77,16 @@ private TextDetectionParams( enableTextDetectionConfidenceScore_ = input.readBool(); break; } + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + advancedOcrOptions_.add(s); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -90,6 +103,9 @@ private TextDetectionParams( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = advancedOcrOptions_.getUnmodifiableView(); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -130,6 +146,67 @@ public boolean getEnableTextDetectionConfidenceScore() { return enableTextDetectionConfidenceScore_; } + public static final int ADVANCED_OCR_OPTIONS_FIELD_NUMBER = 11; + private com.google.protobuf.LazyStringList advancedOcrOptions_; + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + public com.google.protobuf.ProtocolStringList getAdvancedOcrOptionsList() { + return advancedOcrOptions_; + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + public int getAdvancedOcrOptionsCount() { + return advancedOcrOptions_.size(); + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + public java.lang.String getAdvancedOcrOptions(int index) { + return advancedOcrOptions_.get(index); + } + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + public com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index) { + return advancedOcrOptions_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -147,6 +224,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enableTextDetectionConfidenceScore_ != false) { output.writeBool(9, enableTextDetectionConfidenceScore_); } + for (int i = 0; i < advancedOcrOptions_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, advancedOcrOptions_.getRaw(i)); + } unknownFields.writeTo(output); } @@ -161,6 +241,14 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeBoolSize( 9, enableTextDetectionConfidenceScore_); } + { + int dataSize = 0; + for (int i = 0; i < advancedOcrOptions_.size(); i++) { + dataSize += computeStringSizeNoTag(advancedOcrOptions_.getRaw(i)); + } + size += dataSize; + size += 1 * getAdvancedOcrOptionsList().size(); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -179,6 +267,7 @@ public boolean equals(final java.lang.Object obj) { if (getEnableTextDetectionConfidenceScore() != other.getEnableTextDetectionConfidenceScore()) return false; + if (!getAdvancedOcrOptionsList().equals(other.getAdvancedOcrOptionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -194,6 +283,10 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableTextDetectionConfidenceScore()); + if (getAdvancedOcrOptionsCount() > 0) { + hash = (37 * hash) + ADVANCED_OCR_OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getAdvancedOcrOptionsList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -343,6 +436,8 @@ public Builder clear() { super.clear(); enableTextDetectionConfidenceScore_ = false; + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -370,7 +465,13 @@ public com.google.cloud.vision.v1p4beta1.TextDetectionParams build() { public com.google.cloud.vision.v1p4beta1.TextDetectionParams buildPartial() { com.google.cloud.vision.v1p4beta1.TextDetectionParams result = new com.google.cloud.vision.v1p4beta1.TextDetectionParams(this); + int from_bitField0_ = bitField0_; result.enableTextDetectionConfidenceScore_ = enableTextDetectionConfidenceScore_; + if (((bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = advancedOcrOptions_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.advancedOcrOptions_ = advancedOcrOptions_; onBuilt(); return result; } @@ -424,6 +525,16 @@ public Builder mergeFrom(com.google.cloud.vision.v1p4beta1.TextDetectionParams o if (other.getEnableTextDetectionConfidenceScore() != false) { setEnableTextDetectionConfidenceScore(other.getEnableTextDetectionConfidenceScore()); } + if (!other.advancedOcrOptions_.isEmpty()) { + if (advancedOcrOptions_.isEmpty()) { + advancedOcrOptions_ = other.advancedOcrOptions_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.addAll(other.advancedOcrOptions_); + } + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -454,6 +565,8 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private boolean enableTextDetectionConfidenceScore_; /** * @@ -512,6 +625,174 @@ public Builder clearEnableTextDetectionConfidenceScore() { return this; } + private com.google.protobuf.LazyStringList advancedOcrOptions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureAdvancedOcrOptionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + advancedOcrOptions_ = new com.google.protobuf.LazyStringArrayList(advancedOcrOptions_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + public com.google.protobuf.ProtocolStringList getAdvancedOcrOptionsList() { + return advancedOcrOptions_.getUnmodifiableView(); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + public int getAdvancedOcrOptionsCount() { + return advancedOcrOptions_.size(); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + public java.lang.String getAdvancedOcrOptions(int index) { + return advancedOcrOptions_.get(index); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + public com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index) { + return advancedOcrOptions_.getByteString(index); + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index to set the value at. + * @param value The advancedOcrOptions to set. + * @return This builder for chaining. + */ + public Builder setAdvancedOcrOptions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param value The advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAdvancedOcrOptions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param values The advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAllAdvancedOcrOptions(java.lang.Iterable values) { + ensureAdvancedOcrOptionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, advancedOcrOptions_); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return This builder for chaining. + */ + public Builder clearAdvancedOcrOptions() { + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of advanced OCR options to fine-tune OCR behavior.
+     * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param value The bytes of the advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAdvancedOcrOptionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.add(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-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextDetectionParamsOrBuilder.java b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextDetectionParamsOrBuilder.java index 827e9d697..93df17e0f 100644 --- a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextDetectionParamsOrBuilder.java +++ b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextDetectionParamsOrBuilder.java @@ -37,4 +37,55 @@ public interface TextDetectionParamsOrBuilder * @return The enableTextDetectionConfidenceScore. */ boolean getEnableTextDetectionConfidenceScore(); + + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return A list containing the advancedOcrOptions. + */ + java.util.List getAdvancedOcrOptionsList(); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @return The count of advancedOcrOptions. + */ + int getAdvancedOcrOptionsCount(); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + java.lang.String getAdvancedOcrOptions(int index); + /** + * + * + *
+   * A list of advanced OCR options to fine-tune OCR behavior.
+   * 
+ * + * repeated string advanced_ocr_options = 11; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index); } diff --git a/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/image_annotator.proto b/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/image_annotator.proto index 07217f398..6d7f3dd1f 100644 --- a/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/image_annotator.proto +++ b/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/image_annotator.proto @@ -628,6 +628,9 @@ message TextDetectionParams { // DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence // score for TEXT_DETECTION as well. bool enable_text_detection_confidence_score = 9; + + // A list of advanced OCR options to fine-tune OCR behavior. + repeated string advanced_ocr_options = 11; } // Image context and/or feature-specific parameters. diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java b/samples/snippets/generated/com/google/cloud/vision/v1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java index fa6ebccea..c565722ff 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1.samples; -// [START -// vision_v1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] +// [START vision_v1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] import com.google.cloud.vision.v1.AsyncAnnotateFileRequest; import com.google.cloud.vision.v1.AsyncBatchAnnotateFilesResponse; import com.google.cloud.vision.v1.ImageAnnotatorClient; @@ -40,5 +39,4 @@ public static void syncAsyncBatchAnnotateFilesListasyncannotatefilerequest() thr } } } -// [END -// vision_v1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] +// [END vision_v1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/imageannotatorclient/asyncbatchannotateimages/SyncAsyncBatchAnnotateImagesListannotateimagerequestOutputconfig.java b/samples/snippets/generated/com/google/cloud/vision/v1/imageannotatorclient/asyncbatchannotateimages/SyncAsyncBatchAnnotateImagesListannotateimagerequestOutputconfig.java index 35bbea966..849827c96 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/imageannotatorclient/asyncbatchannotateimages/SyncAsyncBatchAnnotateImagesListannotateimagerequestOutputconfig.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/imageannotatorclient/asyncbatchannotateimages/SyncAsyncBatchAnnotateImagesListannotateimagerequestOutputconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1.samples; -// [START -// vision_v1_generated_imageannotatorclient_asyncbatchannotateimages_listannotateimagerequestoutputconfig_sync] +// [START vision_v1_generated_imageannotatorclient_asyncbatchannotateimages_listannotateimagerequestoutputconfig_sync] import com.google.cloud.vision.v1.AnnotateImageRequest; import com.google.cloud.vision.v1.AsyncBatchAnnotateImagesResponse; import com.google.cloud.vision.v1.ImageAnnotatorClient; @@ -43,5 +42,4 @@ public static void syncAsyncBatchAnnotateImagesListannotateimagerequestOutputcon } } } -// [END -// vision_v1_generated_imageannotatorclient_asyncbatchannotateimages_listannotateimagerequestoutputconfig_sync] +// [END vision_v1_generated_imageannotatorclient_asyncbatchannotateimages_listannotateimagerequestoutputconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java b/samples/snippets/generated/com/google/cloud/vision/v1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java index 2eb2706cf..47a349f16 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1.samples; -// [START -// vision_v1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] +// [START vision_v1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] import com.google.cloud.vision.v1.AnnotateImageRequest; import com.google.cloud.vision.v1.BatchAnnotateImagesResponse; import com.google.cloud.vision.v1.ImageAnnotatorClient; diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSet.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSet.java index 2d1219663..d044d5d65 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSet.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSet.java @@ -21,6 +21,7 @@ import com.google.cloud.vision.v1.ProductName; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSet { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameProductname.java index 46bc25494..f8b06b4b3 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameProductname.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1.samples; -// [START -// vision_v1_generated_productsearchclient_addproducttoproductset_productsetnameproductname_sync] +// [START vision_v1_generated_productsearchclient_addproducttoproductset_productsetnameproductname_sync] import com.google.cloud.vision.v1.ProductName; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSetProductsetnameProductname { @@ -38,5 +38,4 @@ public static void syncAddProductToProductSetProductsetnameProductname() throws } } } -// [END -// vision_v1_generated_productsearchclient_addproducttoproductset_productsetnameproductname_sync] +// [END vision_v1_generated_productsearchclient_addproducttoproductset_productsetnameproductname_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameString.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameString.java index 394790781..0a9b8168a 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameString.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1.ProductName; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSetProductsetnameString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringProductname.java index cb719705c..ba2212011 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringProductname.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1.ProductName; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSetStringProductname { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringString.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringString.java index f504be803..be1bb73c2 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringString.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1.ProductName; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSetStringString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/createproductset/SyncCreateProductSetLocationnameProductsetString.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/createproductset/SyncCreateProductSetLocationnameProductsetString.java index 430d92237..a276381ff 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/createproductset/SyncCreateProductSetLocationnameProductsetString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/createproductset/SyncCreateProductSetLocationnameProductsetString.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1.samples; -// [START -// vision_v1_generated_productsearchclient_createproductset_locationnameproductsetstring_sync] +// [START vision_v1_generated_productsearchclient_createproductset_locationnameproductsetstring_sync] import com.google.cloud.vision.v1.LocationName; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ProductSet; diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/createreferenceimage/SyncCreateReferenceImageProductnameReferenceimageString.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/createreferenceimage/SyncCreateReferenceImageProductnameReferenceimageString.java index 47a5e1e30..37a524e02 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/createreferenceimage/SyncCreateReferenceImageProductnameReferenceimageString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/createreferenceimage/SyncCreateReferenceImageProductnameReferenceimageString.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1.samples; -// [START -// vision_v1_generated_productsearchclient_createreferenceimage_productnamereferenceimagestring_sync] +// [START vision_v1_generated_productsearchclient_createreferenceimage_productnamereferenceimagestring_sync] import com.google.cloud.vision.v1.ProductName; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ReferenceImage; @@ -40,5 +39,4 @@ public static void syncCreateReferenceImageProductnameReferenceimageString() thr } } } -// [END -// vision_v1_generated_productsearchclient_createreferenceimage_productnamereferenceimagestring_sync] +// [END vision_v1_generated_productsearchclient_createreferenceimage_productnamereferenceimagestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/createreferenceimage/SyncCreateReferenceImageStringReferenceimageString.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/createreferenceimage/SyncCreateReferenceImageStringReferenceimageString.java index 29441ca4c..f939351db 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/createreferenceimage/SyncCreateReferenceImageStringReferenceimageString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/createreferenceimage/SyncCreateReferenceImageStringReferenceimageString.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1.samples; -// [START -// vision_v1_generated_productsearchclient_createreferenceimage_stringreferenceimagestring_sync] +// [START vision_v1_generated_productsearchclient_createreferenceimage_stringreferenceimagestring_sync] import com.google.cloud.vision.v1.ProductName; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ReferenceImage; @@ -40,5 +39,4 @@ public static void syncCreateReferenceImageStringReferenceimageString() throws E } } } -// [END -// vision_v1_generated_productsearchclient_createreferenceimage_stringreferenceimagestring_sync] +// [END vision_v1_generated_productsearchclient_createreferenceimage_stringreferenceimagestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproduct/SyncDeleteProduct.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproduct/SyncDeleteProduct.java index 6b7b833f8..5bedcf38f 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproduct/SyncDeleteProduct.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproduct/SyncDeleteProduct.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1.DeleteProductRequest; import com.google.cloud.vision.v1.ProductName; import com.google.cloud.vision.v1.ProductSearchClient; +import com.google.protobuf.Empty; public class SyncDeleteProduct { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproduct/SyncDeleteProductProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproduct/SyncDeleteProductProductname.java index 7b275f83c..6b83ae61f 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproduct/SyncDeleteProductProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproduct/SyncDeleteProductProductname.java @@ -19,6 +19,7 @@ // [START vision_v1_generated_productsearchclient_deleteproduct_productname_sync] import com.google.cloud.vision.v1.ProductName; import com.google.cloud.vision.v1.ProductSearchClient; +import com.google.protobuf.Empty; public class SyncDeleteProductProductname { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproduct/SyncDeleteProductString.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproduct/SyncDeleteProductString.java index 6fa96db52..079adb148 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproduct/SyncDeleteProductString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproduct/SyncDeleteProductString.java @@ -19,6 +19,7 @@ // [START vision_v1_generated_productsearchclient_deleteproduct_string_sync] import com.google.cloud.vision.v1.ProductName; import com.google.cloud.vision.v1.ProductSearchClient; +import com.google.protobuf.Empty; public class SyncDeleteProductString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproductset/SyncDeleteProductSet.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproductset/SyncDeleteProductSet.java index c52da465f..583a7278a 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproductset/SyncDeleteProductSet.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproductset/SyncDeleteProductSet.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1.DeleteProductSetRequest; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ProductSetName; +import com.google.protobuf.Empty; public class SyncDeleteProductSet { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproductset/SyncDeleteProductSetProductsetname.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproductset/SyncDeleteProductSetProductsetname.java index 5868f9d07..9af4eeb6a 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproductset/SyncDeleteProductSetProductsetname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproductset/SyncDeleteProductSetProductsetname.java @@ -19,6 +19,7 @@ // [START vision_v1_generated_productsearchclient_deleteproductset_productsetname_sync] import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ProductSetName; +import com.google.protobuf.Empty; public class SyncDeleteProductSetProductsetname { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproductset/SyncDeleteProductSetString.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproductset/SyncDeleteProductSetString.java index 894d5847c..2256acace 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproductset/SyncDeleteProductSetString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deleteproductset/SyncDeleteProductSetString.java @@ -19,6 +19,7 @@ // [START vision_v1_generated_productsearchclient_deleteproductset_string_sync] import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ProductSetName; +import com.google.protobuf.Empty; public class SyncDeleteProductSetString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImage.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImage.java index c7cab3e26..9d8b7ea02 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImage.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImage.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1.DeleteReferenceImageRequest; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ReferenceImageName; +import com.google.protobuf.Empty; public class SyncDeleteReferenceImage { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageReferenceimagename.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageReferenceimagename.java index 33162818f..1bc875eb9 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageReferenceimagename.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageReferenceimagename.java @@ -19,6 +19,7 @@ // [START vision_v1_generated_productsearchclient_deletereferenceimage_referenceimagename_sync] import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ReferenceImageName; +import com.google.protobuf.Empty; public class SyncDeleteReferenceImageReferenceimagename { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageString.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageString.java index 76c405299..d077d2c7f 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageString.java @@ -19,6 +19,7 @@ // [START vision_v1_generated_productsearchclient_deletereferenceimage_string_sync] import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ReferenceImageName; +import com.google.protobuf.Empty; public class SyncDeleteReferenceImageString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/importproductsets/SyncImportProductSetsLocationnameImportproductsetsinputconfig.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/importproductsets/SyncImportProductSetsLocationnameImportproductsetsinputconfig.java index 6fa5967f1..6972901a8 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/importproductsets/SyncImportProductSetsLocationnameImportproductsetsinputconfig.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/importproductsets/SyncImportProductSetsLocationnameImportproductsetsinputconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1.samples; -// [START -// vision_v1_generated_productsearchclient_importproductsets_locationnameimportproductsetsinputconfig_sync] +// [START vision_v1_generated_productsearchclient_importproductsets_locationnameimportproductsetsinputconfig_sync] import com.google.cloud.vision.v1.ImportProductSetsInputConfig; import com.google.cloud.vision.v1.ImportProductSetsResponse; import com.google.cloud.vision.v1.LocationName; @@ -41,5 +40,4 @@ public static void syncImportProductSetsLocationnameImportproductsetsinputconfig } } } -// [END -// vision_v1_generated_productsearchclient_importproductsets_locationnameimportproductsetsinputconfig_sync] +// [END vision_v1_generated_productsearchclient_importproductsets_locationnameimportproductsetsinputconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/importproductsets/SyncImportProductSetsStringImportproductsetsinputconfig.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/importproductsets/SyncImportProductSetsStringImportproductsetsinputconfig.java index c24df2aef..9d55154a4 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/importproductsets/SyncImportProductSetsStringImportproductsetsinputconfig.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/importproductsets/SyncImportProductSetsStringImportproductsetsinputconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1.samples; -// [START -// vision_v1_generated_productsearchclient_importproductsets_stringimportproductsetsinputconfig_sync] +// [START vision_v1_generated_productsearchclient_importproductsets_stringimportproductsetsinputconfig_sync] import com.google.cloud.vision.v1.ImportProductSetsInputConfig; import com.google.cloud.vision.v1.ImportProductSetsResponse; import com.google.cloud.vision.v1.LocationName; @@ -40,5 +39,4 @@ public static void syncImportProductSetsStringImportproductsetsinputconfig() thr } } } -// [END -// vision_v1_generated_productsearchclient_importproductsets_stringimportproductsetsinputconfig_sync] +// [END vision_v1_generated_productsearchclient_importproductsets_stringimportproductsetsinputconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/purgeproducts/SyncPurgeProducts.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/purgeproducts/SyncPurgeProducts.java index 44153e164..3cf5383d2 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/purgeproducts/SyncPurgeProducts.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/purgeproducts/SyncPurgeProducts.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1.LocationName; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.PurgeProductsRequest; +import com.google.protobuf.Empty; public class SyncPurgeProducts { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/purgeproducts/SyncPurgeProductsLocationname.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/purgeproducts/SyncPurgeProductsLocationname.java index 84e592594..e49b08797 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/purgeproducts/SyncPurgeProductsLocationname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/purgeproducts/SyncPurgeProductsLocationname.java @@ -19,6 +19,7 @@ // [START vision_v1_generated_productsearchclient_purgeproducts_locationname_sync] import com.google.cloud.vision.v1.LocationName; import com.google.cloud.vision.v1.ProductSearchClient; +import com.google.protobuf.Empty; public class SyncPurgeProductsLocationname { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/purgeproducts/SyncPurgeProductsString.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/purgeproducts/SyncPurgeProductsString.java index 91950a97d..a7d58c007 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/purgeproducts/SyncPurgeProductsString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/purgeproducts/SyncPurgeProductsString.java @@ -19,6 +19,7 @@ // [START vision_v1_generated_productsearchclient_purgeproducts_string_sync] import com.google.cloud.vision.v1.LocationName; import com.google.cloud.vision.v1.ProductSearchClient; +import com.google.protobuf.Empty; public class SyncPurgeProductsString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSet.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSet.java index cec0e738d..170dfa484 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSet.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSet.java @@ -21,6 +21,7 @@ import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ProductSetName; import com.google.cloud.vision.v1.RemoveProductFromProductSetRequest; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSet { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameProductname.java index 24c3db840..32ba19339 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameProductname.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1.samples; -// [START -// vision_v1_generated_productsearchclient_removeproductfromproductset_productsetnameproductname_sync] +// [START vision_v1_generated_productsearchclient_removeproductfromproductset_productsetnameproductname_sync] import com.google.cloud.vision.v1.ProductName; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ProductSetName; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSetProductsetnameProductname { @@ -38,5 +38,4 @@ public static void syncRemoveProductFromProductSetProductsetnameProductname() th } } } -// [END -// vision_v1_generated_productsearchclient_removeproductfromproductset_productsetnameproductname_sync] +// [END vision_v1_generated_productsearchclient_removeproductfromproductset_productsetnameproductname_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameString.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameString.java index 30c9d31af..4a02869c3 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameString.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1.samples; -// [START -// vision_v1_generated_productsearchclient_removeproductfromproductset_productsetnamestring_sync] +// [START vision_v1_generated_productsearchclient_removeproductfromproductset_productsetnamestring_sync] import com.google.cloud.vision.v1.ProductName; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ProductSetName; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSetProductsetnameString { @@ -38,5 +38,4 @@ public static void syncRemoveProductFromProductSetProductsetnameString() throws } } } -// [END -// vision_v1_generated_productsearchclient_removeproductfromproductset_productsetnamestring_sync] +// [END vision_v1_generated_productsearchclient_removeproductfromproductset_productsetnamestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringProductname.java index e42100b70..e8133031c 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringProductname.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1.samples; -// [START -// vision_v1_generated_productsearchclient_removeproductfromproductset_stringproductname_sync] +// [START vision_v1_generated_productsearchclient_removeproductfromproductset_stringproductname_sync] import com.google.cloud.vision.v1.ProductName; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ProductSetName; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSetStringProductname { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringString.java b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringString.java index adcd731ef..76eead3e5 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringString.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1.ProductName; import com.google.cloud.vision.v1.ProductSearchClient; import com.google.cloud.vision.v1.ProductSetName; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSetStringString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p1beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java b/samples/snippets/generated/com/google/cloud/vision/v1p1beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java index 1776beecd..b9d1538f7 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p1beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p1beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p1beta1.samples; -// [START -// vision_v1p1beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] +// [START vision_v1p1beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] import com.google.cloud.vision.v1p1beta1.AnnotateImageRequest; import com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse; import com.google.cloud.vision.v1p1beta1.ImageAnnotatorClient; @@ -39,5 +38,4 @@ public static void syncBatchAnnotateImagesListannotateimagerequest() throws Exce } } } -// [END -// vision_v1p1beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] +// [END vision_v1p1beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p2beta1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java b/samples/snippets/generated/com/google/cloud/vision/v1p2beta1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java index 757a420d9..c2608974e 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p2beta1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p2beta1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p2beta1.samples; -// [START -// vision_v1p2beta1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] +// [START vision_v1p2beta1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] import com.google.cloud.vision.v1p2beta1.AsyncAnnotateFileRequest; import com.google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesResponse; import com.google.cloud.vision.v1p2beta1.ImageAnnotatorClient; @@ -40,5 +39,4 @@ public static void syncAsyncBatchAnnotateFilesListasyncannotatefilerequest() thr } } } -// [END -// vision_v1p2beta1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] +// [END vision_v1p2beta1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p2beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java b/samples/snippets/generated/com/google/cloud/vision/v1p2beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java index 11ef012c1..26672a50b 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p2beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p2beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p2beta1.samples; -// [START -// vision_v1p2beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] +// [START vision_v1p2beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] import com.google.cloud.vision.v1p2beta1.AnnotateImageRequest; import com.google.cloud.vision.v1p2beta1.BatchAnnotateImagesResponse; import com.google.cloud.vision.v1p2beta1.ImageAnnotatorClient; @@ -39,5 +38,4 @@ public static void syncBatchAnnotateImagesListannotateimagerequest() throws Exce } } } -// [END -// vision_v1p2beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] +// [END vision_v1p2beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java index e01fe084f..782ce1355 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] +// [START vision_v1p3beta1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] import com.google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest; import com.google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesResponse; import com.google.cloud.vision.v1p3beta1.ImageAnnotatorClient; @@ -40,5 +39,4 @@ public static void syncAsyncBatchAnnotateFilesListasyncannotatefilerequest() thr } } } -// [END -// vision_v1p3beta1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] +// [END vision_v1p3beta1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java index a22008908..1dc8a01ba 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] +// [START vision_v1p3beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] import com.google.cloud.vision.v1p3beta1.AnnotateImageRequest; import com.google.cloud.vision.v1p3beta1.BatchAnnotateImagesResponse; import com.google.cloud.vision.v1p3beta1.ImageAnnotatorClient; @@ -39,5 +38,4 @@ public static void syncBatchAnnotateImagesListannotateimagerequest() throws Exce } } } -// [END -// vision_v1p3beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] +// [END vision_v1p3beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSet.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSet.java index 89026e696..46d06174e 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSet.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSet.java @@ -21,6 +21,7 @@ import com.google.cloud.vision.v1p3beta1.ProductName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSet { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameProductname.java index db09e2c8b..3972539cf 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameProductname.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_addproducttoproductset_productsetnameproductname_sync] +// [START vision_v1p3beta1_generated_productsearchclient_addproducttoproductset_productsetnameproductname_sync] import com.google.cloud.vision.v1p3beta1.ProductName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSetProductsetnameProductname { @@ -38,5 +38,4 @@ public static void syncAddProductToProductSetProductsetnameProductname() throws } } } -// [END -// vision_v1p3beta1_generated_productsearchclient_addproducttoproductset_productsetnameproductname_sync] +// [END vision_v1p3beta1_generated_productsearchclient_addproducttoproductset_productsetnameproductname_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameString.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameString.java index 764412e0f..0069a8cd7 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameString.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_addproducttoproductset_productsetnamestring_sync] +// [START vision_v1p3beta1_generated_productsearchclient_addproducttoproductset_productsetnamestring_sync] import com.google.cloud.vision.v1p3beta1.ProductName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSetProductsetnameString { @@ -38,5 +38,4 @@ public static void syncAddProductToProductSetProductsetnameString() throws Excep } } } -// [END -// vision_v1p3beta1_generated_productsearchclient_addproducttoproductset_productsetnamestring_sync] +// [END vision_v1p3beta1_generated_productsearchclient_addproducttoproductset_productsetnamestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringProductname.java index 154ad305d..b4433e81d 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringProductname.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_addproducttoproductset_stringproductname_sync] +// [START vision_v1p3beta1_generated_productsearchclient_addproducttoproductset_stringproductname_sync] import com.google.cloud.vision.v1p3beta1.ProductName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSetStringProductname { @@ -38,5 +38,4 @@ public static void syncAddProductToProductSetStringProductname() throws Exceptio } } } -// [END -// vision_v1p3beta1_generated_productsearchclient_addproducttoproductset_stringproductname_sync] +// [END vision_v1p3beta1_generated_productsearchclient_addproducttoproductset_stringproductname_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringString.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringString.java index 21f18eb16..04c8e04f3 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringString.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1p3beta1.ProductName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSetStringString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createproduct/SyncCreateProductLocationnameProductString.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createproduct/SyncCreateProductLocationnameProductString.java index b0e8dd03c..ef1be0043 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createproduct/SyncCreateProductLocationnameProductString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createproduct/SyncCreateProductLocationnameProductString.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_createproduct_locationnameproductstring_sync] +// [START vision_v1p3beta1_generated_productsearchclient_createproduct_locationnameproductstring_sync] import com.google.cloud.vision.v1p3beta1.LocationName; import com.google.cloud.vision.v1p3beta1.Product; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createproductset/SyncCreateProductSetLocationnameProductsetString.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createproductset/SyncCreateProductSetLocationnameProductsetString.java index cb47fdd79..bb8181b35 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createproductset/SyncCreateProductSetLocationnameProductsetString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createproductset/SyncCreateProductSetLocationnameProductsetString.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_createproductset_locationnameproductsetstring_sync] +// [START vision_v1p3beta1_generated_productsearchclient_createproductset_locationnameproductsetstring_sync] import com.google.cloud.vision.v1p3beta1.LocationName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSet; @@ -39,5 +38,4 @@ public static void syncCreateProductSetLocationnameProductsetString() throws Exc } } } -// [END -// vision_v1p3beta1_generated_productsearchclient_createproductset_locationnameproductsetstring_sync] +// [END vision_v1p3beta1_generated_productsearchclient_createproductset_locationnameproductsetstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createproductset/SyncCreateProductSetStringProductsetString.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createproductset/SyncCreateProductSetStringProductsetString.java index a959d0483..72cc3acec 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createproductset/SyncCreateProductSetStringProductsetString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createproductset/SyncCreateProductSetStringProductsetString.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_createproductset_stringproductsetstring_sync] +// [START vision_v1p3beta1_generated_productsearchclient_createproductset_stringproductsetstring_sync] import com.google.cloud.vision.v1p3beta1.LocationName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSet; diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageProductnameReferenceimageString.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageProductnameReferenceimageString.java index 271a9677d..15c9e6114 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageProductnameReferenceimageString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageProductnameReferenceimageString.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_createreferenceimage_productnamereferenceimagestring_sync] +// [START vision_v1p3beta1_generated_productsearchclient_createreferenceimage_productnamereferenceimagestring_sync] import com.google.cloud.vision.v1p3beta1.ProductName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ReferenceImage; @@ -40,5 +39,4 @@ public static void syncCreateReferenceImageProductnameReferenceimageString() thr } } } -// [END -// vision_v1p3beta1_generated_productsearchclient_createreferenceimage_productnamereferenceimagestring_sync] +// [END vision_v1p3beta1_generated_productsearchclient_createreferenceimage_productnamereferenceimagestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageStringReferenceimageString.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageStringReferenceimageString.java index 54373eaf2..5e27f6618 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageStringReferenceimageString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageStringReferenceimageString.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_createreferenceimage_stringreferenceimagestring_sync] +// [START vision_v1p3beta1_generated_productsearchclient_createreferenceimage_stringreferenceimagestring_sync] import com.google.cloud.vision.v1p3beta1.ProductName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ReferenceImage; @@ -40,5 +39,4 @@ public static void syncCreateReferenceImageStringReferenceimageString() throws E } } } -// [END -// vision_v1p3beta1_generated_productsearchclient_createreferenceimage_stringreferenceimagestring_sync] +// [END vision_v1p3beta1_generated_productsearchclient_createreferenceimage_stringreferenceimagestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproduct/SyncDeleteProduct.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproduct/SyncDeleteProduct.java index 99daaf239..9229c99f6 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproduct/SyncDeleteProduct.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproduct/SyncDeleteProduct.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1p3beta1.DeleteProductRequest; import com.google.cloud.vision.v1p3beta1.ProductName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; +import com.google.protobuf.Empty; public class SyncDeleteProduct { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproduct/SyncDeleteProductProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproduct/SyncDeleteProductProductname.java index f8a2650c4..652a91f43 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproduct/SyncDeleteProductProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproduct/SyncDeleteProductProductname.java @@ -19,6 +19,7 @@ // [START vision_v1p3beta1_generated_productsearchclient_deleteproduct_productname_sync] import com.google.cloud.vision.v1p3beta1.ProductName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; +import com.google.protobuf.Empty; public class SyncDeleteProductProductname { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproduct/SyncDeleteProductString.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproduct/SyncDeleteProductString.java index f76ab1369..fccc0253d 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproduct/SyncDeleteProductString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproduct/SyncDeleteProductString.java @@ -19,6 +19,7 @@ // [START vision_v1p3beta1_generated_productsearchclient_deleteproduct_string_sync] import com.google.cloud.vision.v1p3beta1.ProductName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; +import com.google.protobuf.Empty; public class SyncDeleteProductString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproductset/SyncDeleteProductSet.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproductset/SyncDeleteProductSet.java index e43bfadea..2c9d2ac08 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproductset/SyncDeleteProductSet.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproductset/SyncDeleteProductSet.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1p3beta1.DeleteProductSetRequest; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncDeleteProductSet { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproductset/SyncDeleteProductSetProductsetname.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproductset/SyncDeleteProductSetProductsetname.java index 854786fad..54de01dea 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproductset/SyncDeleteProductSetProductsetname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproductset/SyncDeleteProductSetProductsetname.java @@ -19,6 +19,7 @@ // [START vision_v1p3beta1_generated_productsearchclient_deleteproductset_productsetname_sync] import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncDeleteProductSetProductsetname { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproductset/SyncDeleteProductSetString.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproductset/SyncDeleteProductSetString.java index 9826a2c52..2245897cc 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproductset/SyncDeleteProductSetString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deleteproductset/SyncDeleteProductSetString.java @@ -19,6 +19,7 @@ // [START vision_v1p3beta1_generated_productsearchclient_deleteproductset_string_sync] import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncDeleteProductSetString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImage.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImage.java index dbad79626..fc75058db 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImage.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImage.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1p3beta1.DeleteReferenceImageRequest; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ReferenceImageName; +import com.google.protobuf.Empty; public class SyncDeleteReferenceImage { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageReferenceimagename.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageReferenceimagename.java index 04e8d18aa..4c4fc0eba 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageReferenceimagename.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageReferenceimagename.java @@ -16,10 +16,10 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_deletereferenceimage_referenceimagename_sync] +// [START vision_v1p3beta1_generated_productsearchclient_deletereferenceimage_referenceimagename_sync] import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ReferenceImageName; +import com.google.protobuf.Empty; public class SyncDeleteReferenceImageReferenceimagename { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageString.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageString.java index 947dc4824..e7c9525e7 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageString.java @@ -19,6 +19,7 @@ // [START vision_v1p3beta1_generated_productsearchclient_deletereferenceimage_string_sync] import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ReferenceImageName; +import com.google.protobuf.Empty; public class SyncDeleteReferenceImageString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/importproductsets/SyncImportProductSetsLocationnameImportproductsetsinputconfig.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/importproductsets/SyncImportProductSetsLocationnameImportproductsetsinputconfig.java index 2dcaf84b0..0cc58433d 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/importproductsets/SyncImportProductSetsLocationnameImportproductsetsinputconfig.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/importproductsets/SyncImportProductSetsLocationnameImportproductsetsinputconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_importproductsets_locationnameimportproductsetsinputconfig_sync] +// [START vision_v1p3beta1_generated_productsearchclient_importproductsets_locationnameimportproductsetsinputconfig_sync] import com.google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig; import com.google.cloud.vision.v1p3beta1.ImportProductSetsResponse; import com.google.cloud.vision.v1p3beta1.LocationName; @@ -41,5 +40,4 @@ public static void syncImportProductSetsLocationnameImportproductsetsinputconfig } } } -// [END -// vision_v1p3beta1_generated_productsearchclient_importproductsets_locationnameimportproductsetsinputconfig_sync] +// [END vision_v1p3beta1_generated_productsearchclient_importproductsets_locationnameimportproductsetsinputconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/importproductsets/SyncImportProductSetsStringImportproductsetsinputconfig.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/importproductsets/SyncImportProductSetsStringImportproductsetsinputconfig.java index de013a595..08b200f9c 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/importproductsets/SyncImportProductSetsStringImportproductsetsinputconfig.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/importproductsets/SyncImportProductSetsStringImportproductsetsinputconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_importproductsets_stringimportproductsetsinputconfig_sync] +// [START vision_v1p3beta1_generated_productsearchclient_importproductsets_stringimportproductsetsinputconfig_sync] import com.google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig; import com.google.cloud.vision.v1p3beta1.ImportProductSetsResponse; import com.google.cloud.vision.v1p3beta1.LocationName; @@ -40,5 +39,4 @@ public static void syncImportProductSetsStringImportproductsetsinputconfig() thr } } } -// [END -// vision_v1p3beta1_generated_productsearchclient_importproductsets_stringimportproductsetsinputconfig_sync] +// [END vision_v1p3beta1_generated_productsearchclient_importproductsets_stringimportproductsetsinputconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/listproductsinproductset/SyncListProductsInProductSetProductsetname.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/listproductsinproductset/SyncListProductsInProductSetProductsetname.java index bf7472304..de62fbffe 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/listproductsinproductset/SyncListProductsInProductSetProductsetname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/listproductsinproductset/SyncListProductsInProductSetProductsetname.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_listproductsinproductset_productsetname_sync] +// [START vision_v1p3beta1_generated_productsearchclient_listproductsinproductset_productsetname_sync] import com.google.cloud.vision.v1p3beta1.Product; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSetName; diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSet.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSet.java index 8fc234a05..30adc33a9 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSet.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSet.java @@ -21,6 +21,7 @@ import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSetName; import com.google.cloud.vision.v1p3beta1.RemoveProductFromProductSetRequest; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSet { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameProductname.java index d5b1513c1..f7e9c8fc8 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameProductname.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_productsetnameproductname_sync] +// [START vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_productsetnameproductname_sync] import com.google.cloud.vision.v1p3beta1.ProductName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSetProductsetnameProductname { @@ -38,5 +38,4 @@ public static void syncRemoveProductFromProductSetProductsetnameProductname() th } } } -// [END -// vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_productsetnameproductname_sync] +// [END vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_productsetnameproductname_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameString.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameString.java index d305c81a9..79de6ae33 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameString.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_productsetnamestring_sync] +// [START vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_productsetnamestring_sync] import com.google.cloud.vision.v1p3beta1.ProductName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSetProductsetnameString { @@ -38,5 +38,4 @@ public static void syncRemoveProductFromProductSetProductsetnameString() throws } } } -// [END -// vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_productsetnamestring_sync] +// [END vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_productsetnamestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringProductname.java index 1b4201626..96caddba0 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringProductname.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_stringproductname_sync] +// [START vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_stringproductname_sync] import com.google.cloud.vision.v1p3beta1.ProductName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSetStringProductname { @@ -38,5 +38,4 @@ public static void syncRemoveProductFromProductSetStringProductname() throws Exc } } } -// [END -// vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_stringproductname_sync] +// [END vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_stringproductname_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringString.java b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringString.java index 4b9c7b97c..aa8f842a2 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p3beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringString.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1p3beta1.samples; -// [START -// vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_stringstring_sync] +// [START vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_stringstring_sync] import com.google.cloud.vision.v1p3beta1.ProductName; import com.google.cloud.vision.v1p3beta1.ProductSearchClient; import com.google.cloud.vision.v1p3beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSetStringString { @@ -38,5 +38,4 @@ public static void syncRemoveProductFromProductSetStringString() throws Exceptio } } } -// [END -// vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_stringstring_sync] +// [END vision_v1p3beta1_generated_productsearchclient_removeproductfromproductset_stringstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java index cb7448656..ce6f0bb1c 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/asyncbatchannotatefiles/SyncAsyncBatchAnnotateFilesListasyncannotatefilerequest.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] +// [START vision_v1p4beta1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] import com.google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest; import com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesResponse; import com.google.cloud.vision.v1p4beta1.ImageAnnotatorClient; @@ -40,5 +39,4 @@ public static void syncAsyncBatchAnnotateFilesListasyncannotatefilerequest() thr } } } -// [END -// vision_v1p4beta1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] +// [END vision_v1p4beta1_generated_imageannotatorclient_asyncbatchannotatefiles_listasyncannotatefilerequest_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/asyncbatchannotateimages/SyncAsyncBatchAnnotateImagesListannotateimagerequestOutputconfig.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/asyncbatchannotateimages/SyncAsyncBatchAnnotateImagesListannotateimagerequestOutputconfig.java index 5093f76c8..b38e2f97c 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/asyncbatchannotateimages/SyncAsyncBatchAnnotateImagesListannotateimagerequestOutputconfig.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/asyncbatchannotateimages/SyncAsyncBatchAnnotateImagesListannotateimagerequestOutputconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_imageannotatorclient_asyncbatchannotateimages_listannotateimagerequestoutputconfig_sync] +// [START vision_v1p4beta1_generated_imageannotatorclient_asyncbatchannotateimages_listannotateimagerequestoutputconfig_sync] import com.google.cloud.vision.v1p4beta1.AnnotateImageRequest; import com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse; import com.google.cloud.vision.v1p4beta1.ImageAnnotatorClient; @@ -43,5 +42,4 @@ public static void syncAsyncBatchAnnotateImagesListannotateimagerequestOutputcon } } } -// [END -// vision_v1p4beta1_generated_imageannotatorclient_asyncbatchannotateimages_listannotateimagerequestoutputconfig_sync] +// [END vision_v1p4beta1_generated_imageannotatorclient_asyncbatchannotateimages_listannotateimagerequestoutputconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/batchannotatefiles/SyncBatchAnnotateFilesListannotatefilerequest.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/batchannotatefiles/SyncBatchAnnotateFilesListannotatefilerequest.java index e333d9e36..90b61dbea 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/batchannotatefiles/SyncBatchAnnotateFilesListannotatefilerequest.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/batchannotatefiles/SyncBatchAnnotateFilesListannotatefilerequest.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_imageannotatorclient_batchannotatefiles_listannotatefilerequest_sync] +// [START vision_v1p4beta1_generated_imageannotatorclient_batchannotatefiles_listannotatefilerequest_sync] import com.google.cloud.vision.v1p4beta1.AnnotateFileRequest; import com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesResponse; import com.google.cloud.vision.v1p4beta1.ImageAnnotatorClient; @@ -39,5 +38,4 @@ public static void syncBatchAnnotateFilesListannotatefilerequest() throws Except } } } -// [END -// vision_v1p4beta1_generated_imageannotatorclient_batchannotatefiles_listannotatefilerequest_sync] +// [END vision_v1p4beta1_generated_imageannotatorclient_batchannotatefiles_listannotatefilerequest_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java index d51b744e5..df9efcea8 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/imageannotatorclient/batchannotateimages/SyncBatchAnnotateImagesListannotateimagerequest.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] +// [START vision_v1p4beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] import com.google.cloud.vision.v1p4beta1.AnnotateImageRequest; import com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse; import com.google.cloud.vision.v1p4beta1.ImageAnnotatorClient; @@ -39,5 +38,4 @@ public static void syncBatchAnnotateImagesListannotateimagerequest() throws Exce } } } -// [END -// vision_v1p4beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] +// [END vision_v1p4beta1_generated_imageannotatorclient_batchannotateimages_listannotateimagerequest_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSet.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSet.java index 55a74dd24..7f44c8995 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSet.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSet.java @@ -21,6 +21,7 @@ import com.google.cloud.vision.v1p4beta1.ProductName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSet { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameProductname.java index 5e5db0cb4..adfd6e537 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameProductname.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_addproducttoproductset_productsetnameproductname_sync] +// [START vision_v1p4beta1_generated_productsearchclient_addproducttoproductset_productsetnameproductname_sync] import com.google.cloud.vision.v1p4beta1.ProductName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSetProductsetnameProductname { @@ -38,5 +38,4 @@ public static void syncAddProductToProductSetProductsetnameProductname() throws } } } -// [END -// vision_v1p4beta1_generated_productsearchclient_addproducttoproductset_productsetnameproductname_sync] +// [END vision_v1p4beta1_generated_productsearchclient_addproducttoproductset_productsetnameproductname_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameString.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameString.java index 7061382e5..c24381de8 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetProductsetnameString.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_addproducttoproductset_productsetnamestring_sync] +// [START vision_v1p4beta1_generated_productsearchclient_addproducttoproductset_productsetnamestring_sync] import com.google.cloud.vision.v1p4beta1.ProductName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSetProductsetnameString { @@ -38,5 +38,4 @@ public static void syncAddProductToProductSetProductsetnameString() throws Excep } } } -// [END -// vision_v1p4beta1_generated_productsearchclient_addproducttoproductset_productsetnamestring_sync] +// [END vision_v1p4beta1_generated_productsearchclient_addproducttoproductset_productsetnamestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringProductname.java index 6b65870c7..aaf5dd6c4 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringProductname.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_addproducttoproductset_stringproductname_sync] +// [START vision_v1p4beta1_generated_productsearchclient_addproducttoproductset_stringproductname_sync] import com.google.cloud.vision.v1p4beta1.ProductName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSetStringProductname { @@ -38,5 +38,4 @@ public static void syncAddProductToProductSetStringProductname() throws Exceptio } } } -// [END -// vision_v1p4beta1_generated_productsearchclient_addproducttoproductset_stringproductname_sync] +// [END vision_v1p4beta1_generated_productsearchclient_addproducttoproductset_stringproductname_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringString.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringString.java index e05ad4c60..58213b2d8 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/addproducttoproductset/SyncAddProductToProductSetStringString.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1p4beta1.ProductName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncAddProductToProductSetStringString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createproduct/SyncCreateProductLocationnameProductString.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createproduct/SyncCreateProductLocationnameProductString.java index c71a989ae..bf3b5ba22 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createproduct/SyncCreateProductLocationnameProductString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createproduct/SyncCreateProductLocationnameProductString.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_createproduct_locationnameproductstring_sync] +// [START vision_v1p4beta1_generated_productsearchclient_createproduct_locationnameproductstring_sync] import com.google.cloud.vision.v1p4beta1.LocationName; import com.google.cloud.vision.v1p4beta1.Product; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createproductset/SyncCreateProductSetLocationnameProductsetString.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createproductset/SyncCreateProductSetLocationnameProductsetString.java index d848f64d0..5d89b0d0b 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createproductset/SyncCreateProductSetLocationnameProductsetString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createproductset/SyncCreateProductSetLocationnameProductsetString.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_createproductset_locationnameproductsetstring_sync] +// [START vision_v1p4beta1_generated_productsearchclient_createproductset_locationnameproductsetstring_sync] import com.google.cloud.vision.v1p4beta1.LocationName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSet; @@ -39,5 +38,4 @@ public static void syncCreateProductSetLocationnameProductsetString() throws Exc } } } -// [END -// vision_v1p4beta1_generated_productsearchclient_createproductset_locationnameproductsetstring_sync] +// [END vision_v1p4beta1_generated_productsearchclient_createproductset_locationnameproductsetstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createproductset/SyncCreateProductSetStringProductsetString.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createproductset/SyncCreateProductSetStringProductsetString.java index b06d27799..c134ebbd3 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createproductset/SyncCreateProductSetStringProductsetString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createproductset/SyncCreateProductSetStringProductsetString.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_createproductset_stringproductsetstring_sync] +// [START vision_v1p4beta1_generated_productsearchclient_createproductset_stringproductsetstring_sync] import com.google.cloud.vision.v1p4beta1.LocationName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSet; diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageProductnameReferenceimageString.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageProductnameReferenceimageString.java index 22cb2f404..41d8c405c 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageProductnameReferenceimageString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageProductnameReferenceimageString.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_createreferenceimage_productnamereferenceimagestring_sync] +// [START vision_v1p4beta1_generated_productsearchclient_createreferenceimage_productnamereferenceimagestring_sync] import com.google.cloud.vision.v1p4beta1.ProductName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ReferenceImage; @@ -40,5 +39,4 @@ public static void syncCreateReferenceImageProductnameReferenceimageString() thr } } } -// [END -// vision_v1p4beta1_generated_productsearchclient_createreferenceimage_productnamereferenceimagestring_sync] +// [END vision_v1p4beta1_generated_productsearchclient_createreferenceimage_productnamereferenceimagestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageStringReferenceimageString.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageStringReferenceimageString.java index e1fb9ea89..afab3ec05 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageStringReferenceimageString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/createreferenceimage/SyncCreateReferenceImageStringReferenceimageString.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_createreferenceimage_stringreferenceimagestring_sync] +// [START vision_v1p4beta1_generated_productsearchclient_createreferenceimage_stringreferenceimagestring_sync] import com.google.cloud.vision.v1p4beta1.ProductName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ReferenceImage; @@ -40,5 +39,4 @@ public static void syncCreateReferenceImageStringReferenceimageString() throws E } } } -// [END -// vision_v1p4beta1_generated_productsearchclient_createreferenceimage_stringreferenceimagestring_sync] +// [END vision_v1p4beta1_generated_productsearchclient_createreferenceimage_stringreferenceimagestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproduct/SyncDeleteProduct.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproduct/SyncDeleteProduct.java index d60d22bfb..cb5c9473c 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproduct/SyncDeleteProduct.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproduct/SyncDeleteProduct.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1p4beta1.DeleteProductRequest; import com.google.cloud.vision.v1p4beta1.ProductName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; +import com.google.protobuf.Empty; public class SyncDeleteProduct { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproduct/SyncDeleteProductProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproduct/SyncDeleteProductProductname.java index 99017ce7b..52253ab39 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproduct/SyncDeleteProductProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproduct/SyncDeleteProductProductname.java @@ -19,6 +19,7 @@ // [START vision_v1p4beta1_generated_productsearchclient_deleteproduct_productname_sync] import com.google.cloud.vision.v1p4beta1.ProductName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; +import com.google.protobuf.Empty; public class SyncDeleteProductProductname { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproduct/SyncDeleteProductString.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproduct/SyncDeleteProductString.java index 4f8eb4a22..4b419219b 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproduct/SyncDeleteProductString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproduct/SyncDeleteProductString.java @@ -19,6 +19,7 @@ // [START vision_v1p4beta1_generated_productsearchclient_deleteproduct_string_sync] import com.google.cloud.vision.v1p4beta1.ProductName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; +import com.google.protobuf.Empty; public class SyncDeleteProductString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproductset/SyncDeleteProductSet.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproductset/SyncDeleteProductSet.java index 9fbc570ca..fac3b9c74 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproductset/SyncDeleteProductSet.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproductset/SyncDeleteProductSet.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1p4beta1.DeleteProductSetRequest; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncDeleteProductSet { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproductset/SyncDeleteProductSetProductsetname.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproductset/SyncDeleteProductSetProductsetname.java index 8de079d5e..6f4688505 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproductset/SyncDeleteProductSetProductsetname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproductset/SyncDeleteProductSetProductsetname.java @@ -19,6 +19,7 @@ // [START vision_v1p4beta1_generated_productsearchclient_deleteproductset_productsetname_sync] import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncDeleteProductSetProductsetname { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproductset/SyncDeleteProductSetString.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproductset/SyncDeleteProductSetString.java index 4c59169fc..6005f2d7e 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproductset/SyncDeleteProductSetString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deleteproductset/SyncDeleteProductSetString.java @@ -19,6 +19,7 @@ // [START vision_v1p4beta1_generated_productsearchclient_deleteproductset_string_sync] import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncDeleteProductSetString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImage.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImage.java index b7d0a14e9..96a3109a5 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImage.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImage.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ReferenceImageName; +import com.google.protobuf.Empty; public class SyncDeleteReferenceImage { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageReferenceimagename.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageReferenceimagename.java index fe58521e7..6a2d1a0b3 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageReferenceimagename.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageReferenceimagename.java @@ -16,10 +16,10 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_deletereferenceimage_referenceimagename_sync] +// [START vision_v1p4beta1_generated_productsearchclient_deletereferenceimage_referenceimagename_sync] import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ReferenceImageName; +import com.google.protobuf.Empty; public class SyncDeleteReferenceImageReferenceimagename { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageString.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageString.java index fc0c0f3f7..68221d8fe 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/deletereferenceimage/SyncDeleteReferenceImageString.java @@ -19,6 +19,7 @@ // [START vision_v1p4beta1_generated_productsearchclient_deletereferenceimage_string_sync] import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ReferenceImageName; +import com.google.protobuf.Empty; public class SyncDeleteReferenceImageString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/importproductsets/SyncImportProductSetsLocationnameImportproductsetsinputconfig.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/importproductsets/SyncImportProductSetsLocationnameImportproductsetsinputconfig.java index 140afdb15..8de004322 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/importproductsets/SyncImportProductSetsLocationnameImportproductsetsinputconfig.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/importproductsets/SyncImportProductSetsLocationnameImportproductsetsinputconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_importproductsets_locationnameimportproductsetsinputconfig_sync] +// [START vision_v1p4beta1_generated_productsearchclient_importproductsets_locationnameimportproductsetsinputconfig_sync] import com.google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig; import com.google.cloud.vision.v1p4beta1.ImportProductSetsResponse; import com.google.cloud.vision.v1p4beta1.LocationName; @@ -41,5 +40,4 @@ public static void syncImportProductSetsLocationnameImportproductsetsinputconfig } } } -// [END -// vision_v1p4beta1_generated_productsearchclient_importproductsets_locationnameimportproductsetsinputconfig_sync] +// [END vision_v1p4beta1_generated_productsearchclient_importproductsets_locationnameimportproductsetsinputconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/importproductsets/SyncImportProductSetsStringImportproductsetsinputconfig.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/importproductsets/SyncImportProductSetsStringImportproductsetsinputconfig.java index 7a453aaf7..39df9f024 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/importproductsets/SyncImportProductSetsStringImportproductsetsinputconfig.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/importproductsets/SyncImportProductSetsStringImportproductsetsinputconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_importproductsets_stringimportproductsetsinputconfig_sync] +// [START vision_v1p4beta1_generated_productsearchclient_importproductsets_stringimportproductsetsinputconfig_sync] import com.google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig; import com.google.cloud.vision.v1p4beta1.ImportProductSetsResponse; import com.google.cloud.vision.v1p4beta1.LocationName; @@ -40,5 +39,4 @@ public static void syncImportProductSetsStringImportproductsetsinputconfig() thr } } } -// [END -// vision_v1p4beta1_generated_productsearchclient_importproductsets_stringimportproductsetsinputconfig_sync] +// [END vision_v1p4beta1_generated_productsearchclient_importproductsets_stringimportproductsetsinputconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/listproductsinproductset/SyncListProductsInProductSetProductsetname.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/listproductsinproductset/SyncListProductsInProductSetProductsetname.java index 1fa2f5ed4..8a3a1ef79 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/listproductsinproductset/SyncListProductsInProductSetProductsetname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/listproductsinproductset/SyncListProductsInProductSetProductsetname.java @@ -16,8 +16,7 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_listproductsinproductset_productsetname_sync] +// [START vision_v1p4beta1_generated_productsearchclient_listproductsinproductset_productsetname_sync] import com.google.cloud.vision.v1p4beta1.Product; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSetName; diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/purgeproducts/SyncPurgeProducts.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/purgeproducts/SyncPurgeProducts.java index c400cdab0..b404c5f8a 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/purgeproducts/SyncPurgeProducts.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/purgeproducts/SyncPurgeProducts.java @@ -20,6 +20,7 @@ import com.google.cloud.vision.v1p4beta1.LocationName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.PurgeProductsRequest; +import com.google.protobuf.Empty; public class SyncPurgeProducts { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/purgeproducts/SyncPurgeProductsLocationname.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/purgeproducts/SyncPurgeProductsLocationname.java index 53e829480..8fe93c5a7 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/purgeproducts/SyncPurgeProductsLocationname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/purgeproducts/SyncPurgeProductsLocationname.java @@ -19,6 +19,7 @@ // [START vision_v1p4beta1_generated_productsearchclient_purgeproducts_locationname_sync] import com.google.cloud.vision.v1p4beta1.LocationName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; +import com.google.protobuf.Empty; public class SyncPurgeProductsLocationname { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/purgeproducts/SyncPurgeProductsString.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/purgeproducts/SyncPurgeProductsString.java index ad560a744..4f0c6ab9d 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/purgeproducts/SyncPurgeProductsString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/purgeproducts/SyncPurgeProductsString.java @@ -19,6 +19,7 @@ // [START vision_v1p4beta1_generated_productsearchclient_purgeproducts_string_sync] import com.google.cloud.vision.v1p4beta1.LocationName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; +import com.google.protobuf.Empty; public class SyncPurgeProductsString { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSet.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSet.java index 2265378c6..994dec221 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSet.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSet.java @@ -21,6 +21,7 @@ import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSetName; import com.google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSet { diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameProductname.java index cf8b97a43..83ab46025 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameProductname.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_productsetnameproductname_sync] +// [START vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_productsetnameproductname_sync] import com.google.cloud.vision.v1p4beta1.ProductName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSetProductsetnameProductname { @@ -38,5 +38,4 @@ public static void syncRemoveProductFromProductSetProductsetnameProductname() th } } } -// [END -// vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_productsetnameproductname_sync] +// [END vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_productsetnameproductname_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameString.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameString.java index 3a8bf678b..970b71c10 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetProductsetnameString.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_productsetnamestring_sync] +// [START vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_productsetnamestring_sync] import com.google.cloud.vision.v1p4beta1.ProductName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSetProductsetnameString { @@ -38,5 +38,4 @@ public static void syncRemoveProductFromProductSetProductsetnameString() throws } } } -// [END -// vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_productsetnamestring_sync] +// [END vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_productsetnamestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringProductname.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringProductname.java index 759e42c30..0bbd161d3 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringProductname.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringProductname.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_stringproductname_sync] +// [START vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_stringproductname_sync] import com.google.cloud.vision.v1p4beta1.ProductName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSetStringProductname { @@ -38,5 +38,4 @@ public static void syncRemoveProductFromProductSetStringProductname() throws Exc } } } -// [END -// vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_stringproductname_sync] +// [END vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_stringproductname_sync] diff --git a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringString.java b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringString.java index 80d75a821..29cd6ee1e 100644 --- a/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringString.java +++ b/samples/snippets/generated/com/google/cloud/vision/v1p4beta1/productsearchclient/removeproductfromproductset/SyncRemoveProductFromProductSetStringString.java @@ -16,11 +16,11 @@ package com.google.cloud.vision.v1p4beta1.samples; -// [START -// vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_stringstring_sync] +// [START vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_stringstring_sync] import com.google.cloud.vision.v1p4beta1.ProductName; import com.google.cloud.vision.v1p4beta1.ProductSearchClient; import com.google.cloud.vision.v1p4beta1.ProductSetName; +import com.google.protobuf.Empty; public class SyncRemoveProductFromProductSetStringString { @@ -38,5 +38,4 @@ public static void syncRemoveProductFromProductSetStringString() throws Exceptio } } } -// [END -// vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_stringstring_sync] +// [END vision_v1p4beta1_generated_productsearchclient_removeproductfromproductset_stringstring_sync] From f71b7c5d62e86cf8c608dc02dbd5f07c67607c9f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 9 Aug 2022 05:00:26 +0000 Subject: [PATCH 18/19] chore(main): release 3.0.3-SNAPSHOT (#948) :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-vision-bom/pom.xml | 24 ++++++++++----------- google-cloud-vision/pom.xml | 4 ++-- grpc-google-cloud-vision-v1/pom.xml | 4 ++-- grpc-google-cloud-vision-v1p1beta1/pom.xml | 4 ++-- grpc-google-cloud-vision-v1p2beta1/pom.xml | 4 ++-- grpc-google-cloud-vision-v1p3beta1/pom.xml | 4 ++-- grpc-google-cloud-vision-v1p4beta1/pom.xml | 4 ++-- pom.xml | 24 ++++++++++----------- proto-google-cloud-vision-v1/pom.xml | 4 ++-- proto-google-cloud-vision-v1p1beta1/pom.xml | 4 ++-- proto-google-cloud-vision-v1p2beta1/pom.xml | 4 ++-- proto-google-cloud-vision-v1p3beta1/pom.xml | 4 ++-- proto-google-cloud-vision-v1p4beta1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 22 +++++++++---------- 15 files changed, 58 insertions(+), 58 deletions(-) diff --git a/google-cloud-vision-bom/pom.xml b/google-cloud-vision-bom/pom.xml index ac9400271..5f9c4a6d0 100644 --- a/google-cloud-vision-bom/pom.xml +++ b/google-cloud-vision-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-vision-bom - 3.0.2 + 3.0.3-SNAPSHOT pom com.google.cloud @@ -53,57 +53,57 @@ com.google.cloud google-cloud-vision - 3.0.2 + 3.0.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.89.2 + 0.89.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.89.2 + 0.89.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p4beta1 - 0.89.2 + 0.89.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 3.0.2 + 3.0.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1 - 3.0.2 + 3.0.3-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p4beta1 - 0.89.2 + 0.89.3-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1 - 3.0.2 + 3.0.3-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.89.2 + 0.89.3-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.89.2 + 0.89.3-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 3.0.2 + 3.0.3-SNAPSHOT diff --git a/google-cloud-vision/pom.xml b/google-cloud-vision/pom.xml index 5c294332a..717ac326c 100644 --- a/google-cloud-vision/pom.xml +++ b/google-cloud-vision/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-vision - 3.0.2 + 3.0.3-SNAPSHOT jar Google Cloud Vision https://github.com/googleapis/java-vision @@ -11,7 +11,7 @@ com.google.cloud google-cloud-vision-parent - 3.0.2 + 3.0.3-SNAPSHOT google-cloud-vision diff --git a/grpc-google-cloud-vision-v1/pom.xml b/grpc-google-cloud-vision-v1/pom.xml index ba75aab62..0d5d4e69f 100644 --- a/grpc-google-cloud-vision-v1/pom.xml +++ b/grpc-google-cloud-vision-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 3.0.2 + 3.0.3-SNAPSHOT grpc-google-cloud-vision-v1 GRPC library for grpc-google-cloud-vision-v1 com.google.cloud google-cloud-vision-parent - 3.0.2 + 3.0.3-SNAPSHOT diff --git a/grpc-google-cloud-vision-v1p1beta1/pom.xml b/grpc-google-cloud-vision-v1p1beta1/pom.xml index 8242c9fea..9334f5375 100644 --- a/grpc-google-cloud-vision-v1p1beta1/pom.xml +++ b/grpc-google-cloud-vision-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.89.2 + 0.89.3-SNAPSHOT grpc-google-cloud-vision-v1p1beta1 GRPC library for grpc-google-cloud-vision-v1p1beta1 com.google.cloud google-cloud-vision-parent - 3.0.2 + 3.0.3-SNAPSHOT diff --git a/grpc-google-cloud-vision-v1p2beta1/pom.xml b/grpc-google-cloud-vision-v1p2beta1/pom.xml index 4d2c2c414..38bdf0b6c 100644 --- a/grpc-google-cloud-vision-v1p2beta1/pom.xml +++ b/grpc-google-cloud-vision-v1p2beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 3.0.2 + 3.0.3-SNAPSHOT grpc-google-cloud-vision-v1p2beta1 GRPC library for grpc-google-cloud-vision-v1p2beta1 com.google.cloud google-cloud-vision-parent - 3.0.2 + 3.0.3-SNAPSHOT diff --git a/grpc-google-cloud-vision-v1p3beta1/pom.xml b/grpc-google-cloud-vision-v1p3beta1/pom.xml index 64dae194e..8cca5fe75 100644 --- a/grpc-google-cloud-vision-v1p3beta1/pom.xml +++ b/grpc-google-cloud-vision-v1p3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.89.2 + 0.89.3-SNAPSHOT grpc-google-cloud-vision-v1p3beta1 GRPC library for grpc-google-cloud-vision-v1p3beta1 com.google.cloud google-cloud-vision-parent - 3.0.2 + 3.0.3-SNAPSHOT diff --git a/grpc-google-cloud-vision-v1p4beta1/pom.xml b/grpc-google-cloud-vision-v1p4beta1/pom.xml index faf09037c..f43f0c128 100644 --- a/grpc-google-cloud-vision-v1p4beta1/pom.xml +++ b/grpc-google-cloud-vision-v1p4beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1p4beta1 - 0.89.2 + 0.89.3-SNAPSHOT grpc-google-cloud-vision-v1p4beta1 GRPC library for grpc-google-cloud-vision-v1p4beta1 com.google.cloud google-cloud-vision-parent - 3.0.2 + 3.0.3-SNAPSHOT diff --git a/pom.xml b/pom.xml index 02b924d4d..319d04ec7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-vision-parent pom - 3.0.2 + 3.0.3-SNAPSHOT Google Cloud Vision Parent https://github.com/googleapis/java-vision @@ -61,57 +61,57 @@ com.google.api.grpc proto-google-cloud-vision-v1p4beta1 - 0.89.2 + 0.89.3-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1 - 3.0.2 + 3.0.3-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.89.2 + 0.89.3-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.89.2 + 0.89.3-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 3.0.2 + 3.0.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.89.2 + 0.89.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.89.2 + 0.89.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p4beta1 - 0.89.2 + 0.89.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 3.0.2 + 3.0.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1 - 3.0.2 + 3.0.3-SNAPSHOT com.google.cloud google-cloud-vision - 3.0.2 + 3.0.3-SNAPSHOT diff --git a/proto-google-cloud-vision-v1/pom.xml b/proto-google-cloud-vision-v1/pom.xml index 2a1b77ea3..6fcb5b0ae 100644 --- a/proto-google-cloud-vision-v1/pom.xml +++ b/proto-google-cloud-vision-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vision-v1 - 3.0.2 + 3.0.3-SNAPSHOT proto-google-cloud-vision-v1 PROTO library for proto-google-cloud-vision-v1 com.google.cloud google-cloud-vision-parent - 3.0.2 + 3.0.3-SNAPSHOT diff --git a/proto-google-cloud-vision-v1p1beta1/pom.xml b/proto-google-cloud-vision-v1p1beta1/pom.xml index a2c932cba..709c0117a 100644 --- a/proto-google-cloud-vision-v1p1beta1/pom.xml +++ b/proto-google-cloud-vision-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.89.2 + 0.89.3-SNAPSHOT proto-google-cloud-vision-v1p1beta1 PROTO library for proto-google-cloud-vision-v1p1beta1 com.google.cloud google-cloud-vision-parent - 3.0.2 + 3.0.3-SNAPSHOT diff --git a/proto-google-cloud-vision-v1p2beta1/pom.xml b/proto-google-cloud-vision-v1p2beta1/pom.xml index e3c999d08..d9f7d3553 100644 --- a/proto-google-cloud-vision-v1p2beta1/pom.xml +++ b/proto-google-cloud-vision-v1p2beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 3.0.2 + 3.0.3-SNAPSHOT proto-google-cloud-vision-v1p2beta1 PROTO library for proto-google-cloud-vision-v1p2beta1 com.google.cloud google-cloud-vision-parent - 3.0.2 + 3.0.3-SNAPSHOT diff --git a/proto-google-cloud-vision-v1p3beta1/pom.xml b/proto-google-cloud-vision-v1p3beta1/pom.xml index 618383e21..63a1e7bb0 100644 --- a/proto-google-cloud-vision-v1p3beta1/pom.xml +++ b/proto-google-cloud-vision-v1p3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.89.2 + 0.89.3-SNAPSHOT proto-google-cloud-vision-v1p3beta1 PROTO library for proto-google-cloud-vision-v1p3beta1 com.google.cloud google-cloud-vision-parent - 3.0.2 + 3.0.3-SNAPSHOT diff --git a/proto-google-cloud-vision-v1p4beta1/pom.xml b/proto-google-cloud-vision-v1p4beta1/pom.xml index d979c7df4..ac64b7582 100644 --- a/proto-google-cloud-vision-v1p4beta1/pom.xml +++ b/proto-google-cloud-vision-v1p4beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vision-v1p4beta1 - 0.89.2 + 0.89.3-SNAPSHOT proto-google-cloud-vision-v1p4beta1 PROTO library for proto-google-cloud-vision-v1p4beta1 com.google.cloud google-cloud-vision-parent - 3.0.2 + 3.0.3-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index fc445c104..7a2e4c6dd 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-vision - 3.0.2 + 3.0.3-SNAPSHOT diff --git a/versions.txt b/versions.txt index b15eaf553..b3a5567a3 100644 --- a/versions.txt +++ b/versions.txt @@ -1,14 +1,14 @@ # Format: # module:released-version:current-version -google-cloud-vision:3.0.2:3.0.2 -grpc-google-cloud-vision-v1p3beta1:0.89.2:0.89.2 -grpc-google-cloud-vision-v1p1beta1:0.89.2:0.89.2 -grpc-google-cloud-vision-v1p4beta1:0.89.2:0.89.2 -grpc-google-cloud-vision-v1p2beta1:3.0.2:3.0.2 -grpc-google-cloud-vision-v1:3.0.2:3.0.2 -proto-google-cloud-vision-v1p4beta1:0.89.2:0.89.2 -proto-google-cloud-vision-v1:3.0.2:3.0.2 -proto-google-cloud-vision-v1p1beta1:0.89.2:0.89.2 -proto-google-cloud-vision-v1p3beta1:0.89.2:0.89.2 -proto-google-cloud-vision-v1p2beta1:3.0.2:3.0.2 +google-cloud-vision:3.0.2:3.0.3-SNAPSHOT +grpc-google-cloud-vision-v1p3beta1:0.89.2:0.89.3-SNAPSHOT +grpc-google-cloud-vision-v1p1beta1:0.89.2:0.89.3-SNAPSHOT +grpc-google-cloud-vision-v1p4beta1:0.89.2:0.89.3-SNAPSHOT +grpc-google-cloud-vision-v1p2beta1:3.0.2:3.0.3-SNAPSHOT +grpc-google-cloud-vision-v1:3.0.2:3.0.3-SNAPSHOT +proto-google-cloud-vision-v1p4beta1:0.89.2:0.89.3-SNAPSHOT +proto-google-cloud-vision-v1:3.0.2:3.0.3-SNAPSHOT +proto-google-cloud-vision-v1p1beta1:0.89.2:0.89.3-SNAPSHOT +proto-google-cloud-vision-v1p3beta1:0.89.2:0.89.3-SNAPSHOT +proto-google-cloud-vision-v1p2beta1:3.0.2:3.0.3-SNAPSHOT From b0263dcf49d0937cadfec5d3af4a69f25932eb79 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 9 Aug 2022 16:36:30 +0000 Subject: [PATCH 19/19] chore(main): release 3.1.0 (#965) :robot: I have created a release *beep* *boop* --- ## [3.1.0](https://github.com/googleapis/java-vision/compare/v3.0.2...v3.1.0) (2022-08-09) ### Features * Add TextDetectionParams.advanced_ocr_options ([#962](https://github.com/googleapis/java-vision/issues/962)) ([62ce19b](https://github.com/googleapis/java-vision/commit/62ce19b72c5cb544819f47b64decc20a9499c6df)) ### Dependencies * update dependency com.google.cloud:google-cloud-core to v2.8.6 ([#955](https://github.com/googleapis/java-vision/issues/955)) ([f245d73](https://github.com/googleapis/java-vision/commit/f245d7396d6e194386f14923e99f921fc535f46e)) * update dependency com.google.cloud:google-cloud-core to v2.8.7 ([#958](https://github.com/googleapis/java-vision/issues/958)) ([8694f43](https://github.com/googleapis/java-vision/commit/8694f43b12956e24a450c91928d94df5496bcfc5)) * update dependency com.google.cloud:google-cloud-core to v2.8.8 ([#960](https://github.com/googleapis/java-vision/issues/960)) ([0737a1f](https://github.com/googleapis/java-vision/commit/0737a1ffcd29e87ca64e064fe43cbb29ec6a1de4)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#952](https://github.com/googleapis/java-vision/issues/952)) ([37fdb29](https://github.com/googleapis/java-vision/commit/37fdb29a9364d5423ea2b9e3e4c8ae3cea90d149)) * update dependency com.google.cloud:google-cloud-storage to v2.10.0 ([#956](https://github.com/googleapis/java-vision/issues/956)) ([0100ccb](https://github.com/googleapis/java-vision/commit/0100ccb7c1b299966d9371783457bf91a6ec4ea6)) * update dependency com.google.cloud:google-cloud-storage to v2.11.0 ([#959](https://github.com/googleapis/java-vision/issues/959)) ([0ab0e07](https://github.com/googleapis/java-vision/commit/0ab0e07ae7fdfc4b8f7ee50e60ad7132e20a6f41)) * update dependency com.google.cloud:google-cloud-storage to v2.11.1 ([#961](https://github.com/googleapis/java-vision/issues/961)) ([f6271cb](https://github.com/googleapis/java-vision/commit/f6271cb5a5452f39779ef3f7accc728896e25608)) * update dependency com.google.cloud:google-cloud-storage to v2.11.2 ([#963](https://github.com/googleapis/java-vision/issues/963)) ([7b55995](https://github.com/googleapis/java-vision/commit/7b559956116ea8b4a3bbb6f6d3214e0c4076a2b5)) * update spring.version to v2.7.2 ([#951](https://github.com/googleapis/java-vision/issues/951)) ([c86ad9f](https://github.com/googleapis/java-vision/commit/c86ad9fb00e2d88daec9563873d60893242dfc2d)) --- 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 | 20 +++++++++++++++++ google-cloud-vision-bom/pom.xml | 24 ++++++++++----------- google-cloud-vision/pom.xml | 4 ++-- grpc-google-cloud-vision-v1/pom.xml | 4 ++-- grpc-google-cloud-vision-v1p1beta1/pom.xml | 4 ++-- grpc-google-cloud-vision-v1p2beta1/pom.xml | 4 ++-- grpc-google-cloud-vision-v1p3beta1/pom.xml | 4 ++-- grpc-google-cloud-vision-v1p4beta1/pom.xml | 4 ++-- pom.xml | 24 ++++++++++----------- proto-google-cloud-vision-v1/pom.xml | 4 ++-- proto-google-cloud-vision-v1p1beta1/pom.xml | 4 ++-- proto-google-cloud-vision-v1p2beta1/pom.xml | 4 ++-- proto-google-cloud-vision-v1p3beta1/pom.xml | 4 ++-- proto-google-cloud-vision-v1p4beta1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 22 +++++++++---------- 16 files changed, 78 insertions(+), 58 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8695afb89..76d18e470 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## [3.1.0](https://github.com/googleapis/java-vision/compare/v3.0.2...v3.1.0) (2022-08-09) + + +### Features + +* Add TextDetectionParams.advanced_ocr_options ([#962](https://github.com/googleapis/java-vision/issues/962)) ([62ce19b](https://github.com/googleapis/java-vision/commit/62ce19b72c5cb544819f47b64decc20a9499c6df)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-core to v2.8.6 ([#955](https://github.com/googleapis/java-vision/issues/955)) ([f245d73](https://github.com/googleapis/java-vision/commit/f245d7396d6e194386f14923e99f921fc535f46e)) +* update dependency com.google.cloud:google-cloud-core to v2.8.7 ([#958](https://github.com/googleapis/java-vision/issues/958)) ([8694f43](https://github.com/googleapis/java-vision/commit/8694f43b12956e24a450c91928d94df5496bcfc5)) +* update dependency com.google.cloud:google-cloud-core to v2.8.8 ([#960](https://github.com/googleapis/java-vision/issues/960)) ([0737a1f](https://github.com/googleapis/java-vision/commit/0737a1ffcd29e87ca64e064fe43cbb29ec6a1de4)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#952](https://github.com/googleapis/java-vision/issues/952)) ([37fdb29](https://github.com/googleapis/java-vision/commit/37fdb29a9364d5423ea2b9e3e4c8ae3cea90d149)) +* update dependency com.google.cloud:google-cloud-storage to v2.10.0 ([#956](https://github.com/googleapis/java-vision/issues/956)) ([0100ccb](https://github.com/googleapis/java-vision/commit/0100ccb7c1b299966d9371783457bf91a6ec4ea6)) +* update dependency com.google.cloud:google-cloud-storage to v2.11.0 ([#959](https://github.com/googleapis/java-vision/issues/959)) ([0ab0e07](https://github.com/googleapis/java-vision/commit/0ab0e07ae7fdfc4b8f7ee50e60ad7132e20a6f41)) +* update dependency com.google.cloud:google-cloud-storage to v2.11.1 ([#961](https://github.com/googleapis/java-vision/issues/961)) ([f6271cb](https://github.com/googleapis/java-vision/commit/f6271cb5a5452f39779ef3f7accc728896e25608)) +* update dependency com.google.cloud:google-cloud-storage to v2.11.2 ([#963](https://github.com/googleapis/java-vision/issues/963)) ([7b55995](https://github.com/googleapis/java-vision/commit/7b559956116ea8b4a3bbb6f6d3214e0c4076a2b5)) +* update spring.version to v2.7.2 ([#951](https://github.com/googleapis/java-vision/issues/951)) ([c86ad9f](https://github.com/googleapis/java-vision/commit/c86ad9fb00e2d88daec9563873d60893242dfc2d)) + ## [3.0.2](https://github.com/googleapis/java-vision/compare/v3.0.1...v3.0.2) (2022-07-13) diff --git a/google-cloud-vision-bom/pom.xml b/google-cloud-vision-bom/pom.xml index 5f9c4a6d0..66017389f 100644 --- a/google-cloud-vision-bom/pom.xml +++ b/google-cloud-vision-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-vision-bom - 3.0.3-SNAPSHOT + 3.1.0 pom com.google.cloud @@ -53,57 +53,57 @@ com.google.cloud google-cloud-vision - 3.0.3-SNAPSHOT + 3.1.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.89.3-SNAPSHOT + 0.90.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.89.3-SNAPSHOT + 0.90.0 com.google.api.grpc grpc-google-cloud-vision-v1p4beta1 - 0.89.3-SNAPSHOT + 0.90.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 3.0.3-SNAPSHOT + 3.1.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 3.0.3-SNAPSHOT + 3.1.0 com.google.api.grpc proto-google-cloud-vision-v1p4beta1 - 0.89.3-SNAPSHOT + 0.90.0 com.google.api.grpc proto-google-cloud-vision-v1 - 3.0.3-SNAPSHOT + 3.1.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.89.3-SNAPSHOT + 0.90.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.89.3-SNAPSHOT + 0.90.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 3.0.3-SNAPSHOT + 3.1.0 diff --git a/google-cloud-vision/pom.xml b/google-cloud-vision/pom.xml index 717ac326c..df1a21001 100644 --- a/google-cloud-vision/pom.xml +++ b/google-cloud-vision/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-vision - 3.0.3-SNAPSHOT + 3.1.0 jar Google Cloud Vision https://github.com/googleapis/java-vision @@ -11,7 +11,7 @@ com.google.cloud google-cloud-vision-parent - 3.0.3-SNAPSHOT + 3.1.0 google-cloud-vision diff --git a/grpc-google-cloud-vision-v1/pom.xml b/grpc-google-cloud-vision-v1/pom.xml index 0d5d4e69f..72050267e 100644 --- a/grpc-google-cloud-vision-v1/pom.xml +++ b/grpc-google-cloud-vision-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 3.0.3-SNAPSHOT + 3.1.0 grpc-google-cloud-vision-v1 GRPC library for grpc-google-cloud-vision-v1 com.google.cloud google-cloud-vision-parent - 3.0.3-SNAPSHOT + 3.1.0 diff --git a/grpc-google-cloud-vision-v1p1beta1/pom.xml b/grpc-google-cloud-vision-v1p1beta1/pom.xml index 9334f5375..965b7c775 100644 --- a/grpc-google-cloud-vision-v1p1beta1/pom.xml +++ b/grpc-google-cloud-vision-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.89.3-SNAPSHOT + 0.90.0 grpc-google-cloud-vision-v1p1beta1 GRPC library for grpc-google-cloud-vision-v1p1beta1 com.google.cloud google-cloud-vision-parent - 3.0.3-SNAPSHOT + 3.1.0 diff --git a/grpc-google-cloud-vision-v1p2beta1/pom.xml b/grpc-google-cloud-vision-v1p2beta1/pom.xml index 38bdf0b6c..adc74c75e 100644 --- a/grpc-google-cloud-vision-v1p2beta1/pom.xml +++ b/grpc-google-cloud-vision-v1p2beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 3.0.3-SNAPSHOT + 3.1.0 grpc-google-cloud-vision-v1p2beta1 GRPC library for grpc-google-cloud-vision-v1p2beta1 com.google.cloud google-cloud-vision-parent - 3.0.3-SNAPSHOT + 3.1.0 diff --git a/grpc-google-cloud-vision-v1p3beta1/pom.xml b/grpc-google-cloud-vision-v1p3beta1/pom.xml index 8cca5fe75..5072141a0 100644 --- a/grpc-google-cloud-vision-v1p3beta1/pom.xml +++ b/grpc-google-cloud-vision-v1p3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.89.3-SNAPSHOT + 0.90.0 grpc-google-cloud-vision-v1p3beta1 GRPC library for grpc-google-cloud-vision-v1p3beta1 com.google.cloud google-cloud-vision-parent - 3.0.3-SNAPSHOT + 3.1.0 diff --git a/grpc-google-cloud-vision-v1p4beta1/pom.xml b/grpc-google-cloud-vision-v1p4beta1/pom.xml index f43f0c128..d351eee95 100644 --- a/grpc-google-cloud-vision-v1p4beta1/pom.xml +++ b/grpc-google-cloud-vision-v1p4beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1p4beta1 - 0.89.3-SNAPSHOT + 0.90.0 grpc-google-cloud-vision-v1p4beta1 GRPC library for grpc-google-cloud-vision-v1p4beta1 com.google.cloud google-cloud-vision-parent - 3.0.3-SNAPSHOT + 3.1.0 diff --git a/pom.xml b/pom.xml index 319d04ec7..fb8a410f7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-vision-parent pom - 3.0.3-SNAPSHOT + 3.1.0 Google Cloud Vision Parent https://github.com/googleapis/java-vision @@ -61,57 +61,57 @@ com.google.api.grpc proto-google-cloud-vision-v1p4beta1 - 0.89.3-SNAPSHOT + 0.90.0 com.google.api.grpc proto-google-cloud-vision-v1 - 3.0.3-SNAPSHOT + 3.1.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.89.3-SNAPSHOT + 0.90.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.89.3-SNAPSHOT + 0.90.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 3.0.3-SNAPSHOT + 3.1.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.89.3-SNAPSHOT + 0.90.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.89.3-SNAPSHOT + 0.90.0 com.google.api.grpc grpc-google-cloud-vision-v1p4beta1 - 0.89.3-SNAPSHOT + 0.90.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 3.0.3-SNAPSHOT + 3.1.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 3.0.3-SNAPSHOT + 3.1.0 com.google.cloud google-cloud-vision - 3.0.3-SNAPSHOT + 3.1.0 diff --git a/proto-google-cloud-vision-v1/pom.xml b/proto-google-cloud-vision-v1/pom.xml index 6fcb5b0ae..eb5c81e91 100644 --- a/proto-google-cloud-vision-v1/pom.xml +++ b/proto-google-cloud-vision-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vision-v1 - 3.0.3-SNAPSHOT + 3.1.0 proto-google-cloud-vision-v1 PROTO library for proto-google-cloud-vision-v1 com.google.cloud google-cloud-vision-parent - 3.0.3-SNAPSHOT + 3.1.0 diff --git a/proto-google-cloud-vision-v1p1beta1/pom.xml b/proto-google-cloud-vision-v1p1beta1/pom.xml index 709c0117a..e2e89a6b3 100644 --- a/proto-google-cloud-vision-v1p1beta1/pom.xml +++ b/proto-google-cloud-vision-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.89.3-SNAPSHOT + 0.90.0 proto-google-cloud-vision-v1p1beta1 PROTO library for proto-google-cloud-vision-v1p1beta1 com.google.cloud google-cloud-vision-parent - 3.0.3-SNAPSHOT + 3.1.0 diff --git a/proto-google-cloud-vision-v1p2beta1/pom.xml b/proto-google-cloud-vision-v1p2beta1/pom.xml index d9f7d3553..f2cb30792 100644 --- a/proto-google-cloud-vision-v1p2beta1/pom.xml +++ b/proto-google-cloud-vision-v1p2beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 3.0.3-SNAPSHOT + 3.1.0 proto-google-cloud-vision-v1p2beta1 PROTO library for proto-google-cloud-vision-v1p2beta1 com.google.cloud google-cloud-vision-parent - 3.0.3-SNAPSHOT + 3.1.0 diff --git a/proto-google-cloud-vision-v1p3beta1/pom.xml b/proto-google-cloud-vision-v1p3beta1/pom.xml index 63a1e7bb0..d85e6427e 100644 --- a/proto-google-cloud-vision-v1p3beta1/pom.xml +++ b/proto-google-cloud-vision-v1p3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.89.3-SNAPSHOT + 0.90.0 proto-google-cloud-vision-v1p3beta1 PROTO library for proto-google-cloud-vision-v1p3beta1 com.google.cloud google-cloud-vision-parent - 3.0.3-SNAPSHOT + 3.1.0 diff --git a/proto-google-cloud-vision-v1p4beta1/pom.xml b/proto-google-cloud-vision-v1p4beta1/pom.xml index ac64b7582..3126999b5 100644 --- a/proto-google-cloud-vision-v1p4beta1/pom.xml +++ b/proto-google-cloud-vision-v1p4beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vision-v1p4beta1 - 0.89.3-SNAPSHOT + 0.90.0 proto-google-cloud-vision-v1p4beta1 PROTO library for proto-google-cloud-vision-v1p4beta1 com.google.cloud google-cloud-vision-parent - 3.0.3-SNAPSHOT + 3.1.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 7a2e4c6dd..5f3ac8fac 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-vision - 3.0.3-SNAPSHOT + 3.1.0 diff --git a/versions.txt b/versions.txt index b3a5567a3..704503499 100644 --- a/versions.txt +++ b/versions.txt @@ -1,14 +1,14 @@ # Format: # module:released-version:current-version -google-cloud-vision:3.0.2:3.0.3-SNAPSHOT -grpc-google-cloud-vision-v1p3beta1:0.89.2:0.89.3-SNAPSHOT -grpc-google-cloud-vision-v1p1beta1:0.89.2:0.89.3-SNAPSHOT -grpc-google-cloud-vision-v1p4beta1:0.89.2:0.89.3-SNAPSHOT -grpc-google-cloud-vision-v1p2beta1:3.0.2:3.0.3-SNAPSHOT -grpc-google-cloud-vision-v1:3.0.2:3.0.3-SNAPSHOT -proto-google-cloud-vision-v1p4beta1:0.89.2:0.89.3-SNAPSHOT -proto-google-cloud-vision-v1:3.0.2:3.0.3-SNAPSHOT -proto-google-cloud-vision-v1p1beta1:0.89.2:0.89.3-SNAPSHOT -proto-google-cloud-vision-v1p3beta1:0.89.2:0.89.3-SNAPSHOT -proto-google-cloud-vision-v1p2beta1:3.0.2:3.0.3-SNAPSHOT +google-cloud-vision:3.1.0:3.1.0 +grpc-google-cloud-vision-v1p3beta1:0.90.0:0.90.0 +grpc-google-cloud-vision-v1p1beta1:0.90.0:0.90.0 +grpc-google-cloud-vision-v1p4beta1:0.90.0:0.90.0 +grpc-google-cloud-vision-v1p2beta1:3.1.0:3.1.0 +grpc-google-cloud-vision-v1:3.1.0:3.1.0 +proto-google-cloud-vision-v1p4beta1:0.90.0:0.90.0 +proto-google-cloud-vision-v1:3.1.0:3.1.0 +proto-google-cloud-vision-v1p1beta1:0.90.0:0.90.0 +proto-google-cloud-vision-v1p3beta1:0.90.0:0.90.0 +proto-google-cloud-vision-v1p2beta1:3.1.0:3.1.0