The reality is that a developer's day is a mix of meetings (for coordination they are not necessarily useless), training (it's a fast moving environment with self-actualization), code reviews, environment setup, helping colleagues, and finally, code writing are all necessary for a successful development endeavor.
If I need a full compile that takes 15 minutes it does break the flow, but so does all of the above. When Sundar Pichai said that productivity was too low, he's just preparing the press/people for layoffs and hiring freezes.