Uses of Class
com.google.cloud.tasks.v2beta2.RetryConfig.Builder

  • Uses of RetryConfig.Builder in com.google.cloud.tasks.v2beta2

    Modifier and Type
    Method
    Description
    RetryConfig.Builder.clear()
     
    RetryConfig.Builder.clearMaxAttempts()
    The maximum number of attempts for a task.
    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.clearMaxDoublings()
    The time between retries will double `max_doublings` times.
    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.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.clearNumAttempts()
     
    RetryConfig.Builder.clearUnlimitedAttempts()
    If true, then the number of attempts is unlimited.
    Queue.Builder.getRetryConfigBuilder()
    Settings that determine the retry behavior
    RetryConfig.Builder.mergeFrom(RetryConfig other)
     
    RetryConfig.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    RetryConfig.Builder.mergeFrom(com.google.protobuf.Message other)
     
    RetryConfig.Builder.mergeMaxBackoff(com.google.protobuf.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.mergeMaxRetryDuration(com.google.protobuf.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.mergeMinBackoff(com.google.protobuf.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.newBuilder()
     
    RetryConfig.newBuilder(RetryConfig prototype)
     
    RetryConfig.newBuilderForType()
     
    RetryConfig.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    RetryConfig.Builder.setMaxAttempts(int value)
    The maximum number of attempts for a task.
    RetryConfig.Builder.setMaxBackoff(com.google.protobuf.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.setMaxBackoff(com.google.protobuf.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.setMaxDoublings(int value)
    The time between retries will double `max_doublings` times.
    RetryConfig.Builder.setMaxRetryDuration(com.google.protobuf.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.setMaxRetryDuration(com.google.protobuf.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.setMinBackoff(com.google.protobuf.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.setMinBackoff(com.google.protobuf.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.setUnlimitedAttempts(boolean value)
    If true, then the number of attempts is unlimited.
    RetryConfig.toBuilder()
     
    Methods in com.google.cloud.tasks.v2beta2 with parameters of type RetryConfig.Builder
    Modifier and Type
    Method
    Description
    Queue.Builder.setRetryConfig(RetryConfig.Builder builderForValue)
    Settings that determine the retry behavior