()
| 12319 | } |
| 12320 | |
| 12321 | func (m *ExportResponse) Size() (n int) { |
| 12322 | if m == nil { |
| 12323 | return 0 |
| 12324 | } |
| 12325 | var l int |
| 12326 | _ = l |
| 12327 | if m.Code != 0 { |
| 12328 | n += 1 + sovPb(uint64(m.Code)) |
| 12329 | } |
| 12330 | l = len(m.Msg) |
| 12331 | if l > 0 { |
| 12332 | n += 1 + l + sovPb(uint64(l)) |
| 12333 | } |
| 12334 | if len(m.Files) > 0 { |
| 12335 | for _, s := range m.Files { |
| 12336 | l = len(s) |
| 12337 | n += 1 + l + sovPb(uint64(l)) |
| 12338 | } |
| 12339 | } |
| 12340 | return n |
| 12341 | } |
| 12342 | |
| 12343 | func (m *BackupKey) Size() (n int) { |
| 12344 | if m == nil { |