func (e Enum) String() string {
	if ev := e.ed.Values().ByNumber(e.num); ev != nil {
		return string(ev.Name())
	}
	return strconv.Itoa(int(e.num))
}
// String returns the name of the enum value if known (e.g., "ENUM_VALUE"),
// otherwise it returns the formatted decimal enum number (e.g., "14").
String returns the name of the enum value if known ,
otherwise it returns the formatted decimal enum number .
// String returns the name of the enum value if known ( e . g . " ENUM_VALUE " ) // otherwise it returns the formatted decimal enum number ( e . g . " 14 " ) .
func (e Enum) String() string {
	if ev := e.ed.Values().ByNumber(e.num); ev != nil {
		return string(ev.Name())
	}
	return strconv.Itoa(int(e.num))
}
func ( e Enum ) String ( ) string { if ev := e . ed . Values ( ) . ByNumber ( e . num ) ; ev != nil { return string ( ev . Name ( ) ) } return strconv . Itoa ( int ( e . num ) ) }
String returns the name of the enum value if known ,
otherwise it returns the formatted decimal enum number .
String returns the name of the enum value if known otherwise it returns the formatted decimal enum number .