@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonConsumerProcurementServiceStub extends ConsumerProcurementServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonConsumerProcurementServiceStub(ConsumerProcurementServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonConsumerProcurementServiceStub, using the given settings.
|
protected |
HttpJsonConsumerProcurementServiceStub(ConsumerProcurementServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonConsumerProcurementServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonConsumerProcurementServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonConsumerProcurementServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonConsumerProcurementServiceStub |
create(ConsumerProcurementServiceStubSettings settings) |
com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub |
getHttpJsonOperationsStub() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
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() |
getOperationsStubprotected HttpJsonConsumerProcurementServiceStub(ConsumerProcurementServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonConsumerProcurementServiceStub(ConsumerProcurementServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonConsumerProcurementServiceStub create(ConsumerProcurementServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonConsumerProcurementServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonConsumerProcurementServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub 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.