Deprecated: Do not use.
(b []byte)
| 96 | |
| 97 | // Deprecated: Do not use. |
| 98 | func (x *RpcError_ErrorCode) UnmarshalJSON(b []byte) error { |
| 99 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| 100 | if err != nil { |
| 101 | return err |
| 102 | } |
| 103 | *x = RpcError_ErrorCode(num) |
| 104 | return nil |
| 105 | } |
| 106 | |
| 107 | // Deprecated: Use RpcError_ErrorCode.Descriptor instead. |
| 108 | func (RpcError_ErrorCode) EnumDescriptor() ([]byte, []int) { |
nothing calls this directly
no test coverage detected