Purely Google refactor PiperOrigin-RevId: 320679799 Change-Id: I6591af2c3b863d541c4cb36106d899383e8b538b