()
| 6833 | } |
| 6834 | |
| 6835 | func (m *Trace) Size() (n int) { |
| 6836 | if m == nil { |
| 6837 | return 0 |
| 6838 | } |
| 6839 | var l int |
| 6840 | _ = l |
| 6841 | if len(m.ResourceSpans) > 0 { |
| 6842 | for _, e := range m.ResourceSpans { |
| 6843 | l = e.Size() |
| 6844 | n += 1 + l + sovTempo(uint64(l)) |
| 6845 | } |
| 6846 | } |
| 6847 | return n |
| 6848 | } |
| 6849 | |
| 6850 | func (m *PushResponse) Size() (n int) { |
| 6851 | if m == nil { |