parameters: (self, name)
docstring: Returns the value corresponding to the given enum name.
docstring_summary: Returns the value corresponding to the given enum name.
docstring_tokens: Returns the value corresponding to the given enum name .
function: def Value(self, name):  # pylint: disable=invalid-name
      """Returns the value corresponding to the given enum name."""
      try:
        return self._enum_type.values_by_name[name].number
      except KeyError:
        pass  # fall out to break exception chaining
      raise ValueError('Enum {} has no value defined for name {!r}'.format(
          self._enum_type.name, name))
function_tokens: def Value ( self , name ) : # pylint: disable=invalid-name try : return self . _enum_type . values_by_name [ name ] . number except KeyError : pass # fall out to break exception chaining raise ValueError ( 'Enum {} has no value defined for name {!r}' . format ( self . _enum_type . name , name ) )