def values(self):
    """Return a list of the integer values in the enum.

    Returns:
      A list of ints, in the order they were defined in the .proto file.
    """

    return [value_descriptor.number
            for value_descriptor in self._enum_type.values]
Return a list of the integer values in the enum.

    Returns:
      A list of ints, in the order they were defined in the .proto file.
    
deps/protobuf/python/google/protobuf/internal/enum_type_wrapper.py