forNumber

open fun forNumber(value: Int): EndpointType

Return

The enum associated with the given numeric wire value.

Parameters

value

The numeric wire value of the corresponding enum entry.