public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
      if (retryConfigBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        retryConfig_ = value;
      } else {
        retryConfigBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
<pre>
Settings that determine the retry behavior.

* For tasks created using Cloud Tasks: the queue-level retry settings
  apply to all tasks in the queue that were created using Cloud Tasks.
  Retry settings cannot be set on individual tasks.
* For tasks created using the App Engine SDK: the queue-level retry
  settings apply to all tasks in the queue which do not have retry settings
  explicitly set on the task and were created by the App Engine SDK. See
  [App Engine
  documentation](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks).
</pre>

<code>.google.cloud.tasks.v2.RetryConfig retry_config = 4;</code>
java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java