take BART from the airport to downtown, then a street car the rest of the way
Stop somewhere on Market Street. There are some street cars that go down Market Street and then up to the piers. Just transfer to one of those. You won't have to walk much at all if you do that. Or, just take a cab.