@java.lang.Override
  public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder() {
    return retryConfig_ == null
        ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance()
        : retryConfig_;
  }
<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