@Generated(value="by gapic-generator-java") public class GrpcServiceControllerStub extends ServiceControllerStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcServiceControllerStub(ServiceControllerStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcServiceControllerStub, using the given settings.
|
protected |
GrpcServiceControllerStub(ServiceControllerStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcServiceControllerStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
com.google.api.gax.rpc.UnaryCallable<CheckRequest,CheckResponse> |
checkCallable() |
void |
close() |
static GrpcServiceControllerStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcServiceControllerStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcServiceControllerStub |
create(ServiceControllerStubSettings settings) |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ReportRequest,ReportResponse> |
reportCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcServiceControllerStub(ServiceControllerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcServiceControllerStub(ServiceControllerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcServiceControllerStub create(ServiceControllerStubSettings settings) throws IOException
IOExceptionpublic static final GrpcServiceControllerStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcServiceControllerStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<CheckRequest,CheckResponse> checkCallable()
checkCallable in class ServiceControllerStubpublic com.google.api.gax.rpc.UnaryCallable<ReportRequest,ReportResponse> reportCallable()
reportCallable in class ServiceControllerStubpublic final void close()
close in interface AutoCloseableclose in class ServiceControllerStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.