()
| 3668 | } |
| 3669 | |
| 3670 | func (m *MetadataV2) Size() (n int) { |
| 3671 | if m == nil { |
| 3672 | return 0 |
| 3673 | } |
| 3674 | var l int |
| 3675 | _ = l |
| 3676 | if m.Type != 0 { |
| 3677 | n += 1 + sovCortex(uint64(m.Type)) |
| 3678 | } |
| 3679 | if m.HelpRef != 0 { |
| 3680 | n += 1 + sovCortex(uint64(m.HelpRef)) |
| 3681 | } |
| 3682 | if m.UnitRef != 0 { |
| 3683 | n += 1 + sovCortex(uint64(m.UnitRef)) |
| 3684 | } |
| 3685 | return n |
| 3686 | } |
| 3687 | |
| 3688 | func (m *StreamWriteRequest) Size() (n int) { |
| 3689 | if m == nil { |