Class ProductsServiceGrpc.ProductsServiceBlockingV2Stub (0.18.0)

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

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

Service to use Product resource.

Inheritance

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

Methods

build(Channel channel, CallOptions callOptions)

protected ProductsServiceGrpc.ProductsServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ProductsServiceGrpc.ProductsServiceBlockingV2Stub
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