Class ConsumerProcurementServiceStub
- java.lang.Object
-
- com.google.cloud.commerce.consumer.procurement.v1.stub.ConsumerProcurementServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
- Direct Known Subclasses:
GrpcConsumerProcurementServiceStub,HttpJsonConsumerProcurementServiceStub
@Generated("by gapic-generator-java") public abstract class ConsumerProcurementServiceStub extends Object implements com.google.api.gax.core.BackgroundResource
Base stub class for the ConsumerProcurementService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Constructor Description ConsumerProcurementServiceStub()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidclose()com.google.api.gax.httpjson.longrunning.stub.OperationsStubgetHttpJsonOperationsStub()com.google.longrunning.stub.OperationsStubgetOperationsStub()com.google.api.gax.rpc.UnaryCallable<GetOrderRequest,Order>getOrderCallable()com.google.api.gax.rpc.UnaryCallable<ListOrdersRequest,ListOrdersResponse>listOrdersCallable()com.google.api.gax.rpc.UnaryCallable<ListOrdersRequest,ConsumerProcurementServiceClient.ListOrdersPagedResponse>listOrdersPagedCallable()com.google.api.gax.rpc.UnaryCallable<PlaceOrderRequest,com.google.longrunning.Operation>placeOrderCallable()com.google.api.gax.rpc.OperationCallable<PlaceOrderRequest,Order,PlaceOrderMetadata>placeOrderOperationCallable()
-
-
-
Method Detail
-
getOperationsStub
public com.google.longrunning.stub.OperationsStub getOperationsStub()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub()
-
placeOrderOperationCallable
public com.google.api.gax.rpc.OperationCallable<PlaceOrderRequest,Order,PlaceOrderMetadata> placeOrderOperationCallable()
-
placeOrderCallable
public com.google.api.gax.rpc.UnaryCallable<PlaceOrderRequest,com.google.longrunning.Operation> placeOrderCallable()
-
getOrderCallable
public com.google.api.gax.rpc.UnaryCallable<GetOrderRequest,Order> getOrderCallable()
-
listOrdersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListOrdersRequest,ConsumerProcurementServiceClient.ListOrdersPagedResponse> listOrdersPagedCallable()
-
listOrdersCallable
public com.google.api.gax.rpc.UnaryCallable<ListOrdersRequest,ListOrdersResponse> listOrdersCallable()
-
close
public abstract void close()
- Specified by:
closein interfaceAutoCloseable
-
-