After more than 150 years as a small farming city, San Jose and the surrounding Santa Clara Valley became the last (and largest) contiguous area of undeveloped land surrounding the San Francisco Bay .