- 3.52.0 (latest)
- 3.51.0
- 3.50.0
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.3
- 2.1.4
- 2.0.29
public class GrpcProductSearchStub extends ProductSearchStub
gRPC stub implementation for the ProductSearch service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcProductSearchStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
GrpcProductSearchStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcProductSearchStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcProductSearchStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ProductSearchStubSettings settings)
public static final GrpcProductSearchStub create(ProductSearchStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
ProductSearchStubSettings |
Returns | |
---|---|
Type | Description |
GrpcProductSearchStub |
Exceptions | |
---|---|
Type | Description |
IOException |
Constructors
GrpcProductSearchStub(ProductSearchStubSettings settings, ClientContext clientContext)
protected GrpcProductSearchStub(ProductSearchStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcProductSearchStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Parameters | |
---|---|
Name | Description |
settings |
ProductSearchStubSettings |
clientContext |
ClientContext |
GrpcProductSearchStub(ProductSearchStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcProductSearchStub(ProductSearchStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcProductSearchStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Parameters | |
---|---|
Name | Description |
settings |
ProductSearchStubSettings |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Methods
addProductToProductSetCallable()
public UnaryCallable<AddProductToProductSetRequest,Empty> addProductToProductSetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<AddProductToProductSetRequest,Empty> |
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration |
long |
unit |
TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createProductCallable()
public UnaryCallable<CreateProductRequest,Product> createProductCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateProductRequest,Product> |
createProductSetCallable()
public UnaryCallable<CreateProductSetRequest,ProductSet> createProductSetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateProductSetRequest,ProductSet> |
createReferenceImageCallable()
public UnaryCallable<CreateReferenceImageRequest,ReferenceImage> createReferenceImageCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateReferenceImageRequest,ReferenceImage> |
deleteProductCallable()
public UnaryCallable<DeleteProductRequest,Empty> deleteProductCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteProductRequest,Empty> |
deleteProductSetCallable()
public UnaryCallable<DeleteProductSetRequest,Empty> deleteProductSetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteProductSetRequest,Empty> |
deleteReferenceImageCallable()
public UnaryCallable<DeleteReferenceImageRequest,Empty> deleteReferenceImageCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteReferenceImageRequest,Empty> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getProductCallable()
public UnaryCallable<GetProductRequest,Product> getProductCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetProductRequest,Product> |
getProductSetCallable()
public UnaryCallable<GetProductSetRequest,ProductSet> getProductSetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetProductSetRequest,ProductSet> |
getReferenceImageCallable()
public UnaryCallable<GetReferenceImageRequest,ReferenceImage> getReferenceImageCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetReferenceImageRequest,ReferenceImage> |
importProductSetsCallable()
public UnaryCallable<ImportProductSetsRequest,Operation> importProductSetsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ImportProductSetsRequest,Operation> |
importProductSetsOperationCallable()
public OperationCallable<ImportProductSetsRequest,ImportProductSetsResponse,BatchOperationMetadata> importProductSetsOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ImportProductSetsRequest,ImportProductSetsResponse,BatchOperationMetadata> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listProductSetsCallable()
public UnaryCallable<ListProductSetsRequest,ListProductSetsResponse> listProductSetsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListProductSetsRequest,ListProductSetsResponse> |
listProductSetsPagedCallable()
public UnaryCallable<ListProductSetsRequest,ProductSearchClient.ListProductSetsPagedResponse> listProductSetsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListProductSetsRequest,ListProductSetsPagedResponse> |
listProductsCallable()
public UnaryCallable<ListProductsRequest,ListProductsResponse> listProductsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListProductsRequest,ListProductsResponse> |
listProductsInProductSetCallable()
public UnaryCallable<ListProductsInProductSetRequest,ListProductsInProductSetResponse> listProductsInProductSetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListProductsInProductSetRequest,ListProductsInProductSetResponse> |
listProductsInProductSetPagedCallable()
public UnaryCallable<ListProductsInProductSetRequest,ProductSearchClient.ListProductsInProductSetPagedResponse> listProductsInProductSetPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListProductsInProductSetRequest,ListProductsInProductSetPagedResponse> |
listProductsPagedCallable()
public UnaryCallable<ListProductsRequest,ProductSearchClient.ListProductsPagedResponse> listProductsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListProductsRequest,ListProductsPagedResponse> |
listReferenceImagesCallable()
public UnaryCallable<ListReferenceImagesRequest,ListReferenceImagesResponse> listReferenceImagesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListReferenceImagesRequest,ListReferenceImagesResponse> |
listReferenceImagesPagedCallable()
public UnaryCallable<ListReferenceImagesRequest,ProductSearchClient.ListReferenceImagesPagedResponse> listReferenceImagesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListReferenceImagesRequest,ListReferenceImagesPagedResponse> |
removeProductFromProductSetCallable()
public UnaryCallable<RemoveProductFromProductSetRequest,Empty> removeProductFromProductSetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RemoveProductFromProductSetRequest,Empty> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateProductCallable()
public UnaryCallable<UpdateProductRequest,Product> updateProductCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateProductRequest,Product> |
updateProductSetCallable()
public UnaryCallable<UpdateProductSetRequest,ProductSet> updateProductSetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateProductSetRequest,ProductSet> |