Class PromotionsServiceStub (0.8.0)

public abstract class PromotionsServiceStub implements BackgroundResource

Base stub class for the PromotionsService service API.

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

Inheritance

java.lang.Object > PromotionsServiceStub

Implements

BackgroundResource

Constructors

PromotionsServiceStub()

public PromotionsServiceStub()

Methods

close()

public abstract void close()

getPromotionCallable()

public UnaryCallable<GetPromotionRequest,Promotion> getPromotionCallable()
Returns
Type Description
UnaryCallable<GetPromotionRequest,Promotion>

insertPromotionCallable()

public UnaryCallable<InsertPromotionRequest,Promotion> insertPromotionCallable()
Returns
Type Description
UnaryCallable<InsertPromotionRequest,Promotion>

listPromotionsCallable()

public UnaryCallable<ListPromotionsRequest,ListPromotionsResponse> listPromotionsCallable()
Returns
Type Description
UnaryCallable<ListPromotionsRequest,ListPromotionsResponse>

listPromotionsPagedCallable()

public UnaryCallable<ListPromotionsRequest,PromotionsServiceClient.ListPromotionsPagedResponse> listPromotionsPagedCallable()
Returns
Type Description
UnaryCallable<ListPromotionsRequest,ListPromotionsPagedResponse>