(dAtA []byte)
| 12226 | return nil |
| 12227 | } |
| 12228 | func (m *QueryInstantResponse) Unmarshal(dAtA []byte) error { |
| 12229 | l := len(dAtA) |
| 12230 | iNdEx := 0 |
| 12231 | for iNdEx < l { |
| 12232 | preIndex := iNdEx |
| 12233 | var wire uint64 |
| 12234 | for shift := uint(0); ; shift += 7 { |
| 12235 | if shift >= 64 { |
| 12236 | return ErrIntOverflowTempo |
| 12237 | } |
| 12238 | if iNdEx >= l { |
| 12239 | return io.ErrUnexpectedEOF |
| 12240 | } |
| 12241 | b := dAtA[iNdEx] |
| 12242 | iNdEx++ |
| 12243 | wire |= uint64(b&0x7F) << shift |
| 12244 | if b < 0x80 { |
| 12245 | break |
| 12246 | } |
| 12247 | } |
| 12248 | fieldNum := int32(wire >> 3) |
| 12249 | wireType := int(wire & 0x7) |
| 12250 | if wireType == 4 { |
| 12251 | return fmt.Errorf("proto: QueryInstantResponse: wiretype end group for non-group") |
| 12252 | } |
| 12253 | if fieldNum <= 0 { |
| 12254 | return fmt.Errorf("proto: QueryInstantResponse: illegal tag %d (wire type %d)", fieldNum, wire) |
| 12255 | } |
| 12256 | switch fieldNum { |
| 12257 | case 1: |
| 12258 | if wireType != 2 { |
| 12259 | return fmt.Errorf("proto: wrong wireType = %d for field Series", wireType) |
| 12260 | } |
| 12261 | var msglen int |
| 12262 | for shift := uint(0); ; shift += 7 { |
| 12263 | if shift >= 64 { |
| 12264 | return ErrIntOverflowTempo |
| 12265 | } |
| 12266 | if iNdEx >= l { |
| 12267 | return io.ErrUnexpectedEOF |
| 12268 | } |
| 12269 | b := dAtA[iNdEx] |
| 12270 | iNdEx++ |
| 12271 | msglen |= int(b&0x7F) << shift |
| 12272 | if b < 0x80 { |
| 12273 | break |
| 12274 | } |
| 12275 | } |
| 12276 | if msglen < 0 { |
| 12277 | return ErrInvalidLengthTempo |
| 12278 | } |
| 12279 | postIndex := iNdEx + msglen |
| 12280 | if postIndex < 0 { |
| 12281 | return ErrInvalidLengthTempo |
| 12282 | } |
| 12283 | if postIndex > l { |
| 12284 | return io.ErrUnexpectedEOF |
| 12285 | } |
no test coverage detected