From 7d58f59617722175b83a4583efdb6eb9b5b8e8dd Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 6 Mar 2019 00:59:16 -0800 Subject: [PATCH] Regenerate vision client --- .../google/cloud/vision/v1/ProductSearchClient.java | 13 +++++++++---- .../cloud/vision/v1p3beta1/ProductSearchClient.java | 13 +++++++++---- .../cloud/vision/v1p4beta1/ProductSearchClient.java | 13 +++++++++---- .../google-cloud-vision/synth.metadata | 10 +++++----- 4 files changed, 32 insertions(+), 17 deletions(-) diff --git a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java index 85b6559eca0e..ed164149d6a6 100644 --- a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java +++ b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java @@ -30,6 +30,7 @@ import com.google.api.pathtemplate.PathTemplate; import com.google.cloud.vision.v1.stub.ProductSearchStub; import com.google.cloud.vision.v1.stub.ProductSearchStubSettings; +import com.google.common.util.concurrent.MoreExecutors; import com.google.longrunning.Operation; import com.google.longrunning.OperationsClient; import com.google.protobuf.Empty; @@ -2826,7 +2827,8 @@ public static ApiFuture createAsync( public ListProductsPagedResponse apply(ListProductsPage input) { return new ListProductsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListProductsPagedResponse(ListProductsPage page) { @@ -2906,7 +2908,8 @@ public static ApiFuture createAsync( public ListReferenceImagesPagedResponse apply(ListReferenceImagesPage input) { return new ListReferenceImagesPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListReferenceImagesPagedResponse(ListReferenceImagesPage page) { @@ -2993,7 +2996,8 @@ public static ApiFuture createAsync( public ListProductSetsPagedResponse apply(ListProductSetsPage input) { return new ListProductSetsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListProductSetsPagedResponse(ListProductSetsPage page) { @@ -3075,7 +3079,8 @@ public static ApiFuture createAsync( public ListProductsInProductSetPagedResponse apply(ListProductsInProductSetPage input) { return new ListProductsInProductSetPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListProductsInProductSetPagedResponse(ListProductsInProductSetPage page) { diff --git a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java index 9b78a9544756..ef473ad65df8 100644 --- a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java +++ b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.vision.v1p3beta1.stub.ProductSearchStub; import com.google.cloud.vision.v1p3beta1.stub.ProductSearchStubSettings; +import com.google.common.util.concurrent.MoreExecutors; import com.google.longrunning.Operation; import com.google.longrunning.OperationsClient; import com.google.protobuf.Empty; @@ -2709,7 +2710,8 @@ public static ApiFuture createAsync( public ListProductSetsPagedResponse apply(ListProductSetsPage input) { return new ListProductSetsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListProductSetsPagedResponse(ListProductSetsPage page) { @@ -2790,7 +2792,8 @@ public static ApiFuture createAsync( public ListProductsPagedResponse apply(ListProductsPage input) { return new ListProductsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListProductsPagedResponse(ListProductsPage page) { @@ -2870,7 +2873,8 @@ public static ApiFuture createAsync( public ListReferenceImagesPagedResponse apply(ListReferenceImagesPage input) { return new ListReferenceImagesPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListReferenceImagesPagedResponse(ListReferenceImagesPage page) { @@ -2958,7 +2962,8 @@ public static ApiFuture createAsync( public ListProductsInProductSetPagedResponse apply(ListProductsInProductSetPage input) { return new ListProductsInProductSetPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListProductsInProductSetPagedResponse(ListProductsInProductSetPage page) { diff --git a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchClient.java b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchClient.java index ddfcd1ee130b..0a81388e65d9 100644 --- a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchClient.java +++ b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchClient.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.vision.v1p4beta1.stub.ProductSearchStub; import com.google.cloud.vision.v1p4beta1.stub.ProductSearchStubSettings; +import com.google.common.util.concurrent.MoreExecutors; import com.google.longrunning.Operation; import com.google.longrunning.OperationsClient; import com.google.protobuf.Empty; @@ -2709,7 +2710,8 @@ public static ApiFuture createAsync( public ListProductSetsPagedResponse apply(ListProductSetsPage input) { return new ListProductSetsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListProductSetsPagedResponse(ListProductSetsPage page) { @@ -2790,7 +2792,8 @@ public static ApiFuture createAsync( public ListProductsPagedResponse apply(ListProductsPage input) { return new ListProductsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListProductsPagedResponse(ListProductsPage page) { @@ -2870,7 +2873,8 @@ public static ApiFuture createAsync( public ListReferenceImagesPagedResponse apply(ListReferenceImagesPage input) { return new ListReferenceImagesPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListReferenceImagesPagedResponse(ListReferenceImagesPage page) { @@ -2958,7 +2962,8 @@ public static ApiFuture createAsync( public ListProductsInProductSetPagedResponse apply(ListProductsInProductSetPage input) { return new ListProductsInProductSetPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListProductsInProductSetPagedResponse(ListProductsInProductSetPage page) { diff --git a/google-cloud-clients/google-cloud-vision/synth.metadata b/google-cloud-clients/google-cloud-vision/synth.metadata index 9a276c36a8ea..d750bebb574d 100644 --- a/google-cloud-clients/google-cloud-vision/synth.metadata +++ b/google-cloud-clients/google-cloud-vision/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-03-05T08:58:11.767522Z", + "updateTime": "2019-03-06T08:59:16.194083Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.14", - "dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7" + "version": "0.16.15", + "dockerImage": "googleapis/artman@sha256:9caadfa59d48224cba5f3217eb9d61a155b78ccf31e628abef385bc5b7ed3bd2" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "b4a22569c88f1f0444e889d8139ddacb799f287c", - "internalRef": "236712632" + "sha": "856117505ff9075b3e9c0b5674113667b6cf9e00", + "internalRef": "236931378" } } ],