(dAtA []byte)
| 8973 | return nil |
| 8974 | } |
| 8975 | func (m *ServiceStats) Unmarshal(dAtA []byte) error { |
| 8976 | l := len(dAtA) |
| 8977 | iNdEx := 0 |
| 8978 | for iNdEx < l { |
| 8979 | preIndex := iNdEx |
| 8980 | var wire uint64 |
| 8981 | for shift := uint(0); ; shift += 7 { |
| 8982 | if shift >= 64 { |
| 8983 | return ErrIntOverflowTempo |
| 8984 | } |
| 8985 | if iNdEx >= l { |
| 8986 | return io.ErrUnexpectedEOF |
| 8987 | } |
| 8988 | b := dAtA[iNdEx] |
| 8989 | iNdEx++ |
| 8990 | wire |= uint64(b&0x7F) << shift |
| 8991 | if b < 0x80 { |
| 8992 | break |
| 8993 | } |
| 8994 | } |
| 8995 | fieldNum := int32(wire >> 3) |
| 8996 | wireType := int(wire & 0x7) |
| 8997 | if wireType == 4 { |
| 8998 | return fmt.Errorf("proto: ServiceStats: wiretype end group for non-group") |
| 8999 | } |
| 9000 | if fieldNum <= 0 { |
| 9001 | return fmt.Errorf("proto: ServiceStats: illegal tag %d (wire type %d)", fieldNum, wire) |
| 9002 | } |
| 9003 | switch fieldNum { |
| 9004 | case 1: |
| 9005 | if wireType != 0 { |
| 9006 | return fmt.Errorf("proto: wrong wireType = %d for field SpanCount", wireType) |
| 9007 | } |
| 9008 | m.SpanCount = 0 |
| 9009 | for shift := uint(0); ; shift += 7 { |
| 9010 | if shift >= 64 { |
| 9011 | return ErrIntOverflowTempo |
| 9012 | } |
| 9013 | if iNdEx >= l { |
| 9014 | return io.ErrUnexpectedEOF |
| 9015 | } |
| 9016 | b := dAtA[iNdEx] |
| 9017 | iNdEx++ |
| 9018 | m.SpanCount |= uint32(b&0x7F) << shift |
| 9019 | if b < 0x80 { |
| 9020 | break |
| 9021 | } |
| 9022 | } |
| 9023 | case 2: |
| 9024 | if wireType != 0 { |
| 9025 | return fmt.Errorf("proto: wrong wireType = %d for field ErrorCount", wireType) |
| 9026 | } |
| 9027 | m.ErrorCount = 0 |
| 9028 | for shift := uint(0); ; shift += 7 { |
| 9029 | if shift >= 64 { |
| 9030 | return ErrIntOverflowTempo |
| 9031 | } |
| 9032 | if iNdEx >= l { |
no test coverage detected