Class ProductsServiceStub (0.4.0)

public abstract class ProductsServiceStub implements BackgroundResource

Base stub class for the ProductsService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > ProductsServiceStub

Implements

BackgroundResource

Constructors

ProductsServiceStub()

public ProductsServiceStub()

Methods

close()

public abstract void close()

getProductCallable()

public UnaryCallable<GetProductRequest,Product> getProductCallable()
Returns
Type Description
UnaryCallable<GetProductRequest,Product>

listProductsCallable()

public UnaryCallable<ListProductsRequest,ListProductsResponse> listProductsCallable()
Returns
Type Description
UnaryCallable<ListProductsRequest,ListProductsResponse>

listProductsPagedCallable()

public UnaryCallable<ListProductsRequest,ProductsServiceClient.ListProductsPagedResponse> listProductsPagedCallable()
Returns
Type Description
UnaryCallable<ListProductsRequest,ListProductsPagedResponse>