of

fun of(value: Enum<*>): String

The wire name of value, a constant of a Wow enumeration: CATCH_UP is catch-up.


fun of(name: String): String

name in lower-kebab: a word starts at an upper-case letter after a lower-case letter or a digit, and at the last letter of an upper-case run followed by a lower-case one; underscores separate words too. NotBlank is not-blank, UNKNOWN_FIELD is unknown-field, URLPattern is url-pattern.