Package | Description |
---|---|
com.google.cloud.tasks.v2beta2 |
The interfaces provided are listed below, along with usage samples.
|
Modifier and Type | Method and Description |
---|---|
RetryConfig.Builder |
RetryConfig.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
RetryConfig.Builder |
RetryConfig.Builder.clear() |
RetryConfig.Builder |
RetryConfig.Builder.clearField(Descriptors.FieldDescriptor field) |
RetryConfig.Builder |
RetryConfig.Builder.clearMaxAttempts()
The maximum number of attempts for a task.
|
RetryConfig.Builder |
RetryConfig.Builder.clearMaxBackoff()
A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
[min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
[max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
retried.
|
RetryConfig.Builder |
RetryConfig.Builder.clearMaxDoublings()
The time between retries will double `max_doublings` times.
|
RetryConfig.Builder |
RetryConfig.Builder.clearMaxRetryDuration()
If positive, `max_retry_duration` specifies the time limit for
retrying a failed task, measured from when the task was first
attempted.
|
RetryConfig.Builder |
RetryConfig.Builder.clearMinBackoff()
A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
[min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
[max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
retried.
|
RetryConfig.Builder |
RetryConfig.Builder.clearNumAttempts() |
RetryConfig.Builder |
RetryConfig.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
RetryConfig.Builder |
RetryConfig.Builder.clearUnlimitedAttempts()
If true, then the number of attempts is unlimited.
|
RetryConfig.Builder |
RetryConfig.Builder.clone() |
RetryConfig.Builder |
Queue.Builder.getRetryConfigBuilder()
Settings that determine the retry behavior.
|
RetryConfig.Builder |
RetryConfig.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
RetryConfig.Builder |
RetryConfig.Builder.mergeFrom(Message other) |
RetryConfig.Builder |
RetryConfig.Builder.mergeFrom(RetryConfig other) |
RetryConfig.Builder |
RetryConfig.Builder.mergeMaxBackoff(Duration value)
A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
[min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
[max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
retried.
|
RetryConfig.Builder |
RetryConfig.Builder.mergeMaxRetryDuration(Duration value)
If positive, `max_retry_duration` specifies the time limit for
retrying a failed task, measured from when the task was first
attempted.
|
RetryConfig.Builder |
RetryConfig.Builder.mergeMinBackoff(Duration value)
A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
[min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
[max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
retried.
|
RetryConfig.Builder |
RetryConfig.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
static RetryConfig.Builder |
RetryConfig.newBuilder() |
static RetryConfig.Builder |
RetryConfig.newBuilder(RetryConfig prototype) |
RetryConfig.Builder |
RetryConfig.newBuilderForType() |
protected RetryConfig.Builder |
RetryConfig.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
RetryConfig.Builder |
RetryConfig.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
RetryConfig.Builder |
RetryConfig.Builder.setMaxAttempts(int value)
The maximum number of attempts for a task.
|
RetryConfig.Builder |
RetryConfig.Builder.setMaxBackoff(Duration.Builder builderForValue)
A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
[min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
[max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
retried.
|
RetryConfig.Builder |
RetryConfig.Builder.setMaxBackoff(Duration value)
A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
[min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
[max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
retried.
|
RetryConfig.Builder |
RetryConfig.Builder.setMaxDoublings(int value)
The time between retries will double `max_doublings` times.
|
RetryConfig.Builder |
RetryConfig.Builder.setMaxRetryDuration(Duration.Builder builderForValue)
If positive, `max_retry_duration` specifies the time limit for
retrying a failed task, measured from when the task was first
attempted.
|
RetryConfig.Builder |
RetryConfig.Builder.setMaxRetryDuration(Duration value)
If positive, `max_retry_duration` specifies the time limit for
retrying a failed task, measured from when the task was first
attempted.
|
RetryConfig.Builder |
RetryConfig.Builder.setMinBackoff(Duration.Builder builderForValue)
A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
[min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
[max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
retried.
|
RetryConfig.Builder |
RetryConfig.Builder.setMinBackoff(Duration value)
A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
[min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
[max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
retried.
|
RetryConfig.Builder |
RetryConfig.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
RetryConfig.Builder |
RetryConfig.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
RetryConfig.Builder |
RetryConfig.Builder.setUnlimitedAttempts(boolean value)
If true, then the number of attempts is unlimited.
|
RetryConfig.Builder |
RetryConfig.toBuilder() |
Modifier and Type | Method and Description |
---|---|
Queue.Builder |
Queue.Builder.setRetryConfig(RetryConfig.Builder builderForValue)
Settings that determine the retry behavior.
|
Copyright © 2022 Google LLC. All rights reserved.