go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/common/proto/protowalk/fields_test.pb_test.go (about) 1 // Copyright 2022 The LUCI Authors. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.31.0 18 // protoc v3.21.7 19 // source: go.chromium.org/luci/common/proto/protowalk/fields_test.proto 20 21 package protowalk 22 23 import ( 24 _ "google.golang.org/genproto/googleapis/api/annotations" 25 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 26 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 27 descriptorpb "google.golang.org/protobuf/types/descriptorpb" 28 structpb "google.golang.org/protobuf/types/known/structpb" 29 reflect "reflect" 30 sync "sync" 31 ) 32 33 const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38 ) 39 40 type CustomExt struct { 41 state protoimpl.MessageState 42 sizeCache protoimpl.SizeCache 43 unknownFields protoimpl.UnknownFields 44 45 MustEqual string `protobuf:"bytes,1,opt,name=must_equal,json=mustEqual,proto3" json:"must_equal,omitempty"` 46 } 47 48 func (x *CustomExt) Reset() { 49 *x = CustomExt{} 50 if protoimpl.UnsafeEnabled { 51 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[0] 52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 53 ms.StoreMessageInfo(mi) 54 } 55 } 56 57 func (x *CustomExt) String() string { 58 return protoimpl.X.MessageStringOf(x) 59 } 60 61 func (*CustomExt) ProtoMessage() {} 62 63 func (x *CustomExt) ProtoReflect() protoreflect.Message { 64 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[0] 65 if protoimpl.UnsafeEnabled && x != nil { 66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 67 if ms.LoadMessageInfo() == nil { 68 ms.StoreMessageInfo(mi) 69 } 70 return ms 71 } 72 return mi.MessageOf(x) 73 } 74 75 // Deprecated: Use CustomExt.ProtoReflect.Descriptor instead. 76 func (*CustomExt) Descriptor() ([]byte, []int) { 77 return file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescGZIP(), []int{0} 78 } 79 80 func (x *CustomExt) GetMustEqual() string { 81 if x != nil { 82 return x.MustEqual 83 } 84 return "" 85 } 86 87 type Inner struct { 88 state protoimpl.MessageState 89 sizeCache protoimpl.SizeCache 90 unknownFields protoimpl.UnknownFields 91 92 Regular string `protobuf:"bytes,1,opt,name=regular,proto3" json:"regular,omitempty"` 93 // Deprecated: Marked as deprecated in go.chromium.org/luci/common/proto/protowalk/fields_test.proto. 94 Deprecated string `protobuf:"bytes,2,opt,name=deprecated,proto3" json:"deprecated,omitempty"` 95 Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"` 96 Req string `protobuf:"bytes,4,opt,name=req,proto3" json:"req,omitempty"` 97 Custom string `protobuf:"bytes,5,opt,name=custom,proto3" json:"custom,omitempty"` 98 SingleEmbed *Inner_Embedded `protobuf:"bytes,6,opt,name=single_embed,json=singleEmbed,proto3" json:"single_embed,omitempty"` 99 MultiEmbed []*Inner_Embedded `protobuf:"bytes,7,rep,name=multi_embed,json=multiEmbed,proto3" json:"multi_embed,omitempty"` 100 MapEmbed map[string]*Inner_Embedded `protobuf:"bytes,8,rep,name=map_embed,json=mapEmbed,proto3" json:"map_embed,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 101 Struct *structpb.Struct `protobuf:"bytes,9,opt,name=struct,proto3" json:"struct,omitempty"` 102 // Deprecated: Marked as deprecated in go.chromium.org/luci/common/proto/protowalk/fields_test.proto. 103 Recursive *Inner_Recursive `protobuf:"bytes,10,opt,name=recursive,proto3" json:"recursive,omitempty"` 104 } 105 106 func (x *Inner) Reset() { 107 *x = Inner{} 108 if protoimpl.UnsafeEnabled { 109 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[1] 110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 111 ms.StoreMessageInfo(mi) 112 } 113 } 114 115 func (x *Inner) String() string { 116 return protoimpl.X.MessageStringOf(x) 117 } 118 119 func (*Inner) ProtoMessage() {} 120 121 func (x *Inner) ProtoReflect() protoreflect.Message { 122 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[1] 123 if protoimpl.UnsafeEnabled && x != nil { 124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 125 if ms.LoadMessageInfo() == nil { 126 ms.StoreMessageInfo(mi) 127 } 128 return ms 129 } 130 return mi.MessageOf(x) 131 } 132 133 // Deprecated: Use Inner.ProtoReflect.Descriptor instead. 134 func (*Inner) Descriptor() ([]byte, []int) { 135 return file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescGZIP(), []int{1} 136 } 137 138 func (x *Inner) GetRegular() string { 139 if x != nil { 140 return x.Regular 141 } 142 return "" 143 } 144 145 // Deprecated: Marked as deprecated in go.chromium.org/luci/common/proto/protowalk/fields_test.proto. 146 func (x *Inner) GetDeprecated() string { 147 if x != nil { 148 return x.Deprecated 149 } 150 return "" 151 } 152 153 func (x *Inner) GetOutput() string { 154 if x != nil { 155 return x.Output 156 } 157 return "" 158 } 159 160 func (x *Inner) GetReq() string { 161 if x != nil { 162 return x.Req 163 } 164 return "" 165 } 166 167 func (x *Inner) GetCustom() string { 168 if x != nil { 169 return x.Custom 170 } 171 return "" 172 } 173 174 func (x *Inner) GetSingleEmbed() *Inner_Embedded { 175 if x != nil { 176 return x.SingleEmbed 177 } 178 return nil 179 } 180 181 func (x *Inner) GetMultiEmbed() []*Inner_Embedded { 182 if x != nil { 183 return x.MultiEmbed 184 } 185 return nil 186 } 187 188 func (x *Inner) GetMapEmbed() map[string]*Inner_Embedded { 189 if x != nil { 190 return x.MapEmbed 191 } 192 return nil 193 } 194 195 func (x *Inner) GetStruct() *structpb.Struct { 196 if x != nil { 197 return x.Struct 198 } 199 return nil 200 } 201 202 // Deprecated: Marked as deprecated in go.chromium.org/luci/common/proto/protowalk/fields_test.proto. 203 func (x *Inner) GetRecursive() *Inner_Recursive { 204 if x != nil { 205 return x.Recursive 206 } 207 return nil 208 } 209 210 type A struct { 211 state protoimpl.MessageState 212 sizeCache protoimpl.SizeCache 213 unknownFields protoimpl.UnknownFields 214 215 AValue string `protobuf:"bytes,1,opt,name=a_value,json=aValue,proto3" json:"a_value,omitempty"` 216 B *B `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` 217 C *Chh `protobuf:"bytes,3,opt,name=c,proto3" json:"c,omitempty"` 218 } 219 220 func (x *A) Reset() { 221 *x = A{} 222 if protoimpl.UnsafeEnabled { 223 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[2] 224 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 225 ms.StoreMessageInfo(mi) 226 } 227 } 228 229 func (x *A) String() string { 230 return protoimpl.X.MessageStringOf(x) 231 } 232 233 func (*A) ProtoMessage() {} 234 235 func (x *A) ProtoReflect() protoreflect.Message { 236 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[2] 237 if protoimpl.UnsafeEnabled && x != nil { 238 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 239 if ms.LoadMessageInfo() == nil { 240 ms.StoreMessageInfo(mi) 241 } 242 return ms 243 } 244 return mi.MessageOf(x) 245 } 246 247 // Deprecated: Use A.ProtoReflect.Descriptor instead. 248 func (*A) Descriptor() ([]byte, []int) { 249 return file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescGZIP(), []int{2} 250 } 251 252 func (x *A) GetAValue() string { 253 if x != nil { 254 return x.AValue 255 } 256 return "" 257 } 258 259 func (x *A) GetB() *B { 260 if x != nil { 261 return x.B 262 } 263 return nil 264 } 265 266 func (x *A) GetC() *Chh { 267 if x != nil { 268 return x.C 269 } 270 return nil 271 } 272 273 type B struct { 274 state protoimpl.MessageState 275 sizeCache protoimpl.SizeCache 276 unknownFields protoimpl.UnknownFields 277 278 BValue string `protobuf:"bytes,1,opt,name=b_value,json=bValue,proto3" json:"b_value,omitempty"` 279 A *A `protobuf:"bytes,2,opt,name=a,proto3" json:"a,omitempty"` 280 } 281 282 func (x *B) Reset() { 283 *x = B{} 284 if protoimpl.UnsafeEnabled { 285 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[3] 286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 287 ms.StoreMessageInfo(mi) 288 } 289 } 290 291 func (x *B) String() string { 292 return protoimpl.X.MessageStringOf(x) 293 } 294 295 func (*B) ProtoMessage() {} 296 297 func (x *B) ProtoReflect() protoreflect.Message { 298 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[3] 299 if protoimpl.UnsafeEnabled && x != nil { 300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 301 if ms.LoadMessageInfo() == nil { 302 ms.StoreMessageInfo(mi) 303 } 304 return ms 305 } 306 return mi.MessageOf(x) 307 } 308 309 // Deprecated: Use B.ProtoReflect.Descriptor instead. 310 func (*B) Descriptor() ([]byte, []int) { 311 return file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescGZIP(), []int{3} 312 } 313 314 func (x *B) GetBValue() string { 315 if x != nil { 316 return x.BValue 317 } 318 return "" 319 } 320 321 func (x *B) GetA() *A { 322 if x != nil { 323 return x.A 324 } 325 return nil 326 } 327 328 type Chh struct { 329 state protoimpl.MessageState 330 sizeCache protoimpl.SizeCache 331 unknownFields protoimpl.UnknownFields 332 333 AMap map[string]*A `protobuf:"bytes,1,rep,name=a_map,json=aMap,proto3" json:"a_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 334 } 335 336 func (x *Chh) Reset() { 337 *x = Chh{} 338 if protoimpl.UnsafeEnabled { 339 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[4] 340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 341 ms.StoreMessageInfo(mi) 342 } 343 } 344 345 func (x *Chh) String() string { 346 return protoimpl.X.MessageStringOf(x) 347 } 348 349 func (*Chh) ProtoMessage() {} 350 351 func (x *Chh) ProtoReflect() protoreflect.Message { 352 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[4] 353 if protoimpl.UnsafeEnabled && x != nil { 354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 355 if ms.LoadMessageInfo() == nil { 356 ms.StoreMessageInfo(mi) 357 } 358 return ms 359 } 360 return mi.MessageOf(x) 361 } 362 363 // Deprecated: Use Chh.ProtoReflect.Descriptor instead. 364 func (*Chh) Descriptor() ([]byte, []int) { 365 return file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescGZIP(), []int{4} 366 } 367 368 func (x *Chh) GetAMap() map[string]*A { 369 if x != nil { 370 return x.AMap 371 } 372 return nil 373 } 374 375 type Outer struct { 376 state protoimpl.MessageState 377 sizeCache protoimpl.SizeCache 378 unknownFields protoimpl.UnknownFields 379 380 Regular string `protobuf:"bytes,1,opt,name=regular,proto3" json:"regular,omitempty"` 381 // Deprecated: Marked as deprecated in go.chromium.org/luci/common/proto/protowalk/fields_test.proto. 382 Deprecated string `protobuf:"bytes,2,opt,name=deprecated,proto3" json:"deprecated,omitempty"` 383 Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"` 384 Req string `protobuf:"bytes,4,opt,name=req,proto3" json:"req,omitempty"` 385 Custom string `protobuf:"bytes,5,opt,name=custom,proto3" json:"custom,omitempty"` 386 SingleInner *Inner `protobuf:"bytes,6,opt,name=single_inner,json=singleInner,proto3" json:"single_inner,omitempty"` 387 MultiInner []*Inner `protobuf:"bytes,7,rep,name=multi_inner,json=multiInner,proto3" json:"multi_inner,omitempty"` 388 MapInner map[string]*Inner `protobuf:"bytes,8,rep,name=map_inner,json=mapInner,proto3" json:"map_inner,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 389 // Deprecated: Marked as deprecated in go.chromium.org/luci/common/proto/protowalk/fields_test.proto. 390 MultiDeprecated []*Inner `protobuf:"bytes,9,rep,name=multi_deprecated,json=multiDeprecated,proto3" json:"multi_deprecated,omitempty"` 391 IntMapInner map[int32]*Inner `protobuf:"bytes,10,rep,name=int_map_inner,json=intMapInner,proto3" json:"int_map_inner,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 392 OutputInner *Inner `protobuf:"bytes,11,opt,name=output_inner,json=outputInner,proto3" json:"output_inner,omitempty"` 393 Struct *structpb.Struct `protobuf:"bytes,12,opt,name=struct,proto3" json:"struct,omitempty"` 394 A *A `protobuf:"bytes,13,opt,name=a,proto3" json:"a,omitempty"` 395 B *B `protobuf:"bytes,14,opt,name=b,proto3" json:"b,omitempty"` 396 } 397 398 func (x *Outer) Reset() { 399 *x = Outer{} 400 if protoimpl.UnsafeEnabled { 401 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[5] 402 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 403 ms.StoreMessageInfo(mi) 404 } 405 } 406 407 func (x *Outer) String() string { 408 return protoimpl.X.MessageStringOf(x) 409 } 410 411 func (*Outer) ProtoMessage() {} 412 413 func (x *Outer) ProtoReflect() protoreflect.Message { 414 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[5] 415 if protoimpl.UnsafeEnabled && x != nil { 416 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 417 if ms.LoadMessageInfo() == nil { 418 ms.StoreMessageInfo(mi) 419 } 420 return ms 421 } 422 return mi.MessageOf(x) 423 } 424 425 // Deprecated: Use Outer.ProtoReflect.Descriptor instead. 426 func (*Outer) Descriptor() ([]byte, []int) { 427 return file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescGZIP(), []int{5} 428 } 429 430 func (x *Outer) GetRegular() string { 431 if x != nil { 432 return x.Regular 433 } 434 return "" 435 } 436 437 // Deprecated: Marked as deprecated in go.chromium.org/luci/common/proto/protowalk/fields_test.proto. 438 func (x *Outer) GetDeprecated() string { 439 if x != nil { 440 return x.Deprecated 441 } 442 return "" 443 } 444 445 func (x *Outer) GetOutput() string { 446 if x != nil { 447 return x.Output 448 } 449 return "" 450 } 451 452 func (x *Outer) GetReq() string { 453 if x != nil { 454 return x.Req 455 } 456 return "" 457 } 458 459 func (x *Outer) GetCustom() string { 460 if x != nil { 461 return x.Custom 462 } 463 return "" 464 } 465 466 func (x *Outer) GetSingleInner() *Inner { 467 if x != nil { 468 return x.SingleInner 469 } 470 return nil 471 } 472 473 func (x *Outer) GetMultiInner() []*Inner { 474 if x != nil { 475 return x.MultiInner 476 } 477 return nil 478 } 479 480 func (x *Outer) GetMapInner() map[string]*Inner { 481 if x != nil { 482 return x.MapInner 483 } 484 return nil 485 } 486 487 // Deprecated: Marked as deprecated in go.chromium.org/luci/common/proto/protowalk/fields_test.proto. 488 func (x *Outer) GetMultiDeprecated() []*Inner { 489 if x != nil { 490 return x.MultiDeprecated 491 } 492 return nil 493 } 494 495 func (x *Outer) GetIntMapInner() map[int32]*Inner { 496 if x != nil { 497 return x.IntMapInner 498 } 499 return nil 500 } 501 502 func (x *Outer) GetOutputInner() *Inner { 503 if x != nil { 504 return x.OutputInner 505 } 506 return nil 507 } 508 509 func (x *Outer) GetStruct() *structpb.Struct { 510 if x != nil { 511 return x.Struct 512 } 513 return nil 514 } 515 516 func (x *Outer) GetA() *A { 517 if x != nil { 518 return x.A 519 } 520 return nil 521 } 522 523 func (x *Outer) GetB() *B { 524 if x != nil { 525 return x.B 526 } 527 return nil 528 } 529 530 type Inner_Embedded struct { 531 state protoimpl.MessageState 532 sizeCache protoimpl.SizeCache 533 unknownFields protoimpl.UnknownFields 534 535 Regular string `protobuf:"bytes,1,opt,name=regular,proto3" json:"regular,omitempty"` 536 // Deprecated: Marked as deprecated in go.chromium.org/luci/common/proto/protowalk/fields_test.proto. 537 Deprecated string `protobuf:"bytes,2,opt,name=deprecated,proto3" json:"deprecated,omitempty"` 538 Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"` 539 Req string `protobuf:"bytes,4,opt,name=req,proto3" json:"req,omitempty"` 540 Custom string `protobuf:"bytes,5,opt,name=custom,proto3" json:"custom,omitempty"` 541 } 542 543 func (x *Inner_Embedded) Reset() { 544 *x = Inner_Embedded{} 545 if protoimpl.UnsafeEnabled { 546 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[6] 547 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 548 ms.StoreMessageInfo(mi) 549 } 550 } 551 552 func (x *Inner_Embedded) String() string { 553 return protoimpl.X.MessageStringOf(x) 554 } 555 556 func (*Inner_Embedded) ProtoMessage() {} 557 558 func (x *Inner_Embedded) ProtoReflect() protoreflect.Message { 559 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[6] 560 if protoimpl.UnsafeEnabled && x != nil { 561 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 562 if ms.LoadMessageInfo() == nil { 563 ms.StoreMessageInfo(mi) 564 } 565 return ms 566 } 567 return mi.MessageOf(x) 568 } 569 570 // Deprecated: Use Inner_Embedded.ProtoReflect.Descriptor instead. 571 func (*Inner_Embedded) Descriptor() ([]byte, []int) { 572 return file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescGZIP(), []int{1, 0} 573 } 574 575 func (x *Inner_Embedded) GetRegular() string { 576 if x != nil { 577 return x.Regular 578 } 579 return "" 580 } 581 582 // Deprecated: Marked as deprecated in go.chromium.org/luci/common/proto/protowalk/fields_test.proto. 583 func (x *Inner_Embedded) GetDeprecated() string { 584 if x != nil { 585 return x.Deprecated 586 } 587 return "" 588 } 589 590 func (x *Inner_Embedded) GetOutput() string { 591 if x != nil { 592 return x.Output 593 } 594 return "" 595 } 596 597 func (x *Inner_Embedded) GetReq() string { 598 if x != nil { 599 return x.Req 600 } 601 return "" 602 } 603 604 func (x *Inner_Embedded) GetCustom() string { 605 if x != nil { 606 return x.Custom 607 } 608 return "" 609 } 610 611 type Inner_Recursive struct { 612 state protoimpl.MessageState 613 sizeCache protoimpl.SizeCache 614 unknownFields protoimpl.UnknownFields 615 616 OutputOnly int64 `protobuf:"varint,1,opt,name=output_only,json=outputOnly,proto3" json:"output_only,omitempty"` 617 Regular int64 `protobuf:"varint,2,opt,name=regular,proto3" json:"regular,omitempty"` 618 Next *Inner_Recursive `protobuf:"bytes,3,opt,name=next,proto3" json:"next,omitempty"` 619 } 620 621 func (x *Inner_Recursive) Reset() { 622 *x = Inner_Recursive{} 623 if protoimpl.UnsafeEnabled { 624 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[7] 625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 626 ms.StoreMessageInfo(mi) 627 } 628 } 629 630 func (x *Inner_Recursive) String() string { 631 return protoimpl.X.MessageStringOf(x) 632 } 633 634 func (*Inner_Recursive) ProtoMessage() {} 635 636 func (x *Inner_Recursive) ProtoReflect() protoreflect.Message { 637 mi := &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[7] 638 if protoimpl.UnsafeEnabled && x != nil { 639 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 640 if ms.LoadMessageInfo() == nil { 641 ms.StoreMessageInfo(mi) 642 } 643 return ms 644 } 645 return mi.MessageOf(x) 646 } 647 648 // Deprecated: Use Inner_Recursive.ProtoReflect.Descriptor instead. 649 func (*Inner_Recursive) Descriptor() ([]byte, []int) { 650 return file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescGZIP(), []int{1, 1} 651 } 652 653 func (x *Inner_Recursive) GetOutputOnly() int64 { 654 if x != nil { 655 return x.OutputOnly 656 } 657 return 0 658 } 659 660 func (x *Inner_Recursive) GetRegular() int64 { 661 if x != nil { 662 return x.Regular 663 } 664 return 0 665 } 666 667 func (x *Inner_Recursive) GetNext() *Inner_Recursive { 668 if x != nil { 669 return x.Next 670 } 671 return nil 672 } 673 674 var file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_extTypes = []protoimpl.ExtensionInfo{ 675 { 676 ExtendedType: (*descriptorpb.FieldOptions)(nil), 677 ExtensionType: (*CustomExt)(nil), 678 Field: 50002, 679 Name: "protowalk.custom", 680 Tag: "bytes,50002,opt,name=custom", 681 Filename: "go.chromium.org/luci/common/proto/protowalk/fields_test.proto", 682 }, 683 } 684 685 // Extension fields to descriptorpb.FieldOptions. 686 var ( 687 // optional protowalk.CustomExt custom = 50002; 688 E_Custom = &file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_extTypes[0] 689 ) 690 691 var File_go_chromium_org_luci_common_proto_protowalk_fields_test_proto protoreflect.FileDescriptor 692 693 var file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDesc = []byte{ 694 0x0a, 0x3d, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 695 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 696 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x2f, 0x66, 0x69, 697 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 698 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 699 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 700 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 701 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 702 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 703 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 704 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2a, 0x0a, 0x09, 0x43, 705 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x78, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x75, 0x73, 0x74, 706 0x5f, 0x65, 0x71, 0x75, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x75, 707 0x73, 0x74, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x22, 0xc2, 0x06, 0x0a, 0x05, 0x49, 0x6e, 0x6e, 0x65, 708 0x72, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 709 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x12, 0x22, 0x0a, 0x0a, 0x64, 710 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 711 0x02, 0x18, 0x01, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 712 0x1b, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 713 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x15, 0x0a, 0x03, 714 0x72, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 715 0x72, 0x65, 0x71, 0x12, 0x23, 0x0a, 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x18, 0x05, 0x20, 716 0x01, 0x28, 0x09, 0x42, 0x0b, 0x92, 0xb5, 0x18, 0x07, 0x0a, 0x05, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 717 0x52, 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x12, 0x3c, 0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x67, 718 0x6c, 0x65, 0x5f, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 719 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 720 0x2e, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x52, 0x0b, 0x73, 0x69, 0x6e, 0x67, 0x6c, 721 0x65, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x0b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 722 0x65, 0x6d, 0x62, 0x65, 0x64, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 723 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x45, 0x6d, 724 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x52, 0x0a, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x45, 0x6d, 0x62, 725 0x65, 0x64, 0x12, 0x3b, 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x18, 726 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 727 0x6b, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x70, 0x45, 0x6d, 0x62, 0x65, 0x64, 728 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x12, 729 0x34, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 730 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 731 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x73, 732 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x3c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 733 0x76, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 734 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x63, 0x75, 0x72, 735 0x73, 0x69, 0x76, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 736 0x69, 0x76, 0x65, 0x1a, 0xa1, 0x01, 0x0a, 0x08, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 737 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 738 0x09, 0x52, 0x07, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x65, 739 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 740 0x18, 0x01, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1b, 741 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 742 0xe0, 0x41, 0x03, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x15, 0x0a, 0x03, 0x72, 743 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x72, 744 0x65, 0x71, 0x12, 0x23, 0x0a, 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x18, 0x05, 0x20, 0x01, 745 0x28, 0x09, 0x42, 0x0b, 0x92, 0xb5, 0x18, 0x07, 0x0a, 0x05, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 746 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x1a, 0x7b, 0x0a, 0x09, 0x52, 0x65, 0x63, 0x75, 0x72, 747 0x73, 0x69, 0x76, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6f, 748 0x6e, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 749 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 750 0x67, 0x75, 0x6c, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x72, 0x65, 0x67, 751 0x75, 0x6c, 0x61, 0x72, 0x12, 0x2e, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 752 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x49, 753 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x52, 0x04, 754 0x6e, 0x65, 0x78, 0x74, 0x1a, 0x56, 0x0a, 0x0d, 0x4d, 0x61, 0x70, 0x45, 0x6d, 0x62, 0x65, 0x64, 755 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 756 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 757 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 0x61, 758 0x6c, 0x6b, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 759 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x56, 0x0a, 0x01, 760 0x41, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 761 0x28, 0x09, 0x52, 0x06, 0x61, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x01, 0x62, 0x18, 762 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 763 0x6b, 0x2e, 0x42, 0x52, 0x01, 0x62, 0x12, 0x1c, 0x0a, 0x01, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 764 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x43, 0x68, 765 0x68, 0x52, 0x01, 0x63, 0x22, 0x3d, 0x0a, 0x01, 0x42, 0x12, 0x1c, 0x0a, 0x07, 0x62, 0x5f, 0x76, 766 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 767 0x06, 0x62, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x01, 0x61, 0x18, 0x02, 0x20, 0x01, 768 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x41, 769 0x52, 0x01, 0x61, 0x22, 0x7b, 0x0a, 0x03, 0x43, 0x68, 0x68, 0x12, 0x2d, 0x0a, 0x05, 0x61, 0x5f, 770 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 771 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x43, 0x68, 0x68, 0x2e, 0x41, 0x4d, 0x61, 0x70, 0x45, 0x6e, 772 0x74, 0x72, 0x79, 0x52, 0x04, 0x61, 0x4d, 0x61, 0x70, 0x1a, 0x45, 0x0a, 0x09, 0x41, 0x4d, 0x61, 773 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 774 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x22, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 775 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 776 0x61, 0x6c, 0x6b, 0x2e, 0x41, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 777 0x22, 0x94, 0x06, 0x0a, 0x05, 0x4f, 0x75, 0x74, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 778 0x67, 0x75, 0x6c, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x67, 779 0x75, 0x6c, 0x61, 0x72, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 780 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x64, 0x65, 781 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 782 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x6f, 783 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x15, 0x0a, 0x03, 0x72, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 784 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x72, 0x65, 0x71, 0x12, 0x23, 0x0a, 0x06, 785 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0x92, 0xb5, 786 0x18, 0x07, 0x0a, 0x05, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 787 0x6d, 0x12, 0x33, 0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x6e, 0x65, 788 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 789 0x61, 0x6c, 0x6b, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x52, 0x0b, 0x73, 0x69, 0x6e, 0x67, 0x6c, 790 0x65, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x0b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 791 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 792 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x52, 0x0a, 0x6d, 793 0x75, 0x6c, 0x74, 0x69, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x09, 0x6d, 0x61, 0x70, 794 0x5f, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 795 0x72, 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x4f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x4d, 796 0x61, 0x70, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x61, 797 0x70, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x3f, 0x0a, 0x10, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 798 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 799 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x49, 0x6e, 0x6e, 800 0x65, 0x72, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x44, 0x65, 0x70, 801 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x45, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x5f, 0x6d, 802 0x61, 0x70, 0x5f, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 803 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x4f, 0x75, 0x74, 0x65, 0x72, 804 0x2e, 0x49, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 805 0x79, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x38, 806 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x0b, 807 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 0x6b, 808 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x6f, 0x75, 0x74, 809 0x70, 0x75, 0x74, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x75, 810 0x63, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 811 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 812 0x74, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x1a, 813 0x0a, 0x01, 0x61, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 814 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x41, 0x52, 0x01, 0x61, 0x12, 0x1a, 0x0a, 0x01, 0x62, 0x18, 815 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x77, 0x61, 0x6c, 816 0x6b, 0x2e, 0x42, 0x52, 0x01, 0x62, 0x1a, 0x4d, 0x0a, 0x0d, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x6e, 817 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 818 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 819 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 820 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 821 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x50, 0x0a, 0x10, 0x49, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x49, 822 0x6e, 0x6e, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 823 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 824 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 825 0x74, 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 826 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x4d, 0x0a, 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 827 0x6d, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 828 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 829 0x18, 0xd2, 0x86, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 830 0x77, 0x61, 0x6c, 0x6b, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x78, 0x74, 0x52, 0x06, 831 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 832 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 833 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 834 0x6f, 0x77, 0x61, 0x6c, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 835 } 836 837 var ( 838 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescOnce sync.Once 839 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescData = file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDesc 840 ) 841 842 func file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescGZIP() []byte { 843 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescOnce.Do(func() { 844 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescData) 845 }) 846 return file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDescData 847 } 848 849 var file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes = make([]protoimpl.MessageInfo, 12) 850 var file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_goTypes = []interface{}{ 851 (*CustomExt)(nil), // 0: protowalk.CustomExt 852 (*Inner)(nil), // 1: protowalk.Inner 853 (*A)(nil), // 2: protowalk.A 854 (*B)(nil), // 3: protowalk.B 855 (*Chh)(nil), // 4: protowalk.Chh 856 (*Outer)(nil), // 5: protowalk.Outer 857 (*Inner_Embedded)(nil), // 6: protowalk.Inner.Embedded 858 (*Inner_Recursive)(nil), // 7: protowalk.Inner.Recursive 859 nil, // 8: protowalk.Inner.MapEmbedEntry 860 nil, // 9: protowalk.Chh.AMapEntry 861 nil, // 10: protowalk.Outer.MapInnerEntry 862 nil, // 11: protowalk.Outer.IntMapInnerEntry 863 (*structpb.Struct)(nil), // 12: google.protobuf.Struct 864 (*descriptorpb.FieldOptions)(nil), // 13: google.protobuf.FieldOptions 865 } 866 var file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_depIdxs = []int32{ 867 6, // 0: protowalk.Inner.single_embed:type_name -> protowalk.Inner.Embedded 868 6, // 1: protowalk.Inner.multi_embed:type_name -> protowalk.Inner.Embedded 869 8, // 2: protowalk.Inner.map_embed:type_name -> protowalk.Inner.MapEmbedEntry 870 12, // 3: protowalk.Inner.struct:type_name -> google.protobuf.Struct 871 7, // 4: protowalk.Inner.recursive:type_name -> protowalk.Inner.Recursive 872 3, // 5: protowalk.A.b:type_name -> protowalk.B 873 4, // 6: protowalk.A.c:type_name -> protowalk.Chh 874 2, // 7: protowalk.B.a:type_name -> protowalk.A 875 9, // 8: protowalk.Chh.a_map:type_name -> protowalk.Chh.AMapEntry 876 1, // 9: protowalk.Outer.single_inner:type_name -> protowalk.Inner 877 1, // 10: protowalk.Outer.multi_inner:type_name -> protowalk.Inner 878 10, // 11: protowalk.Outer.map_inner:type_name -> protowalk.Outer.MapInnerEntry 879 1, // 12: protowalk.Outer.multi_deprecated:type_name -> protowalk.Inner 880 11, // 13: protowalk.Outer.int_map_inner:type_name -> protowalk.Outer.IntMapInnerEntry 881 1, // 14: protowalk.Outer.output_inner:type_name -> protowalk.Inner 882 12, // 15: protowalk.Outer.struct:type_name -> google.protobuf.Struct 883 2, // 16: protowalk.Outer.a:type_name -> protowalk.A 884 3, // 17: protowalk.Outer.b:type_name -> protowalk.B 885 7, // 18: protowalk.Inner.Recursive.next:type_name -> protowalk.Inner.Recursive 886 6, // 19: protowalk.Inner.MapEmbedEntry.value:type_name -> protowalk.Inner.Embedded 887 2, // 20: protowalk.Chh.AMapEntry.value:type_name -> protowalk.A 888 1, // 21: protowalk.Outer.MapInnerEntry.value:type_name -> protowalk.Inner 889 1, // 22: protowalk.Outer.IntMapInnerEntry.value:type_name -> protowalk.Inner 890 13, // 23: protowalk.custom:extendee -> google.protobuf.FieldOptions 891 0, // 24: protowalk.custom:type_name -> protowalk.CustomExt 892 25, // [25:25] is the sub-list for method output_type 893 25, // [25:25] is the sub-list for method input_type 894 24, // [24:25] is the sub-list for extension type_name 895 23, // [23:24] is the sub-list for extension extendee 896 0, // [0:23] is the sub-list for field type_name 897 } 898 899 func init() { file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_init() } 900 func file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_init() { 901 if File_go_chromium_org_luci_common_proto_protowalk_fields_test_proto != nil { 902 return 903 } 904 if !protoimpl.UnsafeEnabled { 905 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 906 switch v := v.(*CustomExt); i { 907 case 0: 908 return &v.state 909 case 1: 910 return &v.sizeCache 911 case 2: 912 return &v.unknownFields 913 default: 914 return nil 915 } 916 } 917 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 918 switch v := v.(*Inner); i { 919 case 0: 920 return &v.state 921 case 1: 922 return &v.sizeCache 923 case 2: 924 return &v.unknownFields 925 default: 926 return nil 927 } 928 } 929 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 930 switch v := v.(*A); i { 931 case 0: 932 return &v.state 933 case 1: 934 return &v.sizeCache 935 case 2: 936 return &v.unknownFields 937 default: 938 return nil 939 } 940 } 941 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 942 switch v := v.(*B); i { 943 case 0: 944 return &v.state 945 case 1: 946 return &v.sizeCache 947 case 2: 948 return &v.unknownFields 949 default: 950 return nil 951 } 952 } 953 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 954 switch v := v.(*Chh); i { 955 case 0: 956 return &v.state 957 case 1: 958 return &v.sizeCache 959 case 2: 960 return &v.unknownFields 961 default: 962 return nil 963 } 964 } 965 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 966 switch v := v.(*Outer); i { 967 case 0: 968 return &v.state 969 case 1: 970 return &v.sizeCache 971 case 2: 972 return &v.unknownFields 973 default: 974 return nil 975 } 976 } 977 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 978 switch v := v.(*Inner_Embedded); i { 979 case 0: 980 return &v.state 981 case 1: 982 return &v.sizeCache 983 case 2: 984 return &v.unknownFields 985 default: 986 return nil 987 } 988 } 989 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 990 switch v := v.(*Inner_Recursive); i { 991 case 0: 992 return &v.state 993 case 1: 994 return &v.sizeCache 995 case 2: 996 return &v.unknownFields 997 default: 998 return nil 999 } 1000 } 1001 } 1002 type x struct{} 1003 out := protoimpl.TypeBuilder{ 1004 File: protoimpl.DescBuilder{ 1005 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1006 RawDescriptor: file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDesc, 1007 NumEnums: 0, 1008 NumMessages: 12, 1009 NumExtensions: 1, 1010 NumServices: 0, 1011 }, 1012 GoTypes: file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_goTypes, 1013 DependencyIndexes: file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_depIdxs, 1014 MessageInfos: file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_msgTypes, 1015 ExtensionInfos: file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_extTypes, 1016 }.Build() 1017 File_go_chromium_org_luci_common_proto_protowalk_fields_test_proto = out.File 1018 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_rawDesc = nil 1019 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_goTypes = nil 1020 file_go_chromium_org_luci_common_proto_protowalk_fields_test_proto_depIdxs = nil 1021 }