(data []byte)
| 45 | } |
| 46 | |
| 47 | func (x *FOO) UnmarshalJSON(data []byte) error { |
| 48 | value, err := proto.UnmarshalJSONEnum(FOO_value, data, "FOO") |
| 49 | if err != nil { |
| 50 | return err |
| 51 | } |
| 52 | *x = FOO(value) |
| 53 | return nil |
| 54 | } |
| 55 | |
| 56 | func (FOO) EnumDescriptor() ([]byte, []int) { |
| 57 | return fileDescriptor_e5b3e7ca68f98362, []int{0} |
nothing calls this directly
no test coverage detected