github.com/metaworking/channeld@v0.7.3/internal/testpb/test.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v3.20.1 5 // source: test.proto 6 7 package testpb 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 anypb "google.golang.org/protobuf/types/known/anypb" 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 type TestChannelDataMessage struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` 30 Num uint32 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"` 31 } 32 33 func (x *TestChannelDataMessage) Reset() { 34 *x = TestChannelDataMessage{} 35 if protoimpl.UnsafeEnabled { 36 mi := &file_test_proto_msgTypes[0] 37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 38 ms.StoreMessageInfo(mi) 39 } 40 } 41 42 func (x *TestChannelDataMessage) String() string { 43 return protoimpl.X.MessageStringOf(x) 44 } 45 46 func (*TestChannelDataMessage) ProtoMessage() {} 47 48 func (x *TestChannelDataMessage) ProtoReflect() protoreflect.Message { 49 mi := &file_test_proto_msgTypes[0] 50 if protoimpl.UnsafeEnabled && x != nil { 51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 52 if ms.LoadMessageInfo() == nil { 53 ms.StoreMessageInfo(mi) 54 } 55 return ms 56 } 57 return mi.MessageOf(x) 58 } 59 60 // Deprecated: Use TestChannelDataMessage.ProtoReflect.Descriptor instead. 61 func (*TestChannelDataMessage) Descriptor() ([]byte, []int) { 62 return file_test_proto_rawDescGZIP(), []int{0} 63 } 64 65 func (x *TestChannelDataMessage) GetText() string { 66 if x != nil { 67 return x.Text 68 } 69 return "" 70 } 71 72 func (x *TestChannelDataMessage) GetNum() uint32 { 73 if x != nil { 74 return x.Num 75 } 76 return 0 77 } 78 79 type TestAnyMessage struct { 80 state protoimpl.MessageState 81 sizeCache protoimpl.SizeCache 82 unknownFields protoimpl.UnknownFields 83 84 Msg *anypb.Any `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` 85 List []*anypb.Any `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` 86 } 87 88 func (x *TestAnyMessage) Reset() { 89 *x = TestAnyMessage{} 90 if protoimpl.UnsafeEnabled { 91 mi := &file_test_proto_msgTypes[1] 92 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 93 ms.StoreMessageInfo(mi) 94 } 95 } 96 97 func (x *TestAnyMessage) String() string { 98 return protoimpl.X.MessageStringOf(x) 99 } 100 101 func (*TestAnyMessage) ProtoMessage() {} 102 103 func (x *TestAnyMessage) ProtoReflect() protoreflect.Message { 104 mi := &file_test_proto_msgTypes[1] 105 if protoimpl.UnsafeEnabled && x != nil { 106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 107 if ms.LoadMessageInfo() == nil { 108 ms.StoreMessageInfo(mi) 109 } 110 return ms 111 } 112 return mi.MessageOf(x) 113 } 114 115 // Deprecated: Use TestAnyMessage.ProtoReflect.Descriptor instead. 116 func (*TestAnyMessage) Descriptor() ([]byte, []int) { 117 return file_test_proto_rawDescGZIP(), []int{1} 118 } 119 120 func (x *TestAnyMessage) GetMsg() *anypb.Any { 121 if x != nil { 122 return x.Msg 123 } 124 return nil 125 } 126 127 func (x *TestAnyMessage) GetList() []*anypb.Any { 128 if x != nil { 129 return x.List 130 } 131 return nil 132 } 133 134 type TestMergeMessage struct { 135 state protoimpl.MessageState 136 sizeCache protoimpl.SizeCache 137 unknownFields protoimpl.UnknownFields 138 139 List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` 140 Kv map[int64]*TestMergeMessage_StringWrapper `protobuf:"bytes,2,rep,name=kv,proto3" json:"kv,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 141 } 142 143 func (x *TestMergeMessage) Reset() { 144 *x = TestMergeMessage{} 145 if protoimpl.UnsafeEnabled { 146 mi := &file_test_proto_msgTypes[2] 147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 148 ms.StoreMessageInfo(mi) 149 } 150 } 151 152 func (x *TestMergeMessage) String() string { 153 return protoimpl.X.MessageStringOf(x) 154 } 155 156 func (*TestMergeMessage) ProtoMessage() {} 157 158 func (x *TestMergeMessage) ProtoReflect() protoreflect.Message { 159 mi := &file_test_proto_msgTypes[2] 160 if protoimpl.UnsafeEnabled && x != nil { 161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 162 if ms.LoadMessageInfo() == nil { 163 ms.StoreMessageInfo(mi) 164 } 165 return ms 166 } 167 return mi.MessageOf(x) 168 } 169 170 // Deprecated: Use TestMergeMessage.ProtoReflect.Descriptor instead. 171 func (*TestMergeMessage) Descriptor() ([]byte, []int) { 172 return file_test_proto_rawDescGZIP(), []int{2} 173 } 174 175 func (x *TestMergeMessage) GetList() []string { 176 if x != nil { 177 return x.List 178 } 179 return nil 180 } 181 182 func (x *TestMergeMessage) GetKv() map[int64]*TestMergeMessage_StringWrapper { 183 if x != nil { 184 return x.Kv 185 } 186 return nil 187 } 188 189 type TestMapMessage struct { 190 state protoimpl.MessageState 191 sizeCache protoimpl.SizeCache 192 unknownFields protoimpl.UnknownFields 193 194 Kv map[uint32]string `protobuf:"bytes,1,rep,name=kv,proto3" json:"kv,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 195 Kv2 map[uint32]*TestMapMessage_StringWrapper `protobuf:"bytes,2,rep,name=kv2,proto3" json:"kv2,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 196 Kv3 map[uint32]*TestMapMessage_NullableWrapper `protobuf:"bytes,3,rep,name=kv3,proto3" json:"kv3,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 197 } 198 199 func (x *TestMapMessage) Reset() { 200 *x = TestMapMessage{} 201 if protoimpl.UnsafeEnabled { 202 mi := &file_test_proto_msgTypes[3] 203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 204 ms.StoreMessageInfo(mi) 205 } 206 } 207 208 func (x *TestMapMessage) String() string { 209 return protoimpl.X.MessageStringOf(x) 210 } 211 212 func (*TestMapMessage) ProtoMessage() {} 213 214 func (x *TestMapMessage) ProtoReflect() protoreflect.Message { 215 mi := &file_test_proto_msgTypes[3] 216 if protoimpl.UnsafeEnabled && x != nil { 217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 218 if ms.LoadMessageInfo() == nil { 219 ms.StoreMessageInfo(mi) 220 } 221 return ms 222 } 223 return mi.MessageOf(x) 224 } 225 226 // Deprecated: Use TestMapMessage.ProtoReflect.Descriptor instead. 227 func (*TestMapMessage) Descriptor() ([]byte, []int) { 228 return file_test_proto_rawDescGZIP(), []int{3} 229 } 230 231 func (x *TestMapMessage) GetKv() map[uint32]string { 232 if x != nil { 233 return x.Kv 234 } 235 return nil 236 } 237 238 func (x *TestMapMessage) GetKv2() map[uint32]*TestMapMessage_StringWrapper { 239 if x != nil { 240 return x.Kv2 241 } 242 return nil 243 } 244 245 func (x *TestMapMessage) GetKv3() map[uint32]*TestMapMessage_NullableWrapper { 246 if x != nil { 247 return x.Kv3 248 } 249 return nil 250 } 251 252 type TestFieldMaskMessage struct { 253 state protoimpl.MessageState 254 sizeCache protoimpl.SizeCache 255 unknownFields protoimpl.UnknownFields 256 257 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 258 Msg *TestFieldMaskMessage_NestedMessage `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` 259 List []*TestFieldMaskMessage_NestedMessage `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"` 260 Kv1 map[int64]*TestFieldMaskMessage_NestedMessage `protobuf:"bytes,4,rep,name=kv1,proto3" json:"kv1,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 261 Kv2 map[int64]string `protobuf:"bytes,5,rep,name=kv2,proto3" json:"kv2,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 262 } 263 264 func (x *TestFieldMaskMessage) Reset() { 265 *x = TestFieldMaskMessage{} 266 if protoimpl.UnsafeEnabled { 267 mi := &file_test_proto_msgTypes[4] 268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 269 ms.StoreMessageInfo(mi) 270 } 271 } 272 273 func (x *TestFieldMaskMessage) String() string { 274 return protoimpl.X.MessageStringOf(x) 275 } 276 277 func (*TestFieldMaskMessage) ProtoMessage() {} 278 279 func (x *TestFieldMaskMessage) ProtoReflect() protoreflect.Message { 280 mi := &file_test_proto_msgTypes[4] 281 if protoimpl.UnsafeEnabled && x != nil { 282 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 283 if ms.LoadMessageInfo() == nil { 284 ms.StoreMessageInfo(mi) 285 } 286 return ms 287 } 288 return mi.MessageOf(x) 289 } 290 291 // Deprecated: Use TestFieldMaskMessage.ProtoReflect.Descriptor instead. 292 func (*TestFieldMaskMessage) Descriptor() ([]byte, []int) { 293 return file_test_proto_rawDescGZIP(), []int{4} 294 } 295 296 func (x *TestFieldMaskMessage) GetName() string { 297 if x != nil { 298 return x.Name 299 } 300 return "" 301 } 302 303 func (x *TestFieldMaskMessage) GetMsg() *TestFieldMaskMessage_NestedMessage { 304 if x != nil { 305 return x.Msg 306 } 307 return nil 308 } 309 310 func (x *TestFieldMaskMessage) GetList() []*TestFieldMaskMessage_NestedMessage { 311 if x != nil { 312 return x.List 313 } 314 return nil 315 } 316 317 func (x *TestFieldMaskMessage) GetKv1() map[int64]*TestFieldMaskMessage_NestedMessage { 318 if x != nil { 319 return x.Kv1 320 } 321 return nil 322 } 323 324 func (x *TestFieldMaskMessage) GetKv2() map[int64]string { 325 if x != nil { 326 return x.Kv2 327 } 328 return nil 329 } 330 331 type TestAnyMessage_Type1 struct { 332 state protoimpl.MessageState 333 sizeCache protoimpl.SizeCache 334 unknownFields protoimpl.UnknownFields 335 336 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 337 } 338 339 func (x *TestAnyMessage_Type1) Reset() { 340 *x = TestAnyMessage_Type1{} 341 if protoimpl.UnsafeEnabled { 342 mi := &file_test_proto_msgTypes[5] 343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 344 ms.StoreMessageInfo(mi) 345 } 346 } 347 348 func (x *TestAnyMessage_Type1) String() string { 349 return protoimpl.X.MessageStringOf(x) 350 } 351 352 func (*TestAnyMessage_Type1) ProtoMessage() {} 353 354 func (x *TestAnyMessage_Type1) ProtoReflect() protoreflect.Message { 355 mi := &file_test_proto_msgTypes[5] 356 if protoimpl.UnsafeEnabled && x != nil { 357 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 358 if ms.LoadMessageInfo() == nil { 359 ms.StoreMessageInfo(mi) 360 } 361 return ms 362 } 363 return mi.MessageOf(x) 364 } 365 366 // Deprecated: Use TestAnyMessage_Type1.ProtoReflect.Descriptor instead. 367 func (*TestAnyMessage_Type1) Descriptor() ([]byte, []int) { 368 return file_test_proto_rawDescGZIP(), []int{1, 0} 369 } 370 371 func (x *TestAnyMessage_Type1) GetValue() string { 372 if x != nil { 373 return x.Value 374 } 375 return "" 376 } 377 378 type TestAnyMessage_Type2 struct { 379 state protoimpl.MessageState 380 sizeCache protoimpl.SizeCache 381 unknownFields protoimpl.UnknownFields 382 383 Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 384 } 385 386 func (x *TestAnyMessage_Type2) Reset() { 387 *x = TestAnyMessage_Type2{} 388 if protoimpl.UnsafeEnabled { 389 mi := &file_test_proto_msgTypes[6] 390 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 391 ms.StoreMessageInfo(mi) 392 } 393 } 394 395 func (x *TestAnyMessage_Type2) String() string { 396 return protoimpl.X.MessageStringOf(x) 397 } 398 399 func (*TestAnyMessage_Type2) ProtoMessage() {} 400 401 func (x *TestAnyMessage_Type2) ProtoReflect() protoreflect.Message { 402 mi := &file_test_proto_msgTypes[6] 403 if protoimpl.UnsafeEnabled && x != nil { 404 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 405 if ms.LoadMessageInfo() == nil { 406 ms.StoreMessageInfo(mi) 407 } 408 return ms 409 } 410 return mi.MessageOf(x) 411 } 412 413 // Deprecated: Use TestAnyMessage_Type2.ProtoReflect.Descriptor instead. 414 func (*TestAnyMessage_Type2) Descriptor() ([]byte, []int) { 415 return file_test_proto_rawDescGZIP(), []int{1, 1} 416 } 417 418 func (x *TestAnyMessage_Type2) GetValue() int64 { 419 if x != nil { 420 return x.Value 421 } 422 return 0 423 } 424 425 type TestMergeMessage_StringWrapper struct { 426 state protoimpl.MessageState 427 sizeCache protoimpl.SizeCache 428 unknownFields protoimpl.UnknownFields 429 430 Removed bool `protobuf:"varint,1,opt,name=removed,proto3" json:"removed,omitempty"` 431 Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` 432 } 433 434 func (x *TestMergeMessage_StringWrapper) Reset() { 435 *x = TestMergeMessage_StringWrapper{} 436 if protoimpl.UnsafeEnabled { 437 mi := &file_test_proto_msgTypes[7] 438 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 439 ms.StoreMessageInfo(mi) 440 } 441 } 442 443 func (x *TestMergeMessage_StringWrapper) String() string { 444 return protoimpl.X.MessageStringOf(x) 445 } 446 447 func (*TestMergeMessage_StringWrapper) ProtoMessage() {} 448 449 func (x *TestMergeMessage_StringWrapper) ProtoReflect() protoreflect.Message { 450 mi := &file_test_proto_msgTypes[7] 451 if protoimpl.UnsafeEnabled && x != nil { 452 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 453 if ms.LoadMessageInfo() == nil { 454 ms.StoreMessageInfo(mi) 455 } 456 return ms 457 } 458 return mi.MessageOf(x) 459 } 460 461 // Deprecated: Use TestMergeMessage_StringWrapper.ProtoReflect.Descriptor instead. 462 func (*TestMergeMessage_StringWrapper) Descriptor() ([]byte, []int) { 463 return file_test_proto_rawDescGZIP(), []int{2, 0} 464 } 465 466 func (x *TestMergeMessage_StringWrapper) GetRemoved() bool { 467 if x != nil { 468 return x.Removed 469 } 470 return false 471 } 472 473 func (x *TestMergeMessage_StringWrapper) GetContent() string { 474 if x != nil { 475 return x.Content 476 } 477 return "" 478 } 479 480 type TestMapMessage_StringWrapper struct { 481 state protoimpl.MessageState 482 sizeCache protoimpl.SizeCache 483 unknownFields protoimpl.UnknownFields 484 485 Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` 486 Num int64 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"` 487 } 488 489 func (x *TestMapMessage_StringWrapper) Reset() { 490 *x = TestMapMessage_StringWrapper{} 491 if protoimpl.UnsafeEnabled { 492 mi := &file_test_proto_msgTypes[10] 493 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 494 ms.StoreMessageInfo(mi) 495 } 496 } 497 498 func (x *TestMapMessage_StringWrapper) String() string { 499 return protoimpl.X.MessageStringOf(x) 500 } 501 502 func (*TestMapMessage_StringWrapper) ProtoMessage() {} 503 504 func (x *TestMapMessage_StringWrapper) ProtoReflect() protoreflect.Message { 505 mi := &file_test_proto_msgTypes[10] 506 if protoimpl.UnsafeEnabled && x != nil { 507 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 508 if ms.LoadMessageInfo() == nil { 509 ms.StoreMessageInfo(mi) 510 } 511 return ms 512 } 513 return mi.MessageOf(x) 514 } 515 516 // Deprecated: Use TestMapMessage_StringWrapper.ProtoReflect.Descriptor instead. 517 func (*TestMapMessage_StringWrapper) Descriptor() ([]byte, []int) { 518 return file_test_proto_rawDescGZIP(), []int{3, 1} 519 } 520 521 func (x *TestMapMessage_StringWrapper) GetContent() string { 522 if x != nil { 523 return x.Content 524 } 525 return "" 526 } 527 528 func (x *TestMapMessage_StringWrapper) GetNum() int64 { 529 if x != nil { 530 return x.Num 531 } 532 return 0 533 } 534 535 type TestMapMessage_NullableWrapper struct { 536 state protoimpl.MessageState 537 sizeCache protoimpl.SizeCache 538 unknownFields protoimpl.UnknownFields 539 540 Content *string `protobuf:"bytes,1,opt,name=content,proto3,oneof" json:"content,omitempty"` 541 Num *int64 `protobuf:"varint,2,opt,name=num,proto3,oneof" json:"num,omitempty"` 542 } 543 544 func (x *TestMapMessage_NullableWrapper) Reset() { 545 *x = TestMapMessage_NullableWrapper{} 546 if protoimpl.UnsafeEnabled { 547 mi := &file_test_proto_msgTypes[12] 548 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 549 ms.StoreMessageInfo(mi) 550 } 551 } 552 553 func (x *TestMapMessage_NullableWrapper) String() string { 554 return protoimpl.X.MessageStringOf(x) 555 } 556 557 func (*TestMapMessage_NullableWrapper) ProtoMessage() {} 558 559 func (x *TestMapMessage_NullableWrapper) ProtoReflect() protoreflect.Message { 560 mi := &file_test_proto_msgTypes[12] 561 if protoimpl.UnsafeEnabled && x != nil { 562 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 563 if ms.LoadMessageInfo() == nil { 564 ms.StoreMessageInfo(mi) 565 } 566 return ms 567 } 568 return mi.MessageOf(x) 569 } 570 571 // Deprecated: Use TestMapMessage_NullableWrapper.ProtoReflect.Descriptor instead. 572 func (*TestMapMessage_NullableWrapper) Descriptor() ([]byte, []int) { 573 return file_test_proto_rawDescGZIP(), []int{3, 3} 574 } 575 576 func (x *TestMapMessage_NullableWrapper) GetContent() string { 577 if x != nil && x.Content != nil { 578 return *x.Content 579 } 580 return "" 581 } 582 583 func (x *TestMapMessage_NullableWrapper) GetNum() int64 { 584 if x != nil && x.Num != nil { 585 return *x.Num 586 } 587 return 0 588 } 589 590 type TestFieldMaskMessage_NestedMessage struct { 591 state protoimpl.MessageState 592 sizeCache protoimpl.SizeCache 593 unknownFields protoimpl.UnknownFields 594 595 P1 int64 `protobuf:"varint,1,opt,name=p1,proto3" json:"p1,omitempty"` 596 P2 uint32 `protobuf:"varint,2,opt,name=p2,proto3" json:"p2,omitempty"` 597 } 598 599 func (x *TestFieldMaskMessage_NestedMessage) Reset() { 600 *x = TestFieldMaskMessage_NestedMessage{} 601 if protoimpl.UnsafeEnabled { 602 mi := &file_test_proto_msgTypes[14] 603 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 604 ms.StoreMessageInfo(mi) 605 } 606 } 607 608 func (x *TestFieldMaskMessage_NestedMessage) String() string { 609 return protoimpl.X.MessageStringOf(x) 610 } 611 612 func (*TestFieldMaskMessage_NestedMessage) ProtoMessage() {} 613 614 func (x *TestFieldMaskMessage_NestedMessage) ProtoReflect() protoreflect.Message { 615 mi := &file_test_proto_msgTypes[14] 616 if protoimpl.UnsafeEnabled && x != nil { 617 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 618 if ms.LoadMessageInfo() == nil { 619 ms.StoreMessageInfo(mi) 620 } 621 return ms 622 } 623 return mi.MessageOf(x) 624 } 625 626 // Deprecated: Use TestFieldMaskMessage_NestedMessage.ProtoReflect.Descriptor instead. 627 func (*TestFieldMaskMessage_NestedMessage) Descriptor() ([]byte, []int) { 628 return file_test_proto_rawDescGZIP(), []int{4, 0} 629 } 630 631 func (x *TestFieldMaskMessage_NestedMessage) GetP1() int64 { 632 if x != nil { 633 return x.P1 634 } 635 return 0 636 } 637 638 func (x *TestFieldMaskMessage_NestedMessage) GetP2() uint32 { 639 if x != nil { 640 return x.P2 641 } 642 return 0 643 } 644 645 var File_test_proto protoreflect.FileDescriptor 646 647 var file_test_proto_rawDesc = []byte{ 648 0x0a, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x74, 0x65, 649 0x73, 0x74, 0x70, 0x62, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 650 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 651 0x3e, 0x0a, 0x16, 0x54, 0x65, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x44, 0x61, 652 0x74, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 653 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x10, 0x0a, 654 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x22, 655 0xa0, 0x01, 0x0a, 0x0e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6e, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 656 0x67, 0x65, 0x12, 0x26, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 657 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 658 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x28, 0x0a, 0x04, 0x6c, 0x69, 659 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 660 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x04, 661 0x6c, 0x69, 0x73, 0x74, 0x1a, 0x1d, 0x0a, 0x05, 0x54, 0x79, 0x70, 0x65, 0x31, 0x12, 0x14, 0x0a, 662 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 663 0x6c, 0x75, 0x65, 0x1a, 0x1d, 0x0a, 0x05, 0x54, 0x79, 0x70, 0x65, 0x32, 0x12, 0x14, 0x0a, 0x05, 664 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 665 0x75, 0x65, 0x22, 0xfc, 0x01, 0x0a, 0x10, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x72, 0x67, 0x65, 666 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 667 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x02, 0x6b, 668 0x76, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 669 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 670 0x65, 0x2e, 0x4b, 0x76, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x02, 0x6b, 0x76, 0x1a, 0x43, 0x0a, 671 0x0d, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x18, 672 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 673 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 674 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 675 0x6e, 0x74, 0x1a, 0x5d, 0x0a, 0x07, 0x4b, 0x76, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 676 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 677 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 678 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x72, 0x67, 679 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x57, 680 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 681 0x01, 0x22, 0xb5, 0x04, 0x0a, 0x0e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x61, 0x70, 0x4d, 0x65, 0x73, 682 0x73, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x02, 0x6b, 0x76, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 683 0x32, 0x1e, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x61, 684 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4b, 0x76, 0x45, 0x6e, 0x74, 0x72, 0x79, 685 0x52, 0x02, 0x6b, 0x76, 0x12, 0x31, 0x0a, 0x03, 0x6b, 0x76, 0x32, 0x18, 0x02, 0x20, 0x03, 0x28, 686 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 687 0x61, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4b, 0x76, 0x32, 0x45, 0x6e, 0x74, 688 0x72, 0x79, 0x52, 0x03, 0x6b, 0x76, 0x32, 0x12, 0x31, 0x0a, 0x03, 0x6b, 0x76, 0x33, 0x18, 0x03, 689 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x54, 0x65, 690 0x73, 0x74, 0x4d, 0x61, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4b, 0x76, 0x33, 691 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x6b, 0x76, 0x33, 0x1a, 0x35, 0x0a, 0x07, 0x4b, 0x76, 692 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 693 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 694 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 695 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x57, 0x72, 0x61, 0x70, 0x70, 696 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 697 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 698 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x1a, 0x5c, 699 0x0a, 0x08, 0x4b, 0x76, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 700 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3a, 0x0a, 0x05, 701 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x74, 0x65, 702 0x73, 0x74, 0x70, 0x62, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x61, 0x70, 0x4d, 0x65, 0x73, 0x73, 703 0x61, 0x67, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 704 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x5b, 0x0a, 0x0f, 705 0x4e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 706 0x1d, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 707 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x12, 0x15, 708 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x03, 0x6e, 709 0x75, 0x6d, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 710 0x74, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x6e, 0x75, 0x6d, 0x1a, 0x5e, 0x0a, 0x08, 0x4b, 0x76, 0x33, 711 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 712 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 713 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 714 0x54, 0x65, 0x73, 0x74, 0x4d, 0x61, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4e, 715 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x52, 0x05, 716 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe7, 0x03, 0x0a, 0x14, 0x54, 0x65, 717 0x73, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 718 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 719 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 720 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x54, 0x65, 0x73, 721 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 722 0x65, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 723 0x03, 0x6d, 0x73, 0x67, 0x12, 0x3e, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 724 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x54, 0x65, 0x73, 0x74, 725 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 726 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x04, 727 0x6c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x03, 0x6b, 0x76, 0x31, 0x18, 0x04, 0x20, 0x03, 0x28, 728 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x46, 729 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 730 0x4b, 0x76, 0x31, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x6b, 0x76, 0x31, 0x12, 0x37, 0x0a, 731 0x03, 0x6b, 0x76, 0x32, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x65, 0x73, 732 0x74, 0x70, 0x62, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 733 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4b, 0x76, 0x32, 0x45, 0x6e, 0x74, 0x72, 734 0x79, 0x52, 0x03, 0x6b, 0x76, 0x32, 0x1a, 0x2f, 0x0a, 0x0d, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 735 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x70, 0x31, 0x18, 0x01, 0x20, 736 0x01, 0x28, 0x03, 0x52, 0x02, 0x70, 0x31, 0x12, 0x0e, 0x0a, 0x02, 0x70, 0x32, 0x18, 0x02, 0x20, 737 0x01, 0x28, 0x0d, 0x52, 0x02, 0x70, 0x32, 0x1a, 0x62, 0x0a, 0x08, 0x4b, 0x76, 0x31, 0x45, 0x6e, 738 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 739 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x40, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 740 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x54, 0x65, 741 0x73, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 742 0x67, 0x65, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 743 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x36, 0x0a, 0x08, 0x4b, 744 0x76, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 745 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 746 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 747 0x02, 0x38, 0x01, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 748 0x6d, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x68, 749 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x64, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 750 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 751 } 752 753 var ( 754 file_test_proto_rawDescOnce sync.Once 755 file_test_proto_rawDescData = file_test_proto_rawDesc 756 ) 757 758 func file_test_proto_rawDescGZIP() []byte { 759 file_test_proto_rawDescOnce.Do(func() { 760 file_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_proto_rawDescData) 761 }) 762 return file_test_proto_rawDescData 763 } 764 765 var file_test_proto_msgTypes = make([]protoimpl.MessageInfo, 17) 766 var file_test_proto_goTypes = []interface{}{ 767 (*TestChannelDataMessage)(nil), // 0: testpb.TestChannelDataMessage 768 (*TestAnyMessage)(nil), // 1: testpb.TestAnyMessage 769 (*TestMergeMessage)(nil), // 2: testpb.TestMergeMessage 770 (*TestMapMessage)(nil), // 3: testpb.TestMapMessage 771 (*TestFieldMaskMessage)(nil), // 4: testpb.TestFieldMaskMessage 772 (*TestAnyMessage_Type1)(nil), // 5: testpb.TestAnyMessage.Type1 773 (*TestAnyMessage_Type2)(nil), // 6: testpb.TestAnyMessage.Type2 774 (*TestMergeMessage_StringWrapper)(nil), // 7: testpb.TestMergeMessage.StringWrapper 775 nil, // 8: testpb.TestMergeMessage.KvEntry 776 nil, // 9: testpb.TestMapMessage.KvEntry 777 (*TestMapMessage_StringWrapper)(nil), // 10: testpb.TestMapMessage.StringWrapper 778 nil, // 11: testpb.TestMapMessage.Kv2Entry 779 (*TestMapMessage_NullableWrapper)(nil), // 12: testpb.TestMapMessage.NullableWrapper 780 nil, // 13: testpb.TestMapMessage.Kv3Entry 781 (*TestFieldMaskMessage_NestedMessage)(nil), // 14: testpb.TestFieldMaskMessage.NestedMessage 782 nil, // 15: testpb.TestFieldMaskMessage.Kv1Entry 783 nil, // 16: testpb.TestFieldMaskMessage.Kv2Entry 784 (*anypb.Any)(nil), // 17: google.protobuf.Any 785 } 786 var file_test_proto_depIdxs = []int32{ 787 17, // 0: testpb.TestAnyMessage.msg:type_name -> google.protobuf.Any 788 17, // 1: testpb.TestAnyMessage.list:type_name -> google.protobuf.Any 789 8, // 2: testpb.TestMergeMessage.kv:type_name -> testpb.TestMergeMessage.KvEntry 790 9, // 3: testpb.TestMapMessage.kv:type_name -> testpb.TestMapMessage.KvEntry 791 11, // 4: testpb.TestMapMessage.kv2:type_name -> testpb.TestMapMessage.Kv2Entry 792 13, // 5: testpb.TestMapMessage.kv3:type_name -> testpb.TestMapMessage.Kv3Entry 793 14, // 6: testpb.TestFieldMaskMessage.msg:type_name -> testpb.TestFieldMaskMessage.NestedMessage 794 14, // 7: testpb.TestFieldMaskMessage.list:type_name -> testpb.TestFieldMaskMessage.NestedMessage 795 15, // 8: testpb.TestFieldMaskMessage.kv1:type_name -> testpb.TestFieldMaskMessage.Kv1Entry 796 16, // 9: testpb.TestFieldMaskMessage.kv2:type_name -> testpb.TestFieldMaskMessage.Kv2Entry 797 7, // 10: testpb.TestMergeMessage.KvEntry.value:type_name -> testpb.TestMergeMessage.StringWrapper 798 10, // 11: testpb.TestMapMessage.Kv2Entry.value:type_name -> testpb.TestMapMessage.StringWrapper 799 12, // 12: testpb.TestMapMessage.Kv3Entry.value:type_name -> testpb.TestMapMessage.NullableWrapper 800 14, // 13: testpb.TestFieldMaskMessage.Kv1Entry.value:type_name -> testpb.TestFieldMaskMessage.NestedMessage 801 14, // [14:14] is the sub-list for method output_type 802 14, // [14:14] is the sub-list for method input_type 803 14, // [14:14] is the sub-list for extension type_name 804 14, // [14:14] is the sub-list for extension extendee 805 0, // [0:14] is the sub-list for field type_name 806 } 807 808 func init() { file_test_proto_init() } 809 func file_test_proto_init() { 810 if File_test_proto != nil { 811 return 812 } 813 if !protoimpl.UnsafeEnabled { 814 file_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 815 switch v := v.(*TestChannelDataMessage); i { 816 case 0: 817 return &v.state 818 case 1: 819 return &v.sizeCache 820 case 2: 821 return &v.unknownFields 822 default: 823 return nil 824 } 825 } 826 file_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 827 switch v := v.(*TestAnyMessage); i { 828 case 0: 829 return &v.state 830 case 1: 831 return &v.sizeCache 832 case 2: 833 return &v.unknownFields 834 default: 835 return nil 836 } 837 } 838 file_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 839 switch v := v.(*TestMergeMessage); i { 840 case 0: 841 return &v.state 842 case 1: 843 return &v.sizeCache 844 case 2: 845 return &v.unknownFields 846 default: 847 return nil 848 } 849 } 850 file_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 851 switch v := v.(*TestMapMessage); i { 852 case 0: 853 return &v.state 854 case 1: 855 return &v.sizeCache 856 case 2: 857 return &v.unknownFields 858 default: 859 return nil 860 } 861 } 862 file_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 863 switch v := v.(*TestFieldMaskMessage); i { 864 case 0: 865 return &v.state 866 case 1: 867 return &v.sizeCache 868 case 2: 869 return &v.unknownFields 870 default: 871 return nil 872 } 873 } 874 file_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 875 switch v := v.(*TestAnyMessage_Type1); i { 876 case 0: 877 return &v.state 878 case 1: 879 return &v.sizeCache 880 case 2: 881 return &v.unknownFields 882 default: 883 return nil 884 } 885 } 886 file_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 887 switch v := v.(*TestAnyMessage_Type2); i { 888 case 0: 889 return &v.state 890 case 1: 891 return &v.sizeCache 892 case 2: 893 return &v.unknownFields 894 default: 895 return nil 896 } 897 } 898 file_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 899 switch v := v.(*TestMergeMessage_StringWrapper); i { 900 case 0: 901 return &v.state 902 case 1: 903 return &v.sizeCache 904 case 2: 905 return &v.unknownFields 906 default: 907 return nil 908 } 909 } 910 file_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 911 switch v := v.(*TestMapMessage_StringWrapper); i { 912 case 0: 913 return &v.state 914 case 1: 915 return &v.sizeCache 916 case 2: 917 return &v.unknownFields 918 default: 919 return nil 920 } 921 } 922 file_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 923 switch v := v.(*TestMapMessage_NullableWrapper); i { 924 case 0: 925 return &v.state 926 case 1: 927 return &v.sizeCache 928 case 2: 929 return &v.unknownFields 930 default: 931 return nil 932 } 933 } 934 file_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 935 switch v := v.(*TestFieldMaskMessage_NestedMessage); i { 936 case 0: 937 return &v.state 938 case 1: 939 return &v.sizeCache 940 case 2: 941 return &v.unknownFields 942 default: 943 return nil 944 } 945 } 946 } 947 file_test_proto_msgTypes[12].OneofWrappers = []interface{}{} 948 type x struct{} 949 out := protoimpl.TypeBuilder{ 950 File: protoimpl.DescBuilder{ 951 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 952 RawDescriptor: file_test_proto_rawDesc, 953 NumEnums: 0, 954 NumMessages: 17, 955 NumExtensions: 0, 956 NumServices: 0, 957 }, 958 GoTypes: file_test_proto_goTypes, 959 DependencyIndexes: file_test_proto_depIdxs, 960 MessageInfos: file_test_proto_msgTypes, 961 }.Build() 962 File_test_proto = out.File 963 file_test_proto_rawDesc = nil 964 file_test_proto_goTypes = nil 965 file_test_proto_depIdxs = nil 966 }