github.com/s7techlab/cckit@v0.10.5/state/mapping/testdata/schema/with_composite_id.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_composite_id.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 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 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 // EntityWithCompositeId 25 type EntityWithCompositeId struct { 26 state protoimpl.MessageState 27 sizeCache protoimpl.SizeCache 28 unknownFields protoimpl.UnknownFields 29 30 IdFirstPart string `protobuf:"bytes,1,opt,name=id_first_part,json=idFirstPart,proto3" json:"id_first_part,omitempty"` // part of composite primary key 31 IdSecondPart uint32 `protobuf:"varint,2,opt,name=id_second_part,json=idSecondPart,proto3" json:"id_second_part,omitempty"` // part of composite primary key 32 IdThirdPart *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=id_third_part,json=idThirdPart,proto3" json:"id_third_part,omitempty"` // part of composite primary key 33 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` 34 Value int32 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` 35 } 36 37 func (x *EntityWithCompositeId) Reset() { 38 *x = EntityWithCompositeId{} 39 if protoimpl.UnsafeEnabled { 40 mi := &file_mapping_testdata_schema_with_composite_id_proto_msgTypes[0] 41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 42 ms.StoreMessageInfo(mi) 43 } 44 } 45 46 func (x *EntityWithCompositeId) String() string { 47 return protoimpl.X.MessageStringOf(x) 48 } 49 50 func (*EntityWithCompositeId) ProtoMessage() {} 51 52 func (x *EntityWithCompositeId) ProtoReflect() protoreflect.Message { 53 mi := &file_mapping_testdata_schema_with_composite_id_proto_msgTypes[0] 54 if protoimpl.UnsafeEnabled && x != nil { 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 if ms.LoadMessageInfo() == nil { 57 ms.StoreMessageInfo(mi) 58 } 59 return ms 60 } 61 return mi.MessageOf(x) 62 } 63 64 // Deprecated: Use EntityWithCompositeId.ProtoReflect.Descriptor instead. 65 func (*EntityWithCompositeId) Descriptor() ([]byte, []int) { 66 return file_mapping_testdata_schema_with_composite_id_proto_rawDescGZIP(), []int{0} 67 } 68 69 func (x *EntityWithCompositeId) GetIdFirstPart() string { 70 if x != nil { 71 return x.IdFirstPart 72 } 73 return "" 74 } 75 76 func (x *EntityWithCompositeId) GetIdSecondPart() uint32 { 77 if x != nil { 78 return x.IdSecondPart 79 } 80 return 0 81 } 82 83 func (x *EntityWithCompositeId) GetIdThirdPart() *timestamppb.Timestamp { 84 if x != nil { 85 return x.IdThirdPart 86 } 87 return nil 88 } 89 90 func (x *EntityWithCompositeId) GetName() string { 91 if x != nil { 92 return x.Name 93 } 94 return "" 95 } 96 97 func (x *EntityWithCompositeId) GetValue() int32 { 98 if x != nil { 99 return x.Value 100 } 101 return 0 102 } 103 104 // EntityCompositeId - container for composite primary key 105 type EntityCompositeId struct { 106 state protoimpl.MessageState 107 sizeCache protoimpl.SizeCache 108 unknownFields protoimpl.UnknownFields 109 110 IdFirstPart string `protobuf:"bytes,1,opt,name=id_first_part,json=idFirstPart,proto3" json:"id_first_part,omitempty"` 111 IdSecondPart uint32 `protobuf:"varint,2,opt,name=id_second_part,json=idSecondPart,proto3" json:"id_second_part,omitempty"` 112 IdThirdPart *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=id_third_part,json=idThirdPart,proto3" json:"id_third_part,omitempty"` 113 } 114 115 func (x *EntityCompositeId) Reset() { 116 *x = EntityCompositeId{} 117 if protoimpl.UnsafeEnabled { 118 mi := &file_mapping_testdata_schema_with_composite_id_proto_msgTypes[1] 119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 120 ms.StoreMessageInfo(mi) 121 } 122 } 123 124 func (x *EntityCompositeId) String() string { 125 return protoimpl.X.MessageStringOf(x) 126 } 127 128 func (*EntityCompositeId) ProtoMessage() {} 129 130 func (x *EntityCompositeId) ProtoReflect() protoreflect.Message { 131 mi := &file_mapping_testdata_schema_with_composite_id_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 EntityCompositeId.ProtoReflect.Descriptor instead. 143 func (*EntityCompositeId) Descriptor() ([]byte, []int) { 144 return file_mapping_testdata_schema_with_composite_id_proto_rawDescGZIP(), []int{1} 145 } 146 147 func (x *EntityCompositeId) GetIdFirstPart() string { 148 if x != nil { 149 return x.IdFirstPart 150 } 151 return "" 152 } 153 154 func (x *EntityCompositeId) GetIdSecondPart() uint32 { 155 if x != nil { 156 return x.IdSecondPart 157 } 158 return 0 159 } 160 161 func (x *EntityCompositeId) GetIdThirdPart() *timestamppb.Timestamp { 162 if x != nil { 163 return x.IdThirdPart 164 } 165 return nil 166 } 167 168 // EntityWithCompositeIdList 169 type EntityWithCompositeIdList struct { 170 state protoimpl.MessageState 171 sizeCache protoimpl.SizeCache 172 unknownFields protoimpl.UnknownFields 173 174 Items []*EntityWithCompositeId `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` 175 } 176 177 func (x *EntityWithCompositeIdList) Reset() { 178 *x = EntityWithCompositeIdList{} 179 if protoimpl.UnsafeEnabled { 180 mi := &file_mapping_testdata_schema_with_composite_id_proto_msgTypes[2] 181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 182 ms.StoreMessageInfo(mi) 183 } 184 } 185 186 func (x *EntityWithCompositeIdList) String() string { 187 return protoimpl.X.MessageStringOf(x) 188 } 189 190 func (*EntityWithCompositeIdList) ProtoMessage() {} 191 192 func (x *EntityWithCompositeIdList) ProtoReflect() protoreflect.Message { 193 mi := &file_mapping_testdata_schema_with_composite_id_proto_msgTypes[2] 194 if protoimpl.UnsafeEnabled && x != nil { 195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 196 if ms.LoadMessageInfo() == nil { 197 ms.StoreMessageInfo(mi) 198 } 199 return ms 200 } 201 return mi.MessageOf(x) 202 } 203 204 // Deprecated: Use EntityWithCompositeIdList.ProtoReflect.Descriptor instead. 205 func (*EntityWithCompositeIdList) Descriptor() ([]byte, []int) { 206 return file_mapping_testdata_schema_with_composite_id_proto_rawDescGZIP(), []int{2} 207 } 208 209 func (x *EntityWithCompositeIdList) GetItems() []*EntityWithCompositeId { 210 if x != nil { 211 return x.Items 212 } 213 return nil 214 } 215 216 // CreateEntityWithCompositeId 217 type CreateEntityWithCompositeId struct { 218 state protoimpl.MessageState 219 sizeCache protoimpl.SizeCache 220 unknownFields protoimpl.UnknownFields 221 222 IdFirstPart string `protobuf:"bytes,1,opt,name=id_first_part,json=idFirstPart,proto3" json:"id_first_part,omitempty"` 223 IdSecondPart uint32 `protobuf:"varint,2,opt,name=id_second_part,json=idSecondPart,proto3" json:"id_second_part,omitempty"` 224 IdThirdPart *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=id_third_part,json=idThirdPart,proto3" json:"id_third_part,omitempty"` 225 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` 226 Value int32 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` 227 } 228 229 func (x *CreateEntityWithCompositeId) Reset() { 230 *x = CreateEntityWithCompositeId{} 231 if protoimpl.UnsafeEnabled { 232 mi := &file_mapping_testdata_schema_with_composite_id_proto_msgTypes[3] 233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 234 ms.StoreMessageInfo(mi) 235 } 236 } 237 238 func (x *CreateEntityWithCompositeId) String() string { 239 return protoimpl.X.MessageStringOf(x) 240 } 241 242 func (*CreateEntityWithCompositeId) ProtoMessage() {} 243 244 func (x *CreateEntityWithCompositeId) ProtoReflect() protoreflect.Message { 245 mi := &file_mapping_testdata_schema_with_composite_id_proto_msgTypes[3] 246 if protoimpl.UnsafeEnabled && x != nil { 247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 248 if ms.LoadMessageInfo() == nil { 249 ms.StoreMessageInfo(mi) 250 } 251 return ms 252 } 253 return mi.MessageOf(x) 254 } 255 256 // Deprecated: Use CreateEntityWithCompositeId.ProtoReflect.Descriptor instead. 257 func (*CreateEntityWithCompositeId) Descriptor() ([]byte, []int) { 258 return file_mapping_testdata_schema_with_composite_id_proto_rawDescGZIP(), []int{3} 259 } 260 261 func (x *CreateEntityWithCompositeId) GetIdFirstPart() string { 262 if x != nil { 263 return x.IdFirstPart 264 } 265 return "" 266 } 267 268 func (x *CreateEntityWithCompositeId) GetIdSecondPart() uint32 { 269 if x != nil { 270 return x.IdSecondPart 271 } 272 return 0 273 } 274 275 func (x *CreateEntityWithCompositeId) GetIdThirdPart() *timestamppb.Timestamp { 276 if x != nil { 277 return x.IdThirdPart 278 } 279 return nil 280 } 281 282 func (x *CreateEntityWithCompositeId) GetName() string { 283 if x != nil { 284 return x.Name 285 } 286 return "" 287 } 288 289 func (x *CreateEntityWithCompositeId) GetValue() int32 { 290 if x != nil { 291 return x.Value 292 } 293 return 0 294 } 295 296 // UpdateEntityWithCompositeId 297 type UpdateEntityWithCompositeId struct { 298 state protoimpl.MessageState 299 sizeCache protoimpl.SizeCache 300 unknownFields protoimpl.UnknownFields 301 302 IdFirstPart string `protobuf:"bytes,1,opt,name=id_first_part,json=idFirstPart,proto3" json:"id_first_part,omitempty"` 303 IdSecondPart uint32 `protobuf:"varint,2,opt,name=id_second_part,json=idSecondPart,proto3" json:"id_second_part,omitempty"` 304 IdThirdPart *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=id_third_part,json=idThirdPart,proto3" json:"id_third_part,omitempty"` 305 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` 306 Value int32 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` 307 } 308 309 func (x *UpdateEntityWithCompositeId) Reset() { 310 *x = UpdateEntityWithCompositeId{} 311 if protoimpl.UnsafeEnabled { 312 mi := &file_mapping_testdata_schema_with_composite_id_proto_msgTypes[4] 313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 314 ms.StoreMessageInfo(mi) 315 } 316 } 317 318 func (x *UpdateEntityWithCompositeId) String() string { 319 return protoimpl.X.MessageStringOf(x) 320 } 321 322 func (*UpdateEntityWithCompositeId) ProtoMessage() {} 323 324 func (x *UpdateEntityWithCompositeId) ProtoReflect() protoreflect.Message { 325 mi := &file_mapping_testdata_schema_with_composite_id_proto_msgTypes[4] 326 if protoimpl.UnsafeEnabled && x != nil { 327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 328 if ms.LoadMessageInfo() == nil { 329 ms.StoreMessageInfo(mi) 330 } 331 return ms 332 } 333 return mi.MessageOf(x) 334 } 335 336 // Deprecated: Use UpdateEntityWithCompositeId.ProtoReflect.Descriptor instead. 337 func (*UpdateEntityWithCompositeId) Descriptor() ([]byte, []int) { 338 return file_mapping_testdata_schema_with_composite_id_proto_rawDescGZIP(), []int{4} 339 } 340 341 func (x *UpdateEntityWithCompositeId) GetIdFirstPart() string { 342 if x != nil { 343 return x.IdFirstPart 344 } 345 return "" 346 } 347 348 func (x *UpdateEntityWithCompositeId) GetIdSecondPart() uint32 { 349 if x != nil { 350 return x.IdSecondPart 351 } 352 return 0 353 } 354 355 func (x *UpdateEntityWithCompositeId) GetIdThirdPart() *timestamppb.Timestamp { 356 if x != nil { 357 return x.IdThirdPart 358 } 359 return nil 360 } 361 362 func (x *UpdateEntityWithCompositeId) GetName() string { 363 if x != nil { 364 return x.Name 365 } 366 return "" 367 } 368 369 func (x *UpdateEntityWithCompositeId) GetValue() int32 { 370 if x != nil { 371 return x.Value 372 } 373 return 0 374 } 375 376 var File_mapping_testdata_schema_with_composite_id_proto protoreflect.FileDescriptor 377 378 var file_mapping_testdata_schema_with_composite_id_proto_rawDesc = []byte{ 379 0x0a, 0x2f, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 380 0x74, 0x61, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x63, 381 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 382 0x6f, 0x12, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 383 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 384 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcb, 0x01, 0x0a, 0x15, 0x45, 385 0x6e, 0x74, 0x69, 0x74, 0x79, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 386 0x74, 0x65, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x64, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 387 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x64, 0x46, 388 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x64, 0x5f, 0x73, 389 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 390 0x52, 0x0c, 0x69, 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x12, 0x3e, 391 0x0a, 0x0d, 0x69, 0x64, 0x5f, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 392 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 393 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 394 0x70, 0x52, 0x0b, 0x69, 0x64, 0x54, 0x68, 0x69, 0x72, 0x64, 0x50, 0x61, 0x72, 0x74, 0x12, 0x12, 395 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 396 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 397 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x11, 0x45, 0x6e, 0x74, 398 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x22, 399 0x0a, 0x0d, 0x69, 0x64, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 400 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x64, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 401 0x72, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x64, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 402 0x70, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x69, 0x64, 0x53, 0x65, 403 0x63, 0x6f, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x69, 0x64, 0x5f, 0x74, 404 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 405 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 406 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x69, 0x64, 0x54, 407 0x68, 0x69, 0x72, 0x64, 0x50, 0x61, 0x72, 0x74, 0x22, 0x50, 0x0a, 0x19, 0x45, 0x6e, 0x74, 0x69, 408 0x74, 0x79, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x49, 409 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 410 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x45, 0x6e, 411 0x74, 0x69, 0x74, 0x79, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 412 0x65, 0x49, 0x64, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0xd1, 0x01, 0x0a, 0x1b, 0x43, 413 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x57, 0x69, 0x74, 0x68, 0x43, 414 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x64, 415 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 416 0x09, 0x52, 0x0b, 0x69, 0x64, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x24, 417 0x0a, 0x0e, 0x69, 0x64, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 418 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x69, 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 419 0x50, 0x61, 0x72, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x69, 0x64, 0x5f, 0x74, 0x68, 0x69, 0x72, 0x64, 420 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 421 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 422 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x69, 0x64, 0x54, 0x68, 0x69, 0x72, 0x64, 423 0x50, 0x61, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 424 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 425 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xd1, 426 0x01, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x57, 427 0x69, 0x74, 0x68, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x22, 428 0x0a, 0x0d, 0x69, 0x64, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 429 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x64, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 430 0x72, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x64, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 431 0x70, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x69, 0x64, 0x53, 0x65, 432 0x63, 0x6f, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x69, 0x64, 0x5f, 0x74, 433 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 434 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 435 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x69, 0x64, 0x54, 436 0x68, 0x69, 0x72, 0x64, 0x50, 0x61, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 437 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 438 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 439 0x75, 0x65, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 440 0x2f, 0x73, 0x37, 0x74, 0x65, 0x63, 0x68, 0x6c, 0x61, 0x62, 0x2f, 0x63, 0x63, 0x6b, 0x69, 0x74, 441 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x74, 442 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x62, 0x06, 443 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 444 } 445 446 var ( 447 file_mapping_testdata_schema_with_composite_id_proto_rawDescOnce sync.Once 448 file_mapping_testdata_schema_with_composite_id_proto_rawDescData = file_mapping_testdata_schema_with_composite_id_proto_rawDesc 449 ) 450 451 func file_mapping_testdata_schema_with_composite_id_proto_rawDescGZIP() []byte { 452 file_mapping_testdata_schema_with_composite_id_proto_rawDescOnce.Do(func() { 453 file_mapping_testdata_schema_with_composite_id_proto_rawDescData = protoimpl.X.CompressGZIP(file_mapping_testdata_schema_with_composite_id_proto_rawDescData) 454 }) 455 return file_mapping_testdata_schema_with_composite_id_proto_rawDescData 456 } 457 458 var file_mapping_testdata_schema_with_composite_id_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 459 var file_mapping_testdata_schema_with_composite_id_proto_goTypes = []interface{}{ 460 (*EntityWithCompositeId)(nil), // 0: schema.EntityWithCompositeId 461 (*EntityCompositeId)(nil), // 1: schema.EntityCompositeId 462 (*EntityWithCompositeIdList)(nil), // 2: schema.EntityWithCompositeIdList 463 (*CreateEntityWithCompositeId)(nil), // 3: schema.CreateEntityWithCompositeId 464 (*UpdateEntityWithCompositeId)(nil), // 4: schema.UpdateEntityWithCompositeId 465 (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp 466 } 467 var file_mapping_testdata_schema_with_composite_id_proto_depIdxs = []int32{ 468 5, // 0: schema.EntityWithCompositeId.id_third_part:type_name -> google.protobuf.Timestamp 469 5, // 1: schema.EntityCompositeId.id_third_part:type_name -> google.protobuf.Timestamp 470 0, // 2: schema.EntityWithCompositeIdList.items:type_name -> schema.EntityWithCompositeId 471 5, // 3: schema.CreateEntityWithCompositeId.id_third_part:type_name -> google.protobuf.Timestamp 472 5, // 4: schema.UpdateEntityWithCompositeId.id_third_part:type_name -> google.protobuf.Timestamp 473 5, // [5:5] is the sub-list for method output_type 474 5, // [5:5] is the sub-list for method input_type 475 5, // [5:5] is the sub-list for extension type_name 476 5, // [5:5] is the sub-list for extension extendee 477 0, // [0:5] is the sub-list for field type_name 478 } 479 480 func init() { file_mapping_testdata_schema_with_composite_id_proto_init() } 481 func file_mapping_testdata_schema_with_composite_id_proto_init() { 482 if File_mapping_testdata_schema_with_composite_id_proto != nil { 483 return 484 } 485 if !protoimpl.UnsafeEnabled { 486 file_mapping_testdata_schema_with_composite_id_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 487 switch v := v.(*EntityWithCompositeId); i { 488 case 0: 489 return &v.state 490 case 1: 491 return &v.sizeCache 492 case 2: 493 return &v.unknownFields 494 default: 495 return nil 496 } 497 } 498 file_mapping_testdata_schema_with_composite_id_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 499 switch v := v.(*EntityCompositeId); i { 500 case 0: 501 return &v.state 502 case 1: 503 return &v.sizeCache 504 case 2: 505 return &v.unknownFields 506 default: 507 return nil 508 } 509 } 510 file_mapping_testdata_schema_with_composite_id_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 511 switch v := v.(*EntityWithCompositeIdList); i { 512 case 0: 513 return &v.state 514 case 1: 515 return &v.sizeCache 516 case 2: 517 return &v.unknownFields 518 default: 519 return nil 520 } 521 } 522 file_mapping_testdata_schema_with_composite_id_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 523 switch v := v.(*CreateEntityWithCompositeId); i { 524 case 0: 525 return &v.state 526 case 1: 527 return &v.sizeCache 528 case 2: 529 return &v.unknownFields 530 default: 531 return nil 532 } 533 } 534 file_mapping_testdata_schema_with_composite_id_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 535 switch v := v.(*UpdateEntityWithCompositeId); i { 536 case 0: 537 return &v.state 538 case 1: 539 return &v.sizeCache 540 case 2: 541 return &v.unknownFields 542 default: 543 return nil 544 } 545 } 546 } 547 type x struct{} 548 out := protoimpl.TypeBuilder{ 549 File: protoimpl.DescBuilder{ 550 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 551 RawDescriptor: file_mapping_testdata_schema_with_composite_id_proto_rawDesc, 552 NumEnums: 0, 553 NumMessages: 5, 554 NumExtensions: 0, 555 NumServices: 0, 556 }, 557 GoTypes: file_mapping_testdata_schema_with_composite_id_proto_goTypes, 558 DependencyIndexes: file_mapping_testdata_schema_with_composite_id_proto_depIdxs, 559 MessageInfos: file_mapping_testdata_schema_with_composite_id_proto_msgTypes, 560 }.Build() 561 File_mapping_testdata_schema_with_composite_id_proto = out.File 562 file_mapping_testdata_schema_with_composite_id_proto_rawDesc = nil 563 file_mapping_testdata_schema_with_composite_id_proto_goTypes = nil 564 file_mapping_testdata_schema_with_composite_id_proto_depIdxs = nil 565 }