@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcProductSearchStub extends ProductSearchStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcProductSearchStub(ProductSearchStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcProductSearchStub, using the given settings.
|
protected |
GrpcProductSearchStub(ProductSearchStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcProductSearchStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
UnaryCallable<com.google.cloud.vision.v1.AddProductToProductSetRequest,Empty> |
addProductToProductSetCallable() |
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcProductSearchStub |
create(ClientContext clientContext) |
static GrpcProductSearchStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcProductSearchStub |
create(ProductSearchStubSettings settings) |
UnaryCallable<com.google.cloud.vision.v1.CreateProductRequest,com.google.cloud.vision.v1.Product> |
createProductCallable() |
UnaryCallable<com.google.cloud.vision.v1.CreateProductSetRequest,com.google.cloud.vision.v1.ProductSet> |
createProductSetCallable() |
UnaryCallable<com.google.cloud.vision.v1.CreateReferenceImageRequest,com.google.cloud.vision.v1.ReferenceImage> |
createReferenceImageCallable() |
UnaryCallable<com.google.cloud.vision.v1.DeleteProductRequest,Empty> |
deleteProductCallable() |
UnaryCallable<com.google.cloud.vision.v1.DeleteProductSetRequest,Empty> |
deleteProductSetCallable() |
UnaryCallable<com.google.cloud.vision.v1.DeleteReferenceImageRequest,Empty> |
deleteReferenceImageCallable() |
GrpcOperationsStub |
getOperationsStub() |
UnaryCallable<com.google.cloud.vision.v1.GetProductRequest,com.google.cloud.vision.v1.Product> |
getProductCallable() |
UnaryCallable<com.google.cloud.vision.v1.GetProductSetRequest,com.google.cloud.vision.v1.ProductSet> |
getProductSetCallable() |
UnaryCallable<com.google.cloud.vision.v1.GetReferenceImageRequest,com.google.cloud.vision.v1.ReferenceImage> |
getReferenceImageCallable() |
UnaryCallable<com.google.cloud.vision.v1.ImportProductSetsRequest,Operation> |
importProductSetsCallable() |
OperationCallable<com.google.cloud.vision.v1.ImportProductSetsRequest,com.google.cloud.vision.v1.ImportProductSetsResponse,com.google.cloud.vision.v1.BatchOperationMetadata> |
importProductSetsOperationCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.vision.v1.ListProductsRequest,com.google.cloud.vision.v1.ListProductsResponse> |
listProductsCallable() |
UnaryCallable<com.google.cloud.vision.v1.ListProductSetsRequest,com.google.cloud.vision.v1.ListProductSetsResponse> |
listProductSetsCallable() |
UnaryCallable<com.google.cloud.vision.v1.ListProductSetsRequest,ProductSearchClient.ListProductSetsPagedResponse> |
listProductSetsPagedCallable() |
UnaryCallable<com.google.cloud.vision.v1.ListProductsInProductSetRequest,com.google.cloud.vision.v1.ListProductsInProductSetResponse> |
listProductsInProductSetCallable() |
UnaryCallable<com.google.cloud.vision.v1.ListProductsInProductSetRequest,ProductSearchClient.ListProductsInProductSetPagedResponse> |
listProductsInProductSetPagedCallable() |
UnaryCallable<com.google.cloud.vision.v1.ListProductsRequest,ProductSearchClient.ListProductsPagedResponse> |
listProductsPagedCallable() |
UnaryCallable<com.google.cloud.vision.v1.ListReferenceImagesRequest,com.google.cloud.vision.v1.ListReferenceImagesResponse> |
listReferenceImagesCallable() |
UnaryCallable<com.google.cloud.vision.v1.ListReferenceImagesRequest,ProductSearchClient.ListReferenceImagesPagedResponse> |
listReferenceImagesPagedCallable() |
UnaryCallable<com.google.cloud.vision.v1.RemoveProductFromProductSetRequest,Empty> |
removeProductFromProductSetCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.cloud.vision.v1.UpdateProductRequest,com.google.cloud.vision.v1.Product> |
updateProductCallable() |
UnaryCallable<com.google.cloud.vision.v1.UpdateProductSetRequest,com.google.cloud.vision.v1.ProductSet> |
updateProductSetCallable() |
protected GrpcProductSearchStub(ProductSearchStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcProductSearchStub(ProductSearchStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcProductSearchStub create(ProductSearchStubSettings settings) throws IOException
IOException
public static final GrpcProductSearchStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcProductSearchStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.CreateProductRequest,com.google.cloud.vision.v1.Product> createProductCallable()
createProductCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.ListProductsRequest,ProductSearchClient.ListProductsPagedResponse> listProductsPagedCallable()
listProductsPagedCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.ListProductsRequest,com.google.cloud.vision.v1.ListProductsResponse> listProductsCallable()
listProductsCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.GetProductRequest,com.google.cloud.vision.v1.Product> getProductCallable()
getProductCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.UpdateProductRequest,com.google.cloud.vision.v1.Product> updateProductCallable()
updateProductCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.DeleteProductRequest,Empty> deleteProductCallable()
deleteProductCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.ListReferenceImagesRequest,ProductSearchClient.ListReferenceImagesPagedResponse> listReferenceImagesPagedCallable()
listReferenceImagesPagedCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.ListReferenceImagesRequest,com.google.cloud.vision.v1.ListReferenceImagesResponse> listReferenceImagesCallable()
listReferenceImagesCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.GetReferenceImageRequest,com.google.cloud.vision.v1.ReferenceImage> getReferenceImageCallable()
getReferenceImageCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.DeleteReferenceImageRequest,Empty> deleteReferenceImageCallable()
deleteReferenceImageCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.CreateReferenceImageRequest,com.google.cloud.vision.v1.ReferenceImage> createReferenceImageCallable()
createReferenceImageCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.CreateProductSetRequest,com.google.cloud.vision.v1.ProductSet> createProductSetCallable()
createProductSetCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.ListProductSetsRequest,ProductSearchClient.ListProductSetsPagedResponse> listProductSetsPagedCallable()
listProductSetsPagedCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.ListProductSetsRequest,com.google.cloud.vision.v1.ListProductSetsResponse> listProductSetsCallable()
listProductSetsCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.GetProductSetRequest,com.google.cloud.vision.v1.ProductSet> getProductSetCallable()
getProductSetCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.UpdateProductSetRequest,com.google.cloud.vision.v1.ProductSet> updateProductSetCallable()
updateProductSetCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.DeleteProductSetRequest,Empty> deleteProductSetCallable()
deleteProductSetCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.AddProductToProductSetRequest,Empty> addProductToProductSetCallable()
addProductToProductSetCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.RemoveProductFromProductSetRequest,Empty> removeProductFromProductSetCallable()
removeProductFromProductSetCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.ListProductsInProductSetRequest,ProductSearchClient.ListProductsInProductSetPagedResponse> listProductsInProductSetPagedCallable()
listProductsInProductSetPagedCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.ListProductsInProductSetRequest,com.google.cloud.vision.v1.ListProductsInProductSetResponse> listProductsInProductSetCallable()
listProductsInProductSetCallable
in class ProductSearchStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.vision.v1.ImportProductSetsRequest,com.google.cloud.vision.v1.ImportProductSetsResponse,com.google.cloud.vision.v1.BatchOperationMetadata> importProductSetsOperationCallable()
importProductSetsOperationCallable
in class ProductSearchStub
public UnaryCallable<com.google.cloud.vision.v1.ImportProductSetsRequest,Operation> importProductSetsCallable()
importProductSetsCallable
in class ProductSearchStub
public final void close()
close
in interface AutoCloseable
close
in class ProductSearchStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.