github.com/s7techlab/cckit@v0.10.5/state/mapping/testdata/schema/with_indexes.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc (unknown) 5 // source: mapping/testdata/schema/with_indexes.proto 6 7 package schema 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 // EntityWithIndexes 24 type EntityWithIndexes struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 30 // one external id 31 ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` 32 // required multiple external ids (minimum 1) 33 RequiredExternalIds []string `protobuf:"bytes,3,rep,name=required_external_ids,json=requiredExternalIds,proto3" json:"required_external_ids,omitempty"` 34 // optional multiple external ids (minimum 0) 35 OptionalExternalIds []string `protobuf:"bytes,4,rep,name=optional_external_ids,json=optionalExternalIds,proto3" json:"optional_external_ids,omitempty"` 36 Value int32 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` 37 } 38 39 func (x *EntityWithIndexes) Reset() { 40 *x = EntityWithIndexes{} 41 if protoimpl.UnsafeEnabled { 42 mi := &file_mapping_testdata_schema_with_indexes_proto_msgTypes[0] 43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 44 ms.StoreMessageInfo(mi) 45 } 46 } 47 48 func (x *EntityWithIndexes) String() string { 49 return protoimpl.X.MessageStringOf(x) 50 } 51 52 func (*EntityWithIndexes) ProtoMessage() {} 53 54 func (x *EntityWithIndexes) ProtoReflect() protoreflect.Message { 55 mi := &file_mapping_testdata_schema_with_indexes_proto_msgTypes[0] 56 if protoimpl.UnsafeEnabled && x != nil { 57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 58 if ms.LoadMessageInfo() == nil { 59 ms.StoreMessageInfo(mi) 60 } 61 return ms 62 } 63 return mi.MessageOf(x) 64 } 65 66 // Deprecated: Use EntityWithIndexes.ProtoReflect.Descriptor instead. 67 func (*EntityWithIndexes) Descriptor() ([]byte, []int) { 68 return file_mapping_testdata_schema_with_indexes_proto_rawDescGZIP(), []int{0} 69 } 70 71 func (x *EntityWithIndexes) GetId() string { 72 if x != nil { 73 return x.Id 74 } 75 return "" 76 } 77 78 func (x *EntityWithIndexes) GetExternalId() string { 79 if x != nil { 80 return x.ExternalId 81 } 82 return "" 83 } 84 85 func (x *EntityWithIndexes) GetRequiredExternalIds() []string { 86 if x != nil { 87 return x.RequiredExternalIds 88 } 89 return nil 90 } 91 92 func (x *EntityWithIndexes) GetOptionalExternalIds() []string { 93 if x != nil { 94 return x.OptionalExternalIds 95 } 96 return nil 97 } 98 99 func (x *EntityWithIndexes) GetValue() int32 { 100 if x != nil { 101 return x.Value 102 } 103 return 0 104 } 105 106 // EntityWithIndexesList 107 type EntityWithIndexesList struct { 108 state protoimpl.MessageState 109 sizeCache protoimpl.SizeCache 110 unknownFields protoimpl.UnknownFields 111 112 Items []*EntityWithIndexes `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` 113 } 114 115 func (x *EntityWithIndexesList) Reset() { 116 *x = EntityWithIndexesList{} 117 if protoimpl.UnsafeEnabled { 118 mi := &file_mapping_testdata_schema_with_indexes_proto_msgTypes[1] 119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 120 ms.StoreMessageInfo(mi) 121 } 122 } 123 124 func (x *EntityWithIndexesList) String() string { 125 return protoimpl.X.MessageStringOf(x) 126 } 127 128 func (*EntityWithIndexesList) ProtoMessage() {} 129 130 func (x *EntityWithIndexesList) ProtoReflect() protoreflect.Message { 131 mi := &file_mapping_testdata_schema_with_indexes_proto_msgTypes[1] 132 if protoimpl.UnsafeEnabled && x != nil { 133 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 134 if ms.LoadMessageInfo() == nil { 135 ms.StoreMessageInfo(mi) 136 } 137 return ms 138 } 139 return mi.MessageOf(x) 140 } 141 142 // Deprecated: Use EntityWithIndexesList.ProtoReflect.Descriptor instead. 143 func (*EntityWithIndexesList) Descriptor() ([]byte, []int) { 144 return file_mapping_testdata_schema_with_indexes_proto_rawDescGZIP(), []int{1} 145 } 146 147 func (x *EntityWithIndexesList) GetItems() []*EntityWithIndexes { 148 if x != nil { 149 return x.Items 150 } 151 return nil 152 } 153 154 // CreateEntityWithIndexes 155 type CreateEntityWithIndexes struct { 156 state protoimpl.MessageState 157 sizeCache protoimpl.SizeCache 158 unknownFields protoimpl.UnknownFields 159 160 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 161 // one external id 162 ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` 163 // required multiple external ids (minimum 1) 164 RequiredExternalIds []string `protobuf:"bytes,3,rep,name=required_external_ids,json=requiredExternalIds,proto3" json:"required_external_ids,omitempty"` 165 // optional multiple external ids (minimum 0) 166 OptionalExternalIds []string `protobuf:"bytes,4,rep,name=optional_external_ids,json=optionalExternalIds,proto3" json:"optional_external_ids,omitempty"` 167 Value int32 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` 168 } 169 170 func (x *CreateEntityWithIndexes) Reset() { 171 *x = CreateEntityWithIndexes{} 172 if protoimpl.UnsafeEnabled { 173 mi := &file_mapping_testdata_schema_with_indexes_proto_msgTypes[2] 174 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 175 ms.StoreMessageInfo(mi) 176 } 177 } 178 179 func (x *CreateEntityWithIndexes) String() string { 180 return protoimpl.X.MessageStringOf(x) 181 } 182 183 func (*CreateEntityWithIndexes) ProtoMessage() {} 184 185 func (x *CreateEntityWithIndexes) ProtoReflect() protoreflect.Message { 186 mi := &file_mapping_testdata_schema_with_indexes_proto_msgTypes[2] 187 if protoimpl.UnsafeEnabled && x != nil { 188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 189 if ms.LoadMessageInfo() == nil { 190 ms.StoreMessageInfo(mi) 191 } 192 return ms 193 } 194 return mi.MessageOf(x) 195 } 196 197 // Deprecated: Use CreateEntityWithIndexes.ProtoReflect.Descriptor instead. 198 func (*CreateEntityWithIndexes) Descriptor() ([]byte, []int) { 199 return file_mapping_testdata_schema_with_indexes_proto_rawDescGZIP(), []int{2} 200 } 201 202 func (x *CreateEntityWithIndexes) GetId() string { 203 if x != nil { 204 return x.Id 205 } 206 return "" 207 } 208 209 func (x *CreateEntityWithIndexes) GetExternalId() string { 210 if x != nil { 211 return x.ExternalId 212 } 213 return "" 214 } 215 216 func (x *CreateEntityWithIndexes) GetRequiredExternalIds() []string { 217 if x != nil { 218 return x.RequiredExternalIds 219 } 220 return nil 221 } 222 223 func (x *CreateEntityWithIndexes) GetOptionalExternalIds() []string { 224 if x != nil { 225 return x.OptionalExternalIds 226 } 227 return nil 228 } 229 230 func (x *CreateEntityWithIndexes) GetValue() int32 { 231 if x != nil { 232 return x.Value 233 } 234 return 0 235 } 236 237 // UpdateEntityEntityWithIndexes 238 type UpdateEntityWithIndexes struct { 239 state protoimpl.MessageState 240 sizeCache protoimpl.SizeCache 241 unknownFields protoimpl.UnknownFields 242 243 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 244 // one external id 245 ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` 246 // required multiple external ids (minimum 1) 247 RequiredExternalIds []string `protobuf:"bytes,3,rep,name=required_external_ids,json=requiredExternalIds,proto3" json:"required_external_ids,omitempty"` 248 // optional multiple external ids (minimum 0) 249 OptionalExternalIds []string `protobuf:"bytes,4,rep,name=optional_external_ids,json=optionalExternalIds,proto3" json:"optional_external_ids,omitempty"` 250 Value int32 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` 251 } 252 253 func (x *UpdateEntityWithIndexes) Reset() { 254 *x = UpdateEntityWithIndexes{} 255 if protoimpl.UnsafeEnabled { 256 mi := &file_mapping_testdata_schema_with_indexes_proto_msgTypes[3] 257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 258 ms.StoreMessageInfo(mi) 259 } 260 } 261 262 func (x *UpdateEntityWithIndexes) String() string { 263 return protoimpl.X.MessageStringOf(x) 264 } 265 266 func (*UpdateEntityWithIndexes) ProtoMessage() {} 267 268 func (x *UpdateEntityWithIndexes) ProtoReflect() protoreflect.Message { 269 mi := &file_mapping_testdata_schema_with_indexes_proto_msgTypes[3] 270 if protoimpl.UnsafeEnabled && x != nil { 271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 272 if ms.LoadMessageInfo() == nil { 273 ms.StoreMessageInfo(mi) 274 } 275 return ms 276 } 277 return mi.MessageOf(x) 278 } 279 280 // Deprecated: Use UpdateEntityWithIndexes.ProtoReflect.Descriptor instead. 281 func (*UpdateEntityWithIndexes) Descriptor() ([]byte, []int) { 282 return file_mapping_testdata_schema_with_indexes_proto_rawDescGZIP(), []int{3} 283 } 284 285 func (x *UpdateEntityWithIndexes) GetId() string { 286 if x != nil { 287 return x.Id 288 } 289 return "" 290 } 291 292 func (x *UpdateEntityWithIndexes) GetExternalId() string { 293 if x != nil { 294 return x.ExternalId 295 } 296 return "" 297 } 298 299 func (x *UpdateEntityWithIndexes) GetRequiredExternalIds() []string { 300 if x != nil { 301 return x.RequiredExternalIds 302 } 303 return nil 304 } 305 306 func (x *UpdateEntityWithIndexes) GetOptionalExternalIds() []string { 307 if x != nil { 308 return x.OptionalExternalIds 309 } 310 return nil 311 } 312 313 func (x *UpdateEntityWithIndexes) GetValue() int32 { 314 if x != nil { 315 return x.Value 316 } 317 return 0 318 } 319 320 var File_mapping_testdata_schema_with_indexes_proto protoreflect.FileDescriptor 321 322 var file_mapping_testdata_schema_with_indexes_proto_rawDesc = []byte{ 323 0x0a, 0x2a, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 324 0x74, 0x61, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x69, 325 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x73, 0x63, 326 0x68, 0x65, 0x6d, 0x61, 0x22, 0xc2, 0x01, 0x0a, 0x11, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x57, 327 0x69, 0x74, 0x68, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 328 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 329 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 330 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x72, 331 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 332 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x72, 0x65, 0x71, 0x75, 333 0x69, 0x72, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x12, 334 0x32, 0x0a, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 335 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 336 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 337 0x49, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 338 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x48, 0x0a, 0x15, 0x45, 0x6e, 0x74, 339 0x69, 0x74, 0x79, 0x57, 0x69, 0x74, 0x68, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x4c, 0x69, 340 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 341 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 342 0x79, 0x57, 0x69, 0x74, 0x68, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x05, 0x69, 0x74, 343 0x65, 0x6d, 0x73, 0x22, 0xc8, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 344 0x74, 0x69, 0x74, 0x79, 0x57, 0x69, 0x74, 0x68, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 345 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 346 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 347 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 348 0x12, 0x32, 0x0a, 0x15, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x74, 349 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 350 0x13, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 351 0x6c, 0x49, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 352 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 353 0x03, 0x28, 0x09, 0x52, 0x13, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x45, 0x78, 0x74, 354 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 355 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xc8, 356 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x57, 357 0x69, 0x74, 0x68, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 358 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 359 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 360 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x72, 361 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 362 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x72, 0x65, 0x71, 0x75, 363 0x69, 0x72, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x12, 364 0x32, 0x0a, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 365 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 366 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 367 0x49, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 368 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, 369 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x37, 0x74, 0x65, 0x63, 0x68, 0x6c, 0x61, 370 0x62, 0x2f, 0x63, 0x63, 0x6b, 0x69, 0x74, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2f, 0x6d, 0x61, 371 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x73, 372 0x63, 0x68, 0x65, 0x6d, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 373 } 374 375 var ( 376 file_mapping_testdata_schema_with_indexes_proto_rawDescOnce sync.Once 377 file_mapping_testdata_schema_with_indexes_proto_rawDescData = file_mapping_testdata_schema_with_indexes_proto_rawDesc 378 ) 379 380 func file_mapping_testdata_schema_with_indexes_proto_rawDescGZIP() []byte { 381 file_mapping_testdata_schema_with_indexes_proto_rawDescOnce.Do(func() { 382 file_mapping_testdata_schema_with_indexes_proto_rawDescData = protoimpl.X.CompressGZIP(file_mapping_testdata_schema_with_indexes_proto_rawDescData) 383 }) 384 return file_mapping_testdata_schema_with_indexes_proto_rawDescData 385 } 386 387 var file_mapping_testdata_schema_with_indexes_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 388 var file_mapping_testdata_schema_with_indexes_proto_goTypes = []interface{}{ 389 (*EntityWithIndexes)(nil), // 0: schema.EntityWithIndexes 390 (*EntityWithIndexesList)(nil), // 1: schema.EntityWithIndexesList 391 (*CreateEntityWithIndexes)(nil), // 2: schema.CreateEntityWithIndexes 392 (*UpdateEntityWithIndexes)(nil), // 3: schema.UpdateEntityWithIndexes 393 } 394 var file_mapping_testdata_schema_with_indexes_proto_depIdxs = []int32{ 395 0, // 0: schema.EntityWithIndexesList.items:type_name -> schema.EntityWithIndexes 396 1, // [1:1] is the sub-list for method output_type 397 1, // [1:1] is the sub-list for method input_type 398 1, // [1:1] is the sub-list for extension type_name 399 1, // [1:1] is the sub-list for extension extendee 400 0, // [0:1] is the sub-list for field type_name 401 } 402 403 func init() { file_mapping_testdata_schema_with_indexes_proto_init() } 404 func file_mapping_testdata_schema_with_indexes_proto_init() { 405 if File_mapping_testdata_schema_with_indexes_proto != nil { 406 return 407 } 408 if !protoimpl.UnsafeEnabled { 409 file_mapping_testdata_schema_with_indexes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 410 switch v := v.(*EntityWithIndexes); i { 411 case 0: 412 return &v.state 413 case 1: 414 return &v.sizeCache 415 case 2: 416 return &v.unknownFields 417 default: 418 return nil 419 } 420 } 421 file_mapping_testdata_schema_with_indexes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 422 switch v := v.(*EntityWithIndexesList); i { 423 case 0: 424 return &v.state 425 case 1: 426 return &v.sizeCache 427 case 2: 428 return &v.unknownFields 429 default: 430 return nil 431 } 432 } 433 file_mapping_testdata_schema_with_indexes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 434 switch v := v.(*CreateEntityWithIndexes); i { 435 case 0: 436 return &v.state 437 case 1: 438 return &v.sizeCache 439 case 2: 440 return &v.unknownFields 441 default: 442 return nil 443 } 444 } 445 file_mapping_testdata_schema_with_indexes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 446 switch v := v.(*UpdateEntityWithIndexes); i { 447 case 0: 448 return &v.state 449 case 1: 450 return &v.sizeCache 451 case 2: 452 return &v.unknownFields 453 default: 454 return nil 455 } 456 } 457 } 458 type x struct{} 459 out := protoimpl.TypeBuilder{ 460 File: protoimpl.DescBuilder{ 461 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 462 RawDescriptor: file_mapping_testdata_schema_with_indexes_proto_rawDesc, 463 NumEnums: 0, 464 NumMessages: 4, 465 NumExtensions: 0, 466 NumServices: 0, 467 }, 468 GoTypes: file_mapping_testdata_schema_with_indexes_proto_goTypes, 469 DependencyIndexes: file_mapping_testdata_schema_with_indexes_proto_depIdxs, 470 MessageInfos: file_mapping_testdata_schema_with_indexes_proto_msgTypes, 471 }.Build() 472 File_mapping_testdata_schema_with_indexes_proto = out.File 473 file_mapping_testdata_schema_with_indexes_proto_rawDesc = nil 474 file_mapping_testdata_schema_with_indexes_proto_goTypes = nil 475 file_mapping_testdata_schema_with_indexes_proto_depIdxs = nil 476 }