@BetaApi @Generated(value="by gapic-generator-java") 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.
|
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 GrpcOperationsStub getOperationsStub()
public UnaryCallable<ListQueuesRequest,ListQueuesResponse> listQueuesCallable()
listQueuesCallable
in class CloudTasksStub
public UnaryCallable<ListQueuesRequest,CloudTasksClient.ListQueuesPagedResponse> listQueuesPagedCallable()
listQueuesPagedCallable
in class CloudTasksStub
public UnaryCallable<GetQueueRequest,Queue> getQueueCallable()
getQueueCallable
in class CloudTasksStub
public UnaryCallable<CreateQueueRequest,Queue> createQueueCallable()
createQueueCallable
in class CloudTasksStub
public UnaryCallable<UpdateQueueRequest,Queue> updateQueueCallable()
updateQueueCallable
in class CloudTasksStub
public UnaryCallable<DeleteQueueRequest,Empty> deleteQueueCallable()
deleteQueueCallable
in class CloudTasksStub
public UnaryCallable<PurgeQueueRequest,Queue> purgeQueueCallable()
purgeQueueCallable
in class CloudTasksStub
public UnaryCallable<PauseQueueRequest,Queue> pauseQueueCallable()
pauseQueueCallable
in class CloudTasksStub
public UnaryCallable<ResumeQueueRequest,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<ListTasksRequest,ListTasksResponse> listTasksCallable()
listTasksCallable
in class CloudTasksStub
public UnaryCallable<ListTasksRequest,CloudTasksClient.ListTasksPagedResponse> listTasksPagedCallable()
listTasksPagedCallable
in class CloudTasksStub
public UnaryCallable<GetTaskRequest,Task> getTaskCallable()
getTaskCallable
in class CloudTasksStub
public UnaryCallable<CreateTaskRequest,Task> createTaskCallable()
createTaskCallable
in class CloudTasksStub
public UnaryCallable<DeleteTaskRequest,Empty> deleteTaskCallable()
deleteTaskCallable
in class CloudTasksStub
public 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 © 2022 Google LLC. All rights reserved.