()
| 3686 | } |
| 3687 | |
| 3688 | func (m *StreamWriteRequest) Size() (n int) { |
| 3689 | if m == nil { |
| 3690 | return 0 |
| 3691 | } |
| 3692 | var l int |
| 3693 | _ = l |
| 3694 | l = len(m.TenantID) |
| 3695 | if l > 0 { |
| 3696 | n += 1 + l + sovCortex(uint64(l)) |
| 3697 | } |
| 3698 | if m.Request != nil { |
| 3699 | l = m.Request.Size() |
| 3700 | n += 1 + l + sovCortex(uint64(l)) |
| 3701 | } |
| 3702 | l = m.MessageWithBufRef.Size() |
| 3703 | n += 2 + l + sovCortex(uint64(l)) |
| 3704 | return n |
| 3705 | } |
| 3706 | |
| 3707 | func (m *WriteResponse) Size() (n int) { |
| 3708 | if m == nil { |