def ToNanoseconds(self):
    return self.seconds * _NANOS_PER_SECOND + self.nanos
Single function to handle turning object names into class names.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/net/proto2/python/internal/well_known_types.py/Duration.ToNanoseconds--crossover with--dataset/ETHPy150Open plotly/plotly.py/plotly/graph_reference.py/string_to_class_name