'Adds options common to \'upload_data\' and \'download_data\'.
Args:
parser: An instance of OptionsParser.'

def _PerformLoadOptions(self, parser):

    parser.add_option('--url', type='string', dest='url', action='store', help='The    location    of    the    remote_api    endpoint.')
    parser.add_option('--batch_size', type='int', dest='batch_size', action='store', default=10, help='Number    of    records    to    post    in    each    request.')
    parser.add_option('--bandwidth_limit', type='int', dest='bandwidth_limit', action='store', default=250000, help='The    maximum    bytes/second    bandwidth    for    transfers.')
    parser.add_option('--rps_limit', type='int', dest='rps_limit', action='store', default=20, help='The    maximum    records/second    for    transfers.')
    parser.add_option('--http_limit', type='int', dest='http_limit', action='store', default=8, help='The    maximum    requests/second    for    transfers.')
    parser.add_option('--db_filename', type='string', dest='db_filename', action='store', help='Name    of    the    progress    database    file.')
    parser.add_option('--auth_domain', type='string', dest='auth_domain', action='store', default='gmail.com', help='The    name    of    the    authorization    domain    to    use.')
    parser.add_option('--log_file', type='string', dest='log_file', help='File    to    write    bulkloader    logs.        If    not    supplied    then    a    new    log    file    will    be    created,    named:    bulkloader-log-TIMESTAMP.')
    parser.add_option('--dry_run', action='store_true', dest='dry_run', default=False, help='Do    not    execute    any    remote_api    calls')
    parser.add_option('--namespace', type='string', dest='namespace', action='store', default='', help='Namespace    to    use    when    accessing    datastore.')
    parser.add_option('--num_threads', type='int', dest='num_threads', action='store', default=10, help='Number    of    threads    to    transfer    records    with.')
