(dAtA []byte)
| 12928 | return nil |
| 12929 | } |
| 12930 | func (m *QueryRangeResponse) Unmarshal(dAtA []byte) error { |
| 12931 | l := len(dAtA) |
| 12932 | iNdEx := 0 |
| 12933 | for iNdEx < l { |
| 12934 | preIndex := iNdEx |
| 12935 | var wire uint64 |
| 12936 | for shift := uint(0); ; shift += 7 { |
| 12937 | if shift >= 64 { |
| 12938 | return ErrIntOverflowTempo |
| 12939 | } |
| 12940 | if iNdEx >= l { |
| 12941 | return io.ErrUnexpectedEOF |
| 12942 | } |
| 12943 | b := dAtA[iNdEx] |
| 12944 | iNdEx++ |
| 12945 | wire |= uint64(b&0x7F) << shift |
| 12946 | if b < 0x80 { |
| 12947 | break |
| 12948 | } |
| 12949 | } |
| 12950 | fieldNum := int32(wire >> 3) |
| 12951 | wireType := int(wire & 0x7) |
| 12952 | if wireType == 4 { |
| 12953 | return fmt.Errorf("proto: QueryRangeResponse: wiretype end group for non-group") |
| 12954 | } |
| 12955 | if fieldNum <= 0 { |
| 12956 | return fmt.Errorf("proto: QueryRangeResponse: illegal tag %d (wire type %d)", fieldNum, wire) |
| 12957 | } |
| 12958 | switch fieldNum { |
| 12959 | case 1: |
| 12960 | if wireType != 2 { |
| 12961 | return fmt.Errorf("proto: wrong wireType = %d for field Series", wireType) |
| 12962 | } |
| 12963 | var msglen int |
| 12964 | for shift := uint(0); ; shift += 7 { |
| 12965 | if shift >= 64 { |
| 12966 | return ErrIntOverflowTempo |
| 12967 | } |
| 12968 | if iNdEx >= l { |
| 12969 | return io.ErrUnexpectedEOF |
| 12970 | } |
| 12971 | b := dAtA[iNdEx] |
| 12972 | iNdEx++ |
| 12973 | msglen |= int(b&0x7F) << shift |
| 12974 | if b < 0x80 { |
| 12975 | break |
| 12976 | } |
| 12977 | } |
| 12978 | if msglen < 0 { |
| 12979 | return ErrInvalidLengthTempo |
| 12980 | } |
| 12981 | postIndex := iNdEx + msglen |
| 12982 | if postIndex < 0 { |
| 12983 | return ErrInvalidLengthTempo |
| 12984 | } |
| 12985 | if postIndex > l { |
| 12986 | return io.ErrUnexpectedEOF |
| 12987 | } |
no test coverage detected