'Initializer.
Args:
name: The name of the facet. Facet names must have maximum length
MAXIMUM_FIELD_NAME_LENGTH and match pattern "[A-Za-z][A-Za-z0-9_]*".
value: The value of the facet which can be a str, unicode or number.
Raises:
TypeError: If any of the parameters have invalid types, or an unknown
attribute is passed.
ValueError: If any of the parameters have invalid values.'

def __init__(self, name, value):

    self._name = _CheckFacetName(_ConvertToUnicode(name))
    self._value = self._CheckValue(value)
