github.com/jhump/protoreflect@v1.16.0/internal/testprotos/desc_test1.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.33.0-devel 4 // protoc v5.26.1 5 // source: desc_test1.proto 6 7 package testprotos 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 // Comment for NestedEnum 24 type TestMessage_NestedEnum int32 25 26 const ( 27 // Comment for VALUE1 28 TestMessage_VALUE1 TestMessage_NestedEnum = 1 29 // Comment for VALUE2 30 TestMessage_VALUE2 TestMessage_NestedEnum = 2 31 ) 32 33 // Enum value maps for TestMessage_NestedEnum. 34 var ( 35 TestMessage_NestedEnum_name = map[int32]string{ 36 1: "VALUE1", 37 2: "VALUE2", 38 } 39 TestMessage_NestedEnum_value = map[string]int32{ 40 "VALUE1": 1, 41 "VALUE2": 2, 42 } 43 ) 44 45 func (x TestMessage_NestedEnum) Enum() *TestMessage_NestedEnum { 46 p := new(TestMessage_NestedEnum) 47 *p = x 48 return p 49 } 50 51 func (x TestMessage_NestedEnum) String() string { 52 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 53 } 54 55 func (TestMessage_NestedEnum) Descriptor() protoreflect.EnumDescriptor { 56 return file_desc_test1_proto_enumTypes[0].Descriptor() 57 } 58 59 func (TestMessage_NestedEnum) Type() protoreflect.EnumType { 60 return &file_desc_test1_proto_enumTypes[0] 61 } 62 63 func (x TestMessage_NestedEnum) Number() protoreflect.EnumNumber { 64 return protoreflect.EnumNumber(x) 65 } 66 67 // Deprecated: Do not use. 68 func (x *TestMessage_NestedEnum) UnmarshalJSON(b []byte) error { 69 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 70 if err != nil { 71 return err 72 } 73 *x = TestMessage_NestedEnum(num) 74 return nil 75 } 76 77 // Deprecated: Use TestMessage_NestedEnum.Descriptor instead. 78 func (TestMessage_NestedEnum) EnumDescriptor() ([]byte, []int) { 79 return file_desc_test1_proto_rawDescGZIP(), []int{0, 0} 80 } 81 82 // Comment for DeeplyNestedEnum 83 type TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum int32 84 85 const ( 86 // Comment for VALUE1 87 TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_VALUE1 TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum = 1 88 // Comment for VALUE2 89 TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_VALUE2 TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum = 2 90 ) 91 92 // Enum value maps for TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum. 93 var ( 94 TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum_name = map[int32]string{ 95 1: "VALUE1", 96 2: "VALUE2", 97 } 98 TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum_value = map[string]int32{ 99 "VALUE1": 1, 100 "VALUE2": 2, 101 } 102 ) 103 104 func (x TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) Enum() *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum { 105 p := new(TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) 106 *p = x 107 return p 108 } 109 110 func (x TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) String() string { 111 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 112 } 113 114 func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) Descriptor() protoreflect.EnumDescriptor { 115 return file_desc_test1_proto_enumTypes[1].Descriptor() 116 } 117 118 func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) Type() protoreflect.EnumType { 119 return &file_desc_test1_proto_enumTypes[1] 120 } 121 122 func (x TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) Number() protoreflect.EnumNumber { 123 return protoreflect.EnumNumber(x) 124 } 125 126 // Deprecated: Do not use. 127 func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) UnmarshalJSON(b []byte) error { 128 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 129 if err != nil { 130 return err 131 } 132 *x = TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum(num) 133 return nil 134 } 135 136 // Deprecated: Use TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum.Descriptor instead. 137 func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) EnumDescriptor() ([]byte, []int) { 138 return file_desc_test1_proto_rawDescGZIP(), []int{0, 0, 0, 0, 0} 139 } 140 141 // Comment for TestMessage 142 type TestMessage struct { 143 state protoimpl.MessageState 144 sizeCache protoimpl.SizeCache 145 unknownFields protoimpl.UnknownFields 146 147 // Comment for nm 148 Nm *TestMessage_NestedMessage `protobuf:"bytes,1,opt,name=nm" json:"nm,omitempty"` 149 // Comment for anm 150 Anm *TestMessage_NestedMessage_AnotherNestedMessage `protobuf:"bytes,2,opt,name=anm" json:"anm,omitempty"` 151 // Comment for yanm 152 Yanm *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage `protobuf:"bytes,3,opt,name=yanm" json:"yanm,omitempty"` 153 // Comment for ne 154 Ne []TestMessage_NestedEnum `protobuf:"varint,4,rep,name=ne,enum=testprotos.TestMessage_NestedEnum" json:"ne,omitempty"` 155 } 156 157 func (x *TestMessage) Reset() { 158 *x = TestMessage{} 159 if protoimpl.UnsafeEnabled { 160 mi := &file_desc_test1_proto_msgTypes[0] 161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 162 ms.StoreMessageInfo(mi) 163 } 164 } 165 166 func (x *TestMessage) String() string { 167 return protoimpl.X.MessageStringOf(x) 168 } 169 170 func (*TestMessage) ProtoMessage() {} 171 172 func (x *TestMessage) ProtoReflect() protoreflect.Message { 173 mi := &file_desc_test1_proto_msgTypes[0] 174 if protoimpl.UnsafeEnabled && x != nil { 175 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 176 if ms.LoadMessageInfo() == nil { 177 ms.StoreMessageInfo(mi) 178 } 179 return ms 180 } 181 return mi.MessageOf(x) 182 } 183 184 // Deprecated: Use TestMessage.ProtoReflect.Descriptor instead. 185 func (*TestMessage) Descriptor() ([]byte, []int) { 186 return file_desc_test1_proto_rawDescGZIP(), []int{0} 187 } 188 189 func (x *TestMessage) GetNm() *TestMessage_NestedMessage { 190 if x != nil { 191 return x.Nm 192 } 193 return nil 194 } 195 196 func (x *TestMessage) GetAnm() *TestMessage_NestedMessage_AnotherNestedMessage { 197 if x != nil { 198 return x.Anm 199 } 200 return nil 201 } 202 203 func (x *TestMessage) GetYanm() *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage { 204 if x != nil { 205 return x.Yanm 206 } 207 return nil 208 } 209 210 func (x *TestMessage) GetNe() []TestMessage_NestedEnum { 211 if x != nil { 212 return x.Ne 213 } 214 return nil 215 } 216 217 // Comment for AnotherTestMessage 218 type AnotherTestMessage struct { 219 state protoimpl.MessageState 220 sizeCache protoimpl.SizeCache 221 unknownFields protoimpl.UnknownFields 222 extensionFields protoimpl.ExtensionFields 223 224 // Comment for dne 225 Dne *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum `protobuf:"varint,1,opt,name=dne,enum=testprotos.TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum" json:"dne,omitempty"` 226 // Comment for map_field1 227 MapField1 map[int32]string `protobuf:"bytes,2,rep,name=map_field1,json=mapField1" json:"map_field1,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 228 // Comment for map_field2 229 MapField2 map[int64]float32 `protobuf:"bytes,3,rep,name=map_field2,json=mapField2" json:"map_field2,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` 230 // Comment for map_field3 231 MapField3 map[uint32]bool `protobuf:"bytes,4,rep,name=map_field3,json=mapField3" json:"map_field3,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` 232 // Comment for map_field4 233 MapField4 map[string]*AnotherTestMessage `protobuf:"bytes,5,rep,name=map_field4,json=mapField4" json:"map_field4,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 234 Rocknroll *AnotherTestMessage_RockNRoll `protobuf:"group,6,opt,name=RockNRoll,json=rocknroll" json:"rocknroll,omitempty"` 235 // Comment for atmoo 236 // 237 // Types that are assignable to Atmoo: 238 // 239 // *AnotherTestMessage_Str 240 // *AnotherTestMessage_Int 241 Atmoo isAnotherTestMessage_Atmoo `protobuf_oneof:"atmoo"` 242 // Deprecated: Marked as deprecated in desc_test1.proto. 243 Withoptions *AnotherTestMessage_WithOptions `protobuf:"group,9,opt,name=WithOptions,json=withoptions" json:"withoptions,omitempty"` 244 } 245 246 func (x *AnotherTestMessage) Reset() { 247 *x = AnotherTestMessage{} 248 if protoimpl.UnsafeEnabled { 249 mi := &file_desc_test1_proto_msgTypes[1] 250 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 251 ms.StoreMessageInfo(mi) 252 } 253 } 254 255 func (x *AnotherTestMessage) String() string { 256 return protoimpl.X.MessageStringOf(x) 257 } 258 259 func (*AnotherTestMessage) ProtoMessage() {} 260 261 func (x *AnotherTestMessage) ProtoReflect() protoreflect.Message { 262 mi := &file_desc_test1_proto_msgTypes[1] 263 if protoimpl.UnsafeEnabled && x != nil { 264 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 265 if ms.LoadMessageInfo() == nil { 266 ms.StoreMessageInfo(mi) 267 } 268 return ms 269 } 270 return mi.MessageOf(x) 271 } 272 273 // Deprecated: Use AnotherTestMessage.ProtoReflect.Descriptor instead. 274 func (*AnotherTestMessage) Descriptor() ([]byte, []int) { 275 return file_desc_test1_proto_rawDescGZIP(), []int{1} 276 } 277 278 func (x *AnotherTestMessage) GetDne() TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum { 279 if x != nil && x.Dne != nil { 280 return *x.Dne 281 } 282 return TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_VALUE1 283 } 284 285 func (x *AnotherTestMessage) GetMapField1() map[int32]string { 286 if x != nil { 287 return x.MapField1 288 } 289 return nil 290 } 291 292 func (x *AnotherTestMessage) GetMapField2() map[int64]float32 { 293 if x != nil { 294 return x.MapField2 295 } 296 return nil 297 } 298 299 func (x *AnotherTestMessage) GetMapField3() map[uint32]bool { 300 if x != nil { 301 return x.MapField3 302 } 303 return nil 304 } 305 306 func (x *AnotherTestMessage) GetMapField4() map[string]*AnotherTestMessage { 307 if x != nil { 308 return x.MapField4 309 } 310 return nil 311 } 312 313 func (x *AnotherTestMessage) GetRocknroll() *AnotherTestMessage_RockNRoll { 314 if x != nil { 315 return x.Rocknroll 316 } 317 return nil 318 } 319 320 func (m *AnotherTestMessage) GetAtmoo() isAnotherTestMessage_Atmoo { 321 if m != nil { 322 return m.Atmoo 323 } 324 return nil 325 } 326 327 func (x *AnotherTestMessage) GetStr() string { 328 if x, ok := x.GetAtmoo().(*AnotherTestMessage_Str); ok { 329 return x.Str 330 } 331 return "" 332 } 333 334 func (x *AnotherTestMessage) GetInt() int64 { 335 if x, ok := x.GetAtmoo().(*AnotherTestMessage_Int); ok { 336 return x.Int 337 } 338 return 0 339 } 340 341 // Deprecated: Marked as deprecated in desc_test1.proto. 342 func (x *AnotherTestMessage) GetWithoptions() *AnotherTestMessage_WithOptions { 343 if x != nil { 344 return x.Withoptions 345 } 346 return nil 347 } 348 349 type isAnotherTestMessage_Atmoo interface { 350 isAnotherTestMessage_Atmoo() 351 } 352 353 type AnotherTestMessage_Str struct { 354 // Comment for str 355 Str string `protobuf:"bytes,7,opt,name=str,oneof"` 356 } 357 358 type AnotherTestMessage_Int struct { 359 // Comment for int 360 Int int64 `protobuf:"varint,8,opt,name=int,oneof"` 361 } 362 363 func (*AnotherTestMessage_Str) isAnotherTestMessage_Atmoo() {} 364 365 func (*AnotherTestMessage_Int) isAnotherTestMessage_Atmoo() {} 366 367 // Comment for NestedMessage 368 type TestMessage_NestedMessage struct { 369 state protoimpl.MessageState 370 sizeCache protoimpl.SizeCache 371 unknownFields protoimpl.UnknownFields 372 373 // Comment for anm 374 Anm *TestMessage_NestedMessage_AnotherNestedMessage `protobuf:"bytes,1,opt,name=anm" json:"anm,omitempty"` 375 // Comment for yanm 376 Yanm *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage `protobuf:"bytes,2,opt,name=yanm" json:"yanm,omitempty"` 377 } 378 379 func (x *TestMessage_NestedMessage) Reset() { 380 *x = TestMessage_NestedMessage{} 381 if protoimpl.UnsafeEnabled { 382 mi := &file_desc_test1_proto_msgTypes[2] 383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 384 ms.StoreMessageInfo(mi) 385 } 386 } 387 388 func (x *TestMessage_NestedMessage) String() string { 389 return protoimpl.X.MessageStringOf(x) 390 } 391 392 func (*TestMessage_NestedMessage) ProtoMessage() {} 393 394 func (x *TestMessage_NestedMessage) ProtoReflect() protoreflect.Message { 395 mi := &file_desc_test1_proto_msgTypes[2] 396 if protoimpl.UnsafeEnabled && x != nil { 397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 398 if ms.LoadMessageInfo() == nil { 399 ms.StoreMessageInfo(mi) 400 } 401 return ms 402 } 403 return mi.MessageOf(x) 404 } 405 406 // Deprecated: Use TestMessage_NestedMessage.ProtoReflect.Descriptor instead. 407 func (*TestMessage_NestedMessage) Descriptor() ([]byte, []int) { 408 return file_desc_test1_proto_rawDescGZIP(), []int{0, 0} 409 } 410 411 func (x *TestMessage_NestedMessage) GetAnm() *TestMessage_NestedMessage_AnotherNestedMessage { 412 if x != nil { 413 return x.Anm 414 } 415 return nil 416 } 417 418 func (x *TestMessage_NestedMessage) GetYanm() *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage { 419 if x != nil { 420 return x.Yanm 421 } 422 return nil 423 } 424 425 // Comment for AnotherNestedMessage 426 type TestMessage_NestedMessage_AnotherNestedMessage struct { 427 state protoimpl.MessageState 428 sizeCache protoimpl.SizeCache 429 unknownFields protoimpl.UnknownFields 430 431 // Comment for yanm 432 Yanm []*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage `protobuf:"bytes,1,rep,name=yanm" json:"yanm,omitempty"` 433 } 434 435 func (x *TestMessage_NestedMessage_AnotherNestedMessage) Reset() { 436 *x = TestMessage_NestedMessage_AnotherNestedMessage{} 437 if protoimpl.UnsafeEnabled { 438 mi := &file_desc_test1_proto_msgTypes[3] 439 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 440 ms.StoreMessageInfo(mi) 441 } 442 } 443 444 func (x *TestMessage_NestedMessage_AnotherNestedMessage) String() string { 445 return protoimpl.X.MessageStringOf(x) 446 } 447 448 func (*TestMessage_NestedMessage_AnotherNestedMessage) ProtoMessage() {} 449 450 func (x *TestMessage_NestedMessage_AnotherNestedMessage) ProtoReflect() protoreflect.Message { 451 mi := &file_desc_test1_proto_msgTypes[3] 452 if protoimpl.UnsafeEnabled && x != nil { 453 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 454 if ms.LoadMessageInfo() == nil { 455 ms.StoreMessageInfo(mi) 456 } 457 return ms 458 } 459 return mi.MessageOf(x) 460 } 461 462 // Deprecated: Use TestMessage_NestedMessage_AnotherNestedMessage.ProtoReflect.Descriptor instead. 463 func (*TestMessage_NestedMessage_AnotherNestedMessage) Descriptor() ([]byte, []int) { 464 return file_desc_test1_proto_rawDescGZIP(), []int{0, 0, 0} 465 } 466 467 func (x *TestMessage_NestedMessage_AnotherNestedMessage) GetYanm() []*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage { 468 if x != nil { 469 return x.Yanm 470 } 471 return nil 472 } 473 474 // Comment for YetAnotherNestedMessage 475 type TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage struct { 476 state protoimpl.MessageState 477 sizeCache protoimpl.SizeCache 478 unknownFields protoimpl.UnknownFields 479 480 // Comment for foo 481 Foo *string `protobuf:"bytes,1,opt,name=foo" json:"foo,omitempty"` 482 // Comment for bar 483 Bar *int32 `protobuf:"varint,2,opt,name=bar" json:"bar,omitempty"` 484 // Comment for baz 485 Baz []byte `protobuf:"bytes,3,opt,name=baz" json:"baz,omitempty"` 486 // Comment for dne 487 Dne *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum `protobuf:"varint,4,opt,name=dne,enum=testprotos.TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum" json:"dne,omitempty"` 488 // Comment for anm 489 Anm *TestMessage_NestedMessage_AnotherNestedMessage `protobuf:"bytes,5,opt,name=anm" json:"anm,omitempty"` 490 // Comment for nm 491 Nm *TestMessage_NestedMessage `protobuf:"bytes,6,opt,name=nm" json:"nm,omitempty"` 492 // Comment for tm 493 Tm *TestMessage `protobuf:"bytes,7,opt,name=tm" json:"tm,omitempty"` 494 } 495 496 func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Reset() { 497 *x = TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage{} 498 if protoimpl.UnsafeEnabled { 499 mi := &file_desc_test1_proto_msgTypes[4] 500 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 501 ms.StoreMessageInfo(mi) 502 } 503 } 504 505 func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) String() string { 506 return protoimpl.X.MessageStringOf(x) 507 } 508 509 func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) ProtoMessage() {} 510 511 func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) ProtoReflect() protoreflect.Message { 512 mi := &file_desc_test1_proto_msgTypes[4] 513 if protoimpl.UnsafeEnabled && x != nil { 514 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 515 if ms.LoadMessageInfo() == nil { 516 ms.StoreMessageInfo(mi) 517 } 518 return ms 519 } 520 return mi.MessageOf(x) 521 } 522 523 // Deprecated: Use TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage.ProtoReflect.Descriptor instead. 524 func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Descriptor() ([]byte, []int) { 525 return file_desc_test1_proto_rawDescGZIP(), []int{0, 0, 0, 0} 526 } 527 528 func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetFoo() string { 529 if x != nil && x.Foo != nil { 530 return *x.Foo 531 } 532 return "" 533 } 534 535 func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBar() int32 { 536 if x != nil && x.Bar != nil { 537 return *x.Bar 538 } 539 return 0 540 } 541 542 func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBaz() []byte { 543 if x != nil { 544 return x.Baz 545 } 546 return nil 547 } 548 549 func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetDne() TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum { 550 if x != nil && x.Dne != nil { 551 return *x.Dne 552 } 553 return TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_VALUE1 554 } 555 556 func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetAnm() *TestMessage_NestedMessage_AnotherNestedMessage { 557 if x != nil { 558 return x.Anm 559 } 560 return nil 561 } 562 563 func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetNm() *TestMessage_NestedMessage { 564 if x != nil { 565 return x.Nm 566 } 567 return nil 568 } 569 570 func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetTm() *TestMessage { 571 if x != nil { 572 return x.Tm 573 } 574 return nil 575 } 576 577 // Comment for RockNRoll 578 type AnotherTestMessage_RockNRoll struct { 579 state protoimpl.MessageState 580 sizeCache protoimpl.SizeCache 581 unknownFields protoimpl.UnknownFields 582 583 // Comment for beatles 584 Beatles *string `protobuf:"bytes,1,opt,name=beatles" json:"beatles,omitempty"` 585 // Comment for stones 586 Stones *string `protobuf:"bytes,2,opt,name=stones" json:"stones,omitempty"` 587 // Comment for doors 588 Doors *string `protobuf:"bytes,3,opt,name=doors" json:"doors,omitempty"` 589 } 590 591 func (x *AnotherTestMessage_RockNRoll) Reset() { 592 *x = AnotherTestMessage_RockNRoll{} 593 if protoimpl.UnsafeEnabled { 594 mi := &file_desc_test1_proto_msgTypes[9] 595 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 596 ms.StoreMessageInfo(mi) 597 } 598 } 599 600 func (x *AnotherTestMessage_RockNRoll) String() string { 601 return protoimpl.X.MessageStringOf(x) 602 } 603 604 func (*AnotherTestMessage_RockNRoll) ProtoMessage() {} 605 606 func (x *AnotherTestMessage_RockNRoll) ProtoReflect() protoreflect.Message { 607 mi := &file_desc_test1_proto_msgTypes[9] 608 if protoimpl.UnsafeEnabled && x != nil { 609 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 610 if ms.LoadMessageInfo() == nil { 611 ms.StoreMessageInfo(mi) 612 } 613 return ms 614 } 615 return mi.MessageOf(x) 616 } 617 618 // Deprecated: Use AnotherTestMessage_RockNRoll.ProtoReflect.Descriptor instead. 619 func (*AnotherTestMessage_RockNRoll) Descriptor() ([]byte, []int) { 620 return file_desc_test1_proto_rawDescGZIP(), []int{1, 4} 621 } 622 623 func (x *AnotherTestMessage_RockNRoll) GetBeatles() string { 624 if x != nil && x.Beatles != nil { 625 return *x.Beatles 626 } 627 return "" 628 } 629 630 func (x *AnotherTestMessage_RockNRoll) GetStones() string { 631 if x != nil && x.Stones != nil { 632 return *x.Stones 633 } 634 return "" 635 } 636 637 func (x *AnotherTestMessage_RockNRoll) GetDoors() string { 638 if x != nil && x.Doors != nil { 639 return *x.Doors 640 } 641 return "" 642 } 643 644 // Comment for WithOptions 645 type AnotherTestMessage_WithOptions struct { 646 state protoimpl.MessageState 647 sizeCache protoimpl.SizeCache 648 unknownFields protoimpl.UnknownFields 649 } 650 651 func (x *AnotherTestMessage_WithOptions) Reset() { 652 *x = AnotherTestMessage_WithOptions{} 653 if protoimpl.UnsafeEnabled { 654 mi := &file_desc_test1_proto_msgTypes[10] 655 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 656 ms.StoreMessageInfo(mi) 657 } 658 } 659 660 func (x *AnotherTestMessage_WithOptions) String() string { 661 return protoimpl.X.MessageStringOf(x) 662 } 663 664 func (*AnotherTestMessage_WithOptions) ProtoMessage() {} 665 666 func (x *AnotherTestMessage_WithOptions) ProtoReflect() protoreflect.Message { 667 mi := &file_desc_test1_proto_msgTypes[10] 668 if protoimpl.UnsafeEnabled && x != nil { 669 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 670 if ms.LoadMessageInfo() == nil { 671 ms.StoreMessageInfo(mi) 672 } 673 return ms 674 } 675 return mi.MessageOf(x) 676 } 677 678 // Deprecated: Use AnotherTestMessage_WithOptions.ProtoReflect.Descriptor instead. 679 func (*AnotherTestMessage_WithOptions) Descriptor() ([]byte, []int) { 680 return file_desc_test1_proto_rawDescGZIP(), []int{1, 5} 681 } 682 683 var file_desc_test1_proto_extTypes = []protoimpl.ExtensionInfo{ 684 { 685 ExtendedType: (*AnotherTestMessage)(nil), 686 ExtensionType: (*TestMessage)(nil), 687 Field: 100, 688 Name: "testprotos.xtm", 689 Tag: "bytes,100,opt,name=xtm", 690 Filename: "desc_test1.proto", 691 }, 692 { 693 ExtendedType: (*AnotherTestMessage)(nil), 694 ExtensionType: (*string)(nil), 695 Field: 101, 696 Name: "testprotos.xs", 697 Tag: "bytes,101,opt,name=xs", 698 Filename: "desc_test1.proto", 699 }, 700 { 701 ExtendedType: (*AnotherTestMessage)(nil), 702 ExtensionType: (*int32)(nil), 703 Field: 102, 704 Name: "testprotos.xi", 705 Tag: "varint,102,opt,name=xi", 706 Filename: "desc_test1.proto", 707 }, 708 { 709 ExtendedType: (*AnotherTestMessage)(nil), 710 ExtensionType: (*uint64)(nil), 711 Field: 103, 712 Name: "testprotos.xui", 713 Tag: "varint,103,opt,name=xui", 714 Filename: "desc_test1.proto", 715 }, 716 { 717 ExtendedType: (*AnotherTestMessage)(nil), 718 ExtensionType: ([]bool)(nil), 719 Field: 200, 720 Name: "testprotos.TestMessage.NestedMessage.AnotherNestedMessage.flags", 721 Tag: "varint,200,rep,packed,name=flags", 722 Filename: "desc_test1.proto", 723 }, 724 } 725 726 // Extension fields to AnotherTestMessage. 727 var ( 728 // Comment for xtm 729 // 730 // optional testprotos.TestMessage xtm = 100; 731 E_Xtm = &file_desc_test1_proto_extTypes[0] 732 // Comment for xs 733 // 734 // optional string xs = 101; 735 E_Xs = &file_desc_test1_proto_extTypes[1] 736 // Comment for xi 737 // 738 // optional int32 xi = 102; 739 E_Xi = &file_desc_test1_proto_extTypes[2] 740 // Comment for xui 741 // 742 // optional uint64 xui = 103; 743 E_Xui = &file_desc_test1_proto_extTypes[3] 744 // Comment for flags 745 // 746 // repeated bool flags = 200; 747 E_TestMessage_NestedMessage_AnotherNestedMessage_Flags = &file_desc_test1_proto_extTypes[4] 748 ) 749 750 var File_desc_test1_proto protoreflect.FileDescriptor 751 752 var file_desc_test1_proto_rawDesc = []byte{ 753 0x0a, 0x10, 0x64, 0x65, 0x73, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x31, 0x2e, 0x70, 0x72, 0x6f, 754 0x74, 0x6f, 0x12, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x22, 0xfb, 755 0x08, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x35, 756 0x0a, 0x02, 0x6e, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x65, 0x73, 757 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 758 0x61, 0x67, 0x65, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 759 0x65, 0x52, 0x02, 0x6e, 0x6d, 0x12, 0x4c, 0x0a, 0x03, 0x61, 0x6e, 0x6d, 0x18, 0x02, 0x20, 0x01, 760 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 761 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4e, 0x65, 0x73, 0x74, 762 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 763 0x72, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 764 0x61, 0x6e, 0x6d, 0x12, 0x66, 0x0a, 0x04, 0x79, 0x61, 0x6e, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 765 0x0b, 0x32, 0x52, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 766 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 767 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 768 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x59, 0x65, 769 0x74, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 770 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x04, 0x79, 0x61, 0x6e, 0x6d, 0x12, 0x32, 0x0a, 0x02, 0x6e, 771 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 772 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 773 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x02, 0x6e, 0x65, 0x1a, 774 0xa4, 0x06, 0x0a, 0x0d, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 775 0x65, 0x12, 0x4c, 0x0a, 0x03, 0x61, 0x6e, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 776 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 777 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 778 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x65, 0x73, 779 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x61, 0x6e, 0x6d, 0x12, 780 0x66, 0x0a, 0x04, 0x79, 0x61, 0x6e, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x52, 0x2e, 781 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 782 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 783 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x65, 0x73, 0x74, 784 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x59, 0x65, 0x74, 0x41, 0x6e, 0x6f, 785 0x74, 0x68, 0x65, 0x72, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 786 0x65, 0x52, 0x04, 0x79, 0x61, 0x6e, 0x6d, 0x1a, 0xdc, 0x04, 0x0a, 0x14, 0x41, 0x6e, 0x6f, 0x74, 787 0x68, 0x65, 0x72, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 788 0x12, 0x66, 0x0a, 0x04, 0x79, 0x61, 0x6e, 0x6d, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x52, 789 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 790 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 791 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x65, 0x73, 792 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x59, 0x65, 0x74, 0x41, 0x6e, 793 0x6f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 794 0x67, 0x65, 0x52, 0x04, 0x79, 0x61, 0x6e, 0x6d, 0x1a, 0xa0, 0x03, 0x0a, 0x17, 0x59, 0x65, 0x74, 795 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 796 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x6f, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 797 0x09, 0x52, 0x03, 0x66, 0x6f, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x61, 0x72, 0x18, 0x02, 0x20, 798 0x01, 0x28, 0x05, 0x52, 0x03, 0x62, 0x61, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x61, 0x7a, 0x18, 799 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x62, 0x61, 0x7a, 0x12, 0x75, 0x0a, 0x03, 0x64, 0x6e, 800 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 801 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 802 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 803 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 804 0x61, 0x67, 0x65, 0x2e, 0x59, 0x65, 0x74, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x65, 805 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x65, 0x70, 806 0x6c, 0x79, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x03, 0x64, 0x6e, 807 0x65, 0x12, 0x4c, 0x0a, 0x03, 0x61, 0x6e, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 808 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 809 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 810 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x65, 0x73, 811 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x61, 0x6e, 0x6d, 0x12, 812 0x35, 0x0a, 0x02, 0x6e, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x65, 813 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 814 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 815 0x67, 0x65, 0x52, 0x02, 0x6e, 0x6d, 0x12, 0x27, 0x0a, 0x02, 0x74, 0x6d, 0x18, 0x07, 0x20, 0x01, 816 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 817 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x02, 0x74, 0x6d, 0x22, 818 0x2a, 0x0a, 0x10, 0x44, 0x65, 0x65, 0x70, 0x6c, 0x79, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 819 0x6e, 0x75, 0x6d, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x31, 0x10, 0x01, 0x12, 820 0x0a, 0x0a, 0x06, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x32, 0x10, 0x02, 0x32, 0x39, 0x0a, 0x05, 0x66, 821 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1e, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 822 0x73, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 823 0x73, 0x61, 0x67, 0x65, 0x18, 0xc8, 0x01, 0x20, 0x03, 0x28, 0x08, 0x42, 0x02, 0x10, 0x01, 0x52, 824 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x24, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 825 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x31, 0x10, 0x01, 826 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x32, 0x10, 0x02, 0x22, 0x91, 0x08, 0x0a, 827 0x12, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 828 0x61, 0x67, 0x65, 0x12, 0x75, 0x0a, 0x03, 0x64, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 829 0x32, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 830 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 831 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x4e, 832 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x59, 0x65, 0x74, 833 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 834 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x65, 0x70, 0x6c, 0x79, 0x4e, 0x65, 0x73, 0x74, 0x65, 835 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x03, 0x64, 0x6e, 0x65, 0x12, 0x4c, 0x0a, 0x0a, 0x6d, 0x61, 836 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 837 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 838 0x68, 0x65, 0x72, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 839 0x61, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x6d, 840 0x61, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x12, 0x4c, 0x0a, 0x0a, 0x6d, 0x61, 0x70, 0x5f, 841 0x66, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 842 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 843 0x72, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x61, 0x70, 844 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x6d, 0x61, 0x70, 845 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x12, 0x4c, 0x0a, 0x0a, 0x6d, 0x61, 0x70, 0x5f, 0x66, 0x69, 846 0x65, 0x6c, 0x64, 0x33, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x73, 847 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x54, 848 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x46, 0x69, 849 0x65, 0x6c, 0x64, 0x33, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x6d, 0x61, 0x70, 0x46, 0x69, 850 0x65, 0x6c, 0x64, 0x33, 0x12, 0x4c, 0x0a, 0x0a, 0x6d, 0x61, 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, 851 0x64, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 852 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x54, 0x65, 0x73, 853 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x65, 0x6c, 854 0x64, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x6d, 0x61, 0x70, 0x46, 0x69, 0x65, 0x6c, 855 0x64, 0x34, 0x12, 0x46, 0x0a, 0x09, 0x72, 0x6f, 0x63, 0x6b, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x18, 856 0x06, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x28, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 857 0x6f, 0x73, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 858 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x6f, 0x63, 0x6b, 0x4e, 0x52, 0x6f, 0x6c, 0x6c, 0x52, 859 0x09, 0x72, 0x6f, 0x63, 0x6b, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x12, 0x12, 0x0a, 0x03, 0x73, 0x74, 860 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x73, 0x74, 0x72, 0x12, 0x12, 861 0x0a, 0x03, 0x69, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x03, 0x69, 862 0x6e, 0x74, 0x12, 0x50, 0x0a, 0x0b, 0x77, 0x69, 0x74, 0x68, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 863 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 864 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x54, 0x65, 0x73, 0x74, 865 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x70, 0x74, 0x69, 866 0x6f, 0x6e, 0x73, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x77, 0x69, 0x74, 0x68, 0x6f, 0x70, 0x74, 867 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3c, 0x0a, 0x0e, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 868 0x31, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 869 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 870 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 871 0x38, 0x01, 0x1a, 0x3c, 0x0a, 0x0e, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x45, 872 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 873 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 874 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 875 0x1a, 0x3c, 0x0a, 0x0e, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x33, 0x45, 0x6e, 0x74, 876 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 877 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 878 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x5c, 879 0x0a, 0x0e, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 880 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 881 0x65, 0x79, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 882 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x41, 883 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 884 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x53, 0x0a, 0x09, 885 0x52, 0x6f, 0x63, 0x6b, 0x4e, 0x52, 0x6f, 0x6c, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x65, 0x61, 886 0x74, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x65, 0x61, 0x74, 887 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x73, 0x18, 0x02, 0x20, 888 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x64, 889 0x6f, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x6f, 0x6f, 0x72, 890 0x73, 0x1a, 0x0d, 0x0a, 0x0b, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 891 0x2a, 0x05, 0x08, 0x64, 0x10, 0xc9, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x61, 0x74, 0x6d, 0x6f, 0x6f, 892 0x3a, 0x49, 0x0a, 0x03, 0x78, 0x74, 0x6d, 0x12, 0x1e, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 893 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x54, 0x65, 0x73, 0x74, 894 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 895 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 896 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x78, 0x74, 0x6d, 0x3a, 0x2e, 0x0a, 0x02, 0x78, 897 0x73, 0x12, 0x1e, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x41, 898 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 899 0x65, 0x18, 0x65, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x78, 0x73, 0x3a, 0x2e, 0x0a, 0x02, 0x78, 900 0x69, 0x12, 0x1e, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x41, 901 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 902 0x65, 0x18, 0x66, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x78, 0x69, 0x3a, 0x30, 0x0a, 0x03, 0x78, 903 0x75, 0x69, 0x12, 0x1e, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 904 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 905 0x67, 0x65, 0x18, 0x67, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x78, 0x75, 0x69, 0x42, 0x33, 0x5a, 906 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6a, 0x68, 0x75, 0x6d, 907 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x2f, 0x69, 908 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 909 0x6f, 0x73, 910 } 911 912 var ( 913 file_desc_test1_proto_rawDescOnce sync.Once 914 file_desc_test1_proto_rawDescData = file_desc_test1_proto_rawDesc 915 ) 916 917 func file_desc_test1_proto_rawDescGZIP() []byte { 918 file_desc_test1_proto_rawDescOnce.Do(func() { 919 file_desc_test1_proto_rawDescData = protoimpl.X.CompressGZIP(file_desc_test1_proto_rawDescData) 920 }) 921 return file_desc_test1_proto_rawDescData 922 } 923 924 var file_desc_test1_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 925 var file_desc_test1_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 926 var file_desc_test1_proto_goTypes = []interface{}{ 927 (TestMessage_NestedEnum)(0), // 0: testprotos.TestMessage.NestedEnum 928 (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum)(0), // 1: testprotos.TestMessage.NestedMessage.AnotherNestedMessage.YetAnotherNestedMessage.DeeplyNestedEnum 929 (*TestMessage)(nil), // 2: testprotos.TestMessage 930 (*AnotherTestMessage)(nil), // 3: testprotos.AnotherTestMessage 931 (*TestMessage_NestedMessage)(nil), // 4: testprotos.TestMessage.NestedMessage 932 (*TestMessage_NestedMessage_AnotherNestedMessage)(nil), // 5: testprotos.TestMessage.NestedMessage.AnotherNestedMessage 933 (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage)(nil), // 6: testprotos.TestMessage.NestedMessage.AnotherNestedMessage.YetAnotherNestedMessage 934 nil, // 7: testprotos.AnotherTestMessage.MapField1Entry 935 nil, // 8: testprotos.AnotherTestMessage.MapField2Entry 936 nil, // 9: testprotos.AnotherTestMessage.MapField3Entry 937 nil, // 10: testprotos.AnotherTestMessage.MapField4Entry 938 (*AnotherTestMessage_RockNRoll)(nil), // 11: testprotos.AnotherTestMessage.RockNRoll 939 (*AnotherTestMessage_WithOptions)(nil), // 12: testprotos.AnotherTestMessage.WithOptions 940 } 941 var file_desc_test1_proto_depIdxs = []int32{ 942 4, // 0: testprotos.TestMessage.nm:type_name -> testprotos.TestMessage.NestedMessage 943 5, // 1: testprotos.TestMessage.anm:type_name -> testprotos.TestMessage.NestedMessage.AnotherNestedMessage 944 6, // 2: testprotos.TestMessage.yanm:type_name -> testprotos.TestMessage.NestedMessage.AnotherNestedMessage.YetAnotherNestedMessage 945 0, // 3: testprotos.TestMessage.ne:type_name -> testprotos.TestMessage.NestedEnum 946 1, // 4: testprotos.AnotherTestMessage.dne:type_name -> testprotos.TestMessage.NestedMessage.AnotherNestedMessage.YetAnotherNestedMessage.DeeplyNestedEnum 947 7, // 5: testprotos.AnotherTestMessage.map_field1:type_name -> testprotos.AnotherTestMessage.MapField1Entry 948 8, // 6: testprotos.AnotherTestMessage.map_field2:type_name -> testprotos.AnotherTestMessage.MapField2Entry 949 9, // 7: testprotos.AnotherTestMessage.map_field3:type_name -> testprotos.AnotherTestMessage.MapField3Entry 950 10, // 8: testprotos.AnotherTestMessage.map_field4:type_name -> testprotos.AnotherTestMessage.MapField4Entry 951 11, // 9: testprotos.AnotherTestMessage.rocknroll:type_name -> testprotos.AnotherTestMessage.RockNRoll 952 12, // 10: testprotos.AnotherTestMessage.withoptions:type_name -> testprotos.AnotherTestMessage.WithOptions 953 5, // 11: testprotos.TestMessage.NestedMessage.anm:type_name -> testprotos.TestMessage.NestedMessage.AnotherNestedMessage 954 6, // 12: testprotos.TestMessage.NestedMessage.yanm:type_name -> testprotos.TestMessage.NestedMessage.AnotherNestedMessage.YetAnotherNestedMessage 955 6, // 13: testprotos.TestMessage.NestedMessage.AnotherNestedMessage.yanm:type_name -> testprotos.TestMessage.NestedMessage.AnotherNestedMessage.YetAnotherNestedMessage 956 1, // 14: testprotos.TestMessage.NestedMessage.AnotherNestedMessage.YetAnotherNestedMessage.dne:type_name -> testprotos.TestMessage.NestedMessage.AnotherNestedMessage.YetAnotherNestedMessage.DeeplyNestedEnum 957 5, // 15: testprotos.TestMessage.NestedMessage.AnotherNestedMessage.YetAnotherNestedMessage.anm:type_name -> testprotos.TestMessage.NestedMessage.AnotherNestedMessage 958 4, // 16: testprotos.TestMessage.NestedMessage.AnotherNestedMessage.YetAnotherNestedMessage.nm:type_name -> testprotos.TestMessage.NestedMessage 959 2, // 17: testprotos.TestMessage.NestedMessage.AnotherNestedMessage.YetAnotherNestedMessage.tm:type_name -> testprotos.TestMessage 960 3, // 18: testprotos.AnotherTestMessage.MapField4Entry.value:type_name -> testprotos.AnotherTestMessage 961 3, // 19: testprotos.xtm:extendee -> testprotos.AnotherTestMessage 962 3, // 20: testprotos.xs:extendee -> testprotos.AnotherTestMessage 963 3, // 21: testprotos.xi:extendee -> testprotos.AnotherTestMessage 964 3, // 22: testprotos.xui:extendee -> testprotos.AnotherTestMessage 965 3, // 23: testprotos.TestMessage.NestedMessage.AnotherNestedMessage.flags:extendee -> testprotos.AnotherTestMessage 966 2, // 24: testprotos.xtm:type_name -> testprotos.TestMessage 967 25, // [25:25] is the sub-list for method output_type 968 25, // [25:25] is the sub-list for method input_type 969 24, // [24:25] is the sub-list for extension type_name 970 19, // [19:24] is the sub-list for extension extendee 971 0, // [0:19] is the sub-list for field type_name 972 } 973 974 func init() { file_desc_test1_proto_init() } 975 func file_desc_test1_proto_init() { 976 if File_desc_test1_proto != nil { 977 return 978 } 979 if !protoimpl.UnsafeEnabled { 980 file_desc_test1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 981 switch v := v.(*TestMessage); i { 982 case 0: 983 return &v.state 984 case 1: 985 return &v.sizeCache 986 case 2: 987 return &v.unknownFields 988 default: 989 return nil 990 } 991 } 992 file_desc_test1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 993 switch v := v.(*AnotherTestMessage); i { 994 case 0: 995 return &v.state 996 case 1: 997 return &v.sizeCache 998 case 2: 999 return &v.unknownFields 1000 case 3: 1001 return &v.extensionFields 1002 default: 1003 return nil 1004 } 1005 } 1006 file_desc_test1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1007 switch v := v.(*TestMessage_NestedMessage); i { 1008 case 0: 1009 return &v.state 1010 case 1: 1011 return &v.sizeCache 1012 case 2: 1013 return &v.unknownFields 1014 default: 1015 return nil 1016 } 1017 } 1018 file_desc_test1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1019 switch v := v.(*TestMessage_NestedMessage_AnotherNestedMessage); i { 1020 case 0: 1021 return &v.state 1022 case 1: 1023 return &v.sizeCache 1024 case 2: 1025 return &v.unknownFields 1026 default: 1027 return nil 1028 } 1029 } 1030 file_desc_test1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1031 switch v := v.(*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage); i { 1032 case 0: 1033 return &v.state 1034 case 1: 1035 return &v.sizeCache 1036 case 2: 1037 return &v.unknownFields 1038 default: 1039 return nil 1040 } 1041 } 1042 file_desc_test1_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1043 switch v := v.(*AnotherTestMessage_RockNRoll); i { 1044 case 0: 1045 return &v.state 1046 case 1: 1047 return &v.sizeCache 1048 case 2: 1049 return &v.unknownFields 1050 default: 1051 return nil 1052 } 1053 } 1054 file_desc_test1_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1055 switch v := v.(*AnotherTestMessage_WithOptions); i { 1056 case 0: 1057 return &v.state 1058 case 1: 1059 return &v.sizeCache 1060 case 2: 1061 return &v.unknownFields 1062 default: 1063 return nil 1064 } 1065 } 1066 } 1067 file_desc_test1_proto_msgTypes[1].OneofWrappers = []interface{}{ 1068 (*AnotherTestMessage_Str)(nil), 1069 (*AnotherTestMessage_Int)(nil), 1070 } 1071 type x struct{} 1072 out := protoimpl.TypeBuilder{ 1073 File: protoimpl.DescBuilder{ 1074 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1075 RawDescriptor: file_desc_test1_proto_rawDesc, 1076 NumEnums: 2, 1077 NumMessages: 11, 1078 NumExtensions: 5, 1079 NumServices: 0, 1080 }, 1081 GoTypes: file_desc_test1_proto_goTypes, 1082 DependencyIndexes: file_desc_test1_proto_depIdxs, 1083 EnumInfos: file_desc_test1_proto_enumTypes, 1084 MessageInfos: file_desc_test1_proto_msgTypes, 1085 ExtensionInfos: file_desc_test1_proto_extTypes, 1086 }.Build() 1087 File_desc_test1_proto = out.File 1088 file_desc_test1_proto_rawDesc = nil 1089 file_desc_test1_proto_goTypes = nil 1090 file_desc_test1_proto_depIdxs = nil 1091 }