@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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcCloudTasksStub, using the given settings.
|
protected |
GrpcCloudTasksStub(CloudTasksStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.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(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcCloudTasksStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcCloudTasksStub |
create(CloudTasksStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateQueueRequest,Queue> |
createQueueCallable() |
com.google.api.gax.rpc.UnaryCallable<CreateTaskRequest,Task> |
createTaskCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteQueueRequest,Empty> |
deleteQueueCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteTaskRequest,Empty> |
deleteTaskCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
com.google.api.gax.rpc.UnaryCallable<GetQueueRequest,Queue> |
getQueueCallable() |
com.google.api.gax.rpc.UnaryCallable<GetTaskRequest,Task> |
getTaskCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListQueuesRequest,ListQueuesResponse> |
listQueuesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListQueuesRequest,CloudTasksClient.ListQueuesPagedResponse> |
listQueuesPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListTasksRequest,ListTasksResponse> |
listTasksCallable() |
com.google.api.gax.rpc.UnaryCallable<ListTasksRequest,CloudTasksClient.ListTasksPagedResponse> |
listTasksPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<PauseQueueRequest,Queue> |
pauseQueueCallable() |
com.google.api.gax.rpc.UnaryCallable<PurgeQueueRequest,Queue> |
purgeQueueCallable() |
com.google.api.gax.rpc.UnaryCallable<ResumeQueueRequest,Queue> |
resumeQueueCallable() |
com.google.api.gax.rpc.UnaryCallable<RunTaskRequest,Task> |
runTaskCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicyCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateQueueRequest,Queue> |
updateQueueCallable() |
protected GrpcCloudTasksStub(CloudTasksStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcCloudTasksStub(CloudTasksStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcCloudTasksStub create(CloudTasksStubSettings settings) throws IOException
IOException
public static final GrpcCloudTasksStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcCloudTasksStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<ListQueuesRequest,CloudTasksClient.ListQueuesPagedResponse> listQueuesPagedCallable()
listQueuesPagedCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<ListQueuesRequest,ListQueuesResponse> listQueuesCallable()
listQueuesCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<GetQueueRequest,Queue> getQueueCallable()
getQueueCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<CreateQueueRequest,Queue> createQueueCallable()
createQueueCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<UpdateQueueRequest,Queue> updateQueueCallable()
updateQueueCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<DeleteQueueRequest,Empty> deleteQueueCallable()
deleteQueueCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<PurgeQueueRequest,Queue> purgeQueueCallable()
purgeQueueCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<PauseQueueRequest,Queue> pauseQueueCallable()
pauseQueueCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<ResumeQueueRequest,Queue> resumeQueueCallable()
resumeQueueCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<ListTasksRequest,CloudTasksClient.ListTasksPagedResponse> listTasksPagedCallable()
listTasksPagedCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<ListTasksRequest,ListTasksResponse> listTasksCallable()
listTasksCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<GetTaskRequest,Task> getTaskCallable()
getTaskCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<CreateTaskRequest,Task> createTaskCallable()
createTaskCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<DeleteTaskRequest,Empty> deleteTaskCallable()
deleteTaskCallable
in class CloudTasksStub
public com.google.api.gax.rpc.UnaryCallable<RunTaskRequest,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.