(dAtA []byte)
| 4747 | } |
| 4748 | |
| 4749 | func (m *SearchMetrics) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 4750 | i := len(dAtA) |
| 4751 | _ = i |
| 4752 | var l int |
| 4753 | _ = l |
| 4754 | if m.InspectedSpans != 0 { |
| 4755 | i = encodeVarintTempo(dAtA, i, uint64(m.InspectedSpans)) |
| 4756 | i-- |
| 4757 | dAtA[i] = 0x38 |
| 4758 | } |
| 4759 | if m.TotalBlockBytes != 0 { |
| 4760 | i = encodeVarintTempo(dAtA, i, uint64(m.TotalBlockBytes)) |
| 4761 | i-- |
| 4762 | dAtA[i] = 0x30 |
| 4763 | } |
| 4764 | if m.TotalJobs != 0 { |
| 4765 | i = encodeVarintTempo(dAtA, i, uint64(m.TotalJobs)) |
| 4766 | i-- |
| 4767 | dAtA[i] = 0x28 |
| 4768 | } |
| 4769 | if m.CompletedJobs != 0 { |
| 4770 | i = encodeVarintTempo(dAtA, i, uint64(m.CompletedJobs)) |
| 4771 | i-- |
| 4772 | dAtA[i] = 0x20 |
| 4773 | } |
| 4774 | if m.TotalBlocks != 0 { |
| 4775 | i = encodeVarintTempo(dAtA, i, uint64(m.TotalBlocks)) |
| 4776 | i-- |
| 4777 | dAtA[i] = 0x18 |
| 4778 | } |
| 4779 | if m.InspectedBytes != 0 { |
| 4780 | i = encodeVarintTempo(dAtA, i, uint64(m.InspectedBytes)) |
| 4781 | i-- |
| 4782 | dAtA[i] = 0x10 |
| 4783 | } |
| 4784 | if m.InspectedTraces != 0 { |
| 4785 | i = encodeVarintTempo(dAtA, i, uint64(m.InspectedTraces)) |
| 4786 | i-- |
| 4787 | dAtA[i] = 0x8 |
| 4788 | } |
| 4789 | return len(dAtA) - i, nil |
| 4790 | } |
| 4791 | |
| 4792 | func (m *SearchTagsRequest) Marshal() (dAtA []byte, err error) { |
| 4793 | size := m.Size() |
no test coverage detected