()
| 118 | } |
| 119 | |
| 120 | func (m *EncodedError) GetLeaf() *EncodedErrorLeaf { |
| 121 | if x, ok := m.GetError().(*EncodedError_Leaf); ok { |
| 122 | return x.Leaf |
| 123 | } |
| 124 | return nil |
| 125 | } |
| 126 | |
| 127 | func (m *EncodedError) GetWrapper() *EncodedWrapper { |
| 128 | if x, ok := m.GetError().(*EncodedError_Wrapper); ok { |