github.com/junaozun/protoc-gen-go-clone@v0.0.0-20231229025521-89199567f720/cmd/protoc-gen-clone/example/example.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.26.0 4 // protoc v3.17.3 5 // source: example.proto 6 7 package example 8 9 import ( 10 common1 "github.com/junaozun/protoc-gen-go-clone/cmd/protoc-gen-clone/example/common1" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 //专属装备抽卡 25 // |DrawOnlyEquipBack 26 type DrawOnlyEquipBack struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 31 Stu map[int32]*StudentMc `protobuf:"bytes,1,rep,name=stu,proto3" json:"stu,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 32 DrawData map[int32]*DrawOnlyEquipBack_DrawData `protobuf:"bytes,2,rep,name=drawData,proto3" json:"drawData,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 33 SpecialDrawCount map[int32]string `protobuf:"bytes,10,rep,name=specialDrawCount,proto3" json:"specialDrawCount,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 34 } 35 36 func (x *DrawOnlyEquipBack) Reset() { 37 *x = DrawOnlyEquipBack{} 38 if protoimpl.UnsafeEnabled { 39 mi := &file_example_proto_msgTypes[0] 40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 41 ms.StoreMessageInfo(mi) 42 } 43 } 44 45 func (x *DrawOnlyEquipBack) String() string { 46 return protoimpl.X.MessageStringOf(x) 47 } 48 49 func (*DrawOnlyEquipBack) ProtoMessage() {} 50 51 func (x *DrawOnlyEquipBack) ProtoReflect() protoreflect.Message { 52 mi := &file_example_proto_msgTypes[0] 53 if protoimpl.UnsafeEnabled && x != nil { 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 if ms.LoadMessageInfo() == nil { 56 ms.StoreMessageInfo(mi) 57 } 58 return ms 59 } 60 return mi.MessageOf(x) 61 } 62 63 // Deprecated: Use DrawOnlyEquipBack.ProtoReflect.Descriptor instead. 64 func (*DrawOnlyEquipBack) Descriptor() ([]byte, []int) { 65 return file_example_proto_rawDescGZIP(), []int{0} 66 } 67 68 func (x *DrawOnlyEquipBack) GetStu() map[int32]*StudentMc { 69 if x != nil { 70 return x.Stu 71 } 72 return nil 73 } 74 75 func (x *DrawOnlyEquipBack) GetDrawData() map[int32]*DrawOnlyEquipBack_DrawData { 76 if x != nil { 77 return x.DrawData 78 } 79 return nil 80 } 81 82 func (x *DrawOnlyEquipBack) GetSpecialDrawCount() map[int32]string { 83 if x != nil { 84 return x.SpecialDrawCount 85 } 86 return nil 87 } 88 89 type StudentMc struct { 90 state protoimpl.MessageState 91 sizeCache protoimpl.SizeCache 92 unknownFields protoimpl.UnknownFields 93 94 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 95 } 96 97 func (x *StudentMc) Reset() { 98 *x = StudentMc{} 99 if protoimpl.UnsafeEnabled { 100 mi := &file_example_proto_msgTypes[1] 101 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 102 ms.StoreMessageInfo(mi) 103 } 104 } 105 106 func (x *StudentMc) String() string { 107 return protoimpl.X.MessageStringOf(x) 108 } 109 110 func (*StudentMc) ProtoMessage() {} 111 112 func (x *StudentMc) ProtoReflect() protoreflect.Message { 113 mi := &file_example_proto_msgTypes[1] 114 if protoimpl.UnsafeEnabled && x != nil { 115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 116 if ms.LoadMessageInfo() == nil { 117 ms.StoreMessageInfo(mi) 118 } 119 return ms 120 } 121 return mi.MessageOf(x) 122 } 123 124 // Deprecated: Use StudentMc.ProtoReflect.Descriptor instead. 125 func (*StudentMc) Descriptor() ([]byte, []int) { 126 return file_example_proto_rawDescGZIP(), []int{1} 127 } 128 129 func (x *StudentMc) GetName() string { 130 if x != nil { 131 return x.Name 132 } 133 return "" 134 } 135 136 // |User 137 type User struct { 138 state protoimpl.MessageState 139 sizeCache protoimpl.SizeCache 140 unknownFields protoimpl.UnknownFields 141 142 User *common1.User `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"` 143 } 144 145 func (x *User) Reset() { 146 *x = User{} 147 if protoimpl.UnsafeEnabled { 148 mi := &file_example_proto_msgTypes[2] 149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 150 ms.StoreMessageInfo(mi) 151 } 152 } 153 154 func (x *User) String() string { 155 return protoimpl.X.MessageStringOf(x) 156 } 157 158 func (*User) ProtoMessage() {} 159 160 func (x *User) ProtoReflect() protoreflect.Message { 161 mi := &file_example_proto_msgTypes[2] 162 if protoimpl.UnsafeEnabled && x != nil { 163 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 164 if ms.LoadMessageInfo() == nil { 165 ms.StoreMessageInfo(mi) 166 } 167 return ms 168 } 169 return mi.MessageOf(x) 170 } 171 172 // Deprecated: Use User.ProtoReflect.Descriptor instead. 173 func (*User) Descriptor() ([]byte, []int) { 174 return file_example_proto_rawDescGZIP(), []int{2} 175 } 176 177 func (x *User) GetUser() *common1.User { 178 if x != nil { 179 return x.User 180 } 181 return nil 182 } 183 184 type DrawOnlyEquipBack_DrawData struct { 185 state protoimpl.MessageState 186 sizeCache protoimpl.SizeCache 187 unknownFields protoimpl.UnknownFields 188 189 SpecialDrawCount map[string]int32 `protobuf:"bytes,1,rep,name=specialDrawCount,proto3" json:"specialDrawCount,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 特殊规则 190 HistoryDrawCount int32 `protobuf:"varint,10,opt,name=historyDrawCount,proto3" json:"historyDrawCount,omitempty"` //历史抽卡总次数 191 ResId int32 `protobuf:"varint,11,opt,name=resId,proto3" json:"resId,omitempty"` //根据资源Id重制一些变量 192 } 193 194 func (x *DrawOnlyEquipBack_DrawData) Reset() { 195 *x = DrawOnlyEquipBack_DrawData{} 196 if protoimpl.UnsafeEnabled { 197 mi := &file_example_proto_msgTypes[3] 198 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 199 ms.StoreMessageInfo(mi) 200 } 201 } 202 203 func (x *DrawOnlyEquipBack_DrawData) String() string { 204 return protoimpl.X.MessageStringOf(x) 205 } 206 207 func (*DrawOnlyEquipBack_DrawData) ProtoMessage() {} 208 209 func (x *DrawOnlyEquipBack_DrawData) ProtoReflect() protoreflect.Message { 210 mi := &file_example_proto_msgTypes[3] 211 if protoimpl.UnsafeEnabled && x != nil { 212 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 213 if ms.LoadMessageInfo() == nil { 214 ms.StoreMessageInfo(mi) 215 } 216 return ms 217 } 218 return mi.MessageOf(x) 219 } 220 221 // Deprecated: Use DrawOnlyEquipBack_DrawData.ProtoReflect.Descriptor instead. 222 func (*DrawOnlyEquipBack_DrawData) Descriptor() ([]byte, []int) { 223 return file_example_proto_rawDescGZIP(), []int{0, 0} 224 } 225 226 func (x *DrawOnlyEquipBack_DrawData) GetSpecialDrawCount() map[string]int32 { 227 if x != nil { 228 return x.SpecialDrawCount 229 } 230 return nil 231 } 232 233 func (x *DrawOnlyEquipBack_DrawData) GetHistoryDrawCount() int32 { 234 if x != nil { 235 return x.HistoryDrawCount 236 } 237 return 0 238 } 239 240 func (x *DrawOnlyEquipBack_DrawData) GetResId() int32 { 241 if x != nil { 242 return x.ResId 243 } 244 return 0 245 } 246 247 var File_example_proto protoreflect.FileDescriptor 248 249 var file_example_proto_rawDesc = []byte{ 250 0x0a, 0x0d, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 251 0x07, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x1a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 252 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdc, 0x05, 0x0a, 0x11, 0x44, 0x72, 0x61, 0x77, 253 0x4f, 0x6e, 0x6c, 0x79, 0x45, 0x71, 0x75, 0x69, 0x70, 0x42, 0x61, 0x63, 0x6b, 0x12, 0x35, 0x0a, 254 0x03, 0x73, 0x74, 0x75, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x78, 0x61, 255 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x44, 0x72, 0x61, 0x77, 0x4f, 0x6e, 0x6c, 0x79, 0x45, 0x71, 0x75, 256 0x69, 0x70, 0x42, 0x61, 0x63, 0x6b, 0x2e, 0x53, 0x74, 0x75, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 257 0x03, 0x73, 0x74, 0x75, 0x12, 0x44, 0x0a, 0x08, 0x64, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 258 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 259 0x2e, 0x44, 0x72, 0x61, 0x77, 0x4f, 0x6e, 0x6c, 0x79, 0x45, 0x71, 0x75, 0x69, 0x70, 0x42, 0x61, 260 0x63, 0x6b, 0x2e, 0x44, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 261 0x52, 0x08, 0x64, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x5c, 0x0a, 0x10, 0x73, 0x70, 262 0x65, 0x63, 0x69, 0x61, 0x6c, 0x44, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 263 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x44, 264 0x72, 0x61, 0x77, 0x4f, 0x6e, 0x6c, 0x79, 0x45, 0x71, 0x75, 0x69, 0x70, 0x42, 0x61, 0x63, 0x6b, 265 0x2e, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x44, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x75, 0x6e, 266 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x44, 267 0x72, 0x61, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0xf8, 0x01, 0x0a, 0x08, 0x44, 0x72, 0x61, 268 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x65, 0x0a, 0x10, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 269 0x44, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 270 0x39, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x44, 0x72, 0x61, 0x77, 0x4f, 0x6e, 271 0x6c, 0x79, 0x45, 0x71, 0x75, 0x69, 0x70, 0x42, 0x61, 0x63, 0x6b, 0x2e, 0x44, 0x72, 0x61, 0x77, 272 0x44, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x44, 0x72, 0x61, 0x77, 273 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x73, 0x70, 0x65, 0x63, 274 0x69, 0x61, 0x6c, 0x44, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x10, 275 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 276 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x44, 277 0x72, 0x61, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x73, 0x49, 278 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x65, 0x73, 0x49, 0x64, 0x1a, 0x43, 279 0x0a, 0x15, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x44, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x75, 280 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 281 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 282 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 283 0x02, 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x08, 0x53, 0x74, 0x75, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 284 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 285 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 286 0x32, 0x12, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x53, 0x74, 0x75, 0x64, 0x65, 287 0x6e, 0x74, 0x4d, 0x63, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 288 0x60, 0x0a, 0x0d, 0x44, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 289 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 290 0x65, 0x79, 0x12, 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 291 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x44, 0x72, 0x61, 0x77, 292 0x4f, 0x6e, 0x6c, 0x79, 0x45, 0x71, 0x75, 0x69, 0x70, 0x42, 0x61, 0x63, 0x6b, 0x2e, 0x44, 0x72, 293 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 294 0x01, 0x1a, 0x43, 0x0a, 0x15, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x44, 0x72, 0x61, 0x77, 295 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 296 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 297 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 298 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1f, 0x0a, 0x09, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 299 0x74, 0x4d, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 300 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x29, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 301 0x21, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 302 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x55, 0x73, 303 0x65, 0x72, 0x42, 0x41, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x75, 0x75, 0x7a, 304 0x75, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x77, 0x61, 0x72, 0x2f, 0x70, 0x62, 0x74, 0x6f, 0x6f, 0x6c, 305 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 306 0x63, 0x6c, 0x6f, 0x6e, 0x65, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x3b, 0x65, 0x78, 307 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 308 } 309 310 var ( 311 file_example_proto_rawDescOnce sync.Once 312 file_example_proto_rawDescData = file_example_proto_rawDesc 313 ) 314 315 func file_example_proto_rawDescGZIP() []byte { 316 file_example_proto_rawDescOnce.Do(func() { 317 file_example_proto_rawDescData = protoimpl.X.CompressGZIP(file_example_proto_rawDescData) 318 }) 319 return file_example_proto_rawDescData 320 } 321 322 var file_example_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 323 var file_example_proto_goTypes = []interface{}{ 324 (*DrawOnlyEquipBack)(nil), // 0: example.DrawOnlyEquipBack 325 (*StudentMc)(nil), // 1: example.StudentMc 326 (*User)(nil), // 2: example.User 327 (*DrawOnlyEquipBack_DrawData)(nil), // 3: example.DrawOnlyEquipBack.DrawData 328 nil, // 4: example.DrawOnlyEquipBack.StuEntry 329 nil, // 5: example.DrawOnlyEquipBack.DrawDataEntry 330 nil, // 6: example.DrawOnlyEquipBack.SpecialDrawCountEntry 331 nil, // 7: example.DrawOnlyEquipBack.DrawData.SpecialDrawCountEntry 332 (*common1.User)(nil), // 8: common1.User 333 } 334 var file_example_proto_depIdxs = []int32{ 335 4, // 0: example.DrawOnlyEquipBack.stu:type_name -> example.DrawOnlyEquipBack.StuEntry 336 5, // 1: example.DrawOnlyEquipBack.drawData:type_name -> example.DrawOnlyEquipBack.DrawDataEntry 337 6, // 2: example.DrawOnlyEquipBack.specialDrawCount:type_name -> example.DrawOnlyEquipBack.SpecialDrawCountEntry 338 8, // 3: example.User.User:type_name -> common1.User 339 7, // 4: example.DrawOnlyEquipBack.DrawData.specialDrawCount:type_name -> example.DrawOnlyEquipBack.DrawData.SpecialDrawCountEntry 340 1, // 5: example.DrawOnlyEquipBack.StuEntry.value:type_name -> example.StudentMc 341 3, // 6: example.DrawOnlyEquipBack.DrawDataEntry.value:type_name -> example.DrawOnlyEquipBack.DrawData 342 7, // [7:7] is the sub-list for method output_type 343 7, // [7:7] is the sub-list for method input_type 344 7, // [7:7] is the sub-list for extension type_name 345 7, // [7:7] is the sub-list for extension extendee 346 0, // [0:7] is the sub-list for field type_name 347 } 348 349 func init() { file_example_proto_init() } 350 func file_example_proto_init() { 351 if File_example_proto != nil { 352 return 353 } 354 if !protoimpl.UnsafeEnabled { 355 file_example_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 356 switch v := v.(*DrawOnlyEquipBack); i { 357 case 0: 358 return &v.state 359 case 1: 360 return &v.sizeCache 361 case 2: 362 return &v.unknownFields 363 default: 364 return nil 365 } 366 } 367 file_example_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 368 switch v := v.(*StudentMc); i { 369 case 0: 370 return &v.state 371 case 1: 372 return &v.sizeCache 373 case 2: 374 return &v.unknownFields 375 default: 376 return nil 377 } 378 } 379 file_example_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 380 switch v := v.(*User); i { 381 case 0: 382 return &v.state 383 case 1: 384 return &v.sizeCache 385 case 2: 386 return &v.unknownFields 387 default: 388 return nil 389 } 390 } 391 file_example_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 392 switch v := v.(*DrawOnlyEquipBack_DrawData); i { 393 case 0: 394 return &v.state 395 case 1: 396 return &v.sizeCache 397 case 2: 398 return &v.unknownFields 399 default: 400 return nil 401 } 402 } 403 } 404 type x struct{} 405 out := protoimpl.TypeBuilder{ 406 File: protoimpl.DescBuilder{ 407 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 408 RawDescriptor: file_example_proto_rawDesc, 409 NumEnums: 0, 410 NumMessages: 8, 411 NumExtensions: 0, 412 NumServices: 0, 413 }, 414 GoTypes: file_example_proto_goTypes, 415 DependencyIndexes: file_example_proto_depIdxs, 416 MessageInfos: file_example_proto_msgTypes, 417 }.Build() 418 File_example_proto = out.File 419 file_example_proto_rawDesc = nil 420 file_example_proto_goTypes = nil 421 file_example_proto_depIdxs = nil 422 }