public Builder mergeFrom(com.google.cloud.tasks.v2beta2.RetryConfig other) {
      if (other == com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance()) return this;
      if (other.hasMaxRetryDuration()) {
        mergeMaxRetryDuration(other.getMaxRetryDuration());
      }
      if (other.hasMinBackoff()) {
        mergeMinBackoff(other.getMinBackoff());
      }
      if (other.hasMaxBackoff()) {
        mergeMaxBackoff(other.getMaxBackoff());
      }
      if (other.getMaxDoublings() != 0) {
        setMaxDoublings(other.getMaxDoublings());
      }
      switch (other.getNumAttemptsCase()) {
        case MAX_ATTEMPTS:
          {
            setMaxAttempts(other.getMaxAttempts());
            break;
          }
        case UNLIMITED_ATTEMPTS:
          {
            setUnlimitedAttempts(other.getUnlimitedAttempts());
            break;
          }
        case NUMATTEMPTS_NOT_SET:
          {
            break;
          }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      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