def FromNanoseconds(self, nanos):
    """Converts nanoseconds since epoch to Timestamp."""
    self.seconds = nanos // _NANOS_PER_SECOND
    self.nanos = nanos % _NANOS_PER_SECOND
Converts nanoseconds since epoch to Timestamp.
deps/protobuf/python/google/protobuf/internal/well_known_types.py