'Populates a TaskQueueRetryParameters with data from a TaskRetryOptions.
Args:
retry_options: The TaskRetryOptions instance to use as a source for the
data to be added to retry_retry_parameters.
retry_retry_parameters: A taskqueue_service_pb.TaskQueueRetryParameters
to populate.'

def __FillTaskQueueRetryParameters(self, retry_options, retry_retry_parameters):

    if (retry_options.min_backoff_seconds is not None):
        retry_retry_parameters.set_min_backoff_sec(retry_options.min_backoff_seconds)
    if (retry_options.max_backoff_seconds is not None):
        retry_retry_parameters.set_max_backoff_sec(retry_options.max_backoff_seconds)
    if (retry_options.task_retry_limit is not None):
        retry_retry_parameters.set_retry_limit(retry_options.task_retry_limit)
    if (retry_options.task_age_limit is not None):
        retry_retry_parameters.set_age_limit_sec(retry_options.task_age_limit)
    if (retry_options.max_doublings is not None):
        retry_retry_parameters.set_max_doublings(retry_options.max_doublings)
