()
| 2978 | } |
| 2979 | |
| 2980 | func (m *PrometheusResponseStats) Size() (n int) { |
| 2981 | if m == nil { |
| 2982 | return 0 |
| 2983 | } |
| 2984 | var l int |
| 2985 | _ = l |
| 2986 | if m.Samples != nil { |
| 2987 | l = m.Samples.Size() |
| 2988 | n += 1 + l + sovQuery(uint64(l)) |
| 2989 | } |
| 2990 | return n |
| 2991 | } |
| 2992 | |
| 2993 | func (m *PrometheusResponseSamplesStats) Size() (n int) { |
| 2994 | if m == nil { |