()
| 1688 | } |
| 1689 | |
| 1690 | func (m *RulesResponse) Size() (n int) { |
| 1691 | if m == nil { |
| 1692 | return 0 |
| 1693 | } |
| 1694 | var l int |
| 1695 | _ = l |
| 1696 | if len(m.Groups) > 0 { |
| 1697 | for _, e := range m.Groups { |
| 1698 | l = e.Size() |
| 1699 | n += 1 + l + sovRuler(uint64(l)) |
| 1700 | } |
| 1701 | } |
| 1702 | l = len(m.NextToken) |
| 1703 | if l > 0 { |
| 1704 | n += 1 + l + sovRuler(uint64(l)) |
| 1705 | } |
| 1706 | return n |
| 1707 | } |
| 1708 | |
| 1709 | func (m *GroupStateDesc) Size() (n int) { |
| 1710 | if m == nil { |