Class ConsumerProcurementServiceGrpc (0.41.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
Type Description
String

Static Methods

bindService(ConsumerProcurementServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ConsumerProcurementServiceGrpc.AsyncService service)
Parameter
Name Description
service ConsumerProcurementServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getGetOrderMethod()

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

getListOrdersMethod()

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

getPlaceOrderMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
ConsumerProcurementServiceGrpc.ConsumerProcurementServiceStub