In his nearly four decades in American politics , Jerry Brown has been a lot of things to a lot of people : a two-term California governor , a three-time presidential candidate and , most recently , the mayor of Oakland , this Rodney Dangerfield-like city across the bay from San Francisco .