@Generated(value="by gapic-generator-java") public class HttpJsonTasksStub extends TasksStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonTasksStub(TasksStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonTasksStub, using the given settings.
|
protected |
HttpJsonTasksStub(TasksStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonTasksStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonTasksStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonTasksStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonTasksStub |
create(TasksStubSettings settings) |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
com.google.api.gax.rpc.UnaryCallable<GetTaskRequest,Task> |
getTaskCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListTasksRequest,ListTasksResponse> |
listTasksCallable() |
com.google.api.gax.rpc.UnaryCallable<ListTasksRequest,TasksClient.ListTasksPagedResponse> |
listTasksPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected HttpJsonTasksStub(TasksStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonTasksStub(TasksStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonTasksStub create(TasksStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonTasksStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonTasksStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.rpc.UnaryCallable<GetTaskRequest,Task> getTaskCallable()
getTaskCallable in class TasksStubpublic com.google.api.gax.rpc.UnaryCallable<ListTasksRequest,ListTasksResponse> listTasksCallable()
listTasksCallable in class TasksStubpublic com.google.api.gax.rpc.UnaryCallable<ListTasksRequest,TasksClient.ListTasksPagedResponse> listTasksPagedCallable()
listTasksPagedCallable in class TasksStubpublic final void close()
close in interface AutoCloseableclose in class TasksStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.