| 11991 | } |
| 11992 | |
| 11993 | func (m *MovePredicatePayload) Size() (n int) { |
| 11994 | if m == nil { |
| 11995 | return 0 |
| 11996 | } |
| 11997 | var l int |
| 11998 | _ = l |
| 11999 | l = len(m.Predicate) |
| 12000 | if l > 0 { |
| 12001 | n += 1 + l + sovPb(uint64(l)) |
| 12002 | } |
| 12003 | if m.SourceGid != 0 { |
| 12004 | n += 1 + sovPb(uint64(m.SourceGid)) |
| 12005 | } |
| 12006 | if m.DestGid != 0 { |
| 12007 | n += 1 + sovPb(uint64(m.DestGid)) |
| 12008 | } |
| 12009 | if m.TxnTs != 0 { |
| 12010 | n += 1 + sovPb(uint64(m.TxnTs)) |
| 12011 | } |
| 12012 | if m.ExpectedChecksum != 0 { |
| 12013 | n += 1 + sovPb(uint64(m.ExpectedChecksum)) |
| 12014 | } |
| 12015 | return n |
| 12016 | } |
| 12017 | |
| 12018 | func (m *TxnStatus) Size() (n int) { |
| 12019 | if m == nil { |