()
| 4620 | } |
| 4621 | |
| 4622 | func (m *ReadResponse) Size() (n int) { |
| 4623 | if m == nil { |
| 4624 | return 0 |
| 4625 | } |
| 4626 | var l int |
| 4627 | _ = l |
| 4628 | if len(m.Results) > 0 { |
| 4629 | for _, e := range m.Results { |
| 4630 | l = e.Size() |
| 4631 | n += 1 + l + sovIngester(uint64(l)) |
| 4632 | } |
| 4633 | } |
| 4634 | return n |
| 4635 | } |
| 4636 | |
| 4637 | func (m *QueryResponse) Size() (n int) { |
| 4638 | if m == nil { |
no test coverage detected