@Generated(value="by gapic-generator-java") public class GrpcServiceUsageStub extends ServiceUsageStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcServiceUsageStub(ServiceUsageStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcServiceUsageStub, using the given settings.
|
protected |
GrpcServiceUsageStub(ServiceUsageStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcServiceUsageStub, 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 GrpcServiceUsageStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcServiceUsageStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcServiceUsageStub |
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.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
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() |
getHttpJsonOperationsStubprotected GrpcServiceUsageStub(ServiceUsageStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcServiceUsageStub(ServiceUsageStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcServiceUsageStub create(ServiceUsageStubSettings settings) throws IOException
IOExceptionpublic static final GrpcServiceUsageStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcServiceUsageStub 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 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.