Changed Result::get to return a const reference.

Review: https://reviews.apache.org/r/18434