Class ConsumerProcurementServiceGrpc (0.10.0)

public final class ConsumerProcurementServiceGrpc

ConsumerProcurementService allows customers to make purchases of products served by the Cloud Commerce platform. When purchases are made, the ConsumerProcurementService programs the appropriate backends, including both Google's own infrastructure, as well as third-party systems, and to enable billing setup for charging for the procured item.

Inheritance

java.lang.Object > ConsumerProcurementServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getGetOrderMethod()

public static MethodDescriptor<GetOrderRequest,Order> getGetOrderMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetOrderRequest,Order>

getListOrdersMethod()

public static MethodDescriptor<ListOrdersRequest,ListOrdersResponse> getListOrdersMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListOrdersRequest,ListOrdersResponse>

getPlaceOrderMethod()

public static MethodDescriptor<PlaceOrderRequest,Operation> getPlaceOrderMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<PlaceOrderRequest,Operation>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static ConsumerProcurementServiceGrpc.ConsumerProcurementServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ConsumerProcurementServiceGrpc.ConsumerProcurementServiceBlockingStub

newFutureStub(Channel channel)

public static ConsumerProcurementServiceGrpc.ConsumerProcurementServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ConsumerProcurementServiceGrpc.ConsumerProcurementServiceFutureStub

newStub(Channel channel)

public static ConsumerProcurementServiceGrpc.ConsumerProcurementServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ConsumerProcurementServiceGrpc.ConsumerProcurementServiceStub