def ToNanoseconds(self):
    return self.seconds * _NANOS_PER_SECOND + self.nanos
Converts a Duration to nanoseconds.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/net/proto2/python/internal/well_known_types.py/Duration.ToNanoseconds