@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonCloudTasksStub extends CloudTasksStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonCloudTasksStub(CloudTasksStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonCloudTasksStub, using the given settings.
|
protected |
HttpJsonCloudTasksStub(CloudTasksStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonCloudTasksStub, using the given settings.
|
protected HttpJsonCloudTasksStub(CloudTasksStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonCloudTasksStub(CloudTasksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonCloudTasksStub create(CloudTasksStubSettings settings) throws IOException
IOException
public static final HttpJsonCloudTasksStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonCloudTasksStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
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.