()
| 11976 | } |
| 11977 | |
| 11978 | func (m *MapHeader) Size() (n int) { |
| 11979 | if m == nil { |
| 11980 | return 0 |
| 11981 | } |
| 11982 | var l int |
| 11983 | _ = l |
| 11984 | if len(m.PartitionKeys) > 0 { |
| 11985 | for _, b := range m.PartitionKeys { |
| 11986 | l = len(b) |
| 11987 | n += 1 + l + sovPb(uint64(l)) |
| 11988 | } |
| 11989 | } |
| 11990 | return n |
| 11991 | } |
| 11992 | |
| 11993 | func (m *MovePredicatePayload) Size() (n int) { |
| 11994 | if m == nil { |