Google parent Alphabet has seen Class A shares rise about 25 percent this year.