@Generated(value="by gapic-generator-java") public class GrpcCompletionStub extends CompletionStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcCompletionStub(CompletionStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcCompletionStub, using the given settings.
|
protected |
GrpcCompletionStub(CompletionStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcCompletionStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
UnaryCallable<CompleteQueryRequest,CompleteQueryResponse> |
completeQueryCallable() |
static GrpcCompletionStub |
create(ClientContext clientContext) |
static GrpcCompletionStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcCompletionStub |
create(CompletionStubSettings settings) |
GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcCompletionStub(CompletionStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcCompletionStub(CompletionStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcCompletionStub create(CompletionStubSettings settings) throws IOException
IOException
public static final GrpcCompletionStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcCompletionStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
public UnaryCallable<CompleteQueryRequest,CompleteQueryResponse> completeQueryCallable()
completeQueryCallable
in class CompletionStub
public final void close()
close
in interface AutoCloseable
close
in class CompletionStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.