Class ConsumerProcurementServiceGrpc
java.lang.Object
com.google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementServiceGrpc
ConsumerProcurementService allows customers to make purchases of products served by the Cloud Commerce platform. When purchases are made, the [ConsumerProcurementService][google.cloud.commerce.consumer.procurement.v1alpha1.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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceConsumerProcurementService allows customers to make purchases of products served by the Cloud Commerce platform.static final classA stub to allow clients to do limited synchronous rpc calls to service ConsumerProcurementService.static final classA stub to allow clients to do synchronous rpc calls to service ConsumerProcurementService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service ConsumerProcurementService.static classBase class for the server implementation of the service ConsumerProcurementService.static final classA stub to allow clients to do asynchronous rpc calls to service ConsumerProcurementService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<GetOrderRequest,Order> static io.grpc.MethodDescriptor<ListOrdersRequest,ListOrdersResponse> static io.grpc.MethodDescriptor<PlaceOrderRequest,Operation> static io.grpc.ServiceDescriptornewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getPlaceOrderMethod
-
getGetOrderMethod
-
getListOrdersMethod
-
newStub
public static ConsumerProcurementServiceGrpc.ConsumerProcurementServiceStub newStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static ConsumerProcurementServiceGrpc.ConsumerProcurementServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
public static ConsumerProcurementServiceGrpc.ConsumerProcurementServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
public static ConsumerProcurementServiceGrpc.ConsumerProcurementServiceFutureStub newFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(ConsumerProcurementServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-