Package | Description |
---|---|
com.google.cloud.tasks.v2beta2 |
The interfaces provided are listed below, along with usage samples.
|
com.google.cloud.tasks.v2beta2.stub |
Modifier and Type | Method and Description |
---|---|
Task |
Task.Builder.build() |
Task |
Task.Builder.buildPartial() |
Task |
CloudTasksGrpc.CloudTasksBlockingStub.cancelLease(CancelLeaseRequest request)
Cancel a pull task's lease.
|
Task |
CloudTasksClient.cancelLease(CancelLeaseRequest request)
Cancel a pull task's lease.
|
Task |
CloudTasksClient.cancelLease(String name,
Timestamp scheduleTime)
Cancel a pull task's lease.
|
Task |
CloudTasksClient.cancelLease(TaskName name,
Timestamp scheduleTime)
Cancel a pull task's lease.
|
Task |
CloudTasksGrpc.CloudTasksBlockingStub.createTask(CreateTaskRequest request)
Creates a task and adds it to a queue.
|
Task |
CloudTasksClient.createTask(CreateTaskRequest request)
Creates a task and adds it to a queue.
|
Task |
CloudTasksClient.createTask(QueueName parent,
Task task)
Creates a task and adds it to a queue.
|
Task |
CloudTasksClient.createTask(String parent,
Task task)
Creates a task and adds it to a queue.
|
static Task |
Task.getDefaultInstance() |
Task |
Task.getDefaultInstanceForType() |
Task |
Task.Builder.getDefaultInstanceForType() |
Task |
CreateTaskRequestOrBuilder.getTask()
Required.
|
Task |
CreateTaskRequest.getTask()
Required.
|
Task |
CreateTaskRequest.Builder.getTask()
Required.
|
Task |
CloudTasksGrpc.CloudTasksBlockingStub.getTask(GetTaskRequest request)
Gets a task.
|
Task |
CloudTasksClient.getTask(GetTaskRequest request)
Gets a task.
|
Task |
CloudTasksClient.getTask(String name)
Gets a task.
|
Task |
CloudTasksClient.getTask(TaskName name)
Gets a task.
|
Task |
ListTasksResponseOrBuilder.getTasks(int index)
The list of tasks.
|
Task |
LeaseTasksResponse.getTasks(int index)
The leased tasks.
|
Task |
LeaseTasksResponse.Builder.getTasks(int index)
The leased tasks.
|
Task |
LeaseTasksResponseOrBuilder.getTasks(int index)
The leased tasks.
|
Task |
ListTasksResponse.getTasks(int index)
The list of tasks.
|
Task |
ListTasksResponse.Builder.getTasks(int index)
The list of tasks.
|
static Task |
Task.parseDelimitedFrom(InputStream input) |
static Task |
Task.parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Task |
Task.parseFrom(byte[] data) |
static Task |
Task.parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Task |
Task.parseFrom(ByteBuffer data) |
static Task |
Task.parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Task |
Task.parseFrom(ByteString data) |
static Task |
Task.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Task |
Task.parseFrom(CodedInputStream input) |
static Task |
Task.parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Task |
Task.parseFrom(InputStream input) |
static Task |
Task.parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
Task |
CloudTasksGrpc.CloudTasksBlockingStub.renewLease(RenewLeaseRequest request)
Renew the current lease of a pull task.
|
Task |
CloudTasksClient.renewLease(RenewLeaseRequest request)
Renew the current lease of a pull task.
|
Task |
CloudTasksClient.renewLease(String name,
Timestamp scheduleTime,
Duration leaseDuration)
Renew the current lease of a pull task.
|
Task |
CloudTasksClient.renewLease(TaskName name,
Timestamp scheduleTime,
Duration leaseDuration)
Renew the current lease of a pull task.
|
Task |
CloudTasksGrpc.CloudTasksBlockingStub.runTask(RunTaskRequest request)
Forces a task to run now.
|
Task |
CloudTasksClient.runTask(RunTaskRequest request)
Forces a task to run now.
|
Task |
CloudTasksClient.runTask(String name)
Forces a task to run now.
|
Task |
CloudTasksClient.runTask(TaskName name)
Forces a task to run now.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Task> |
CloudTasksGrpc.CloudTasksFutureStub.cancelLease(CancelLeaseRequest request)
Cancel a pull task's lease.
|
UnaryCallable<CancelLeaseRequest,Task> |
CloudTasksClient.cancelLeaseCallable()
Cancel a pull task's lease.
|
UnaryCallSettings<CancelLeaseRequest,Task> |
CloudTasksSettings.cancelLeaseSettings()
Returns the object with the settings used for calls to cancelLease.
|
UnaryCallSettings.Builder<CancelLeaseRequest,Task> |
CloudTasksSettings.Builder.cancelLeaseSettings()
Returns the builder for the settings used for calls to cancelLease.
|
com.google.common.util.concurrent.ListenableFuture<Task> |
CloudTasksGrpc.CloudTasksFutureStub.createTask(CreateTaskRequest request)
Creates a task and adds it to a queue.
|
UnaryCallable<CreateTaskRequest,Task> |
CloudTasksClient.createTaskCallable()
Creates a task and adds it to a queue.
|
UnaryCallSettings<CreateTaskRequest,Task> |
CloudTasksSettings.createTaskSettings()
Returns the object with the settings used for calls to createTask.
|
UnaryCallSettings.Builder<CreateTaskRequest,Task> |
CloudTasksSettings.Builder.createTaskSettings()
Returns the builder for the settings used for calls to createTask.
|
static MethodDescriptor<CancelLeaseRequest,Task> |
CloudTasksGrpc.getCancelLeaseMethod() |
static MethodDescriptor<CreateTaskRequest,Task> |
CloudTasksGrpc.getCreateTaskMethod() |
static MethodDescriptor<GetTaskRequest,Task> |
CloudTasksGrpc.getGetTaskMethod() |
Parser<Task> |
Task.getParserForType() |
static MethodDescriptor<RenewLeaseRequest,Task> |
CloudTasksGrpc.getRenewLeaseMethod() |
static MethodDescriptor<RunTaskRequest,Task> |
CloudTasksGrpc.getRunTaskMethod() |
com.google.common.util.concurrent.ListenableFuture<Task> |
CloudTasksGrpc.CloudTasksFutureStub.getTask(GetTaskRequest request)
Gets a task.
|
UnaryCallable<GetTaskRequest,Task> |
CloudTasksClient.getTaskCallable()
Gets a task.
|
UnaryCallSettings<GetTaskRequest,Task> |
CloudTasksSettings.getTaskSettings()
Returns the object with the settings used for calls to getTask.
|
UnaryCallSettings.Builder<GetTaskRequest,Task> |
CloudTasksSettings.Builder.getTaskSettings()
Returns the builder for the settings used for calls to getTask.
|
List<Task> |
ListTasksResponseOrBuilder.getTasksList()
The list of tasks.
|
List<Task> |
LeaseTasksResponse.getTasksList()
The leased tasks.
|
List<Task> |
LeaseTasksResponse.Builder.getTasksList()
The leased tasks.
|
List<Task> |
LeaseTasksResponseOrBuilder.getTasksList()
The leased tasks.
|
List<Task> |
ListTasksResponse.getTasksList()
The list of tasks.
|
List<Task> |
ListTasksResponse.Builder.getTasksList()
The list of tasks.
|
static Parser<Task> |
Task.parser() |
com.google.common.util.concurrent.ListenableFuture<Task> |
CloudTasksGrpc.CloudTasksFutureStub.renewLease(RenewLeaseRequest request)
Renew the current lease of a pull task.
|
UnaryCallable<RenewLeaseRequest,Task> |
CloudTasksClient.renewLeaseCallable()
Renew the current lease of a pull task.
|
UnaryCallSettings<RenewLeaseRequest,Task> |
CloudTasksSettings.renewLeaseSettings()
Returns the object with the settings used for calls to renewLease.
|
UnaryCallSettings.Builder<RenewLeaseRequest,Task> |
CloudTasksSettings.Builder.renewLeaseSettings()
Returns the builder for the settings used for calls to renewLease.
|
com.google.common.util.concurrent.ListenableFuture<Task> |
CloudTasksGrpc.CloudTasksFutureStub.runTask(RunTaskRequest request)
Forces a task to run now.
|
UnaryCallable<RunTaskRequest,Task> |
CloudTasksClient.runTaskCallable()
Forces a task to run now.
|
UnaryCallSettings<RunTaskRequest,Task> |
CloudTasksSettings.runTaskSettings()
Returns the object with the settings used for calls to runTask.
|
UnaryCallSettings.Builder<RunTaskRequest,Task> |
CloudTasksSettings.Builder.runTaskSettings()
Returns the builder for the settings used for calls to runTask.
|
Modifier and Type | Method and Description |
---|---|
LeaseTasksResponse.Builder |
LeaseTasksResponse.Builder.addTasks(int index,
Task value)
The leased tasks.
|
ListTasksResponse.Builder |
ListTasksResponse.Builder.addTasks(int index,
Task value)
The list of tasks.
|
LeaseTasksResponse.Builder |
LeaseTasksResponse.Builder.addTasks(Task value)
The leased tasks.
|
ListTasksResponse.Builder |
ListTasksResponse.Builder.addTasks(Task value)
The list of tasks.
|
Task |
CloudTasksClient.createTask(QueueName parent,
Task task)
Creates a task and adds it to a queue.
|
Task |
CloudTasksClient.createTask(String parent,
Task task)
Creates a task and adds it to a queue.
|
Task.Builder |
Task.Builder.mergeFrom(Task other) |
CreateTaskRequest.Builder |
CreateTaskRequest.Builder.mergeTask(Task value)
Required.
|
static Task.Builder |
Task.newBuilder(Task prototype) |
CreateTaskRequest.Builder |
CreateTaskRequest.Builder.setTask(Task value)
Required.
|
LeaseTasksResponse.Builder |
LeaseTasksResponse.Builder.setTasks(int index,
Task value)
The leased tasks.
|
ListTasksResponse.Builder |
ListTasksResponse.Builder.setTasks(int index,
Task value)
The list of tasks.
|
Modifier and Type | Method and Description |
---|---|
LeaseTasksResponse.Builder |
LeaseTasksResponse.Builder.addAllTasks(Iterable<? extends Task> values)
The leased tasks.
|
ListTasksResponse.Builder |
ListTasksResponse.Builder.addAllTasks(Iterable<? extends Task> values)
The list of tasks.
|
void |
CloudTasksGrpc.CloudTasksImplBase.cancelLease(CancelLeaseRequest request,
StreamObserver<Task> responseObserver)
Cancel a pull task's lease.
|
void |
CloudTasksGrpc.CloudTasksStub.cancelLease(CancelLeaseRequest request,
StreamObserver<Task> responseObserver)
Cancel a pull task's lease.
|
static com.google.api.core.ApiFuture<CloudTasksClient.ListTasksPagedResponse> |
CloudTasksClient.ListTasksPagedResponse.createAsync(PageContext<ListTasksRequest,ListTasksResponse,Task> context,
com.google.api.core.ApiFuture<ListTasksResponse> futureResponse) |
protected CloudTasksClient.ListTasksPage |
CloudTasksClient.ListTasksPage.createPage(PageContext<ListTasksRequest,ListTasksResponse,Task> context,
ListTasksResponse response) |
com.google.api.core.ApiFuture<CloudTasksClient.ListTasksPage> |
CloudTasksClient.ListTasksPage.createPageAsync(PageContext<ListTasksRequest,ListTasksResponse,Task> context,
com.google.api.core.ApiFuture<ListTasksResponse> futureResponse) |
void |
CloudTasksGrpc.CloudTasksImplBase.createTask(CreateTaskRequest request,
StreamObserver<Task> responseObserver)
Creates a task and adds it to a queue.
|
void |
CloudTasksGrpc.CloudTasksStub.createTask(CreateTaskRequest request,
StreamObserver<Task> responseObserver)
Creates a task and adds it to a queue.
|
void |
CloudTasksGrpc.CloudTasksImplBase.getTask(GetTaskRequest request,
StreamObserver<Task> responseObserver)
Gets a task.
|
void |
CloudTasksGrpc.CloudTasksStub.getTask(GetTaskRequest request,
StreamObserver<Task> responseObserver)
Gets a task.
|
void |
CloudTasksGrpc.CloudTasksImplBase.renewLease(RenewLeaseRequest request,
StreamObserver<Task> responseObserver)
Renew the current lease of a pull task.
|
void |
CloudTasksGrpc.CloudTasksStub.renewLease(RenewLeaseRequest request,
StreamObserver<Task> responseObserver)
Renew the current lease of a pull task.
|
void |
CloudTasksGrpc.CloudTasksImplBase.runTask(RunTaskRequest request,
StreamObserver<Task> responseObserver)
Forces a task to run now.
|
void |
CloudTasksGrpc.CloudTasksStub.runTask(RunTaskRequest request,
StreamObserver<Task> responseObserver)
Forces a task to run now.
|
Modifier and Type | Method and Description |
---|---|
UnaryCallable<CancelLeaseRequest,Task> |
GrpcCloudTasksStub.cancelLeaseCallable() |
UnaryCallable<CancelLeaseRequest,Task> |
HttpJsonCloudTasksStub.cancelLeaseCallable() |
UnaryCallable<CancelLeaseRequest,Task> |
CloudTasksStub.cancelLeaseCallable() |
UnaryCallSettings<CancelLeaseRequest,Task> |
CloudTasksStubSettings.cancelLeaseSettings()
Returns the object with the settings used for calls to cancelLease.
|
UnaryCallSettings.Builder<CancelLeaseRequest,Task> |
CloudTasksStubSettings.Builder.cancelLeaseSettings()
Returns the builder for the settings used for calls to cancelLease.
|
UnaryCallable<CreateTaskRequest,Task> |
GrpcCloudTasksStub.createTaskCallable() |
UnaryCallable<CreateTaskRequest,Task> |
HttpJsonCloudTasksStub.createTaskCallable() |
UnaryCallable<CreateTaskRequest,Task> |
CloudTasksStub.createTaskCallable() |
UnaryCallSettings<CreateTaskRequest,Task> |
CloudTasksStubSettings.createTaskSettings()
Returns the object with the settings used for calls to createTask.
|
UnaryCallSettings.Builder<CreateTaskRequest,Task> |
CloudTasksStubSettings.Builder.createTaskSettings()
Returns the builder for the settings used for calls to createTask.
|
UnaryCallable<GetTaskRequest,Task> |
GrpcCloudTasksStub.getTaskCallable() |
UnaryCallable<GetTaskRequest,Task> |
HttpJsonCloudTasksStub.getTaskCallable() |
UnaryCallable<GetTaskRequest,Task> |
CloudTasksStub.getTaskCallable() |
UnaryCallSettings<GetTaskRequest,Task> |
CloudTasksStubSettings.getTaskSettings()
Returns the object with the settings used for calls to getTask.
|
UnaryCallSettings.Builder<GetTaskRequest,Task> |
CloudTasksStubSettings.Builder.getTaskSettings()
Returns the builder for the settings used for calls to getTask.
|
UnaryCallable<RenewLeaseRequest,Task> |
GrpcCloudTasksStub.renewLeaseCallable() |
UnaryCallable<RenewLeaseRequest,Task> |
HttpJsonCloudTasksStub.renewLeaseCallable() |
UnaryCallable<RenewLeaseRequest,Task> |
CloudTasksStub.renewLeaseCallable() |
UnaryCallSettings<RenewLeaseRequest,Task> |
CloudTasksStubSettings.renewLeaseSettings()
Returns the object with the settings used for calls to renewLease.
|
UnaryCallSettings.Builder<RenewLeaseRequest,Task> |
CloudTasksStubSettings.Builder.renewLeaseSettings()
Returns the builder for the settings used for calls to renewLease.
|
UnaryCallable<RunTaskRequest,Task> |
GrpcCloudTasksStub.runTaskCallable() |
UnaryCallable<RunTaskRequest,Task> |
HttpJsonCloudTasksStub.runTaskCallable() |
UnaryCallable<RunTaskRequest,Task> |
CloudTasksStub.runTaskCallable() |
UnaryCallSettings<RunTaskRequest,Task> |
CloudTasksStubSettings.runTaskSettings()
Returns the object with the settings used for calls to runTask.
|
UnaryCallSettings.Builder<RunTaskRequest,Task> |
CloudTasksStubSettings.Builder.runTaskSettings()
Returns the builder for the settings used for calls to runTask.
|
Copyright © 2022 Google LLC. All rights reserved.