getNanos() only accesses the underlying nanosecond-adjustment of the duration.

See: https://errorprone.info/bugpattern/ProtoDurationGetSecondsGetNano