@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcCloudTasksStub extends CloudTasksStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcCloudTasksStub(CloudTasksStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcCloudTasksStub, using the given settings.
|
protected |
GrpcCloudTasksStub(CloudTasksStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcCloudTasksStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcCloudTasksStub |
create(ClientContext clientContext) |
static GrpcCloudTasksStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcCloudTasksStub |
create(CloudTasksStubSettings settings) |
UnaryCallable<com.google.cloud.tasks.v2.CreateQueueRequest,com.google.cloud.tasks.v2.Queue> |
createQueueCallable() |
UnaryCallable<com.google.cloud.tasks.v2.CreateTaskRequest,com.google.cloud.tasks.v2.Task> |
createTaskCallable() |
UnaryCallable<com.google.cloud.tasks.v2.DeleteQueueRequest,Empty> |
deleteQueueCallable() |
UnaryCallable<com.google.cloud.tasks.v2.DeleteTaskRequest,Empty> |
deleteTaskCallable() |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
UnaryCallable<com.google.cloud.tasks.v2.GetQueueRequest,com.google.cloud.tasks.v2.Queue> |
getQueueCallable() |
UnaryCallable<com.google.cloud.tasks.v2.GetTaskRequest,com.google.cloud.tasks.v2.Task> |
getTaskCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.tasks.v2.ListQueuesRequest,com.google.cloud.tasks.v2.ListQueuesResponse> |
listQueuesCallable() |
UnaryCallable<com.google.cloud.tasks.v2.ListQueuesRequest,CloudTasksClient.ListQueuesPagedResponse> |
listQueuesPagedCallable() |
UnaryCallable<com.google.cloud.tasks.v2.ListTasksRequest,com.google.cloud.tasks.v2.ListTasksResponse> |
listTasksCallable() |
UnaryCallable<com.google.cloud.tasks.v2.ListTasksRequest,CloudTasksClient.ListTasksPagedResponse> |
listTasksPagedCallable() |
UnaryCallable<com.google.cloud.tasks.v2.PauseQueueRequest,com.google.cloud.tasks.v2.Queue> |
pauseQueueCallable() |
UnaryCallable<com.google.cloud.tasks.v2.PurgeQueueRequest,com.google.cloud.tasks.v2.Queue> |
purgeQueueCallable() |
UnaryCallable<com.google.cloud.tasks.v2.ResumeQueueRequest,com.google.cloud.tasks.v2.Queue> |
resumeQueueCallable() |
UnaryCallable<com.google.cloud.tasks.v2.RunTaskRequest,com.google.cloud.tasks.v2.Task> |
runTaskCallable() |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicyCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
UnaryCallable<com.google.cloud.tasks.v2.UpdateQueueRequest,com.google.cloud.tasks.v2.Queue> |
updateQueueCallable() |
protected GrpcCloudTasksStub(CloudTasksStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcCloudTasksStub(CloudTasksStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcCloudTasksStub create(CloudTasksStubSettings settings) throws IOException
IOException
public static final GrpcCloudTasksStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcCloudTasksStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.cloud.tasks.v2.ListQueuesRequest,CloudTasksClient.ListQueuesPagedResponse> listQueuesPagedCallable()
listQueuesPagedCallable
in class CloudTasksStub
public UnaryCallable<com.google.cloud.tasks.v2.ListQueuesRequest,com.google.cloud.tasks.v2.ListQueuesResponse> listQueuesCallable()
listQueuesCallable
in class CloudTasksStub
public UnaryCallable<com.google.cloud.tasks.v2.GetQueueRequest,com.google.cloud.tasks.v2.Queue> getQueueCallable()
getQueueCallable
in class CloudTasksStub
public UnaryCallable<com.google.cloud.tasks.v2.CreateQueueRequest,com.google.cloud.tasks.v2.Queue> createQueueCallable()
createQueueCallable
in class CloudTasksStub
public UnaryCallable<com.google.cloud.tasks.v2.UpdateQueueRequest,com.google.cloud.tasks.v2.Queue> updateQueueCallable()
updateQueueCallable
in class CloudTasksStub
public UnaryCallable<com.google.cloud.tasks.v2.DeleteQueueRequest,Empty> deleteQueueCallable()
deleteQueueCallable
in class CloudTasksStub
public UnaryCallable<com.google.cloud.tasks.v2.PurgeQueueRequest,com.google.cloud.tasks.v2.Queue> purgeQueueCallable()
purgeQueueCallable
in class CloudTasksStub
public UnaryCallable<com.google.cloud.tasks.v2.PauseQueueRequest,com.google.cloud.tasks.v2.Queue> pauseQueueCallable()
pauseQueueCallable
in class CloudTasksStub
public UnaryCallable<com.google.cloud.tasks.v2.ResumeQueueRequest,com.google.cloud.tasks.v2.Queue> resumeQueueCallable()
resumeQueueCallable
in class CloudTasksStub
public UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class CloudTasksStub
public UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class CloudTasksStub
public UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class CloudTasksStub
public UnaryCallable<com.google.cloud.tasks.v2.ListTasksRequest,CloudTasksClient.ListTasksPagedResponse> listTasksPagedCallable()
listTasksPagedCallable
in class CloudTasksStub
public UnaryCallable<com.google.cloud.tasks.v2.ListTasksRequest,com.google.cloud.tasks.v2.ListTasksResponse> listTasksCallable()
listTasksCallable
in class CloudTasksStub
public UnaryCallable<com.google.cloud.tasks.v2.GetTaskRequest,com.google.cloud.tasks.v2.Task> getTaskCallable()
getTaskCallable
in class CloudTasksStub
public UnaryCallable<com.google.cloud.tasks.v2.CreateTaskRequest,com.google.cloud.tasks.v2.Task> createTaskCallable()
createTaskCallable
in class CloudTasksStub
public UnaryCallable<com.google.cloud.tasks.v2.DeleteTaskRequest,Empty> deleteTaskCallable()
deleteTaskCallable
in class CloudTasksStub
public UnaryCallable<com.google.cloud.tasks.v2.RunTaskRequest,com.google.cloud.tasks.v2.Task> runTaskCallable()
runTaskCallable
in class CloudTasksStub
public final void close()
close
in interface AutoCloseable
close
in class CloudTasksStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.