| 11818 | } |
| 11819 | |
| 11820 | func (m *SchemaRequest) Size() (n int) { |
| 11821 | if m == nil { |
| 11822 | return 0 |
| 11823 | } |
| 11824 | var l int |
| 11825 | _ = l |
| 11826 | if m.GroupId != 0 { |
| 11827 | n += 1 + sovPb(uint64(m.GroupId)) |
| 11828 | } |
| 11829 | if len(m.Predicates) > 0 { |
| 11830 | for _, s := range m.Predicates { |
| 11831 | l = len(s) |
| 11832 | n += 1 + l + sovPb(uint64(l)) |
| 11833 | } |
| 11834 | } |
| 11835 | if len(m.Fields) > 0 { |
| 11836 | for _, s := range m.Fields { |
| 11837 | l = len(s) |
| 11838 | n += 1 + l + sovPb(uint64(l)) |
| 11839 | } |
| 11840 | } |
| 11841 | if len(m.Types) > 0 { |
| 11842 | for _, s := range m.Types { |
| 11843 | l = len(s) |
| 11844 | n += 1 + l + sovPb(uint64(l)) |
| 11845 | } |
| 11846 | } |
| 11847 | return n |
| 11848 | } |
| 11849 | |
| 11850 | func (m *SchemaNode) Size() (n int) { |
| 11851 | if m == nil { |