public Builder clearNumAttempts() {
      numAttemptsCase_ = 0;
      numAttempts_ = null;
      onChanged();
      return this;
    }
<pre>
Retry config.

These settings determine how a failed task attempt is retried.
</pre>

Protobuf type {@code google.cloud.tasks.v2beta2.RetryConfig}
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java