@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
IOException
protected GrpcProductSearchStub(ProductSearchStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcProductSearchStub create(ProductSearchStubSettings settings) throws IOException
IOException
public static final GrpcProductSearchStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public 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 ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<CreateProductSetRequest,ProductSet> createProductSetCallable()
createProductSetCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<ListProductSetsRequest,ProductSearchClient.ListProductSetsPagedResponse> listProductSetsPagedCallable()
listProductSetsPagedCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<ListProductSetsRequest,ListProductSetsResponse> listProductSetsCallable()
listProductSetsCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<GetProductSetRequest,ProductSet> getProductSetCallable()
getProductSetCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<UpdateProductSetRequest,ProductSet> updateProductSetCallable()
updateProductSetCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<DeleteProductSetRequest,Empty> deleteProductSetCallable()
deleteProductSetCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<CreateProductRequest,Product> createProductCallable()
createProductCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<ListProductsRequest,ProductSearchClient.ListProductsPagedResponse> listProductsPagedCallable()
listProductsPagedCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<ListProductsRequest,ListProductsResponse> listProductsCallable()
listProductsCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<GetProductRequest,Product> getProductCallable()
getProductCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<UpdateProductRequest,Product> updateProductCallable()
updateProductCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<DeleteProductRequest,Empty> deleteProductCallable()
deleteProductCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<CreateReferenceImageRequest,ReferenceImage> createReferenceImageCallable()
createReferenceImageCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<DeleteReferenceImageRequest,Empty> deleteReferenceImageCallable()
deleteReferenceImageCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<ListReferenceImagesRequest,ProductSearchClient.ListReferenceImagesPagedResponse> listReferenceImagesPagedCallable()
listReferenceImagesPagedCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<ListReferenceImagesRequest,ListReferenceImagesResponse> listReferenceImagesCallable()
listReferenceImagesCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<GetReferenceImageRequest,ReferenceImage> getReferenceImageCallable()
getReferenceImageCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<AddProductToProductSetRequest,Empty> addProductToProductSetCallable()
addProductToProductSetCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<RemoveProductFromProductSetRequest,Empty> removeProductFromProductSetCallable()
removeProductFromProductSetCallable
in class ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<ListProductsInProductSetRequest,ProductSearchClient.ListProductsInProductSetPagedResponse> listProductsInProductSetPagedCallable()
listProductsInProductSetPagedCallable
in class ProductSearchStub
public 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 ProductSearchStub
public com.google.api.gax.rpc.UnaryCallable<ImportProductSetsRequest,com.google.longrunning.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.