If your flight is cancelled -- which would include a new flight to SFO rather than as booked to OAK, you are entitled to a refund under EC 261/2004. That was true Covid or not. If there is any issue with the carrier, simply initiate a chargeback as this is a fairly easy matter for your card issuer (bank) to deal with.