public com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig() {
      if (retryConfigBuilder_ == null) {
        return retryConfig_ == null
            ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance()
            : retryConfig_;
      } else {
        return retryConfigBuilder_.getMessage();
      }
    }
<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.v2beta2.RetryConfig retry_config = 6;</code>

@return The retryConfig.
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java