(data []byte)
| 56 | } |
| 57 | |
| 58 | func (x *Widget_Color) UnmarshalJSON(data []byte) error { |
| 59 | value, err := proto.UnmarshalJSONEnum(Widget_Color_value, data, "Widget_Color") |
| 60 | if err != nil { |
| 61 | return err |
| 62 | } |
| 63 | *x = Widget_Color(value) |
| 64 | return nil |
| 65 | } |
| 66 | |
| 67 | func (Widget_Color) EnumDescriptor() ([]byte, []int) { |
| 68 | return fileDescriptor_50cab1d8463dea41, []int{3, 0} |
nothing calls this directly
no test coverage detected