1// Code generated by protoc-gen-gogo. DO NOT EDIT. 2// source: empty.proto 3 4package empty 5 6import ( 7 fmt "fmt" 8 _ "github.com/gogo/protobuf/gogoproto" 9 proto "github.com/gogo/protobuf/proto" 10 io "io" 11 math "math" 12) 13 14// Reference imports to suppress errors if they are not otherwise used. 15var _ = proto.Marshal 16var _ = fmt.Errorf 17var _ = math.Inf 18 19// This is a compile-time assertion to ensure that this generated file 20// is compatible with the proto package it is being compiled against. 21// A compilation error at this line likely means your copy of the 22// proto package needs to be updated. 23const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 24 25type TestRequest struct { 26 XXX_NoUnkeyedLiteral struct{} `json:"-"` 27 XXX_unrecognized []byte `json:"-"` 28 XXX_sizecache int32 `json:"-"` 29} 30 31func (m *TestRequest) Reset() { *m = TestRequest{} } 32func (m *TestRequest) String() string { return proto.CompactTextString(m) } 33func (*TestRequest) ProtoMessage() {} 34func (*TestRequest) Descriptor() ([]byte, []int) { 35 return fileDescriptor_2b3147679766dcb8, []int{0} 36} 37func (m *TestRequest) XXX_Unmarshal(b []byte) error { 38 return m.Unmarshal(b) 39} 40func (m *TestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 41 return xxx_messageInfo_TestRequest.Marshal(b, m, deterministic) 42} 43func (m *TestRequest) XXX_Merge(src proto.Message) { 44 xxx_messageInfo_TestRequest.Merge(m, src) 45} 46func (m *TestRequest) XXX_Size() int { 47 return xxx_messageInfo_TestRequest.Size(m) 48} 49func (m *TestRequest) XXX_DiscardUnknown() { 50 xxx_messageInfo_TestRequest.DiscardUnknown(m) 51} 52 53var xxx_messageInfo_TestRequest proto.InternalMessageInfo 54 55func init() { 56 proto.RegisterType((*TestRequest)(nil), "empty.TestRequest") 57} 58 59func init() { proto.RegisterFile("empty.proto", fileDescriptor_2b3147679766dcb8) } 60 61var fileDescriptor_2b3147679766dcb8 = []byte{ 62 // 92 bytes of a gzipped FileDescriptorProto 63 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4e, 0xcd, 0x2d, 0x28, 64 0xa9, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05, 0x73, 0xa4, 0x74, 0xd3, 0x33, 0x4b, 65 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0xd3, 0xf3, 0xd3, 0xf3, 0xf5, 0xc1, 0xb2, 0x49, 66 0xa5, 0x69, 0x60, 0x1e, 0x98, 0x03, 0x66, 0x41, 0x74, 0x29, 0xf1, 0x72, 0x71, 0x87, 0xa4, 0x16, 67 0x97, 0x04, 0xa5, 0x16, 0x96, 0xa6, 0x16, 0x97, 0x38, 0xb1, 0x5c, 0x78, 0x24, 0xc7, 0x08, 0x08, 68 0x00, 0x00, 0xff, 0xff, 0x0e, 0xe3, 0x23, 0x3d, 0x58, 0x00, 0x00, 0x00, 69} 70 71func (m *TestRequest) Unmarshal(dAtA []byte) error { 72 l := len(dAtA) 73 iNdEx := 0 74 for iNdEx < l { 75 preIndex := iNdEx 76 var wire uint64 77 for shift := uint(0); ; shift += 7 { 78 if shift >= 64 { 79 return ErrIntOverflowEmpty 80 } 81 if iNdEx >= l { 82 return io.ErrUnexpectedEOF 83 } 84 b := dAtA[iNdEx] 85 iNdEx++ 86 wire |= uint64(b&0x7F) << shift 87 if b < 0x80 { 88 break 89 } 90 } 91 fieldNum := int32(wire >> 3) 92 wireType := int(wire & 0x7) 93 if wireType == 4 { 94 return fmt.Errorf("proto: TestRequest: wiretype end group for non-group") 95 } 96 if fieldNum <= 0 { 97 return fmt.Errorf("proto: TestRequest: illegal tag %d (wire type %d)", fieldNum, wire) 98 } 99 switch fieldNum { 100 default: 101 iNdEx = preIndex 102 skippy, err := skipEmpty(dAtA[iNdEx:]) 103 if err != nil { 104 return err 105 } 106 if skippy < 0 { 107 return ErrInvalidLengthEmpty 108 } 109 if (iNdEx + skippy) < 0 { 110 return ErrInvalidLengthEmpty 111 } 112 if (iNdEx + skippy) > l { 113 return io.ErrUnexpectedEOF 114 } 115 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 116 iNdEx += skippy 117 } 118 } 119 120 if iNdEx > l { 121 return io.ErrUnexpectedEOF 122 } 123 return nil 124} 125func skipEmpty(dAtA []byte) (n int, err error) { 126 l := len(dAtA) 127 iNdEx := 0 128 depth := 0 129 for iNdEx < l { 130 var wire uint64 131 for shift := uint(0); ; shift += 7 { 132 if shift >= 64 { 133 return 0, ErrIntOverflowEmpty 134 } 135 if iNdEx >= l { 136 return 0, io.ErrUnexpectedEOF 137 } 138 b := dAtA[iNdEx] 139 iNdEx++ 140 wire |= (uint64(b) & 0x7F) << shift 141 if b < 0x80 { 142 break 143 } 144 } 145 wireType := int(wire & 0x7) 146 switch wireType { 147 case 0: 148 for shift := uint(0); ; shift += 7 { 149 if shift >= 64 { 150 return 0, ErrIntOverflowEmpty 151 } 152 if iNdEx >= l { 153 return 0, io.ErrUnexpectedEOF 154 } 155 iNdEx++ 156 if dAtA[iNdEx-1] < 0x80 { 157 break 158 } 159 } 160 case 1: 161 iNdEx += 8 162 case 2: 163 var length int 164 for shift := uint(0); ; shift += 7 { 165 if shift >= 64 { 166 return 0, ErrIntOverflowEmpty 167 } 168 if iNdEx >= l { 169 return 0, io.ErrUnexpectedEOF 170 } 171 b := dAtA[iNdEx] 172 iNdEx++ 173 length |= (int(b) & 0x7F) << shift 174 if b < 0x80 { 175 break 176 } 177 } 178 if length < 0 { 179 return 0, ErrInvalidLengthEmpty 180 } 181 iNdEx += length 182 case 3: 183 depth++ 184 case 4: 185 if depth == 0 { 186 return 0, ErrUnexpectedEndOfGroupEmpty 187 } 188 depth-- 189 case 5: 190 iNdEx += 4 191 default: 192 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 193 } 194 if iNdEx < 0 { 195 return 0, ErrInvalidLengthEmpty 196 } 197 if depth == 0 { 198 return iNdEx, nil 199 } 200 } 201 return 0, io.ErrUnexpectedEOF 202} 203 204var ( 205 ErrInvalidLengthEmpty = fmt.Errorf("proto: negative length found during unmarshaling") 206 ErrIntOverflowEmpty = fmt.Errorf("proto: integer overflow") 207 ErrUnexpectedEndOfGroupEmpty = fmt.Errorf("proto: unexpected end of group") 208) 209