Converts the text representation to an enumerated value.
the string.
a InternetKind or as_internet_kind_unknown for unknown