(dAtA []byte)
| 8331 | return nil |
| 8332 | } |
| 8333 | func (m *DedicatedColumn) Unmarshal(dAtA []byte) error { |
| 8334 | l := len(dAtA) |
| 8335 | iNdEx := 0 |
| 8336 | for iNdEx < l { |
| 8337 | preIndex := iNdEx |
| 8338 | var wire uint64 |
| 8339 | for shift := uint(0); ; shift += 7 { |
| 8340 | if shift >= 64 { |
| 8341 | return ErrIntOverflowTempo |
| 8342 | } |
| 8343 | if iNdEx >= l { |
| 8344 | return io.ErrUnexpectedEOF |
| 8345 | } |
| 8346 | b := dAtA[iNdEx] |
| 8347 | iNdEx++ |
| 8348 | wire |= uint64(b&0x7F) << shift |
| 8349 | if b < 0x80 { |
| 8350 | break |
| 8351 | } |
| 8352 | } |
| 8353 | fieldNum := int32(wire >> 3) |
| 8354 | wireType := int(wire & 0x7) |
| 8355 | if wireType == 4 { |
| 8356 | return fmt.Errorf("proto: DedicatedColumn: wiretype end group for non-group") |
| 8357 | } |
| 8358 | if fieldNum <= 0 { |
| 8359 | return fmt.Errorf("proto: DedicatedColumn: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8360 | } |
| 8361 | switch fieldNum { |
| 8362 | case 1: |
| 8363 | if wireType != 0 { |
| 8364 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 8365 | } |
| 8366 | m.Type = 0 |
| 8367 | for shift := uint(0); ; shift += 7 { |
| 8368 | if shift >= 64 { |
| 8369 | return ErrIntOverflowTempo |
| 8370 | } |
| 8371 | if iNdEx >= l { |
| 8372 | return io.ErrUnexpectedEOF |
| 8373 | } |
| 8374 | b := dAtA[iNdEx] |
| 8375 | iNdEx++ |
| 8376 | m.Type |= DedicatedColumn_Type(b&0x7F) << shift |
| 8377 | if b < 0x80 { |
| 8378 | break |
| 8379 | } |
| 8380 | } |
| 8381 | case 2: |
| 8382 | if wireType != 2 { |
| 8383 | return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 8384 | } |
| 8385 | var stringLen uint64 |
| 8386 | for shift := uint(0); ; shift += 7 { |
| 8387 | if shift >= 64 { |
| 8388 | return ErrIntOverflowTempo |
| 8389 | } |
| 8390 | if iNdEx >= l { |
no test coverage detected