(dAtA []byte)
| 23863 | return nil |
| 23864 | } |
| 23865 | func (m *UpdateGraphQLSchemaRequest) Unmarshal(dAtA []byte) error { |
| 23866 | l := len(dAtA) |
| 23867 | iNdEx := 0 |
| 23868 | for iNdEx < l { |
| 23869 | preIndex := iNdEx |
| 23870 | var wire uint64 |
| 23871 | for shift := uint(0); ; shift += 7 { |
| 23872 | if shift >= 64 { |
| 23873 | return ErrIntOverflowPb |
| 23874 | } |
| 23875 | if iNdEx >= l { |
| 23876 | return io.ErrUnexpectedEOF |
| 23877 | } |
| 23878 | b := dAtA[iNdEx] |
| 23879 | iNdEx++ |
| 23880 | wire |= uint64(b&0x7F) << shift |
| 23881 | if b < 0x80 { |
| 23882 | break |
| 23883 | } |
| 23884 | } |
| 23885 | fieldNum := int32(wire >> 3) |
| 23886 | wireType := int(wire & 0x7) |
| 23887 | if wireType == 4 { |
| 23888 | return fmt.Errorf("proto: UpdateGraphQLSchemaRequest: wiretype end group for non-group") |
| 23889 | } |
| 23890 | if fieldNum <= 0 { |
| 23891 | return fmt.Errorf("proto: UpdateGraphQLSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) |
| 23892 | } |
| 23893 | switch fieldNum { |
| 23894 | case 1: |
| 23895 | if wireType != 0 { |
| 23896 | return fmt.Errorf("proto: wrong wireType = %d for field StartTs", wireType) |
| 23897 | } |
| 23898 | m.StartTs = 0 |
| 23899 | for shift := uint(0); ; shift += 7 { |
| 23900 | if shift >= 64 { |
| 23901 | return ErrIntOverflowPb |
| 23902 | } |
| 23903 | if iNdEx >= l { |
| 23904 | return io.ErrUnexpectedEOF |
| 23905 | } |
| 23906 | b := dAtA[iNdEx] |
| 23907 | iNdEx++ |
| 23908 | m.StartTs |= uint64(b&0x7F) << shift |
| 23909 | if b < 0x80 { |
| 23910 | break |
| 23911 | } |
| 23912 | } |
| 23913 | case 2: |
| 23914 | if wireType != 2 { |
| 23915 | return fmt.Errorf("proto: wrong wireType = %d for field GraphqlSchema", wireType) |
| 23916 | } |
| 23917 | var stringLen uint64 |
| 23918 | for shift := uint(0); ; shift += 7 { |
| 23919 | if shift >= 64 { |
| 23920 | return ErrIntOverflowPb |
| 23921 | } |
| 23922 | if iNdEx >= l { |
no test coverage detected