Just declare it in your luggage as required by Fed law. Oakland gun laws are not as restrictive as San Francisco. One thing to remember about airports is that while a local municipality or county may have ownership, many of the applicable laws are federal.