@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcContextsStub extends ContextsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcContextsStub(ContextsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcContextsStub, using the given settings.
|
protected |
GrpcContextsStub(ContextsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcContextsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcContextsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcContextsStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcContextsStub |
create(ContextsStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateContextRequest,Context> |
createContextCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteAllContextsRequest,Empty> |
deleteAllContextsCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteContextRequest,Empty> |
deleteContextCallable() |
com.google.api.gax.rpc.UnaryCallable<GetContextRequest,Context> |
getContextCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListContextsRequest,ListContextsResponse> |
listContextsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListContextsRequest,ContextsClient.ListContextsPagedResponse> |
listContextsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateContextRequest,Context> |
updateContextCallable() |
protected GrpcContextsStub(ContextsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcContextsStub(ContextsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcContextsStub create(ContextsStubSettings settings) throws IOException
IOExceptionpublic static final GrpcContextsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcContextsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<ListContextsRequest,ContextsClient.ListContextsPagedResponse> listContextsPagedCallable()
listContextsPagedCallable in class ContextsStubpublic com.google.api.gax.rpc.UnaryCallable<ListContextsRequest,ListContextsResponse> listContextsCallable()
listContextsCallable in class ContextsStubpublic com.google.api.gax.rpc.UnaryCallable<GetContextRequest,Context> getContextCallable()
getContextCallable in class ContextsStubpublic com.google.api.gax.rpc.UnaryCallable<CreateContextRequest,Context> createContextCallable()
createContextCallable in class ContextsStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateContextRequest,Context> updateContextCallable()
updateContextCallable in class ContextsStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteContextRequest,Empty> deleteContextCallable()
deleteContextCallable in class ContextsStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteAllContextsRequest,Empty> deleteAllContextsCallable()
deleteAllContextsCallable in class ContextsStubpublic final void close()
close in interface AutoCloseableclose in class ContextsStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.