@BetaApi @Generated(value="by gapic-generator-java") public class GrpcConsumerProcurementServiceStub extends ConsumerProcurementServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcConsumerProcurementServiceStub(ConsumerProcurementServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcConsumerProcurementServiceStub, using the given settings.
|
protected |
GrpcConsumerProcurementServiceStub(ConsumerProcurementServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcConsumerProcurementServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcConsumerProcurementServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcConsumerProcurementServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcConsumerProcurementServiceStub |
create(ConsumerProcurementServiceStubSettings settings) |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetOrderRequest,Order> |
getOrderCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
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() |
void |
shutdown() |
void |
shutdownNow() |
getHttpJsonOperationsStubprotected GrpcConsumerProcurementServiceStub(ConsumerProcurementServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcConsumerProcurementServiceStub(ConsumerProcurementServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcConsumerProcurementServiceStub create(ConsumerProcurementServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcConsumerProcurementServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcConsumerProcurementServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class ConsumerProcurementServiceStubpublic com.google.api.gax.rpc.UnaryCallable<PlaceOrderRequest,com.google.longrunning.Operation> placeOrderCallable()
placeOrderCallable in class ConsumerProcurementServiceStubpublic com.google.api.gax.rpc.OperationCallable<PlaceOrderRequest,Order,PlaceOrderMetadata> placeOrderOperationCallable()
placeOrderOperationCallable in class ConsumerProcurementServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetOrderRequest,Order> getOrderCallable()
getOrderCallable in class ConsumerProcurementServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListOrdersRequest,ListOrdersResponse> listOrdersCallable()
listOrdersCallable in class ConsumerProcurementServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListOrdersRequest,ConsumerProcurementServiceClient.ListOrdersPagedResponse> listOrdersPagedCallable()
listOrdersPagedCallable in class ConsumerProcurementServiceStubpublic final void close()
close in interface AutoCloseableclose in class ConsumerProcurementServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2022 Google LLC. All rights reserved.