Against this tense backdrop , the Right Rev . William E. Swing decided in late 2004 to retire this summer around his 70th birthday after serving for nearly a generation as the bishop of California , a diocese that includes 82 parishes in San Francisco , Oakland and five nearby counties .