Date: Tue, 2 Mar 2021 10:26:11 -0800
Subject: [PATCH 02/20] feat(generator): update protoc to v3.15.3 (#421)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/4650efcc-2b5e-4632-92f4-e28824d4f0b4/targets
- [ ] To automatically regenerate this PR, check this box.
PiperOrigin-RevId: 359781040
Source-Link: https://github.com/googleapis/googleapis/commit/f6dd7e47620566925a4b3f1ce029e74e1b2f2516
---
.../cloud/vision/v1/PurgeProductsRequest.java | 31 +++++++++++++++++++
.../v1/PurgeProductsRequestOrBuilder.java | 13 ++++++++
.../v1p4beta1/PurgeProductsRequest.java | 31 +++++++++++++++++++
.../PurgeProductsRequestOrBuilder.java | 13 ++++++++
synth.metadata | 22 ++++++-------
5 files changed, 99 insertions(+), 11 deletions(-)
diff --git a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/PurgeProductsRequest.java b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/PurgeProductsRequest.java
index 2c2946f10..c4e989240 100644
--- a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/PurgeProductsRequest.java
+++ b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/PurgeProductsRequest.java
@@ -239,6 +239,22 @@ public com.google.cloud.vision.v1.ProductSetPurgeConfig getProductSetPurgeConfig
}
public static final int DELETE_ORPHAN_PRODUCTS_FIELD_NUMBER = 3;
+ /**
+ *
+ *
+ *
+ * If delete_orphan_products is true, all Products that are not in any
+ * ProductSet will be deleted.
+ *
+ *
+ * bool delete_orphan_products = 3;
+ *
+ * @return Whether the deleteOrphanProducts field is set.
+ */
+ @java.lang.Override
+ public boolean hasDeleteOrphanProducts() {
+ return targetCase_ == 3;
+ }
/**
*
*
@@ -960,6 +976,21 @@ public Builder clearProductSetPurgeConfig() {
return productSetPurgeConfigBuilder_;
}
+ /**
+ *
+ *
+ *
+ * If delete_orphan_products is true, all Products that are not in any
+ * ProductSet will be deleted.
+ *
+ *
+ * bool delete_orphan_products = 3;
+ *
+ * @return Whether the deleteOrphanProducts field is set.
+ */
+ public boolean hasDeleteOrphanProducts() {
+ return targetCase_ == 3;
+ }
/**
*
*
diff --git a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/PurgeProductsRequestOrBuilder.java b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/PurgeProductsRequestOrBuilder.java
index 0323c26d1..56188fdf9 100644
--- a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/PurgeProductsRequestOrBuilder.java
+++ b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/PurgeProductsRequestOrBuilder.java
@@ -58,6 +58,19 @@ public interface PurgeProductsRequestOrBuilder
*/
com.google.cloud.vision.v1.ProductSetPurgeConfigOrBuilder getProductSetPurgeConfigOrBuilder();
+ /**
+ *
+ *
+ *
+ * If delete_orphan_products is true, all Products that are not in any
+ * ProductSet will be deleted.
+ *
+ *
+ * bool delete_orphan_products = 3;
+ *
+ * @return Whether the deleteOrphanProducts field is set.
+ */
+ boolean hasDeleteOrphanProducts();
/**
*
*
diff --git a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/PurgeProductsRequest.java b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/PurgeProductsRequest.java
index cc634b2ef..e51b4e542 100644
--- a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/PurgeProductsRequest.java
+++ b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/PurgeProductsRequest.java
@@ -241,6 +241,22 @@ public com.google.cloud.vision.v1p4beta1.ProductSetPurgeConfig getProductSetPurg
}
public static final int DELETE_ORPHAN_PRODUCTS_FIELD_NUMBER = 3;
+ /**
+ *
+ *
+ *
+ * If delete_orphan_products is true, all Products that are not in any
+ * ProductSet will be deleted.
+ *
+ *
+ * bool delete_orphan_products = 3;
+ *
+ * @return Whether the deleteOrphanProducts field is set.
+ */
+ @java.lang.Override
+ public boolean hasDeleteOrphanProducts() {
+ return targetCase_ == 3;
+ }
/**
*
*
@@ -974,6 +990,21 @@ public Builder clearProductSetPurgeConfig() {
return productSetPurgeConfigBuilder_;
}
+ /**
+ *
+ *
+ *
+ * If delete_orphan_products is true, all Products that are not in any
+ * ProductSet will be deleted.
+ *
+ *
+ * bool delete_orphan_products = 3;
+ *
+ * @return Whether the deleteOrphanProducts field is set.
+ */
+ public boolean hasDeleteOrphanProducts() {
+ return targetCase_ == 3;
+ }
/**
*
*
diff --git a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/PurgeProductsRequestOrBuilder.java b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/PurgeProductsRequestOrBuilder.java
index e6a5c33a3..d373cefe8 100644
--- a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/PurgeProductsRequestOrBuilder.java
+++ b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/PurgeProductsRequestOrBuilder.java
@@ -59,6 +59,19 @@ public interface PurgeProductsRequestOrBuilder
com.google.cloud.vision.v1p4beta1.ProductSetPurgeConfigOrBuilder
getProductSetPurgeConfigOrBuilder();
+ /**
+ *
+ *
+ *
+ * If delete_orphan_products is true, all Products that are not in any
+ * ProductSet will be deleted.
+ *
+ *
+ * bool delete_orphan_products = 3;
+ *
+ * @return Whether the deleteOrphanProducts field is set.
+ */
+ boolean hasDeleteOrphanProducts();
/**
*
*
diff --git a/synth.metadata b/synth.metadata
index 521e70139..ad0f18cda 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,47 +4,47 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-vision.git",
- "sha": "c3d6e7bd7e544cbf035c903648eb43ee7958d57f"
+ "sha": "8e5bef4599bad69c53490e450bddff22631c1f20"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
- "internalRef": "358516065"
+ "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
+ "internalRef": "359781040"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
- "internalRef": "358516065"
+ "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
+ "internalRef": "359781040"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
- "internalRef": "358516065"
+ "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
+ "internalRef": "359781040"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
- "internalRef": "358516065"
+ "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
+ "internalRef": "359781040"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
- "internalRef": "358516065"
+ "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
+ "internalRef": "359781040"
}
},
{
From 5c5bd001c3981cd93cd02dbe28165e1f5aa5eea1 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Tue, 2 Mar 2021 10:38:07 -0800
Subject: [PATCH 03/20] chore: regenerate README (#425)
This PR was generated using Autosynth. :rainbow:
Log from Synthtool
```
2021-03-02 18:28:23,768 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-vision/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-03-02 18:28:24,717 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
```
Full log will be available here:
https://source.cloud.google.com/results/invocations/46ed5ce9-b018-4c1e-a021-2baa543498ac/targets
- [ ] To automatically regenerate this PR, check this box.
---
.github/readme/synth.metadata/synth.metadata | 4 ++--
README.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata
index 24aaf8cf2..ba0810ae1 100644
--- a/.github/readme/synth.metadata/synth.metadata
+++ b/.github/readme/synth.metadata/synth.metadata
@@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-vision.git",
- "sha": "02c5572042dbb248d5d8cd0080ef415d4b163321"
+ "sha": "528806f9c29bd2e17b0edc92afba9d8eceb0ad93"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "0199c79b8324fba66476300824aa931788c47e2d"
+ "sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5"
}
}
]
diff --git a/README.md b/README.md
index 519ba23ce..3f1b40b75 100644
--- a/README.md
+++ b/README.md
@@ -52,12 +52,12 @@ compile 'com.google.cloud:google-cloud-vision'
```
If you are using Gradle without BOM, add this to your dependencies
```Groovy
-compile 'com.google.cloud:google-cloud-vision:1.101.0'
+compile 'com.google.cloud:google-cloud-vision:1.101.1'
```
If you are using SBT, add this to your dependencies
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "1.101.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "1.101.1"
```
## Authentication
From 62fc0b83f55ce0222c3a14456c34598c6325df59 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Tue, 2 Mar 2021 22:51:01 +0100
Subject: [PATCH 04/20] deps: update dependency
com.google.cloud:google-cloud-core to v1.94.2 (#423)
---
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 f745df148..ce14d7c18 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
- 1.94.1
+ 1.94.2
test
tests
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 0c34531e7..fb584e711 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -62,7 +62,7 @@
com.google.cloud
google-cloud-core
- 1.94.1
+ 1.94.2
test
tests
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index a34b79b72..9d69bdbce 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -66,7 +66,7 @@
com.google.cloud
google-cloud-core
- 1.94.1
+ 1.94.2
test
tests
From 12c0797093b41415d80c2248bf44497cd4980b61 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Tue, 2 Mar 2021 15:28:25 -0800
Subject: [PATCH 05/20] chore: remove docLava v2 doc generation (#426)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/73ae246c-640c-493c-9b50-608f5fae57b0/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/21da7d9fa02f6916d9f87cf4072b3547b5c72eb5
---
.kokoro/release/publish_javadoc.cfg | 8 +-------
.kokoro/release/publish_javadoc.sh | 19 -------------------
synth.metadata | 4 ++--
3 files changed, 3 insertions(+), 28 deletions(-)
diff --git a/.kokoro/release/publish_javadoc.cfg b/.kokoro/release/publish_javadoc.cfg
index ece7b3100..d5dbeac93 100644
--- a/.kokoro/release/publish_javadoc.cfg
+++ b/.kokoro/release/publish_javadoc.cfg
@@ -7,12 +7,6 @@ env_vars: {
value: "docs-staging"
}
-# cloud-rad staging
-env_vars: {
- key: "STAGING_BUCKET_V2"
- value: "docs-staging-v2-staging"
-}
-
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-vision/.kokoro/release/publish_javadoc.sh"
@@ -26,4 +20,4 @@ before_action {
keyname: "docuploader_service_account"
}
}
-}
\ No newline at end of file
+}
diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh
index d1f0b59bc..913b99e26 100755
--- a/.kokoro/release/publish_javadoc.sh
+++ b/.kokoro/release/publish_javadoc.sh
@@ -56,22 +56,3 @@ python3 -m docuploader create-metadata \
python3 -m docuploader upload . \
--credentials ${CREDENTIALS} \
--staging-bucket ${STAGING_BUCKET}
-
-popd
-
-# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates.
-
-mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/"
-
-pushd target/devsite/reference
-
-# create metadata
-python3 -m docuploader create-metadata \
- --name ${NAME} \
- --version ${VERSION} \
- --language java
-
-# upload docs to staging bucket
-python3 -m docuploader upload . \
- --credentials ${CREDENTIALS} \
- --staging-bucket ${STAGING_BUCKET_V2}
diff --git a/synth.metadata b/synth.metadata
index ad0f18cda..c929d21a2 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-vision.git",
- "sha": "8e5bef4599bad69c53490e450bddff22631c1f20"
+ "sha": "62fc0b83f55ce0222c3a14456c34598c6325df59"
}
},
{
@@ -51,7 +51,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "6946fd71ae9215b0e7ae188f5057df765ee6d7d2"
+ "sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5"
}
}
],
From 19f263bdbe98c63d760aaef3566dab2f0232e324 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Wed, 3 Mar 2021 20:36:42 +0100
Subject: [PATCH 06/20] chore(deps): update dependency
com.google.cloud:libraries-bom to v18.1.0 (#427)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `18.0.0` -> `18.1.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Renovate configuration
:date: **Schedule**: At any time (no schedule defined).
:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision).
---
samples/snippets/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 9d69bdbce..c189e8592 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -30,7 +30,7 @@
com.google.cloud
libraries-bom
- 18.0.0
+ 18.1.0
pom
import
From f2b28f0770a744712e1b9cace8c62eff0af31a8a Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Wed, 3 Mar 2021 20:38:28 +0100
Subject: [PATCH 07/20] chore(deps): update dependency
com.google.cloud:google-cloud-vision to v1.101.1 (#420)
[](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) | `1.101.0` -> `1.101.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Renovate configuration
:date: **Schedule**: At any time (no schedule defined).
:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision).
---
samples/install-without-bom/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index ce14d7c18..aa46fd56e 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
- 1.101.0
+ 1.101.1
From b448d1fbc6a7b61642d4245aa40378f19e6ee259 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Wed, 3 Mar 2021 12:32:09 -0800
Subject: [PATCH 08/20] chore: regenerate README (#429)
This PR was generated using Autosynth. :rainbow:
Log from Synthtool
```
2021-03-03 19:44:37,272 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-vision/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-03-03 19:44:38,378 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
```
Full log will be available here:
https://source.cloud.google.com/results/invocations/faf95c96-1f29-4b68-855e-463784e92a14/targets
- [ ] To automatically regenerate this PR, check this box.
---
.github/readme/synth.metadata/synth.metadata | 4 ++--
README.md | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata
index ba0810ae1..aa9206b1e 100644
--- a/.github/readme/synth.metadata/synth.metadata
+++ b/.github/readme/synth.metadata/synth.metadata
@@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-vision.git",
- "sha": "528806f9c29bd2e17b0edc92afba9d8eceb0ad93"
+ "sha": "f2b28f0770a744712e1b9cace8c62eff0af31a8a"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5"
+ "sha": "2e7bd5cc66a3f0b90ce1c150eb35c89eeb9872d6"
}
}
]
diff --git a/README.md b/README.md
index 3f1b40b75..d4666475e 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
com.google.cloud
libraries-bom
- 18.0.0
+ 18.1.0
pom
import
@@ -39,14 +39,14 @@ If you are using Maven without BOM, add this to your dependencies:
com.google.cloud
google-cloud-vision
- 1.101.0
+ 1.101.1
```
If you are using Gradle 5.x or later, add this to your dependencies
```Groovy
-implementation platform('com.google.cloud:libraries-bom:18.0.0')
+implementation platform('com.google.cloud:libraries-bom:18.1.0')
compile 'com.google.cloud:google-cloud-vision'
```
From 7ea1745fdcd13b58bf2fce06ef2b0e40ee6e8c34 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Thu, 4 Mar 2021 08:04:27 -0800
Subject: [PATCH 09/20] chore(release): update Java microgenerator to 1.0.1
(#430)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/358ec5ba-b9fb-44f3-9e5b-da8ba3cff3b4/targets
- [ ] To automatically regenerate this PR, check this box.
PiperOrigin-RevId: 360805639
Source-Link: https://github.com/googleapis/googleapis/commit/3befd26ca55723d3e8111909331eac1249837987
---
.../cloud/vision/v1/ImageAnnotatorClient.java | 2 +-
.../vision/v1/ImageAnnotatorSettings.java | 2 +-
.../cloud/vision/v1/ProductSearchClient.java | 2 +-
.../vision/v1/ProductSearchSettings.java | 2 +-
.../google/cloud/vision/v1/package-info.java | 2 +-
.../GrpcImageAnnotatorCallableFactory.java | 2 +-
.../v1/stub/GrpcImageAnnotatorStub.java | 2 +-
.../GrpcProductSearchCallableFactory.java | 2 +-
.../vision/v1/stub/GrpcProductSearchStub.java | 2 +-
.../vision/v1/stub/ImageAnnotatorStub.java | 2 +-
.../v1/stub/ImageAnnotatorStubSettings.java | 2 +-
.../vision/v1/stub/ProductSearchStub.java | 2 +-
.../v1/stub/ProductSearchStubSettings.java | 2 +-
.../v1p1beta1/ImageAnnotatorClient.java | 2 +-
.../v1p1beta1/ImageAnnotatorSettings.java | 2 +-
.../cloud/vision/v1p1beta1/package-info.java | 2 +-
.../GrpcImageAnnotatorCallableFactory.java | 2 +-
.../stub/GrpcImageAnnotatorStub.java | 2 +-
.../v1p1beta1/stub/ImageAnnotatorStub.java | 2 +-
.../stub/ImageAnnotatorStubSettings.java | 2 +-
.../v1p2beta1/ImageAnnotatorClient.java | 2 +-
.../v1p2beta1/ImageAnnotatorSettings.java | 2 +-
.../cloud/vision/v1p2beta1/package-info.java | 2 +-
.../GrpcImageAnnotatorCallableFactory.java | 2 +-
.../stub/GrpcImageAnnotatorStub.java | 2 +-
.../v1p2beta1/stub/ImageAnnotatorStub.java | 2 +-
.../stub/ImageAnnotatorStubSettings.java | 2 +-
.../v1p3beta1/ImageAnnotatorClient.java | 2 +-
.../v1p3beta1/ImageAnnotatorSettings.java | 2 +-
.../vision/v1p3beta1/ProductSearchClient.java | 2 +-
.../v1p3beta1/ProductSearchSettings.java | 2 +-
.../cloud/vision/v1p3beta1/package-info.java | 2 +-
.../GrpcImageAnnotatorCallableFactory.java | 2 +-
.../stub/GrpcImageAnnotatorStub.java | 2 +-
.../GrpcProductSearchCallableFactory.java | 2 +-
.../v1p3beta1/stub/GrpcProductSearchStub.java | 2 +-
.../v1p3beta1/stub/ImageAnnotatorStub.java | 2 +-
.../stub/ImageAnnotatorStubSettings.java | 2 +-
.../v1p3beta1/stub/ProductSearchStub.java | 2 +-
.../stub/ProductSearchStubSettings.java | 2 +-
.../v1p4beta1/ImageAnnotatorClient.java | 2 +-
.../v1p4beta1/ImageAnnotatorSettings.java | 2 +-
.../vision/v1p4beta1/ProductSearchClient.java | 2 +-
.../v1p4beta1/ProductSearchSettings.java | 2 +-
.../cloud/vision/v1p4beta1/package-info.java | 2 +-
.../GrpcImageAnnotatorCallableFactory.java | 2 +-
.../stub/GrpcImageAnnotatorStub.java | 2 +-
.../GrpcProductSearchCallableFactory.java | 2 +-
.../v1p4beta1/stub/GrpcProductSearchStub.java | 2 +-
.../v1p4beta1/stub/ImageAnnotatorStub.java | 2 +-
.../stub/ImageAnnotatorStubSettings.java | 2 +-
.../v1p4beta1/stub/ProductSearchStub.java | 2 +-
.../stub/ProductSearchStubSettings.java | 2 +-
.../vision/v1/ImageAnnotatorClientTest.java | 2 +-
.../cloud/vision/v1/MockImageAnnotator.java | 2 +-
.../vision/v1/MockImageAnnotatorImpl.java | 2 +-
.../cloud/vision/v1/MockProductSearch.java | 2 +-
.../vision/v1/MockProductSearchImpl.java | 2 +-
.../vision/v1/ProductSearchClientTest.java | 2 +-
.../v1p1beta1/ImageAnnotatorClientTest.java | 2 +-
.../vision/v1p1beta1/MockImageAnnotator.java | 2 +-
.../v1p1beta1/MockImageAnnotatorImpl.java | 2 +-
.../v1p2beta1/ImageAnnotatorClientTest.java | 2 +-
.../vision/v1p2beta1/MockImageAnnotator.java | 2 +-
.../v1p2beta1/MockImageAnnotatorImpl.java | 2 +-
.../v1p3beta1/ImageAnnotatorClientTest.java | 2 +-
.../vision/v1p3beta1/MockImageAnnotator.java | 2 +-
.../v1p3beta1/MockImageAnnotatorImpl.java | 2 +-
.../vision/v1p3beta1/MockProductSearch.java | 2 +-
.../v1p3beta1/MockProductSearchImpl.java | 2 +-
.../v1p3beta1/ProductSearchClientTest.java | 2 +-
.../v1p4beta1/ImageAnnotatorClientTest.java | 2 +-
.../vision/v1p4beta1/MockImageAnnotator.java | 2 +-
.../v1p4beta1/MockImageAnnotatorImpl.java | 2 +-
.../vision/v1p4beta1/MockProductSearch.java | 2 +-
.../v1p4beta1/MockProductSearchImpl.java | 2 +-
.../v1p4beta1/ProductSearchClientTest.java | 2 +-
.../google/cloud/vision/v1/LocationName.java | 2 +-
.../google/cloud/vision/v1/ProductName.java | 2 +-
.../cloud/vision/v1/ProductSetName.java | 2 +-
.../cloud/vision/v1/ReferenceImageName.java | 2 +-
.../cloud/vision/v1p3beta1/LocationName.java | 2 +-
.../cloud/vision/v1p3beta1/ProductName.java | 2 +-
.../vision/v1p3beta1/ProductSetName.java | 2 +-
.../vision/v1p3beta1/ReferenceImageName.java | 2 +-
.../cloud/vision/v1p4beta1/LocationName.java | 2 +-
.../cloud/vision/v1p4beta1/ProductName.java | 2 +-
.../vision/v1p4beta1/ProductSetName.java | 2 +-
.../vision/v1p4beta1/ReferenceImageName.java | 2 +-
synth.metadata | 22 +++++++++----------
90 files changed, 100 insertions(+), 100 deletions(-)
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorClient.java
index 888ba206c..b8055a31d 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorClient.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorSettings.java
index c19315d49..df14ac406 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java
index 2e73b47eb..eac3aa32a 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchSettings.java
index eef747f4f..a42d214be 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/package-info.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/package-info.java
index 84e323509..d49f12be9 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/package-info.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/package-info.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorCallableFactory.java
index 3d2a31da3..dfaa56680 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorStub.java
index 589419fdb..b4a70e06c 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchCallableFactory.java
index 5445e33ab..7d9bfa3a1 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchStub.java
index 77205f60d..260d33659 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStub.java
index 39201ef74..45a86c90d 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStubSettings.java
index ba098e499..bf05cae07 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStub.java
index b098781a0..92eda19e3 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStubSettings.java
index 3bb1c49b2..932feae91 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ProductSearchStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClient.java
index a2100f622..d52c2dc09 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClient.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorSettings.java
index 574c291fb..03965d482 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/package-info.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/package-info.java
index aa4b032ca..0244fa375 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/package-info.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/package-info.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorCallableFactory.java
index c18a27d6b..c2adc1ab9 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorStub.java
index 4c18e7853..2579fd8c1 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/GrpcImageAnnotatorStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStub.java
index 445f87fd0..d1fdb66a5 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStubSettings.java
index caa6d45bc..fba6ba985 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/ImageAnnotatorStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClient.java
index 33c27c9e8..ae47b6230 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClient.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorSettings.java
index 404b060bd..1ea4e1c1b 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/package-info.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/package-info.java
index 7f1d2a209..b411cf438 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/package-info.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/package-info.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorCallableFactory.java
index 409504cb3..3307d76e0 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorStub.java
index 6aae441a2..d4ec7b72d 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/GrpcImageAnnotatorStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStub.java
index 6834d05f4..6430f4e1d 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStubSettings.java
index dc3c6c40a..2205c9953 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/ImageAnnotatorStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClient.java
index 85d1aaa46..aabc4cf9b 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClient.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorSettings.java
index f8acb19f7..e1a75a263 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java
index 85e1775e7..6d4a6687f 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchSettings.java
index f649c6dec..bbc6ed14d 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/package-info.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/package-info.java
index 64f26ec97..1c2e3e291 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/package-info.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/package-info.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorCallableFactory.java
index 5cab0b1c7..30edde225 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorStub.java
index 0ca8fe972..a569566d0 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcImageAnnotatorStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchCallableFactory.java
index 5806f134e..6b66ea32b 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchStub.java
index 1ad021b59..3569f2903 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/GrpcProductSearchStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStub.java
index 7ec08b413..4104a7fd5 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStubSettings.java
index 189a1883b..df8881f4b 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ImageAnnotatorStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStub.java
index 403756b07..45144f509 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStubSettings.java
index d203c4085..d272342de 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/ProductSearchStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClient.java
index a3a6bf1a1..a6b7f12ee 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClient.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorSettings.java
index 49685fe00..43afbf998 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchClient.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchClient.java
index 2b220525f..faf4fd8e5 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchClient.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchClient.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchSettings.java
index 4e4e217c1..b47b32fb9 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/package-info.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/package-info.java
index b2275a4cb..812a58d89 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/package-info.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/package-info.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorCallableFactory.java
index 926cd5074..98dd531db 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorStub.java
index 7fab2337b..b642a5127 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcImageAnnotatorStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchCallableFactory.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchCallableFactory.java
index bfa1c94a8..0921c6c1d 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchCallableFactory.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchStub.java
index 5229e8a1e..2ec3e6756 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/GrpcProductSearchStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStub.java
index b823a4d1c..b859c65f2 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStubSettings.java
index 70fc95853..eca8f6f2e 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ImageAnnotatorStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStub.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStub.java
index 45ca4fe3a..67f9e73ab 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStub.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStubSettings.java b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStubSettings.java
index 65f981e70..8c04b741d 100644
--- a/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStubSettings.java
+++ b/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/ProductSearchStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ImageAnnotatorClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ImageAnnotatorClientTest.java
index fe2fe352b..b31c09b0e 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ImageAnnotatorClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ImageAnnotatorClientTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotator.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotator.java
index 666e3474a..913aba5c0 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotator.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotator.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotatorImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotatorImpl.java
index 02eab8618..694522f49 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotatorImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockImageAnnotatorImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearch.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearch.java
index 8ac747859..fb6ab9b93 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearch.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearch.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearchImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearchImpl.java
index 84d3c4d26..60990c1d1 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearchImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/MockProductSearchImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ProductSearchClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ProductSearchClientTest.java
index 926be3d35..70db196fd 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ProductSearchClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ProductSearchClientTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClientTest.java
index 9970906d9..632d52dc2 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClientTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotator.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotator.java
index 9a016352f..67b7a8b70 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotator.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotator.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotatorImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotatorImpl.java
index ff94dd92e..67e04f686 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotatorImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p1beta1/MockImageAnnotatorImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClientTest.java
index 5522d33cd..c5823a270 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClientTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotator.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotator.java
index e536b5412..d4102078c 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotator.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotator.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotatorImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotatorImpl.java
index fab1e9ee8..7476979e8 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotatorImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p2beta1/MockImageAnnotatorImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClientTest.java
index 05359abbe..02d77abf9 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClientTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotator.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotator.java
index de3eb8173..b51f90776 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotator.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotator.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotatorImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotatorImpl.java
index 0c6d4d2e2..d3c43c883 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotatorImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockImageAnnotatorImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearch.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearch.java
index 53ec2b16a..5f832b231 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearch.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearch.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearchImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearchImpl.java
index 881513754..43b25cb97 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearchImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/MockProductSearchImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ProductSearchClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ProductSearchClientTest.java
index 00487f739..622920991 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ProductSearchClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ProductSearchClientTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClientTest.java
index f54c540b9..74cc024e4 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorClientTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotator.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotator.java
index eeaeaaf3a..c412d081f 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotator.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotator.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotatorImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotatorImpl.java
index 2498011ee..665f22c1c 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotatorImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockImageAnnotatorImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearch.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearch.java
index 193b5a258..1c7667830 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearch.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearch.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearchImpl.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearchImpl.java
index e50d0ddda..5d360f73e 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearchImpl.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/MockProductSearchImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ProductSearchClientTest.java b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ProductSearchClientTest.java
index 5b0fa5011..9ac4ede60 100644
--- a/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ProductSearchClientTest.java
+++ b/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ProductSearchClientTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/LocationName.java b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/LocationName.java
index 0b4aac645..67374fc43 100644
--- a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/LocationName.java
+++ b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/LocationName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductName.java b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductName.java
index da83de614..bd9e3c589 100644
--- a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductName.java
+++ b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSetName.java b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSetName.java
index 972250714..d587390d3 100644
--- a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSetName.java
+++ b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSetName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ReferenceImageName.java b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ReferenceImageName.java
index 5e926a0a8..942497096 100644
--- a/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ReferenceImageName.java
+++ b/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ReferenceImageName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/LocationName.java b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/LocationName.java
index 521a71112..62b74ed34 100644
--- a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/LocationName.java
+++ b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/LocationName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductName.java b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductName.java
index a03eb3092..7aebf21e6 100644
--- a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductName.java
+++ b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSetName.java b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSetName.java
index 3092c1bdb..5b30068f4 100644
--- a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSetName.java
+++ b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSetName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ReferenceImageName.java b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ReferenceImageName.java
index 9bb9e28c5..afa14686d 100644
--- a/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ReferenceImageName.java
+++ b/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ReferenceImageName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/LocationName.java b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/LocationName.java
index e483138c3..d3561d5d9 100644
--- a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/LocationName.java
+++ b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/LocationName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductName.java b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductName.java
index 5c08f4bca..9ed1cb19c 100644
--- a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductName.java
+++ b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSetName.java b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSetName.java
index 7bc8b3d7e..b4dda47ce 100644
--- a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSetName.java
+++ b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSetName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ReferenceImageName.java b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ReferenceImageName.java
index 73a14a067..c5c764cc7 100644
--- a/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ReferenceImageName.java
+++ b/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ReferenceImageName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/synth.metadata b/synth.metadata
index c929d21a2..57745162e 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,47 +4,47 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-vision.git",
- "sha": "62fc0b83f55ce0222c3a14456c34598c6325df59"
+ "sha": "b448d1fbc6a7b61642d4245aa40378f19e6ee259"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
- "internalRef": "359781040"
+ "sha": "3befd26ca55723d3e8111909331eac1249837987",
+ "internalRef": "360805639"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
- "internalRef": "359781040"
+ "sha": "3befd26ca55723d3e8111909331eac1249837987",
+ "internalRef": "360805639"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
- "internalRef": "359781040"
+ "sha": "3befd26ca55723d3e8111909331eac1249837987",
+ "internalRef": "360805639"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
- "internalRef": "359781040"
+ "sha": "3befd26ca55723d3e8111909331eac1249837987",
+ "internalRef": "360805639"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
- "internalRef": "359781040"
+ "sha": "3befd26ca55723d3e8111909331eac1249837987",
+ "internalRef": "360805639"
}
},
{
From f68c0a548fbf23adb769c3e6b6ad05731eee48b5 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Thu, 4 Mar 2021 08:36:19 -0800
Subject: [PATCH 10/20] chore: regenerate README (#432)
This PR was generated using Autosynth. :rainbow:
Log from Synthtool
```
2021-03-04 16:06:52,624 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-vision/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-03-04 16:06:53,592 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
```
Full log will be available here:
https://source.cloud.google.com/results/invocations/33b9aa81-a40f-4de0-a7e5-45a044cf9264/targets
- [ ] To automatically regenerate this PR, check this box.
---
.github/readme/synth.metadata/synth.metadata | 2 +-
README.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata
index aa9206b1e..a733e21b9 100644
--- a/.github/readme/synth.metadata/synth.metadata
+++ b/.github/readme/synth.metadata/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-vision.git",
- "sha": "f2b28f0770a744712e1b9cace8c62eff0af31a8a"
+ "sha": "7ea1745fdcd13b58bf2fce06ef2b0e40ee6e8c34"
}
},
{
diff --git a/README.md b/README.md
index d4666475e..24945f64b 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ If you are using Maven without BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies
```Groovy
-implementation platform('com.google.cloud:libraries-bom:18.1.0')
+implementation platform('com.google.cloud:libraries-bom:19.0.0')
compile 'com.google.cloud:google-cloud-vision'
```
From 502b688106e41b5227471ae0dc92add1a63a7bf6 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 4 Mar 2021 17:49:46 +0100
Subject: [PATCH 11/20] deps: update dependency
com.google.cloud:google-cloud-storage to v1.113.12 (#422)
---
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 aa46fd56e..5b34ff41d 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
- 1.113.11
+ 1.113.12
net.sourceforge.argparse4j
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index fb584e711..e6a76d5a6 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -35,7 +35,7 @@
com.google.cloud
google-cloud-storage
- 1.113.11
+ 1.113.12
net.sourceforge.argparse4j
From d234a979403fdbea09bb7f61e21ebeef86a1b3d8 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 4 Mar 2021 20:36:36 +0100
Subject: [PATCH 12/20] chore(deps): update dependency
com.google.cloud:libraries-bom to v19 (#431)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `18.1.0` -> `19.0.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Renovate configuration
:date: **Schedule**: At any time (no schedule defined).
:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision).
---
samples/snippets/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index c189e8592..8c2dc1593 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -30,7 +30,7 @@
com.google.cloud
libraries-bom
- 18.1.0
+ 19.0.0
pom
import
From 3cd7c5f117352f607e168423c863455a26f5f44c Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 4 Mar 2021 20:44:56 +0100
Subject: [PATCH 13/20] deps: update dependency
com.google.cloud:google-cloud-core to v1.94.3 (#428)
---
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 5b34ff41d..829ef1969 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
- 1.94.2
+ 1.94.3
test
tests
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index e6a76d5a6..34b589ae2 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -62,7 +62,7 @@
com.google.cloud
google-cloud-core
- 1.94.2
+ 1.94.3
test
tests
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 8c2dc1593..39ca96bad 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -66,7 +66,7 @@
com.google.cloud
google-cloud-core
- 1.94.2
+ 1.94.3
test
tests
From 0e6916b838b90859dfd15d1bad851e0dc4a3c341 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Thu, 4 Mar 2021 11:58:44 -0800
Subject: [PATCH 14/20] chore: regenerate README (#433)
This PR was generated using Autosynth. :rainbow:
Log from Synthtool
```
2021-03-04 19:40:43,480 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-vision/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-03-04 19:40:44,500 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
```
Full log will be available here:
https://source.cloud.google.com/results/invocations/c831070a-c722-4b97-ad76-ad6ca7387ed2/targets
- [ ] To automatically regenerate this PR, check this box.
---
.github/readme/synth.metadata/synth.metadata | 2 +-
README.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata
index a733e21b9..c1fa016b8 100644
--- a/.github/readme/synth.metadata/synth.metadata
+++ b/.github/readme/synth.metadata/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-vision.git",
- "sha": "7ea1745fdcd13b58bf2fce06ef2b0e40ee6e8c34"
+ "sha": "d234a979403fdbea09bb7f61e21ebeef86a1b3d8"
}
},
{
diff --git a/README.md b/README.md
index 24945f64b..33e4e4ed6 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
com.google.cloud
libraries-bom
- 18.1.0
+ 19.0.0
pom
import
From dbb3078ba6c00a6544ee6b49717842cec00660e5 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Thu, 4 Mar 2021 15:52:29 -0800
Subject: [PATCH 15/20] chore: copy README to docfx-yml dir (#434)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/e006cc60-1a44-4267-85d4-fdb18bd0f44e/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/d0bdade9a962042dc0f770cf631086f3db59b5b0
---
.kokoro/release/publish_javadoc11.sh | 5 ++++-
synth.metadata | 4 ++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh
index 515ad0cf2..565d781da 100755
--- a/.kokoro/release/publish_javadoc11.sh
+++ b/.kokoro/release/publish_javadoc11.sh
@@ -40,6 +40,9 @@ export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)
# generate yml
mvn clean site -B -q -P docFX
+# copy README to docfx-yml dir and rename index.md
+cp README.md target/docfx-yml/index.md
+
pushd target/docfx-yml
# create metadata
@@ -52,4 +55,4 @@ python3 -m docuploader create-metadata \
python3 -m docuploader upload . \
--credentials ${CREDENTIALS} \
--staging-bucket ${STAGING_BUCKET_V2} \
- --destination-prefix docfx-
+ --destination-prefix docfx
diff --git a/synth.metadata b/synth.metadata
index 57745162e..5c0a4754f 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-vision.git",
- "sha": "b448d1fbc6a7b61642d4245aa40378f19e6ee259"
+ "sha": "0e6916b838b90859dfd15d1bad851e0dc4a3c341"
}
},
{
@@ -51,7 +51,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5"
+ "sha": "d0bdade9a962042dc0f770cf631086f3db59b5b0"
}
}
],
From 62c419835b2ee128446ce34b1118420e4056e4be Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Mon, 8 Mar 2021 08:26:21 -0800
Subject: [PATCH 16/20] chore: update gax-java dependency to 1.62 (#435)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/b096316f-13b7-4a8e-84ef-7f6422d1caba/targets
- [ ] To automatically regenerate this PR, check this box.
PiperOrigin-RevId: 361377784
Source-Link: https://github.com/googleapis/googleapis/commit/0e915217fb5261c1e57bfaf0e16ee5c7feaaba89
---
.../cloud/vision/v1/ImageAnnotatorGrpc.java | 49 ++--
.../cloud/vision/v1/ProductSearchGrpc.java | 221 ++++++++++--------
.../vision/v1p1beta1/ImageAnnotatorGrpc.java | 16 +-
.../vision/v1p2beta1/ImageAnnotatorGrpc.java | 27 +--
.../vision/v1p3beta1/ImageAnnotatorGrpc.java | 27 +--
.../vision/v1p3beta1/ProductSearchGrpc.java | 209 +++++++++--------
.../vision/v1p4beta1/ImageAnnotatorGrpc.java | 49 ++--
.../vision/v1p4beta1/ProductSearchGrpc.java | 221 ++++++++++--------
synth.metadata | 22 +-
9 files changed, 445 insertions(+), 396 deletions(-)
diff --git a/grpc-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorGrpc.java b/grpc-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorGrpc.java
index ef1a1c4ef..21de7d521 100644
--- a/grpc-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorGrpc.java
+++ b/grpc-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorGrpc.java
@@ -16,11 +16,6 @@
package com.google.cloud.vision.v1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
-import static io.grpc.stub.ClientCalls.asyncUnaryCall;
-import static io.grpc.stub.ClientCalls.blockingUnaryCall;
-import static io.grpc.stub.ClientCalls.futureUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
*
@@ -300,7 +295,8 @@ public void batchAnnotateImages(
com.google.cloud.vision.v1.BatchAnnotateImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getBatchAnnotateImagesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getBatchAnnotateImagesMethod(), responseObserver);
}
/**
@@ -319,7 +315,8 @@ public void batchAnnotateFiles(
com.google.cloud.vision.v1.BatchAnnotateFilesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getBatchAnnotateFilesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getBatchAnnotateFilesMethod(), responseObserver);
}
/**
@@ -338,7 +335,8 @@ public void batchAnnotateFiles(
public void asyncBatchAnnotateImages(
com.google.cloud.vision.v1.AsyncBatchAnnotateImagesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getAsyncBatchAnnotateImagesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getAsyncBatchAnnotateImagesMethod(), responseObserver);
}
/**
@@ -356,7 +354,8 @@ public void asyncBatchAnnotateImages(
public void asyncBatchAnnotateFiles(
com.google.cloud.vision.v1.AsyncBatchAnnotateFilesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getAsyncBatchAnnotateFilesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getAsyncBatchAnnotateFilesMethod(), responseObserver);
}
@java.lang.Override
@@ -364,28 +363,28 @@ public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getBatchAnnotateImagesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.BatchAnnotateImagesRequest,
com.google.cloud.vision.v1.BatchAnnotateImagesResponse>(
this, METHODID_BATCH_ANNOTATE_IMAGES)))
.addMethod(
getBatchAnnotateFilesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.BatchAnnotateFilesRequest,
com.google.cloud.vision.v1.BatchAnnotateFilesResponse>(
this, METHODID_BATCH_ANNOTATE_FILES)))
.addMethod(
getAsyncBatchAnnotateImagesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.AsyncBatchAnnotateImagesRequest,
com.google.longrunning.Operation>(
this, METHODID_ASYNC_BATCH_ANNOTATE_IMAGES)))
.addMethod(
getAsyncBatchAnnotateFilesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.AsyncBatchAnnotateFilesRequest,
com.google.longrunning.Operation>(this, METHODID_ASYNC_BATCH_ANNOTATE_FILES)))
@@ -424,7 +423,7 @@ public void batchAnnotateImages(
com.google.cloud.vision.v1.BatchAnnotateImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getBatchAnnotateImagesMethod(), getCallOptions()),
request,
responseObserver);
@@ -446,7 +445,7 @@ public void batchAnnotateFiles(
com.google.cloud.vision.v1.BatchAnnotateFilesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getBatchAnnotateFilesMethod(), getCallOptions()),
request,
responseObserver);
@@ -468,7 +467,7 @@ public void batchAnnotateFiles(
public void asyncBatchAnnotateImages(
com.google.cloud.vision.v1.AsyncBatchAnnotateImagesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAsyncBatchAnnotateImagesMethod(), getCallOptions()),
request,
responseObserver);
@@ -489,7 +488,7 @@ public void asyncBatchAnnotateImages(
public void asyncBatchAnnotateFiles(
com.google.cloud.vision.v1.AsyncBatchAnnotateFilesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAsyncBatchAnnotateFilesMethod(), getCallOptions()),
request,
responseObserver);
@@ -526,7 +525,7 @@ protected ImageAnnotatorBlockingStub build(
*/
public com.google.cloud.vision.v1.BatchAnnotateImagesResponse batchAnnotateImages(
com.google.cloud.vision.v1.BatchAnnotateImagesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getBatchAnnotateImagesMethod(), getCallOptions(), request);
}
@@ -544,7 +543,7 @@ public com.google.cloud.vision.v1.BatchAnnotateImagesResponse batchAnnotateImage
*/
public com.google.cloud.vision.v1.BatchAnnotateFilesResponse batchAnnotateFiles(
com.google.cloud.vision.v1.BatchAnnotateFilesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getBatchAnnotateFilesMethod(), getCallOptions(), request);
}
@@ -563,7 +562,7 @@ public com.google.cloud.vision.v1.BatchAnnotateFilesResponse batchAnnotateFiles(
*/
public com.google.longrunning.Operation asyncBatchAnnotateImages(
com.google.cloud.vision.v1.AsyncBatchAnnotateImagesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAsyncBatchAnnotateImagesMethod(), getCallOptions(), request);
}
@@ -581,7 +580,7 @@ public com.google.longrunning.Operation asyncBatchAnnotateImages(
*/
public com.google.longrunning.Operation asyncBatchAnnotateFiles(
com.google.cloud.vision.v1.AsyncBatchAnnotateFilesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAsyncBatchAnnotateFilesMethod(), getCallOptions(), request);
}
}
@@ -617,7 +616,7 @@ protected ImageAnnotatorFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1.BatchAnnotateImagesResponse>
batchAnnotateImages(com.google.cloud.vision.v1.BatchAnnotateImagesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getBatchAnnotateImagesMethod(), getCallOptions()), request);
}
@@ -636,7 +635,7 @@ protected ImageAnnotatorFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1.BatchAnnotateFilesResponse>
batchAnnotateFiles(com.google.cloud.vision.v1.BatchAnnotateFilesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getBatchAnnotateFilesMethod(), getCallOptions()), request);
}
@@ -656,7 +655,7 @@ protected ImageAnnotatorFutureStub build(
public com.google.common.util.concurrent.ListenableFuture
asyncBatchAnnotateImages(
com.google.cloud.vision.v1.AsyncBatchAnnotateImagesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAsyncBatchAnnotateImagesMethod(), getCallOptions()), request);
}
@@ -674,7 +673,7 @@ protected ImageAnnotatorFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
asyncBatchAnnotateFiles(com.google.cloud.vision.v1.AsyncBatchAnnotateFilesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAsyncBatchAnnotateFilesMethod(), getCallOptions()), request);
}
}
diff --git a/grpc-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSearchGrpc.java b/grpc-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSearchGrpc.java
index 7a42ac846..62ee6d016 100644
--- a/grpc-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSearchGrpc.java
+++ b/grpc-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSearchGrpc.java
@@ -16,11 +16,6 @@
package com.google.cloud.vision.v1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
-import static io.grpc.stub.ClientCalls.asyncUnaryCall;
-import static io.grpc.stub.ClientCalls.blockingUnaryCall;
-import static io.grpc.stub.ClientCalls.futureUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
*
@@ -970,7 +965,8 @@ public abstract static class ProductSearchImplBase implements io.grpc.BindableSe
public void createProductSet(
com.google.cloud.vision.v1.CreateProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getCreateProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateProductSetMethod(), responseObserver);
}
/**
@@ -987,7 +983,8 @@ public void listProductSets(
com.google.cloud.vision.v1.ListProductSetsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getListProductSetsMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListProductSetsMethod(), responseObserver);
}
/**
@@ -1002,7 +999,8 @@ public void listProductSets(
public void getProductSet(
com.google.cloud.vision.v1.GetProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getGetProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetProductSetMethod(), responseObserver);
}
/**
@@ -1020,7 +1018,8 @@ public void getProductSet(
public void updateProductSet(
com.google.cloud.vision.v1.UpdateProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getUpdateProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateProductSetMethod(), responseObserver);
}
/**
@@ -1035,7 +1034,8 @@ public void updateProductSet(
public void deleteProductSet(
com.google.cloud.vision.v1.DeleteProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getDeleteProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteProductSetMethod(), responseObserver);
}
/**
@@ -1053,7 +1053,8 @@ public void deleteProductSet(
public void createProduct(
com.google.cloud.vision.v1.CreateProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getCreateProductMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateProductMethod(), responseObserver);
}
/**
@@ -1069,7 +1070,8 @@ public void listProducts(
com.google.cloud.vision.v1.ListProductsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getListProductsMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListProductsMethod(), responseObserver);
}
/**
@@ -1084,7 +1086,7 @@ public void listProducts(
public void getProduct(
com.google.cloud.vision.v1.GetProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getGetProductMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProductMethod(), responseObserver);
}
/**
@@ -1108,7 +1110,8 @@ public void getProduct(
public void updateProduct(
com.google.cloud.vision.v1.UpdateProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getUpdateProductMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateProductMethod(), responseObserver);
}
/**
@@ -1124,7 +1127,8 @@ public void updateProduct(
public void deleteProduct(
com.google.cloud.vision.v1.DeleteProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getDeleteProductMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteProductMethod(), responseObserver);
}
/**
@@ -1151,7 +1155,8 @@ public void deleteProduct(
public void createReferenceImage(
com.google.cloud.vision.v1.CreateReferenceImageRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getCreateReferenceImageMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateReferenceImageMethod(), responseObserver);
}
/**
@@ -1168,7 +1173,8 @@ public void createReferenceImage(
public void deleteReferenceImage(
com.google.cloud.vision.v1.DeleteReferenceImageRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getDeleteReferenceImageMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteReferenceImageMethod(), responseObserver);
}
/**
@@ -1186,7 +1192,8 @@ public void listReferenceImages(
com.google.cloud.vision.v1.ListReferenceImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getListReferenceImagesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListReferenceImagesMethod(), responseObserver);
}
/**
@@ -1201,7 +1208,8 @@ public void listReferenceImages(
public void getReferenceImage(
com.google.cloud.vision.v1.GetReferenceImageRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getGetReferenceImageMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetReferenceImageMethod(), responseObserver);
}
/**
@@ -1218,7 +1226,8 @@ public void getReferenceImage(
public void addProductToProductSet(
com.google.cloud.vision.v1.AddProductToProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getAddProductToProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getAddProductToProductSetMethod(), responseObserver);
}
/**
@@ -1231,7 +1240,8 @@ public void addProductToProductSet(
public void removeProductFromProductSet(
com.google.cloud.vision.v1.RemoveProductFromProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getRemoveProductFromProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getRemoveProductFromProductSetMethod(), responseObserver);
}
/**
@@ -1249,7 +1259,8 @@ public void listProductsInProductSet(
com.google.cloud.vision.v1.ListProductsInProductSetRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getListProductsInProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListProductsInProductSetMethod(), responseObserver);
}
/**
@@ -1270,7 +1281,8 @@ public void listProductsInProductSet(
public void importProductSets(
com.google.cloud.vision.v1.ImportProductSetsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getImportProductSetsMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getImportProductSetsMethod(), responseObserver);
}
/**
@@ -1301,7 +1313,8 @@ public void importProductSets(
public void purgeProducts(
com.google.cloud.vision.v1.PurgeProductsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getPurgeProductsMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getPurgeProductsMethod(), responseObserver);
}
@java.lang.Override
@@ -1309,121 +1322,121 @@ public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCreateProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.CreateProductSetRequest,
com.google.cloud.vision.v1.ProductSet>(this, METHODID_CREATE_PRODUCT_SET)))
.addMethod(
getListProductSetsMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.ListProductSetsRequest,
com.google.cloud.vision.v1.ListProductSetsResponse>(
this, METHODID_LIST_PRODUCT_SETS)))
.addMethod(
getGetProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.GetProductSetRequest,
com.google.cloud.vision.v1.ProductSet>(this, METHODID_GET_PRODUCT_SET)))
.addMethod(
getUpdateProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.UpdateProductSetRequest,
com.google.cloud.vision.v1.ProductSet>(this, METHODID_UPDATE_PRODUCT_SET)))
.addMethod(
getDeleteProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.DeleteProductSetRequest,
com.google.protobuf.Empty>(this, METHODID_DELETE_PRODUCT_SET)))
.addMethod(
getCreateProductMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.CreateProductRequest,
com.google.cloud.vision.v1.Product>(this, METHODID_CREATE_PRODUCT)))
.addMethod(
getListProductsMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.ListProductsRequest,
com.google.cloud.vision.v1.ListProductsResponse>(
this, METHODID_LIST_PRODUCTS)))
.addMethod(
getGetProductMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.GetProductRequest,
com.google.cloud.vision.v1.Product>(this, METHODID_GET_PRODUCT)))
.addMethod(
getUpdateProductMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.UpdateProductRequest,
com.google.cloud.vision.v1.Product>(this, METHODID_UPDATE_PRODUCT)))
.addMethod(
getDeleteProductMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.DeleteProductRequest, com.google.protobuf.Empty>(
this, METHODID_DELETE_PRODUCT)))
.addMethod(
getCreateReferenceImageMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.CreateReferenceImageRequest,
com.google.cloud.vision.v1.ReferenceImage>(
this, METHODID_CREATE_REFERENCE_IMAGE)))
.addMethod(
getDeleteReferenceImageMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.DeleteReferenceImageRequest,
com.google.protobuf.Empty>(this, METHODID_DELETE_REFERENCE_IMAGE)))
.addMethod(
getListReferenceImagesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.ListReferenceImagesRequest,
com.google.cloud.vision.v1.ListReferenceImagesResponse>(
this, METHODID_LIST_REFERENCE_IMAGES)))
.addMethod(
getGetReferenceImageMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.GetReferenceImageRequest,
com.google.cloud.vision.v1.ReferenceImage>(
this, METHODID_GET_REFERENCE_IMAGE)))
.addMethod(
getAddProductToProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.AddProductToProductSetRequest,
com.google.protobuf.Empty>(this, METHODID_ADD_PRODUCT_TO_PRODUCT_SET)))
.addMethod(
getRemoveProductFromProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.RemoveProductFromProductSetRequest,
com.google.protobuf.Empty>(this, METHODID_REMOVE_PRODUCT_FROM_PRODUCT_SET)))
.addMethod(
getListProductsInProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.ListProductsInProductSetRequest,
com.google.cloud.vision.v1.ListProductsInProductSetResponse>(
this, METHODID_LIST_PRODUCTS_IN_PRODUCT_SET)))
.addMethod(
getImportProductSetsMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.ImportProductSetsRequest,
com.google.longrunning.Operation>(this, METHODID_IMPORT_PRODUCT_SETS)))
.addMethod(
getPurgeProductsMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1.PurgeProductsRequest,
com.google.longrunning.Operation>(this, METHODID_PURGE_PRODUCTS)))
@@ -1471,7 +1484,7 @@ protected ProductSearchStub build(io.grpc.Channel channel, io.grpc.CallOptions c
public void createProductSet(
com.google.cloud.vision.v1.CreateProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1491,7 +1504,7 @@ public void listProductSets(
com.google.cloud.vision.v1.ListProductSetsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListProductSetsMethod(), getCallOptions()),
request,
responseObserver);
@@ -1509,7 +1522,7 @@ public void listProductSets(
public void getProductSet(
com.google.cloud.vision.v1.GetProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1530,7 +1543,7 @@ public void getProductSet(
public void updateProductSet(
com.google.cloud.vision.v1.UpdateProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1548,7 +1561,7 @@ public void updateProductSet(
public void deleteProductSet(
com.google.cloud.vision.v1.DeleteProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1569,7 +1582,7 @@ public void deleteProductSet(
public void createProduct(
com.google.cloud.vision.v1.CreateProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateProductMethod(), getCallOptions()),
request,
responseObserver);
@@ -1588,7 +1601,7 @@ public void listProducts(
com.google.cloud.vision.v1.ListProductsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListProductsMethod(), getCallOptions()),
request,
responseObserver);
@@ -1606,7 +1619,7 @@ public void listProducts(
public void getProduct(
com.google.cloud.vision.v1.GetProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetProductMethod(), getCallOptions()), request, responseObserver);
}
@@ -1631,7 +1644,7 @@ public void getProduct(
public void updateProduct(
com.google.cloud.vision.v1.UpdateProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateProductMethod(), getCallOptions()),
request,
responseObserver);
@@ -1650,7 +1663,7 @@ public void updateProduct(
public void deleteProduct(
com.google.cloud.vision.v1.DeleteProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteProductMethod(), getCallOptions()),
request,
responseObserver);
@@ -1680,7 +1693,7 @@ public void deleteProduct(
public void createReferenceImage(
com.google.cloud.vision.v1.CreateReferenceImageRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateReferenceImageMethod(), getCallOptions()),
request,
responseObserver);
@@ -1700,7 +1713,7 @@ public void createReferenceImage(
public void deleteReferenceImage(
com.google.cloud.vision.v1.DeleteReferenceImageRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteReferenceImageMethod(), getCallOptions()),
request,
responseObserver);
@@ -1721,7 +1734,7 @@ public void listReferenceImages(
com.google.cloud.vision.v1.ListReferenceImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListReferenceImagesMethod(), getCallOptions()),
request,
responseObserver);
@@ -1739,7 +1752,7 @@ public void listReferenceImages(
public void getReferenceImage(
com.google.cloud.vision.v1.GetReferenceImageRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetReferenceImageMethod(), getCallOptions()),
request,
responseObserver);
@@ -1759,7 +1772,7 @@ public void getReferenceImage(
public void addProductToProductSet(
com.google.cloud.vision.v1.AddProductToProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAddProductToProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1775,7 +1788,7 @@ public void addProductToProductSet(
public void removeProductFromProductSet(
com.google.cloud.vision.v1.RemoveProductFromProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRemoveProductFromProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1796,7 +1809,7 @@ public void listProductsInProductSet(
com.google.cloud.vision.v1.ListProductsInProductSetRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListProductsInProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1820,7 +1833,7 @@ public void listProductsInProductSet(
public void importProductSets(
com.google.cloud.vision.v1.ImportProductSetsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getImportProductSetsMethod(), getCallOptions()),
request,
responseObserver);
@@ -1854,7 +1867,7 @@ public void importProductSets(
public void purgeProducts(
com.google.cloud.vision.v1.PurgeProductsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getPurgeProductsMethod(), getCallOptions()),
request,
responseObserver);
@@ -1901,7 +1914,7 @@ protected ProductSearchBlockingStub build(
*/
public com.google.cloud.vision.v1.ProductSet createProductSet(
com.google.cloud.vision.v1.CreateProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateProductSetMethod(), getCallOptions(), request);
}
@@ -1917,7 +1930,8 @@ public com.google.cloud.vision.v1.ProductSet createProductSet(
*/
public com.google.cloud.vision.v1.ListProductSetsResponse listProductSets(
com.google.cloud.vision.v1.ListProductSetsRequest request) {
- return blockingUnaryCall(getChannel(), getListProductSetsMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListProductSetsMethod(), getCallOptions(), request);
}
/**
@@ -1931,7 +1945,8 @@ public com.google.cloud.vision.v1.ListProductSetsResponse listProductSets(
*/
public com.google.cloud.vision.v1.ProductSet getProductSet(
com.google.cloud.vision.v1.GetProductSetRequest request) {
- return blockingUnaryCall(getChannel(), getGetProductSetMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetProductSetMethod(), getCallOptions(), request);
}
/**
@@ -1948,7 +1963,7 @@ public com.google.cloud.vision.v1.ProductSet getProductSet(
*/
public com.google.cloud.vision.v1.ProductSet updateProductSet(
com.google.cloud.vision.v1.UpdateProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateProductSetMethod(), getCallOptions(), request);
}
@@ -1963,7 +1978,7 @@ public com.google.cloud.vision.v1.ProductSet updateProductSet(
*/
public com.google.protobuf.Empty deleteProductSet(
com.google.cloud.vision.v1.DeleteProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteProductSetMethod(), getCallOptions(), request);
}
@@ -1981,7 +1996,8 @@ public com.google.protobuf.Empty deleteProductSet(
*/
public com.google.cloud.vision.v1.Product createProduct(
com.google.cloud.vision.v1.CreateProductRequest request) {
- return blockingUnaryCall(getChannel(), getCreateProductMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateProductMethod(), getCallOptions(), request);
}
/**
@@ -1995,7 +2011,8 @@ public com.google.cloud.vision.v1.Product createProduct(
*/
public com.google.cloud.vision.v1.ListProductsResponse listProducts(
com.google.cloud.vision.v1.ListProductsRequest request) {
- return blockingUnaryCall(getChannel(), getListProductsMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListProductsMethod(), getCallOptions(), request);
}
/**
@@ -2009,7 +2026,8 @@ public com.google.cloud.vision.v1.ListProductsResponse listProducts(
*/
public com.google.cloud.vision.v1.Product getProduct(
com.google.cloud.vision.v1.GetProductRequest request) {
- return blockingUnaryCall(getChannel(), getGetProductMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetProductMethod(), getCallOptions(), request);
}
/**
@@ -2032,7 +2050,8 @@ public com.google.cloud.vision.v1.Product getProduct(
*/
public com.google.cloud.vision.v1.Product updateProduct(
com.google.cloud.vision.v1.UpdateProductRequest request) {
- return blockingUnaryCall(getChannel(), getUpdateProductMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdateProductMethod(), getCallOptions(), request);
}
/**
@@ -2047,7 +2066,8 @@ public com.google.cloud.vision.v1.Product updateProduct(
*/
public com.google.protobuf.Empty deleteProduct(
com.google.cloud.vision.v1.DeleteProductRequest request) {
- return blockingUnaryCall(getChannel(), getDeleteProductMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteProductMethod(), getCallOptions(), request);
}
/**
@@ -2073,7 +2093,7 @@ public com.google.protobuf.Empty deleteProduct(
*/
public com.google.cloud.vision.v1.ReferenceImage createReferenceImage(
com.google.cloud.vision.v1.CreateReferenceImageRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateReferenceImageMethod(), getCallOptions(), request);
}
@@ -2090,7 +2110,7 @@ public com.google.cloud.vision.v1.ReferenceImage createReferenceImage(
*/
public com.google.protobuf.Empty deleteReferenceImage(
com.google.cloud.vision.v1.DeleteReferenceImageRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteReferenceImageMethod(), getCallOptions(), request);
}
@@ -2107,7 +2127,7 @@ public com.google.protobuf.Empty deleteReferenceImage(
*/
public com.google.cloud.vision.v1.ListReferenceImagesResponse listReferenceImages(
com.google.cloud.vision.v1.ListReferenceImagesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListReferenceImagesMethod(), getCallOptions(), request);
}
@@ -2122,7 +2142,7 @@ public com.google.cloud.vision.v1.ListReferenceImagesResponse listReferenceImage
*/
public com.google.cloud.vision.v1.ReferenceImage getReferenceImage(
com.google.cloud.vision.v1.GetReferenceImageRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetReferenceImageMethod(), getCallOptions(), request);
}
@@ -2139,7 +2159,7 @@ public com.google.cloud.vision.v1.ReferenceImage getReferenceImage(
*/
public com.google.protobuf.Empty addProductToProductSet(
com.google.cloud.vision.v1.AddProductToProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAddProductToProductSetMethod(), getCallOptions(), request);
}
@@ -2152,7 +2172,7 @@ public com.google.protobuf.Empty addProductToProductSet(
*/
public com.google.protobuf.Empty removeProductFromProductSet(
com.google.cloud.vision.v1.RemoveProductFromProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRemoveProductFromProductSetMethod(), getCallOptions(), request);
}
@@ -2169,7 +2189,7 @@ public com.google.protobuf.Empty removeProductFromProductSet(
*/
public com.google.cloud.vision.v1.ListProductsInProductSetResponse listProductsInProductSet(
com.google.cloud.vision.v1.ListProductsInProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListProductsInProductSetMethod(), getCallOptions(), request);
}
@@ -2190,7 +2210,7 @@ public com.google.cloud.vision.v1.ListProductsInProductSetResponse listProductsI
*/
public com.google.longrunning.Operation importProductSets(
com.google.cloud.vision.v1.ImportProductSetsRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getImportProductSetsMethod(), getCallOptions(), request);
}
@@ -2221,7 +2241,8 @@ public com.google.longrunning.Operation importProductSets(
*/
public com.google.longrunning.Operation purgeProducts(
com.google.cloud.vision.v1.PurgeProductsRequest request) {
- return blockingUnaryCall(getChannel(), getPurgeProductsMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getPurgeProductsMethod(), getCallOptions(), request);
}
}
@@ -2265,7 +2286,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
createProductSet(com.google.cloud.vision.v1.CreateProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateProductSetMethod(), getCallOptions()), request);
}
@@ -2282,7 +2303,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1.ListProductSetsResponse>
listProductSets(com.google.cloud.vision.v1.ListProductSetsRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListProductSetsMethod(), getCallOptions()), request);
}
@@ -2297,7 +2318,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
getProductSet(com.google.cloud.vision.v1.GetProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetProductSetMethod(), getCallOptions()), request);
}
@@ -2315,7 +2336,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
updateProductSet(com.google.cloud.vision.v1.UpdateProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateProductSetMethod(), getCallOptions()), request);
}
@@ -2330,7 +2351,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
deleteProductSet(com.google.cloud.vision.v1.DeleteProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteProductSetMethod(), getCallOptions()), request);
}
@@ -2348,7 +2369,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
createProduct(com.google.cloud.vision.v1.CreateProductRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateProductMethod(), getCallOptions()), request);
}
@@ -2364,7 +2385,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1.ListProductsResponse>
listProducts(com.google.cloud.vision.v1.ListProductsRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListProductsMethod(), getCallOptions()), request);
}
@@ -2379,7 +2400,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
getProduct(com.google.cloud.vision.v1.GetProductRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetProductMethod(), getCallOptions()), request);
}
@@ -2403,7 +2424,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
updateProduct(com.google.cloud.vision.v1.UpdateProductRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateProductMethod(), getCallOptions()), request);
}
@@ -2419,7 +2440,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
deleteProduct(com.google.cloud.vision.v1.DeleteProductRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteProductMethod(), getCallOptions()), request);
}
@@ -2447,7 +2468,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1.ReferenceImage>
createReferenceImage(com.google.cloud.vision.v1.CreateReferenceImageRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateReferenceImageMethod(), getCallOptions()), request);
}
@@ -2464,7 +2485,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
deleteReferenceImage(com.google.cloud.vision.v1.DeleteReferenceImageRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteReferenceImageMethod(), getCallOptions()), request);
}
@@ -2482,7 +2503,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1.ListReferenceImagesResponse>
listReferenceImages(com.google.cloud.vision.v1.ListReferenceImagesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListReferenceImagesMethod(), getCallOptions()), request);
}
@@ -2498,7 +2519,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1.ReferenceImage>
getReferenceImage(com.google.cloud.vision.v1.GetReferenceImageRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetReferenceImageMethod(), getCallOptions()), request);
}
@@ -2515,7 +2536,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
addProductToProductSet(com.google.cloud.vision.v1.AddProductToProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAddProductToProductSetMethod(), getCallOptions()), request);
}
@@ -2529,7 +2550,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture
removeProductFromProductSet(
com.google.cloud.vision.v1.RemoveProductFromProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRemoveProductFromProductSetMethod(), getCallOptions()), request);
}
@@ -2548,7 +2569,7 @@ protected ProductSearchFutureStub build(
com.google.cloud.vision.v1.ListProductsInProductSetResponse>
listProductsInProductSet(
com.google.cloud.vision.v1.ListProductsInProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListProductsInProductSetMethod(), getCallOptions()), request);
}
@@ -2569,7 +2590,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
importProductSets(com.google.cloud.vision.v1.ImportProductSetsRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getImportProductSetsMethod(), getCallOptions()), request);
}
@@ -2600,7 +2621,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
purgeProducts(com.google.cloud.vision.v1.PurgeProductsRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getPurgeProductsMethod(), getCallOptions()), request);
}
}
diff --git a/grpc-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorGrpc.java b/grpc-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorGrpc.java
index d564404e1..fad74c16d 100644
--- a/grpc-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorGrpc.java
+++ b/grpc-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorGrpc.java
@@ -16,11 +16,6 @@
package com.google.cloud.vision.v1p1beta1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
-import static io.grpc.stub.ClientCalls.asyncUnaryCall;
-import static io.grpc.stub.ClientCalls.blockingUnaryCall;
-import static io.grpc.stub.ClientCalls.futureUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
*
@@ -153,7 +148,8 @@ public void batchAnnotateImages(
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getBatchAnnotateImagesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getBatchAnnotateImagesMethod(), responseObserver);
}
@java.lang.Override
@@ -161,7 +157,7 @@ public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getBatchAnnotateImagesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequest,
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse>(
@@ -201,7 +197,7 @@ public void batchAnnotateImages(
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getBatchAnnotateImagesMethod(), getCallOptions()),
request,
responseObserver);
@@ -238,7 +234,7 @@ protected ImageAnnotatorBlockingStub build(
*/
public com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse batchAnnotateImages(
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getBatchAnnotateImagesMethod(), getCallOptions(), request);
}
}
@@ -274,7 +270,7 @@ protected ImageAnnotatorFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse>
batchAnnotateImages(com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getBatchAnnotateImagesMethod(), getCallOptions()), request);
}
}
diff --git a/grpc-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorGrpc.java b/grpc-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorGrpc.java
index 77d84a9c1..1de75ee98 100644
--- a/grpc-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorGrpc.java
+++ b/grpc-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorGrpc.java
@@ -16,11 +16,6 @@
package com.google.cloud.vision.v1p2beta1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
-import static io.grpc.stub.ClientCalls.asyncUnaryCall;
-import static io.grpc.stub.ClientCalls.blockingUnaryCall;
-import static io.grpc.stub.ClientCalls.futureUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
*
@@ -202,7 +197,8 @@ public void batchAnnotateImages(
com.google.cloud.vision.v1p2beta1.BatchAnnotateImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getBatchAnnotateImagesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getBatchAnnotateImagesMethod(), responseObserver);
}
/**
@@ -220,7 +216,8 @@ public void batchAnnotateImages(
public void asyncBatchAnnotateFiles(
com.google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getAsyncBatchAnnotateFilesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getAsyncBatchAnnotateFilesMethod(), responseObserver);
}
@java.lang.Override
@@ -228,14 +225,14 @@ public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getBatchAnnotateImagesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p2beta1.BatchAnnotateImagesRequest,
com.google.cloud.vision.v1p2beta1.BatchAnnotateImagesResponse>(
this, METHODID_BATCH_ANNOTATE_IMAGES)))
.addMethod(
getAsyncBatchAnnotateFilesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesRequest,
com.google.longrunning.Operation>(this, METHODID_ASYNC_BATCH_ANNOTATE_FILES)))
@@ -274,7 +271,7 @@ public void batchAnnotateImages(
com.google.cloud.vision.v1p2beta1.BatchAnnotateImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getBatchAnnotateImagesMethod(), getCallOptions()),
request,
responseObserver);
@@ -295,7 +292,7 @@ public void batchAnnotateImages(
public void asyncBatchAnnotateFiles(
com.google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAsyncBatchAnnotateFilesMethod(), getCallOptions()),
request,
responseObserver);
@@ -332,7 +329,7 @@ protected ImageAnnotatorBlockingStub build(
*/
public com.google.cloud.vision.v1p2beta1.BatchAnnotateImagesResponse batchAnnotateImages(
com.google.cloud.vision.v1p2beta1.BatchAnnotateImagesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getBatchAnnotateImagesMethod(), getCallOptions(), request);
}
@@ -350,7 +347,7 @@ public com.google.cloud.vision.v1p2beta1.BatchAnnotateImagesResponse batchAnnota
*/
public com.google.longrunning.Operation asyncBatchAnnotateFiles(
com.google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAsyncBatchAnnotateFilesMethod(), getCallOptions(), request);
}
}
@@ -386,7 +383,7 @@ protected ImageAnnotatorFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p2beta1.BatchAnnotateImagesResponse>
batchAnnotateImages(com.google.cloud.vision.v1p2beta1.BatchAnnotateImagesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getBatchAnnotateImagesMethod(), getCallOptions()), request);
}
@@ -405,7 +402,7 @@ protected ImageAnnotatorFutureStub build(
public com.google.common.util.concurrent.ListenableFuture
asyncBatchAnnotateFiles(
com.google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAsyncBatchAnnotateFilesMethod(), getCallOptions()), request);
}
}
diff --git a/grpc-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorGrpc.java b/grpc-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorGrpc.java
index 288293654..43396fbf2 100644
--- a/grpc-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorGrpc.java
+++ b/grpc-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorGrpc.java
@@ -16,11 +16,6 @@
package com.google.cloud.vision.v1p3beta1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
-import static io.grpc.stub.ClientCalls.asyncUnaryCall;
-import static io.grpc.stub.ClientCalls.blockingUnaryCall;
-import static io.grpc.stub.ClientCalls.futureUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
*
@@ -202,7 +197,8 @@ public void batchAnnotateImages(
com.google.cloud.vision.v1p3beta1.BatchAnnotateImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getBatchAnnotateImagesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getBatchAnnotateImagesMethod(), responseObserver);
}
/**
@@ -220,7 +216,8 @@ public void batchAnnotateImages(
public void asyncBatchAnnotateFiles(
com.google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getAsyncBatchAnnotateFilesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getAsyncBatchAnnotateFilesMethod(), responseObserver);
}
@java.lang.Override
@@ -228,14 +225,14 @@ public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getBatchAnnotateImagesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.BatchAnnotateImagesRequest,
com.google.cloud.vision.v1p3beta1.BatchAnnotateImagesResponse>(
this, METHODID_BATCH_ANNOTATE_IMAGES)))
.addMethod(
getAsyncBatchAnnotateFilesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesRequest,
com.google.longrunning.Operation>(this, METHODID_ASYNC_BATCH_ANNOTATE_FILES)))
@@ -274,7 +271,7 @@ public void batchAnnotateImages(
com.google.cloud.vision.v1p3beta1.BatchAnnotateImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getBatchAnnotateImagesMethod(), getCallOptions()),
request,
responseObserver);
@@ -295,7 +292,7 @@ public void batchAnnotateImages(
public void asyncBatchAnnotateFiles(
com.google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAsyncBatchAnnotateFilesMethod(), getCallOptions()),
request,
responseObserver);
@@ -332,7 +329,7 @@ protected ImageAnnotatorBlockingStub build(
*/
public com.google.cloud.vision.v1p3beta1.BatchAnnotateImagesResponse batchAnnotateImages(
com.google.cloud.vision.v1p3beta1.BatchAnnotateImagesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getBatchAnnotateImagesMethod(), getCallOptions(), request);
}
@@ -350,7 +347,7 @@ public com.google.cloud.vision.v1p3beta1.BatchAnnotateImagesResponse batchAnnota
*/
public com.google.longrunning.Operation asyncBatchAnnotateFiles(
com.google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAsyncBatchAnnotateFilesMethod(), getCallOptions(), request);
}
}
@@ -386,7 +383,7 @@ protected ImageAnnotatorFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p3beta1.BatchAnnotateImagesResponse>
batchAnnotateImages(com.google.cloud.vision.v1p3beta1.BatchAnnotateImagesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getBatchAnnotateImagesMethod(), getCallOptions()), request);
}
@@ -405,7 +402,7 @@ protected ImageAnnotatorFutureStub build(
public com.google.common.util.concurrent.ListenableFuture
asyncBatchAnnotateFiles(
com.google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAsyncBatchAnnotateFilesMethod(), getCallOptions()), request);
}
}
diff --git a/grpc-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchGrpc.java b/grpc-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchGrpc.java
index a50da7825..f4f5574ea 100644
--- a/grpc-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchGrpc.java
+++ b/grpc-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchGrpc.java
@@ -16,11 +16,6 @@
package com.google.cloud.vision.v1p3beta1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
-import static io.grpc.stub.ClientCalls.asyncUnaryCall;
-import static io.grpc.stub.ClientCalls.blockingUnaryCall;
-import static io.grpc.stub.ClientCalls.futureUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
*
@@ -964,7 +959,8 @@ public void createProductSet(
com.google.cloud.vision.v1p3beta1.CreateProductSetRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getCreateProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateProductSetMethod(), responseObserver);
}
/**
@@ -981,7 +977,8 @@ public void listProductSets(
com.google.cloud.vision.v1p3beta1.ListProductSetsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getListProductSetsMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListProductSetsMethod(), responseObserver);
}
/**
@@ -997,7 +994,8 @@ public void getProductSet(
com.google.cloud.vision.v1p3beta1.GetProductSetRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getGetProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetProductSetMethod(), responseObserver);
}
/**
@@ -1016,7 +1014,8 @@ public void updateProductSet(
com.google.cloud.vision.v1p3beta1.UpdateProductSetRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getUpdateProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateProductSetMethod(), responseObserver);
}
/**
@@ -1033,7 +1032,8 @@ public void updateProductSet(
public void deleteProductSet(
com.google.cloud.vision.v1p3beta1.DeleteProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getDeleteProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteProductSetMethod(), responseObserver);
}
/**
@@ -1051,7 +1051,8 @@ public void deleteProductSet(
public void createProduct(
com.google.cloud.vision.v1p3beta1.CreateProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getCreateProductMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateProductMethod(), responseObserver);
}
/**
@@ -1067,7 +1068,8 @@ public void listProducts(
com.google.cloud.vision.v1p3beta1.ListProductsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getListProductsMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListProductsMethod(), responseObserver);
}
/**
@@ -1082,7 +1084,7 @@ public void listProducts(
public void getProduct(
com.google.cloud.vision.v1p3beta1.GetProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getGetProductMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProductMethod(), responseObserver);
}
/**
@@ -1105,7 +1107,8 @@ public void getProduct(
public void updateProduct(
com.google.cloud.vision.v1p3beta1.UpdateProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getUpdateProductMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateProductMethod(), responseObserver);
}
/**
@@ -1123,7 +1126,8 @@ public void updateProduct(
public void deleteProduct(
com.google.cloud.vision.v1p3beta1.DeleteProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getDeleteProductMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteProductMethod(), responseObserver);
}
/**
@@ -1151,7 +1155,8 @@ public void createReferenceImage(
com.google.cloud.vision.v1p3beta1.CreateReferenceImageRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getCreateReferenceImageMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateReferenceImageMethod(), responseObserver);
}
/**
@@ -1170,7 +1175,8 @@ public void createReferenceImage(
public void deleteReferenceImage(
com.google.cloud.vision.v1p3beta1.DeleteReferenceImageRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getDeleteReferenceImageMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteReferenceImageMethod(), responseObserver);
}
/**
@@ -1188,7 +1194,8 @@ public void listReferenceImages(
com.google.cloud.vision.v1p3beta1.ListReferenceImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getListReferenceImagesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListReferenceImagesMethod(), responseObserver);
}
/**
@@ -1204,7 +1211,8 @@ public void getReferenceImage(
com.google.cloud.vision.v1p3beta1.GetReferenceImageRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getGetReferenceImageMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetReferenceImageMethod(), responseObserver);
}
/**
@@ -1221,7 +1229,8 @@ public void getReferenceImage(
public void addProductToProductSet(
com.google.cloud.vision.v1p3beta1.AddProductToProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getAddProductToProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getAddProductToProductSetMethod(), responseObserver);
}
/**
@@ -1236,7 +1245,8 @@ public void addProductToProductSet(
public void removeProductFromProductSet(
com.google.cloud.vision.v1p3beta1.RemoveProductFromProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getRemoveProductFromProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getRemoveProductFromProductSetMethod(), responseObserver);
}
/**
@@ -1255,7 +1265,8 @@ public void listProductsInProductSet(
io.grpc.stub.StreamObserver<
com.google.cloud.vision.v1p3beta1.ListProductsInProductSetResponse>
responseObserver) {
- asyncUnimplementedUnaryCall(getListProductsInProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListProductsInProductSetMethod(), responseObserver);
}
/**
@@ -1276,7 +1287,8 @@ public void listProductsInProductSet(
public void importProductSets(
com.google.cloud.vision.v1p3beta1.ImportProductSetsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getImportProductSetsMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getImportProductSetsMethod(), responseObserver);
}
@java.lang.Override
@@ -1284,118 +1296,118 @@ public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCreateProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.CreateProductSetRequest,
com.google.cloud.vision.v1p3beta1.ProductSet>(
this, METHODID_CREATE_PRODUCT_SET)))
.addMethod(
getListProductSetsMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.ListProductSetsRequest,
com.google.cloud.vision.v1p3beta1.ListProductSetsResponse>(
this, METHODID_LIST_PRODUCT_SETS)))
.addMethod(
getGetProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.GetProductSetRequest,
com.google.cloud.vision.v1p3beta1.ProductSet>(
this, METHODID_GET_PRODUCT_SET)))
.addMethod(
getUpdateProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.UpdateProductSetRequest,
com.google.cloud.vision.v1p3beta1.ProductSet>(
this, METHODID_UPDATE_PRODUCT_SET)))
.addMethod(
getDeleteProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.DeleteProductSetRequest,
com.google.protobuf.Empty>(this, METHODID_DELETE_PRODUCT_SET)))
.addMethod(
getCreateProductMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.CreateProductRequest,
com.google.cloud.vision.v1p3beta1.Product>(this, METHODID_CREATE_PRODUCT)))
.addMethod(
getListProductsMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.ListProductsRequest,
com.google.cloud.vision.v1p3beta1.ListProductsResponse>(
this, METHODID_LIST_PRODUCTS)))
.addMethod(
getGetProductMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.GetProductRequest,
com.google.cloud.vision.v1p3beta1.Product>(this, METHODID_GET_PRODUCT)))
.addMethod(
getUpdateProductMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.UpdateProductRequest,
com.google.cloud.vision.v1p3beta1.Product>(this, METHODID_UPDATE_PRODUCT)))
.addMethod(
getDeleteProductMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.DeleteProductRequest,
com.google.protobuf.Empty>(this, METHODID_DELETE_PRODUCT)))
.addMethod(
getCreateReferenceImageMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.CreateReferenceImageRequest,
com.google.cloud.vision.v1p3beta1.ReferenceImage>(
this, METHODID_CREATE_REFERENCE_IMAGE)))
.addMethod(
getDeleteReferenceImageMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.DeleteReferenceImageRequest,
com.google.protobuf.Empty>(this, METHODID_DELETE_REFERENCE_IMAGE)))
.addMethod(
getListReferenceImagesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.ListReferenceImagesRequest,
com.google.cloud.vision.v1p3beta1.ListReferenceImagesResponse>(
this, METHODID_LIST_REFERENCE_IMAGES)))
.addMethod(
getGetReferenceImageMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.GetReferenceImageRequest,
com.google.cloud.vision.v1p3beta1.ReferenceImage>(
this, METHODID_GET_REFERENCE_IMAGE)))
.addMethod(
getAddProductToProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.AddProductToProductSetRequest,
com.google.protobuf.Empty>(this, METHODID_ADD_PRODUCT_TO_PRODUCT_SET)))
.addMethod(
getRemoveProductFromProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.RemoveProductFromProductSetRequest,
com.google.protobuf.Empty>(this, METHODID_REMOVE_PRODUCT_FROM_PRODUCT_SET)))
.addMethod(
getListProductsInProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.ListProductsInProductSetRequest,
com.google.cloud.vision.v1p3beta1.ListProductsInProductSetResponse>(
this, METHODID_LIST_PRODUCTS_IN_PRODUCT_SET)))
.addMethod(
getImportProductSetsMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p3beta1.ImportProductSetsRequest,
com.google.longrunning.Operation>(this, METHODID_IMPORT_PRODUCT_SETS)))
@@ -1444,7 +1456,7 @@ public void createProductSet(
com.google.cloud.vision.v1p3beta1.CreateProductSetRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1464,7 +1476,7 @@ public void listProductSets(
com.google.cloud.vision.v1p3beta1.ListProductSetsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListProductSetsMethod(), getCallOptions()),
request,
responseObserver);
@@ -1483,7 +1495,7 @@ public void getProductSet(
com.google.cloud.vision.v1p3beta1.GetProductSetRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1505,7 +1517,7 @@ public void updateProductSet(
com.google.cloud.vision.v1p3beta1.UpdateProductSetRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1525,7 +1537,7 @@ public void updateProductSet(
public void deleteProductSet(
com.google.cloud.vision.v1p3beta1.DeleteProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1546,7 +1558,7 @@ public void deleteProductSet(
public void createProduct(
com.google.cloud.vision.v1p3beta1.CreateProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateProductMethod(), getCallOptions()),
request,
responseObserver);
@@ -1565,7 +1577,7 @@ public void listProducts(
com.google.cloud.vision.v1p3beta1.ListProductsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListProductsMethod(), getCallOptions()),
request,
responseObserver);
@@ -1583,7 +1595,7 @@ public void listProducts(
public void getProduct(
com.google.cloud.vision.v1p3beta1.GetProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetProductMethod(), getCallOptions()), request, responseObserver);
}
@@ -1607,7 +1619,7 @@ public void getProduct(
public void updateProduct(
com.google.cloud.vision.v1p3beta1.UpdateProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateProductMethod(), getCallOptions()),
request,
responseObserver);
@@ -1628,7 +1640,7 @@ public void updateProduct(
public void deleteProduct(
com.google.cloud.vision.v1p3beta1.DeleteProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteProductMethod(), getCallOptions()),
request,
responseObserver);
@@ -1659,7 +1671,7 @@ public void createReferenceImage(
com.google.cloud.vision.v1p3beta1.CreateReferenceImageRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateReferenceImageMethod(), getCallOptions()),
request,
responseObserver);
@@ -1681,7 +1693,7 @@ public void createReferenceImage(
public void deleteReferenceImage(
com.google.cloud.vision.v1p3beta1.DeleteReferenceImageRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteReferenceImageMethod(), getCallOptions()),
request,
responseObserver);
@@ -1702,7 +1714,7 @@ public void listReferenceImages(
com.google.cloud.vision.v1p3beta1.ListReferenceImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListReferenceImagesMethod(), getCallOptions()),
request,
responseObserver);
@@ -1721,7 +1733,7 @@ public void getReferenceImage(
com.google.cloud.vision.v1p3beta1.GetReferenceImageRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetReferenceImageMethod(), getCallOptions()),
request,
responseObserver);
@@ -1741,7 +1753,7 @@ public void getReferenceImage(
public void addProductToProductSet(
com.google.cloud.vision.v1p3beta1.AddProductToProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAddProductToProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1759,7 +1771,7 @@ public void addProductToProductSet(
public void removeProductFromProductSet(
com.google.cloud.vision.v1p3beta1.RemoveProductFromProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRemoveProductFromProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1781,7 +1793,7 @@ public void listProductsInProductSet(
io.grpc.stub.StreamObserver<
com.google.cloud.vision.v1p3beta1.ListProductsInProductSetResponse>
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListProductsInProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1805,7 +1817,7 @@ public void listProductsInProductSet(
public void importProductSets(
com.google.cloud.vision.v1p3beta1.ImportProductSetsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getImportProductSetsMethod(), getCallOptions()),
request,
responseObserver);
@@ -1852,7 +1864,7 @@ protected ProductSearchBlockingStub build(
*/
public com.google.cloud.vision.v1p3beta1.ProductSet createProductSet(
com.google.cloud.vision.v1p3beta1.CreateProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateProductSetMethod(), getCallOptions(), request);
}
@@ -1868,7 +1880,8 @@ public com.google.cloud.vision.v1p3beta1.ProductSet createProductSet(
*/
public com.google.cloud.vision.v1p3beta1.ListProductSetsResponse listProductSets(
com.google.cloud.vision.v1p3beta1.ListProductSetsRequest request) {
- return blockingUnaryCall(getChannel(), getListProductSetsMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListProductSetsMethod(), getCallOptions(), request);
}
/**
@@ -1882,7 +1895,8 @@ public com.google.cloud.vision.v1p3beta1.ListProductSetsResponse listProductSets
*/
public com.google.cloud.vision.v1p3beta1.ProductSet getProductSet(
com.google.cloud.vision.v1p3beta1.GetProductSetRequest request) {
- return blockingUnaryCall(getChannel(), getGetProductSetMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetProductSetMethod(), getCallOptions(), request);
}
/**
@@ -1899,7 +1913,7 @@ public com.google.cloud.vision.v1p3beta1.ProductSet getProductSet(
*/
public com.google.cloud.vision.v1p3beta1.ProductSet updateProductSet(
com.google.cloud.vision.v1p3beta1.UpdateProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateProductSetMethod(), getCallOptions(), request);
}
@@ -1916,7 +1930,7 @@ public com.google.cloud.vision.v1p3beta1.ProductSet updateProductSet(
*/
public com.google.protobuf.Empty deleteProductSet(
com.google.cloud.vision.v1p3beta1.DeleteProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteProductSetMethod(), getCallOptions(), request);
}
@@ -1934,7 +1948,8 @@ public com.google.protobuf.Empty deleteProductSet(
*/
public com.google.cloud.vision.v1p3beta1.Product createProduct(
com.google.cloud.vision.v1p3beta1.CreateProductRequest request) {
- return blockingUnaryCall(getChannel(), getCreateProductMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateProductMethod(), getCallOptions(), request);
}
/**
@@ -1948,7 +1963,8 @@ public com.google.cloud.vision.v1p3beta1.Product createProduct(
*/
public com.google.cloud.vision.v1p3beta1.ListProductsResponse listProducts(
com.google.cloud.vision.v1p3beta1.ListProductsRequest request) {
- return blockingUnaryCall(getChannel(), getListProductsMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListProductsMethod(), getCallOptions(), request);
}
/**
@@ -1962,7 +1978,8 @@ public com.google.cloud.vision.v1p3beta1.ListProductsResponse listProducts(
*/
public com.google.cloud.vision.v1p3beta1.Product getProduct(
com.google.cloud.vision.v1p3beta1.GetProductRequest request) {
- return blockingUnaryCall(getChannel(), getGetProductMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetProductMethod(), getCallOptions(), request);
}
/**
@@ -1984,7 +2001,8 @@ public com.google.cloud.vision.v1p3beta1.Product getProduct(
*/
public com.google.cloud.vision.v1p3beta1.Product updateProduct(
com.google.cloud.vision.v1p3beta1.UpdateProductRequest request) {
- return blockingUnaryCall(getChannel(), getUpdateProductMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdateProductMethod(), getCallOptions(), request);
}
/**
@@ -2001,7 +2019,8 @@ public com.google.cloud.vision.v1p3beta1.Product updateProduct(
*/
public com.google.protobuf.Empty deleteProduct(
com.google.cloud.vision.v1p3beta1.DeleteProductRequest request) {
- return blockingUnaryCall(getChannel(), getDeleteProductMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteProductMethod(), getCallOptions(), request);
}
/**
@@ -2027,7 +2046,7 @@ public com.google.protobuf.Empty deleteProduct(
*/
public com.google.cloud.vision.v1p3beta1.ReferenceImage createReferenceImage(
com.google.cloud.vision.v1p3beta1.CreateReferenceImageRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateReferenceImageMethod(), getCallOptions(), request);
}
@@ -2046,7 +2065,7 @@ public com.google.cloud.vision.v1p3beta1.ReferenceImage createReferenceImage(
*/
public com.google.protobuf.Empty deleteReferenceImage(
com.google.cloud.vision.v1p3beta1.DeleteReferenceImageRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteReferenceImageMethod(), getCallOptions(), request);
}
@@ -2063,7 +2082,7 @@ public com.google.protobuf.Empty deleteReferenceImage(
*/
public com.google.cloud.vision.v1p3beta1.ListReferenceImagesResponse listReferenceImages(
com.google.cloud.vision.v1p3beta1.ListReferenceImagesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListReferenceImagesMethod(), getCallOptions(), request);
}
@@ -2078,7 +2097,7 @@ public com.google.cloud.vision.v1p3beta1.ListReferenceImagesResponse listReferen
*/
public com.google.cloud.vision.v1p3beta1.ReferenceImage getReferenceImage(
com.google.cloud.vision.v1p3beta1.GetReferenceImageRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetReferenceImageMethod(), getCallOptions(), request);
}
@@ -2095,7 +2114,7 @@ public com.google.cloud.vision.v1p3beta1.ReferenceImage getReferenceImage(
*/
public com.google.protobuf.Empty addProductToProductSet(
com.google.cloud.vision.v1p3beta1.AddProductToProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAddProductToProductSetMethod(), getCallOptions(), request);
}
@@ -2110,7 +2129,7 @@ public com.google.protobuf.Empty addProductToProductSet(
*/
public com.google.protobuf.Empty removeProductFromProductSet(
com.google.cloud.vision.v1p3beta1.RemoveProductFromProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRemoveProductFromProductSetMethod(), getCallOptions(), request);
}
@@ -2128,7 +2147,7 @@ public com.google.protobuf.Empty removeProductFromProductSet(
public com.google.cloud.vision.v1p3beta1.ListProductsInProductSetResponse
listProductsInProductSet(
com.google.cloud.vision.v1p3beta1.ListProductsInProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListProductsInProductSetMethod(), getCallOptions(), request);
}
@@ -2149,7 +2168,7 @@ public com.google.protobuf.Empty removeProductFromProductSet(
*/
public com.google.longrunning.Operation importProductSets(
com.google.cloud.vision.v1p3beta1.ImportProductSetsRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getImportProductSetsMethod(), getCallOptions(), request);
}
}
@@ -2195,7 +2214,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p3beta1.ProductSet>
createProductSet(com.google.cloud.vision.v1p3beta1.CreateProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateProductSetMethod(), getCallOptions()), request);
}
@@ -2212,7 +2231,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p3beta1.ListProductSetsResponse>
listProductSets(com.google.cloud.vision.v1p3beta1.ListProductSetsRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListProductSetsMethod(), getCallOptions()), request);
}
@@ -2228,7 +2247,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p3beta1.ProductSet>
getProductSet(com.google.cloud.vision.v1p3beta1.GetProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetProductSetMethod(), getCallOptions()), request);
}
@@ -2247,7 +2266,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p3beta1.ProductSet>
updateProductSet(com.google.cloud.vision.v1p3beta1.UpdateProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateProductSetMethod(), getCallOptions()), request);
}
@@ -2264,7 +2283,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
deleteProductSet(com.google.cloud.vision.v1p3beta1.DeleteProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteProductSetMethod(), getCallOptions()), request);
}
@@ -2283,7 +2302,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p3beta1.Product>
createProduct(com.google.cloud.vision.v1p3beta1.CreateProductRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateProductMethod(), getCallOptions()), request);
}
@@ -2299,7 +2318,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p3beta1.ListProductsResponse>
listProducts(com.google.cloud.vision.v1p3beta1.ListProductsRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListProductsMethod(), getCallOptions()), request);
}
@@ -2315,7 +2334,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p3beta1.Product>
getProduct(com.google.cloud.vision.v1p3beta1.GetProductRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetProductMethod(), getCallOptions()), request);
}
@@ -2339,7 +2358,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p3beta1.Product>
updateProduct(com.google.cloud.vision.v1p3beta1.UpdateProductRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateProductMethod(), getCallOptions()), request);
}
@@ -2357,7 +2376,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
deleteProduct(com.google.cloud.vision.v1p3beta1.DeleteProductRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteProductMethod(), getCallOptions()), request);
}
@@ -2386,7 +2405,7 @@ protected ProductSearchFutureStub build(
com.google.cloud.vision.v1p3beta1.ReferenceImage>
createReferenceImage(
com.google.cloud.vision.v1p3beta1.CreateReferenceImageRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateReferenceImageMethod(), getCallOptions()), request);
}
@@ -2406,7 +2425,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture
deleteReferenceImage(
com.google.cloud.vision.v1p3beta1.DeleteReferenceImageRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteReferenceImageMethod(), getCallOptions()), request);
}
@@ -2424,7 +2443,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p3beta1.ListReferenceImagesResponse>
listReferenceImages(com.google.cloud.vision.v1p3beta1.ListReferenceImagesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListReferenceImagesMethod(), getCallOptions()), request);
}
@@ -2440,7 +2459,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p3beta1.ReferenceImage>
getReferenceImage(com.google.cloud.vision.v1p3beta1.GetReferenceImageRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetReferenceImageMethod(), getCallOptions()), request);
}
@@ -2458,7 +2477,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture
addProductToProductSet(
com.google.cloud.vision.v1p3beta1.AddProductToProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAddProductToProductSetMethod(), getCallOptions()), request);
}
@@ -2474,7 +2493,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture
removeProductFromProductSet(
com.google.cloud.vision.v1p3beta1.RemoveProductFromProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRemoveProductFromProductSetMethod(), getCallOptions()), request);
}
@@ -2493,7 +2512,7 @@ protected ProductSearchFutureStub build(
com.google.cloud.vision.v1p3beta1.ListProductsInProductSetResponse>
listProductsInProductSet(
com.google.cloud.vision.v1p3beta1.ListProductsInProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListProductsInProductSetMethod(), getCallOptions()), request);
}
@@ -2514,7 +2533,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
importProductSets(com.google.cloud.vision.v1p3beta1.ImportProductSetsRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getImportProductSetsMethod(), getCallOptions()), request);
}
}
diff --git a/grpc-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorGrpc.java b/grpc-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorGrpc.java
index 40584053e..06af8f1bc 100644
--- a/grpc-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorGrpc.java
+++ b/grpc-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorGrpc.java
@@ -16,11 +16,6 @@
package com.google.cloud.vision.v1p4beta1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
-import static io.grpc.stub.ClientCalls.asyncUnaryCall;
-import static io.grpc.stub.ClientCalls.blockingUnaryCall;
-import static io.grpc.stub.ClientCalls.futureUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
*
@@ -300,7 +295,8 @@ public void batchAnnotateImages(
com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getBatchAnnotateImagesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getBatchAnnotateImagesMethod(), responseObserver);
}
/**
@@ -319,7 +315,8 @@ public void batchAnnotateFiles(
com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getBatchAnnotateFilesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getBatchAnnotateFilesMethod(), responseObserver);
}
/**
@@ -338,7 +335,8 @@ public void batchAnnotateFiles(
public void asyncBatchAnnotateImages(
com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getAsyncBatchAnnotateImagesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getAsyncBatchAnnotateImagesMethod(), responseObserver);
}
/**
@@ -356,7 +354,8 @@ public void asyncBatchAnnotateImages(
public void asyncBatchAnnotateFiles(
com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getAsyncBatchAnnotateFilesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getAsyncBatchAnnotateFilesMethod(), responseObserver);
}
@java.lang.Override
@@ -364,28 +363,28 @@ public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getBatchAnnotateImagesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest,
com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse>(
this, METHODID_BATCH_ANNOTATE_IMAGES)))
.addMethod(
getBatchAnnotateFilesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesRequest,
com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesResponse>(
this, METHODID_BATCH_ANNOTATE_FILES)))
.addMethod(
getAsyncBatchAnnotateImagesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest,
com.google.longrunning.Operation>(
this, METHODID_ASYNC_BATCH_ANNOTATE_IMAGES)))
.addMethod(
getAsyncBatchAnnotateFilesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest,
com.google.longrunning.Operation>(this, METHODID_ASYNC_BATCH_ANNOTATE_FILES)))
@@ -424,7 +423,7 @@ public void batchAnnotateImages(
com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getBatchAnnotateImagesMethod(), getCallOptions()),
request,
responseObserver);
@@ -446,7 +445,7 @@ public void batchAnnotateFiles(
com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getBatchAnnotateFilesMethod(), getCallOptions()),
request,
responseObserver);
@@ -468,7 +467,7 @@ public void batchAnnotateFiles(
public void asyncBatchAnnotateImages(
com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAsyncBatchAnnotateImagesMethod(), getCallOptions()),
request,
responseObserver);
@@ -489,7 +488,7 @@ public void asyncBatchAnnotateImages(
public void asyncBatchAnnotateFiles(
com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAsyncBatchAnnotateFilesMethod(), getCallOptions()),
request,
responseObserver);
@@ -526,7 +525,7 @@ protected ImageAnnotatorBlockingStub build(
*/
public com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse batchAnnotateImages(
com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getBatchAnnotateImagesMethod(), getCallOptions(), request);
}
@@ -544,7 +543,7 @@ public com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse batchAnnota
*/
public com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesResponse batchAnnotateFiles(
com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getBatchAnnotateFilesMethod(), getCallOptions(), request);
}
@@ -563,7 +562,7 @@ public com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesResponse batchAnnotat
*/
public com.google.longrunning.Operation asyncBatchAnnotateImages(
com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAsyncBatchAnnotateImagesMethod(), getCallOptions(), request);
}
@@ -581,7 +580,7 @@ public com.google.longrunning.Operation asyncBatchAnnotateImages(
*/
public com.google.longrunning.Operation asyncBatchAnnotateFiles(
com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAsyncBatchAnnotateFilesMethod(), getCallOptions(), request);
}
}
@@ -617,7 +616,7 @@ protected ImageAnnotatorFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse>
batchAnnotateImages(com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getBatchAnnotateImagesMethod(), getCallOptions()), request);
}
@@ -636,7 +635,7 @@ protected ImageAnnotatorFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesResponse>
batchAnnotateFiles(com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getBatchAnnotateFilesMethod(), getCallOptions()), request);
}
@@ -656,7 +655,7 @@ protected ImageAnnotatorFutureStub build(
public com.google.common.util.concurrent.ListenableFuture
asyncBatchAnnotateImages(
com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAsyncBatchAnnotateImagesMethod(), getCallOptions()), request);
}
@@ -675,7 +674,7 @@ protected ImageAnnotatorFutureStub build(
public com.google.common.util.concurrent.ListenableFuture
asyncBatchAnnotateFiles(
com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAsyncBatchAnnotateFilesMethod(), getCallOptions()), request);
}
}
diff --git a/grpc-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchGrpc.java b/grpc-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchGrpc.java
index 4830ab071..a8aba061e 100644
--- a/grpc-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchGrpc.java
+++ b/grpc-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchGrpc.java
@@ -16,11 +16,6 @@
package com.google.cloud.vision.v1p4beta1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
-import static io.grpc.stub.ClientCalls.asyncUnaryCall;
-import static io.grpc.stub.ClientCalls.blockingUnaryCall;
-import static io.grpc.stub.ClientCalls.futureUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnaryCall;
-import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
*
@@ -1016,7 +1011,8 @@ public void createProductSet(
com.google.cloud.vision.v1p4beta1.CreateProductSetRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getCreateProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateProductSetMethod(), responseObserver);
}
/**
@@ -1033,7 +1029,8 @@ public void listProductSets(
com.google.cloud.vision.v1p4beta1.ListProductSetsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getListProductSetsMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListProductSetsMethod(), responseObserver);
}
/**
@@ -1049,7 +1046,8 @@ public void getProductSet(
com.google.cloud.vision.v1p4beta1.GetProductSetRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getGetProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetProductSetMethod(), responseObserver);
}
/**
@@ -1068,7 +1066,8 @@ public void updateProductSet(
com.google.cloud.vision.v1p4beta1.UpdateProductSetRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getUpdateProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateProductSetMethod(), responseObserver);
}
/**
@@ -1083,7 +1082,8 @@ public void updateProductSet(
public void deleteProductSet(
com.google.cloud.vision.v1p4beta1.DeleteProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getDeleteProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteProductSetMethod(), responseObserver);
}
/**
@@ -1101,7 +1101,8 @@ public void deleteProductSet(
public void createProduct(
com.google.cloud.vision.v1p4beta1.CreateProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getCreateProductMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateProductMethod(), responseObserver);
}
/**
@@ -1117,7 +1118,8 @@ public void listProducts(
com.google.cloud.vision.v1p4beta1.ListProductsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getListProductsMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListProductsMethod(), responseObserver);
}
/**
@@ -1132,7 +1134,7 @@ public void listProducts(
public void getProduct(
com.google.cloud.vision.v1p4beta1.GetProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getGetProductMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProductMethod(), responseObserver);
}
/**
@@ -1156,7 +1158,8 @@ public void getProduct(
public void updateProduct(
com.google.cloud.vision.v1p4beta1.UpdateProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getUpdateProductMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateProductMethod(), responseObserver);
}
/**
@@ -1172,7 +1175,8 @@ public void updateProduct(
public void deleteProduct(
com.google.cloud.vision.v1p4beta1.DeleteProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getDeleteProductMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteProductMethod(), responseObserver);
}
/**
@@ -1200,7 +1204,8 @@ public void createReferenceImage(
com.google.cloud.vision.v1p4beta1.CreateReferenceImageRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getCreateReferenceImageMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateReferenceImageMethod(), responseObserver);
}
/**
@@ -1217,7 +1222,8 @@ public void createReferenceImage(
public void deleteReferenceImage(
com.google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getDeleteReferenceImageMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteReferenceImageMethod(), responseObserver);
}
/**
@@ -1235,7 +1241,8 @@ public void listReferenceImages(
com.google.cloud.vision.v1p4beta1.ListReferenceImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getListReferenceImagesMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListReferenceImagesMethod(), responseObserver);
}
/**
@@ -1251,7 +1258,8 @@ public void getReferenceImage(
com.google.cloud.vision.v1p4beta1.GetReferenceImageRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnimplementedUnaryCall(getGetReferenceImageMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetReferenceImageMethod(), responseObserver);
}
/**
@@ -1268,7 +1276,8 @@ public void getReferenceImage(
public void addProductToProductSet(
com.google.cloud.vision.v1p4beta1.AddProductToProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getAddProductToProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getAddProductToProductSetMethod(), responseObserver);
}
/**
@@ -1281,7 +1290,8 @@ public void addProductToProductSet(
public void removeProductFromProductSet(
com.google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getRemoveProductFromProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getRemoveProductFromProductSetMethod(), responseObserver);
}
/**
@@ -1300,7 +1310,8 @@ public void listProductsInProductSet(
io.grpc.stub.StreamObserver<
com.google.cloud.vision.v1p4beta1.ListProductsInProductSetResponse>
responseObserver) {
- asyncUnimplementedUnaryCall(getListProductsInProductSetMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListProductsInProductSetMethod(), responseObserver);
}
/**
@@ -1321,7 +1332,8 @@ public void listProductsInProductSet(
public void importProductSets(
com.google.cloud.vision.v1p4beta1.ImportProductSetsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getImportProductSetsMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getImportProductSetsMethod(), responseObserver);
}
/**
@@ -1352,7 +1364,8 @@ public void importProductSets(
public void purgeProducts(
com.google.cloud.vision.v1p4beta1.PurgeProductsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnimplementedUnaryCall(getPurgeProductsMethod(), responseObserver);
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getPurgeProductsMethod(), responseObserver);
}
@java.lang.Override
@@ -1360,124 +1373,124 @@ public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCreateProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.CreateProductSetRequest,
com.google.cloud.vision.v1p4beta1.ProductSet>(
this, METHODID_CREATE_PRODUCT_SET)))
.addMethod(
getListProductSetsMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.ListProductSetsRequest,
com.google.cloud.vision.v1p4beta1.ListProductSetsResponse>(
this, METHODID_LIST_PRODUCT_SETS)))
.addMethod(
getGetProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.GetProductSetRequest,
com.google.cloud.vision.v1p4beta1.ProductSet>(
this, METHODID_GET_PRODUCT_SET)))
.addMethod(
getUpdateProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.UpdateProductSetRequest,
com.google.cloud.vision.v1p4beta1.ProductSet>(
this, METHODID_UPDATE_PRODUCT_SET)))
.addMethod(
getDeleteProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.DeleteProductSetRequest,
com.google.protobuf.Empty>(this, METHODID_DELETE_PRODUCT_SET)))
.addMethod(
getCreateProductMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.CreateProductRequest,
com.google.cloud.vision.v1p4beta1.Product>(this, METHODID_CREATE_PRODUCT)))
.addMethod(
getListProductsMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.ListProductsRequest,
com.google.cloud.vision.v1p4beta1.ListProductsResponse>(
this, METHODID_LIST_PRODUCTS)))
.addMethod(
getGetProductMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.GetProductRequest,
com.google.cloud.vision.v1p4beta1.Product>(this, METHODID_GET_PRODUCT)))
.addMethod(
getUpdateProductMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.UpdateProductRequest,
com.google.cloud.vision.v1p4beta1.Product>(this, METHODID_UPDATE_PRODUCT)))
.addMethod(
getDeleteProductMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.DeleteProductRequest,
com.google.protobuf.Empty>(this, METHODID_DELETE_PRODUCT)))
.addMethod(
getCreateReferenceImageMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.CreateReferenceImageRequest,
com.google.cloud.vision.v1p4beta1.ReferenceImage>(
this, METHODID_CREATE_REFERENCE_IMAGE)))
.addMethod(
getDeleteReferenceImageMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest,
com.google.protobuf.Empty>(this, METHODID_DELETE_REFERENCE_IMAGE)))
.addMethod(
getListReferenceImagesMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.ListReferenceImagesRequest,
com.google.cloud.vision.v1p4beta1.ListReferenceImagesResponse>(
this, METHODID_LIST_REFERENCE_IMAGES)))
.addMethod(
getGetReferenceImageMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.GetReferenceImageRequest,
com.google.cloud.vision.v1p4beta1.ReferenceImage>(
this, METHODID_GET_REFERENCE_IMAGE)))
.addMethod(
getAddProductToProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.AddProductToProductSetRequest,
com.google.protobuf.Empty>(this, METHODID_ADD_PRODUCT_TO_PRODUCT_SET)))
.addMethod(
getRemoveProductFromProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest,
com.google.protobuf.Empty>(this, METHODID_REMOVE_PRODUCT_FROM_PRODUCT_SET)))
.addMethod(
getListProductsInProductSetMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.ListProductsInProductSetRequest,
com.google.cloud.vision.v1p4beta1.ListProductsInProductSetResponse>(
this, METHODID_LIST_PRODUCTS_IN_PRODUCT_SET)))
.addMethod(
getImportProductSetsMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.ImportProductSetsRequest,
com.google.longrunning.Operation>(this, METHODID_IMPORT_PRODUCT_SETS)))
.addMethod(
getPurgeProductsMethod(),
- asyncUnaryCall(
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.vision.v1p4beta1.PurgeProductsRequest,
com.google.longrunning.Operation>(this, METHODID_PURGE_PRODUCTS)))
@@ -1530,7 +1543,7 @@ public void createProductSet(
com.google.cloud.vision.v1p4beta1.CreateProductSetRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1550,7 +1563,7 @@ public void listProductSets(
com.google.cloud.vision.v1p4beta1.ListProductSetsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListProductSetsMethod(), getCallOptions()),
request,
responseObserver);
@@ -1569,7 +1582,7 @@ public void getProductSet(
com.google.cloud.vision.v1p4beta1.GetProductSetRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1591,7 +1604,7 @@ public void updateProductSet(
com.google.cloud.vision.v1p4beta1.UpdateProductSetRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1609,7 +1622,7 @@ public void updateProductSet(
public void deleteProductSet(
com.google.cloud.vision.v1p4beta1.DeleteProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1630,7 +1643,7 @@ public void deleteProductSet(
public void createProduct(
com.google.cloud.vision.v1p4beta1.CreateProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateProductMethod(), getCallOptions()),
request,
responseObserver);
@@ -1649,7 +1662,7 @@ public void listProducts(
com.google.cloud.vision.v1p4beta1.ListProductsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListProductsMethod(), getCallOptions()),
request,
responseObserver);
@@ -1667,7 +1680,7 @@ public void listProducts(
public void getProduct(
com.google.cloud.vision.v1p4beta1.GetProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetProductMethod(), getCallOptions()), request, responseObserver);
}
@@ -1692,7 +1705,7 @@ public void getProduct(
public void updateProduct(
com.google.cloud.vision.v1p4beta1.UpdateProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateProductMethod(), getCallOptions()),
request,
responseObserver);
@@ -1711,7 +1724,7 @@ public void updateProduct(
public void deleteProduct(
com.google.cloud.vision.v1p4beta1.DeleteProductRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteProductMethod(), getCallOptions()),
request,
responseObserver);
@@ -1742,7 +1755,7 @@ public void createReferenceImage(
com.google.cloud.vision.v1p4beta1.CreateReferenceImageRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateReferenceImageMethod(), getCallOptions()),
request,
responseObserver);
@@ -1762,7 +1775,7 @@ public void createReferenceImage(
public void deleteReferenceImage(
com.google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteReferenceImageMethod(), getCallOptions()),
request,
responseObserver);
@@ -1783,7 +1796,7 @@ public void listReferenceImages(
com.google.cloud.vision.v1p4beta1.ListReferenceImagesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListReferenceImagesMethod(), getCallOptions()),
request,
responseObserver);
@@ -1802,7 +1815,7 @@ public void getReferenceImage(
com.google.cloud.vision.v1p4beta1.GetReferenceImageRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetReferenceImageMethod(), getCallOptions()),
request,
responseObserver);
@@ -1822,7 +1835,7 @@ public void getReferenceImage(
public void addProductToProductSet(
com.google.cloud.vision.v1p4beta1.AddProductToProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAddProductToProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1838,7 +1851,7 @@ public void addProductToProductSet(
public void removeProductFromProductSet(
com.google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRemoveProductFromProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1860,7 +1873,7 @@ public void listProductsInProductSet(
io.grpc.stub.StreamObserver<
com.google.cloud.vision.v1p4beta1.ListProductsInProductSetResponse>
responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListProductsInProductSetMethod(), getCallOptions()),
request,
responseObserver);
@@ -1884,7 +1897,7 @@ public void listProductsInProductSet(
public void importProductSets(
com.google.cloud.vision.v1p4beta1.ImportProductSetsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getImportProductSetsMethod(), getCallOptions()),
request,
responseObserver);
@@ -1918,7 +1931,7 @@ public void importProductSets(
public void purgeProducts(
com.google.cloud.vision.v1p4beta1.PurgeProductsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
- asyncUnaryCall(
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getPurgeProductsMethod(), getCallOptions()),
request,
responseObserver);
@@ -1969,7 +1982,7 @@ protected ProductSearchBlockingStub build(
*/
public com.google.cloud.vision.v1p4beta1.ProductSet createProductSet(
com.google.cloud.vision.v1p4beta1.CreateProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateProductSetMethod(), getCallOptions(), request);
}
@@ -1985,7 +1998,8 @@ public com.google.cloud.vision.v1p4beta1.ProductSet createProductSet(
*/
public com.google.cloud.vision.v1p4beta1.ListProductSetsResponse listProductSets(
com.google.cloud.vision.v1p4beta1.ListProductSetsRequest request) {
- return blockingUnaryCall(getChannel(), getListProductSetsMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListProductSetsMethod(), getCallOptions(), request);
}
/**
@@ -1999,7 +2013,8 @@ public com.google.cloud.vision.v1p4beta1.ListProductSetsResponse listProductSets
*/
public com.google.cloud.vision.v1p4beta1.ProductSet getProductSet(
com.google.cloud.vision.v1p4beta1.GetProductSetRequest request) {
- return blockingUnaryCall(getChannel(), getGetProductSetMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetProductSetMethod(), getCallOptions(), request);
}
/**
@@ -2016,7 +2031,7 @@ public com.google.cloud.vision.v1p4beta1.ProductSet getProductSet(
*/
public com.google.cloud.vision.v1p4beta1.ProductSet updateProductSet(
com.google.cloud.vision.v1p4beta1.UpdateProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateProductSetMethod(), getCallOptions(), request);
}
@@ -2031,7 +2046,7 @@ public com.google.cloud.vision.v1p4beta1.ProductSet updateProductSet(
*/
public com.google.protobuf.Empty deleteProductSet(
com.google.cloud.vision.v1p4beta1.DeleteProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteProductSetMethod(), getCallOptions(), request);
}
@@ -2049,7 +2064,8 @@ public com.google.protobuf.Empty deleteProductSet(
*/
public com.google.cloud.vision.v1p4beta1.Product createProduct(
com.google.cloud.vision.v1p4beta1.CreateProductRequest request) {
- return blockingUnaryCall(getChannel(), getCreateProductMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateProductMethod(), getCallOptions(), request);
}
/**
@@ -2063,7 +2079,8 @@ public com.google.cloud.vision.v1p4beta1.Product createProduct(
*/
public com.google.cloud.vision.v1p4beta1.ListProductsResponse listProducts(
com.google.cloud.vision.v1p4beta1.ListProductsRequest request) {
- return blockingUnaryCall(getChannel(), getListProductsMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListProductsMethod(), getCallOptions(), request);
}
/**
@@ -2077,7 +2094,8 @@ public com.google.cloud.vision.v1p4beta1.ListProductsResponse listProducts(
*/
public com.google.cloud.vision.v1p4beta1.Product getProduct(
com.google.cloud.vision.v1p4beta1.GetProductRequest request) {
- return blockingUnaryCall(getChannel(), getGetProductMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetProductMethod(), getCallOptions(), request);
}
/**
@@ -2100,7 +2118,8 @@ public com.google.cloud.vision.v1p4beta1.Product getProduct(
*/
public com.google.cloud.vision.v1p4beta1.Product updateProduct(
com.google.cloud.vision.v1p4beta1.UpdateProductRequest request) {
- return blockingUnaryCall(getChannel(), getUpdateProductMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdateProductMethod(), getCallOptions(), request);
}
/**
@@ -2115,7 +2134,8 @@ public com.google.cloud.vision.v1p4beta1.Product updateProduct(
*/
public com.google.protobuf.Empty deleteProduct(
com.google.cloud.vision.v1p4beta1.DeleteProductRequest request) {
- return blockingUnaryCall(getChannel(), getDeleteProductMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteProductMethod(), getCallOptions(), request);
}
/**
@@ -2141,7 +2161,7 @@ public com.google.protobuf.Empty deleteProduct(
*/
public com.google.cloud.vision.v1p4beta1.ReferenceImage createReferenceImage(
com.google.cloud.vision.v1p4beta1.CreateReferenceImageRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateReferenceImageMethod(), getCallOptions(), request);
}
@@ -2158,7 +2178,7 @@ public com.google.cloud.vision.v1p4beta1.ReferenceImage createReferenceImage(
*/
public com.google.protobuf.Empty deleteReferenceImage(
com.google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteReferenceImageMethod(), getCallOptions(), request);
}
@@ -2175,7 +2195,7 @@ public com.google.protobuf.Empty deleteReferenceImage(
*/
public com.google.cloud.vision.v1p4beta1.ListReferenceImagesResponse listReferenceImages(
com.google.cloud.vision.v1p4beta1.ListReferenceImagesRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListReferenceImagesMethod(), getCallOptions(), request);
}
@@ -2190,7 +2210,7 @@ public com.google.cloud.vision.v1p4beta1.ListReferenceImagesResponse listReferen
*/
public com.google.cloud.vision.v1p4beta1.ReferenceImage getReferenceImage(
com.google.cloud.vision.v1p4beta1.GetReferenceImageRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetReferenceImageMethod(), getCallOptions(), request);
}
@@ -2207,7 +2227,7 @@ public com.google.cloud.vision.v1p4beta1.ReferenceImage getReferenceImage(
*/
public com.google.protobuf.Empty addProductToProductSet(
com.google.cloud.vision.v1p4beta1.AddProductToProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAddProductToProductSetMethod(), getCallOptions(), request);
}
@@ -2220,7 +2240,7 @@ public com.google.protobuf.Empty addProductToProductSet(
*/
public com.google.protobuf.Empty removeProductFromProductSet(
com.google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRemoveProductFromProductSetMethod(), getCallOptions(), request);
}
@@ -2238,7 +2258,7 @@ public com.google.protobuf.Empty removeProductFromProductSet(
public com.google.cloud.vision.v1p4beta1.ListProductsInProductSetResponse
listProductsInProductSet(
com.google.cloud.vision.v1p4beta1.ListProductsInProductSetRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListProductsInProductSetMethod(), getCallOptions(), request);
}
@@ -2259,7 +2279,7 @@ public com.google.protobuf.Empty removeProductFromProductSet(
*/
public com.google.longrunning.Operation importProductSets(
com.google.cloud.vision.v1p4beta1.ImportProductSetsRequest request) {
- return blockingUnaryCall(
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getImportProductSetsMethod(), getCallOptions(), request);
}
@@ -2290,7 +2310,8 @@ public com.google.longrunning.Operation importProductSets(
*/
public com.google.longrunning.Operation purgeProducts(
com.google.cloud.vision.v1p4beta1.PurgeProductsRequest request) {
- return blockingUnaryCall(getChannel(), getPurgeProductsMethod(), getCallOptions(), request);
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getPurgeProductsMethod(), getCallOptions(), request);
}
}
@@ -2339,7 +2360,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p4beta1.ProductSet>
createProductSet(com.google.cloud.vision.v1p4beta1.CreateProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateProductSetMethod(), getCallOptions()), request);
}
@@ -2356,7 +2377,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p4beta1.ListProductSetsResponse>
listProductSets(com.google.cloud.vision.v1p4beta1.ListProductSetsRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListProductSetsMethod(), getCallOptions()), request);
}
@@ -2372,7 +2393,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p4beta1.ProductSet>
getProductSet(com.google.cloud.vision.v1p4beta1.GetProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetProductSetMethod(), getCallOptions()), request);
}
@@ -2391,7 +2412,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p4beta1.ProductSet>
updateProductSet(com.google.cloud.vision.v1p4beta1.UpdateProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateProductSetMethod(), getCallOptions()), request);
}
@@ -2406,7 +2427,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
deleteProductSet(com.google.cloud.vision.v1p4beta1.DeleteProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteProductSetMethod(), getCallOptions()), request);
}
@@ -2425,7 +2446,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p4beta1.Product>
createProduct(com.google.cloud.vision.v1p4beta1.CreateProductRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateProductMethod(), getCallOptions()), request);
}
@@ -2441,7 +2462,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p4beta1.ListProductsResponse>
listProducts(com.google.cloud.vision.v1p4beta1.ListProductsRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListProductsMethod(), getCallOptions()), request);
}
@@ -2457,7 +2478,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p4beta1.Product>
getProduct(com.google.cloud.vision.v1p4beta1.GetProductRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetProductMethod(), getCallOptions()), request);
}
@@ -2482,7 +2503,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p4beta1.Product>
updateProduct(com.google.cloud.vision.v1p4beta1.UpdateProductRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateProductMethod(), getCallOptions()), request);
}
@@ -2498,7 +2519,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
deleteProduct(com.google.cloud.vision.v1p4beta1.DeleteProductRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteProductMethod(), getCallOptions()), request);
}
@@ -2527,7 +2548,7 @@ protected ProductSearchFutureStub build(
com.google.cloud.vision.v1p4beta1.ReferenceImage>
createReferenceImage(
com.google.cloud.vision.v1p4beta1.CreateReferenceImageRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateReferenceImageMethod(), getCallOptions()), request);
}
@@ -2545,7 +2566,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture
deleteReferenceImage(
com.google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteReferenceImageMethod(), getCallOptions()), request);
}
@@ -2563,7 +2584,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p4beta1.ListReferenceImagesResponse>
listReferenceImages(com.google.cloud.vision.v1p4beta1.ListReferenceImagesRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListReferenceImagesMethod(), getCallOptions()), request);
}
@@ -2579,7 +2600,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.vision.v1p4beta1.ReferenceImage>
getReferenceImage(com.google.cloud.vision.v1p4beta1.GetReferenceImageRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetReferenceImageMethod(), getCallOptions()), request);
}
@@ -2597,7 +2618,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture
addProductToProductSet(
com.google.cloud.vision.v1p4beta1.AddProductToProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAddProductToProductSetMethod(), getCallOptions()), request);
}
@@ -2611,7 +2632,7 @@ protected ProductSearchFutureStub build(
public com.google.common.util.concurrent.ListenableFuture
removeProductFromProductSet(
com.google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRemoveProductFromProductSetMethod(), getCallOptions()), request);
}
@@ -2630,7 +2651,7 @@ protected ProductSearchFutureStub build(
com.google.cloud.vision.v1p4beta1.ListProductsInProductSetResponse>
listProductsInProductSet(
com.google.cloud.vision.v1p4beta1.ListProductsInProductSetRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListProductsInProductSetMethod(), getCallOptions()), request);
}
@@ -2651,7 +2672,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
importProductSets(com.google.cloud.vision.v1p4beta1.ImportProductSetsRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getImportProductSetsMethod(), getCallOptions()), request);
}
@@ -2682,7 +2703,7 @@ protected ProductSearchFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture
purgeProducts(com.google.cloud.vision.v1p4beta1.PurgeProductsRequest request) {
- return futureUnaryCall(
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getPurgeProductsMethod(), getCallOptions()), request);
}
}
diff --git a/synth.metadata b/synth.metadata
index 5c0a4754f..bfca4c97f 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,47 +4,47 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-vision.git",
- "sha": "0e6916b838b90859dfd15d1bad851e0dc4a3c341"
+ "sha": "dbb3078ba6c00a6544ee6b49717842cec00660e5"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "3befd26ca55723d3e8111909331eac1249837987",
- "internalRef": "360805639"
+ "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89",
+ "internalRef": "361377784"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "3befd26ca55723d3e8111909331eac1249837987",
- "internalRef": "360805639"
+ "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89",
+ "internalRef": "361377784"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "3befd26ca55723d3e8111909331eac1249837987",
- "internalRef": "360805639"
+ "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89",
+ "internalRef": "361377784"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "3befd26ca55723d3e8111909331eac1249837987",
- "internalRef": "360805639"
+ "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89",
+ "internalRef": "361377784"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "3befd26ca55723d3e8111909331eac1249837987",
- "internalRef": "360805639"
+ "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89",
+ "internalRef": "361377784"
}
},
{
From dcf81a87e0badec5b26f4338c3522fe9779b709a Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Tue, 9 Mar 2021 21:42:20 +0100
Subject: [PATCH 17/20] deps: update dependency
com.google.cloud:google-cloud-shared-dependencies to v0.20.1 (#437)
[](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) | `0.20.0` -> `0.20.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
googleapis/java-shared-dependencies
### [`v0.20.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#0201-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0200v0201-2021-03-09)
[Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.20.0...v0.20.1)
---
### Renovate configuration
:date: **Schedule**: At any time (no schedule defined).
:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index becb33671..bfe85584e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -126,7 +126,7 @@
com.google.cloud
google-cloud-shared-dependencies
- 0.20.0
+ 0.20.1
pom
import
From 797f265066acff1b280bf85467d92f056203c8c8 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Wed, 10 Mar 2021 16:12:07 -0800
Subject: [PATCH 18/20] build(java): update autorelease title check in response
to the new multi release branch changes (#438)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/b6cdd3f5-1dc3-4321-8fc9-bc52d8024ae0/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/0b064d767537e0675fc053e53fca473c5c701fb8
---
.github/workflows/auto-release.yaml | 4 ++--
synth.metadata | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml
index 7c8816a7d..9b4fd4d83 100644
--- a/.github/workflows/auto-release.yaml
+++ b/.github/workflows/auto-release.yaml
@@ -16,8 +16,8 @@ jobs:
return;
}
- // only approve PRs like "chore(master): release "
- if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) {
+ // only approve PRs like "chore: release "
+ if ( !context.payload.pull_request.title.startsWith("chore: release") ) {
return;
}
diff --git a/synth.metadata b/synth.metadata
index bfca4c97f..d6c44f95c 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-vision.git",
- "sha": "dbb3078ba6c00a6544ee6b49717842cec00660e5"
+ "sha": "dcf81a87e0badec5b26f4338c3522fe9779b709a"
}
},
{
@@ -51,7 +51,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "d0bdade9a962042dc0f770cf631086f3db59b5b0"
+ "sha": "0b064d767537e0675fc053e53fca473c5c701fb8"
}
}
],
From c3e29b7b39e754e315b68b7a6a8fd6f41d373a54 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 11 Mar 2021 01:58:03 +0100
Subject: [PATCH 19/20] deps: update dependency
com.google.cloud:google-cloud-storage to v1.113.13 (#436)
---
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 829ef1969..f462083f8 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
- 1.113.12
+ 1.113.13
net.sourceforge.argparse4j
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 34b589ae2..cc5c3f7e1 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -35,7 +35,7 @@
com.google.cloud
google-cloud-storage
- 1.113.12
+ 1.113.13
net.sourceforge.argparse4j
From 66968df01ceb3d8842a4705641edede63b9a61f7 Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Thu, 11 Mar 2021 01:04:06 +0000
Subject: [PATCH 20/20] chore: release 1.112.0 (#424)
:robot: I have created a release \*beep\* \*boop\*
---
## [1.112.0](https://www.github.com/googleapis/java-vision/compare/v1.111.1...v1.112.0) (2021-03-11)
### Features
* **generator:** update protoc to v3.15.3 ([#421](https://www.github.com/googleapis/java-vision/issues/421)) ([528806f](https://www.github.com/googleapis/java-vision/commit/528806f9c29bd2e17b0edc92afba9d8eceb0ad93))
### Dependencies
* update dependency com.google.cloud:google-cloud-core to v1.94.2 ([#423](https://www.github.com/googleapis/java-vision/issues/423)) ([62fc0b8](https://www.github.com/googleapis/java-vision/commit/62fc0b83f55ce0222c3a14456c34598c6325df59))
* update dependency com.google.cloud:google-cloud-core to v1.94.3 ([#428](https://www.github.com/googleapis/java-vision/issues/428)) ([3cd7c5f](https://www.github.com/googleapis/java-vision/commit/3cd7c5f117352f607e168423c863455a26f5f44c))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#437](https://www.github.com/googleapis/java-vision/issues/437)) ([dcf81a8](https://www.github.com/googleapis/java-vision/commit/dcf81a87e0badec5b26f4338c3522fe9779b709a))
* update dependency com.google.cloud:google-cloud-storage to v1.113.12 ([#422](https://www.github.com/googleapis/java-vision/issues/422)) ([502b688](https://www.github.com/googleapis/java-vision/commit/502b688106e41b5227471ae0dc92add1a63a7bf6))
* update dependency com.google.cloud:google-cloud-storage to v1.113.13 ([#436](https://www.github.com/googleapis/java-vision/issues/436)) ([c3e29b7](https://www.github.com/googleapis/java-vision/commit/c3e29b7b39e754e315b68b7a6a8fd6f41d373a54))
---
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 | 16 ++++++++++++++
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, 74 insertions(+), 58 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d6f24d639..fff8854bf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,21 @@
# Changelog
+## [1.112.0](https://www.github.com/googleapis/java-vision/compare/v1.111.1...v1.112.0) (2021-03-11)
+
+
+### Features
+
+* **generator:** update protoc to v3.15.3 ([#421](https://www.github.com/googleapis/java-vision/issues/421)) ([528806f](https://www.github.com/googleapis/java-vision/commit/528806f9c29bd2e17b0edc92afba9d8eceb0ad93))
+
+
+### Dependencies
+
+* update dependency com.google.cloud:google-cloud-core to v1.94.2 ([#423](https://www.github.com/googleapis/java-vision/issues/423)) ([62fc0b8](https://www.github.com/googleapis/java-vision/commit/62fc0b83f55ce0222c3a14456c34598c6325df59))
+* update dependency com.google.cloud:google-cloud-core to v1.94.3 ([#428](https://www.github.com/googleapis/java-vision/issues/428)) ([3cd7c5f](https://www.github.com/googleapis/java-vision/commit/3cd7c5f117352f607e168423c863455a26f5f44c))
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#437](https://www.github.com/googleapis/java-vision/issues/437)) ([dcf81a8](https://www.github.com/googleapis/java-vision/commit/dcf81a87e0badec5b26f4338c3522fe9779b709a))
+* update dependency com.google.cloud:google-cloud-storage to v1.113.12 ([#422](https://www.github.com/googleapis/java-vision/issues/422)) ([502b688](https://www.github.com/googleapis/java-vision/commit/502b688106e41b5227471ae0dc92add1a63a7bf6))
+* update dependency com.google.cloud:google-cloud-storage to v1.113.13 ([#436](https://www.github.com/googleapis/java-vision/issues/436)) ([c3e29b7](https://www.github.com/googleapis/java-vision/commit/c3e29b7b39e754e315b68b7a6a8fd6f41d373a54))
+
### [1.111.1](https://www.github.com/googleapis/java-vision/compare/v1.111.0...v1.111.1) (2021-02-25)
diff --git a/google-cloud-vision-bom/pom.xml b/google-cloud-vision-bom/pom.xml
index db2e6cc02..4caf1600c 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
- 1.101.2-SNAPSHOT
+ 1.102.0
pom
com.google.cloud
@@ -64,57 +64,57 @@
com.google.api.grpc
proto-google-cloud-vision-v1p4beta1
- 0.84.2-SNAPSHOT
+ 0.85.0
com.google.cloud
google-cloud-vision
- 1.101.2-SNAPSHOT
+ 1.102.0
com.google.api.grpc
grpc-google-cloud-vision-v1p3beta1
- 0.84.2-SNAPSHOT
+ 0.85.0
com.google.api.grpc
proto-google-cloud-vision-v1
- 1.101.2-SNAPSHOT
+ 1.102.0
com.google.api.grpc
grpc-google-cloud-vision-v1p1beta1
- 0.84.2-SNAPSHOT
+ 0.85.0
com.google.api.grpc
proto-google-cloud-vision-v1p1beta1
- 0.84.2-SNAPSHOT
+ 0.85.0
com.google.api.grpc
proto-google-cloud-vision-v1p3beta1
- 0.84.2-SNAPSHOT
+ 0.85.0
com.google.api.grpc
grpc-google-cloud-vision-v1p4beta1
- 0.84.2-SNAPSHOT
+ 0.85.0
com.google.api.grpc
grpc-google-cloud-vision-v1p2beta1
- 1.101.2-SNAPSHOT
+ 1.102.0
com.google.api.grpc
grpc-google-cloud-vision-v1
- 1.101.2-SNAPSHOT
+ 1.102.0
com.google.api.grpc
proto-google-cloud-vision-v1p2beta1
- 1.101.2-SNAPSHOT
+ 1.102.0