@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonCompletionStub extends CompletionStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonCompletionStub(CompletionStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonCompletionStub, using the given settings.
|
protected |
HttpJsonCompletionStub(CompletionStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonCompletionStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
UnaryCallable<CompleteQueryRequest,CompleteQueryResponse> |
completeQueryCallable() |
static HttpJsonCompletionStub |
create(ClientContext clientContext) |
static HttpJsonCompletionStub |
create(ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory) |
static HttpJsonCompletionStub |
create(CompletionStubSettings settings) |
static List<ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
protected HttpJsonCompletionStub(CompletionStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonCompletionStub(CompletionStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonCompletionStub create(CompletionStubSettings settings) throws IOException
IOException
public static final HttpJsonCompletionStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonCompletionStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
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.