()
| 11707 | } |
| 11708 | |
| 11709 | func (m *FacetParam) Size() (n int) { |
| 11710 | if m == nil { |
| 11711 | return 0 |
| 11712 | } |
| 11713 | var l int |
| 11714 | _ = l |
| 11715 | l = len(m.Key) |
| 11716 | if l > 0 { |
| 11717 | n += 1 + l + sovPb(uint64(l)) |
| 11718 | } |
| 11719 | l = len(m.Alias) |
| 11720 | if l > 0 { |
| 11721 | n += 1 + l + sovPb(uint64(l)) |
| 11722 | } |
| 11723 | return n |
| 11724 | } |
| 11725 | |
| 11726 | func (m *FacetParams) Size() (n int) { |
| 11727 | if m == nil { |