Class ProductsServiceGrpc.ProductsServiceBlockingStub (0.1.0)

public static final class ProductsServiceGrpc.ProductsServiceBlockingStub extends AbstractBlockingStub<ProductsServiceGrpc.ProductsServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service ProductsService.

Service to use Product resource. This service works for products with online channel only.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ProductsServiceGrpc.ProductsServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected ProductsServiceGrpc.ProductsServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ProductsServiceGrpc.ProductsServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getProduct(GetProductRequest request)

public Product getProduct(GetProductRequest request)

Retrieves the processed product from your Merchant Center account. After inserting, updating, or deleting a product input, it may take several minutes before the updated final product can be retrieved.

Parameter
Name Description
request GetProductRequest
Returns
Type Description
Product

listProducts(ListProductsRequest request)

public ListProductsResponse listProducts(ListProductsRequest request)

Lists the processed products in your Merchant Center account. The response might contain fewer items than specified by pageSize. Rely on pageToken to determine if there are more items to be requested. After inserting, updating, or deleting a product input, it may take several minutes before the updated processed product can be retrieved.

Parameter
Name Description
request ListProductsRequest
Returns
Type Description
ListProductsResponse