@Generated(value="by gapic-generator-java") public class HttpJsonServiceUsageStub extends ServiceUsageStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonServiceUsageStub(ServiceUsageStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonServiceUsageStub, using the given settings.
|
protected |
HttpJsonServiceUsageStub(ServiceUsageStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonServiceUsageStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
com.google.api.gax.rpc.UnaryCallable<BatchEnableServicesRequest,com.google.longrunning.Operation> |
batchEnableServicesCallable() |
com.google.api.gax.rpc.OperationCallable<BatchEnableServicesRequest,BatchEnableServicesResponse,OperationMetadata> |
batchEnableServicesOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<BatchGetServicesRequest,BatchGetServicesResponse> |
batchGetServicesCallable() |
void |
close() |
static HttpJsonServiceUsageStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonServiceUsageStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonServiceUsageStub |
create(ServiceUsageStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<DisableServiceRequest,com.google.longrunning.Operation> |
disableServiceCallable() |
com.google.api.gax.rpc.OperationCallable<DisableServiceRequest,DisableServiceResponse,OperationMetadata> |
disableServiceOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<EnableServiceRequest,com.google.longrunning.Operation> |
enableServiceCallable() |
com.google.api.gax.rpc.OperationCallable<EnableServiceRequest,EnableServiceResponse,OperationMetadata> |
enableServiceOperationCallable() |
com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub |
getHttpJsonOperationsStub() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
com.google.api.gax.rpc.UnaryCallable<GetServiceRequest,Service> |
getServiceCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ListServicesResponse> |
listServicesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ServiceUsageClient.ListServicesPagedResponse> |
listServicesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
getOperationsStubprotected HttpJsonServiceUsageStub(ServiceUsageStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonServiceUsageStub(ServiceUsageStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonServiceUsageStub create(ServiceUsageStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonServiceUsageStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonServiceUsageStub 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 ServiceUsageStubpublic com.google.api.gax.rpc.UnaryCallable<EnableServiceRequest,com.google.longrunning.Operation> enableServiceCallable()
enableServiceCallable in class ServiceUsageStubpublic com.google.api.gax.rpc.OperationCallable<EnableServiceRequest,EnableServiceResponse,OperationMetadata> enableServiceOperationCallable()
enableServiceOperationCallable in class ServiceUsageStubpublic com.google.api.gax.rpc.UnaryCallable<DisableServiceRequest,com.google.longrunning.Operation> disableServiceCallable()
disableServiceCallable in class ServiceUsageStubpublic com.google.api.gax.rpc.OperationCallable<DisableServiceRequest,DisableServiceResponse,OperationMetadata> disableServiceOperationCallable()
disableServiceOperationCallable in class ServiceUsageStubpublic com.google.api.gax.rpc.UnaryCallable<GetServiceRequest,Service> getServiceCallable()
getServiceCallable in class ServiceUsageStubpublic com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
listServicesCallable in class ServiceUsageStubpublic com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ServiceUsageClient.ListServicesPagedResponse> listServicesPagedCallable()
listServicesPagedCallable in class ServiceUsageStubpublic com.google.api.gax.rpc.UnaryCallable<BatchEnableServicesRequest,com.google.longrunning.Operation> batchEnableServicesCallable()
batchEnableServicesCallable in class ServiceUsageStubpublic com.google.api.gax.rpc.OperationCallable<BatchEnableServicesRequest,BatchEnableServicesResponse,OperationMetadata> batchEnableServicesOperationCallable()
batchEnableServicesOperationCallable in class ServiceUsageStubpublic com.google.api.gax.rpc.UnaryCallable<BatchGetServicesRequest,BatchGetServicesResponse> batchGetServicesCallable()
batchGetServicesCallable in class ServiceUsageStubpublic final void close()
close in interface AutoCloseableclose in class ServiceUsageStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.