@Generated(value="by gapic-generator-java") public class GrpcConnectionServiceStub extends ConnectionServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcConnectionServiceStub(ConnectionServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcConnectionServiceStub, using the given settings.
|
protected |
GrpcConnectionServiceStub(ConnectionServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcConnectionServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcConnectionServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcConnectionServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcConnectionServiceStub |
create(ConnectionServiceStubSettings settings) |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListConnectionsRequest,ListConnectionsResponse> |
listConnectionsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListConnectionsRequest,ConnectionServiceClient.ListConnectionsPagedResponse> |
listConnectionsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcConnectionServiceStub(ConnectionServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcConnectionServiceStub(ConnectionServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcConnectionServiceStub create(ConnectionServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcConnectionServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcConnectionServiceStub 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<ListConnectionsRequest,ListConnectionsResponse> listConnectionsCallable()
listConnectionsCallable in class ConnectionServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListConnectionsRequest,ConnectionServiceClient.ListConnectionsPagedResponse> listConnectionsPagedCallable()
listConnectionsPagedCallable in class ConnectionServiceStubpublic final void close()
close in interface AutoCloseableclose in class ConnectionServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2023 Google LLC. All rights reserved.