()
| 4635 | } |
| 4636 | |
| 4637 | func (m *QueryResponse) Size() (n int) { |
| 4638 | if m == nil { |
| 4639 | return 0 |
| 4640 | } |
| 4641 | var l int |
| 4642 | _ = l |
| 4643 | if len(m.Timeseries) > 0 { |
| 4644 | for _, e := range m.Timeseries { |
| 4645 | l = e.Size() |
| 4646 | n += 1 + l + sovIngester(uint64(l)) |
| 4647 | } |
| 4648 | } |
| 4649 | return n |
| 4650 | } |
| 4651 | |
| 4652 | func (m *QueryRequest) Size() (n int) { |
| 4653 | if m == nil { |
no test coverage detected