@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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcProductSearchStub, using the given settings.
|
protected |
GrpcProductSearchStub(ProductSearchStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcProductSearchStub, using the given settings.
|
protected GrpcProductSearchStub(ProductSearchStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcProductSearchStub(ProductSearchStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcProductSearchStub create(ProductSearchStubSettings settings) throws IOException
IOExceptionpublic static final GrpcProductSearchStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcProductSearchStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.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 com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<CreateProductSetRequest,ProductSet> createProductSetCallable()
createProductSetCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<ListProductSetsRequest,ProductSearchClient.ListProductSetsPagedResponse> listProductSetsPagedCallable()
listProductSetsPagedCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<ListProductSetsRequest,ListProductSetsResponse> listProductSetsCallable()
listProductSetsCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<GetProductSetRequest,ProductSet> getProductSetCallable()
getProductSetCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateProductSetRequest,ProductSet> updateProductSetCallable()
updateProductSetCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteProductSetRequest,Empty> deleteProductSetCallable()
deleteProductSetCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<CreateProductRequest,Product> createProductCallable()
createProductCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<ListProductsRequest,ProductSearchClient.ListProductsPagedResponse> listProductsPagedCallable()
listProductsPagedCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<ListProductsRequest,ListProductsResponse> listProductsCallable()
listProductsCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<GetProductRequest,Product> getProductCallable()
getProductCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateProductRequest,Product> updateProductCallable()
updateProductCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteProductRequest,Empty> deleteProductCallable()
deleteProductCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<CreateReferenceImageRequest,ReferenceImage> createReferenceImageCallable()
createReferenceImageCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteReferenceImageRequest,Empty> deleteReferenceImageCallable()
deleteReferenceImageCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<ListReferenceImagesRequest,ProductSearchClient.ListReferenceImagesPagedResponse> listReferenceImagesPagedCallable()
listReferenceImagesPagedCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<ListReferenceImagesRequest,ListReferenceImagesResponse> listReferenceImagesCallable()
listReferenceImagesCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<GetReferenceImageRequest,ReferenceImage> getReferenceImageCallable()
getReferenceImageCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<AddProductToProductSetRequest,Empty> addProductToProductSetCallable()
addProductToProductSetCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<RemoveProductFromProductSetRequest,Empty> removeProductFromProductSetCallable()
removeProductFromProductSetCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<ListProductsInProductSetRequest,ProductSearchClient.ListProductsInProductSetPagedResponse> listProductsInProductSetPagedCallable()
listProductsInProductSetPagedCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<ListProductsInProductSetRequest,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 com.google.api.gax.rpc.OperationCallable<ImportProductSetsRequest,ImportProductSetsResponse,BatchOperationMetadata> importProductSetsOperationCallable()
importProductSetsOperationCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<ImportProductSetsRequest,com.google.longrunning.Operation> importProductSetsCallable()
importProductSetsCallable in class ProductSearchStub@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<PurgeProductsRequest,Empty,BatchOperationMetadata> purgeProductsOperationCallable()
purgeProductsOperationCallable in class ProductSearchStubpublic com.google.api.gax.rpc.UnaryCallable<PurgeProductsRequest,com.google.longrunning.Operation> purgeProductsCallable()
purgeProductsCallable in class ProductSearchStubpublic final void close()
close in interface AutoCloseableclose in class ProductSearchStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.