The 32-year-old is the longest-tenured Giant on the roster. Cain has 104 career wins and a 3.69 ERA. Cain threw a perfect game in 2012 against the Houston Astros.
Cain finished in the top 10 of the Cy Young Award voting twice and made three All-Star teams.
Click here for more stories on the San Francisco Giants.