Class ConsumerProcurementServiceGrpc
- java.lang.Object
-
- com.google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementServiceGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/commerce/consumer/procurement/v1alpha1/procurement_service.proto") public final class ConsumerProcurementServiceGrpc extends Object
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 Classes Modifier and Type Class Description static interface
ConsumerProcurementServiceGrpc.AsyncService
ConsumerProcurementService allows customers to make purchases of products served by the Cloud Commerce platform.static class
ConsumerProcurementServiceGrpc.ConsumerProcurementServiceBlockingStub
A stub to allow clients to do synchronous rpc calls to service ConsumerProcurementService.static class
ConsumerProcurementServiceGrpc.ConsumerProcurementServiceFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service ConsumerProcurementService.static class
ConsumerProcurementServiceGrpc.ConsumerProcurementServiceImplBase
Base class for the server implementation of the service ConsumerProcurementService.static class
ConsumerProcurementServiceGrpc.ConsumerProcurementServiceStub
A stub to allow clients to do asynchronous rpc calls to service ConsumerProcurementService.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinition
bindService(ConsumerProcurementServiceGrpc.AsyncService service)
static io.grpc.MethodDescriptor<GetOrderRequest,Order>
getGetOrderMethod()
static io.grpc.MethodDescriptor<ListOrdersRequest,ListOrdersResponse>
getListOrdersMethod()
static io.grpc.MethodDescriptor<PlaceOrderRequest,com.google.longrunning.Operation>
getPlaceOrderMethod()
static io.grpc.ServiceDescriptor
getServiceDescriptor()
static ConsumerProcurementServiceGrpc.ConsumerProcurementServiceBlockingStub
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic ConsumerProcurementServiceGrpc.ConsumerProcurementServiceFutureStub
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic ConsumerProcurementServiceGrpc.ConsumerProcurementServiceStub
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPlaceOrderMethod
public static io.grpc.MethodDescriptor<PlaceOrderRequest,com.google.longrunning.Operation> getPlaceOrderMethod()
-
getGetOrderMethod
public static io.grpc.MethodDescriptor<GetOrderRequest,Order> getGetOrderMethod()
-
getListOrdersMethod
public static io.grpc.MethodDescriptor<ListOrdersRequest,ListOrdersResponse> getListOrdersMethod()
-
newStub
public static ConsumerProcurementServiceGrpc.ConsumerProcurementServiceStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for 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()
-
-