()
| 4673 | } |
| 4674 | |
| 4675 | func (m *ExemplarQueryRequest) Size() (n int) { |
| 4676 | if m == nil { |
| 4677 | return 0 |
| 4678 | } |
| 4679 | var l int |
| 4680 | _ = l |
| 4681 | if m.StartTimestampMs != 0 { |
| 4682 | n += 1 + sovIngester(uint64(m.StartTimestampMs)) |
| 4683 | } |
| 4684 | if m.EndTimestampMs != 0 { |
| 4685 | n += 1 + sovIngester(uint64(m.EndTimestampMs)) |
| 4686 | } |
| 4687 | if len(m.Matchers) > 0 { |
| 4688 | for _, e := range m.Matchers { |
| 4689 | l = e.Size() |
| 4690 | n += 1 + l + sovIngester(uint64(l)) |
| 4691 | } |
| 4692 | } |
| 4693 | return n |
| 4694 | } |
| 4695 | |
| 4696 | func (m *QueryStreamResponse) Size() (n int) { |
| 4697 | if m == nil { |
no test coverage detected