kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/proto/storage_go_proto/storage.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc v4.25.2 5 // source: kythe/proto/storage.proto 6 7 package storage_go_proto 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 type VName struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` 29 Corpus string `protobuf:"bytes,2,opt,name=corpus,proto3" json:"corpus,omitempty"` 30 Root string `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` 31 Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` 32 Language string `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty"` 33 } 34 35 func (x *VName) Reset() { 36 *x = VName{} 37 if protoimpl.UnsafeEnabled { 38 mi := &file_kythe_proto_storage_proto_msgTypes[0] 39 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 40 ms.StoreMessageInfo(mi) 41 } 42 } 43 44 func (x *VName) String() string { 45 return protoimpl.X.MessageStringOf(x) 46 } 47 48 func (*VName) ProtoMessage() {} 49 50 func (x *VName) ProtoReflect() protoreflect.Message { 51 mi := &file_kythe_proto_storage_proto_msgTypes[0] 52 if protoimpl.UnsafeEnabled && x != nil { 53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 54 if ms.LoadMessageInfo() == nil { 55 ms.StoreMessageInfo(mi) 56 } 57 return ms 58 } 59 return mi.MessageOf(x) 60 } 61 62 // Deprecated: Use VName.ProtoReflect.Descriptor instead. 63 func (*VName) Descriptor() ([]byte, []int) { 64 return file_kythe_proto_storage_proto_rawDescGZIP(), []int{0} 65 } 66 67 func (x *VName) GetSignature() string { 68 if x != nil { 69 return x.Signature 70 } 71 return "" 72 } 73 74 func (x *VName) GetCorpus() string { 75 if x != nil { 76 return x.Corpus 77 } 78 return "" 79 } 80 81 func (x *VName) GetRoot() string { 82 if x != nil { 83 return x.Root 84 } 85 return "" 86 } 87 88 func (x *VName) GetPath() string { 89 if x != nil { 90 return x.Path 91 } 92 return "" 93 } 94 95 func (x *VName) GetLanguage() string { 96 if x != nil { 97 return x.Language 98 } 99 return "" 100 } 101 102 type VNameMask struct { 103 state protoimpl.MessageState 104 sizeCache protoimpl.SizeCache 105 unknownFields protoimpl.UnknownFields 106 107 Signature bool `protobuf:"varint,1,opt,name=signature,proto3" json:"signature,omitempty"` 108 Corpus bool `protobuf:"varint,2,opt,name=corpus,proto3" json:"corpus,omitempty"` 109 Root bool `protobuf:"varint,3,opt,name=root,proto3" json:"root,omitempty"` 110 Path bool `protobuf:"varint,4,opt,name=path,proto3" json:"path,omitempty"` 111 Language bool `protobuf:"varint,5,opt,name=language,proto3" json:"language,omitempty"` 112 } 113 114 func (x *VNameMask) Reset() { 115 *x = VNameMask{} 116 if protoimpl.UnsafeEnabled { 117 mi := &file_kythe_proto_storage_proto_msgTypes[1] 118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 119 ms.StoreMessageInfo(mi) 120 } 121 } 122 123 func (x *VNameMask) String() string { 124 return protoimpl.X.MessageStringOf(x) 125 } 126 127 func (*VNameMask) ProtoMessage() {} 128 129 func (x *VNameMask) ProtoReflect() protoreflect.Message { 130 mi := &file_kythe_proto_storage_proto_msgTypes[1] 131 if protoimpl.UnsafeEnabled && x != nil { 132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 133 if ms.LoadMessageInfo() == nil { 134 ms.StoreMessageInfo(mi) 135 } 136 return ms 137 } 138 return mi.MessageOf(x) 139 } 140 141 // Deprecated: Use VNameMask.ProtoReflect.Descriptor instead. 142 func (*VNameMask) Descriptor() ([]byte, []int) { 143 return file_kythe_proto_storage_proto_rawDescGZIP(), []int{1} 144 } 145 146 func (x *VNameMask) GetSignature() bool { 147 if x != nil { 148 return x.Signature 149 } 150 return false 151 } 152 153 func (x *VNameMask) GetCorpus() bool { 154 if x != nil { 155 return x.Corpus 156 } 157 return false 158 } 159 160 func (x *VNameMask) GetRoot() bool { 161 if x != nil { 162 return x.Root 163 } 164 return false 165 } 166 167 func (x *VNameMask) GetPath() bool { 168 if x != nil { 169 return x.Path 170 } 171 return false 172 } 173 174 func (x *VNameMask) GetLanguage() bool { 175 if x != nil { 176 return x.Language 177 } 178 return false 179 } 180 181 type Entry struct { 182 state protoimpl.MessageState 183 sizeCache protoimpl.SizeCache 184 unknownFields protoimpl.UnknownFields 185 186 Source *VName `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` 187 EdgeKind string `protobuf:"bytes,2,opt,name=edge_kind,json=edgeKind,proto3" json:"edge_kind,omitempty"` 188 Target *VName `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` 189 FactName string `protobuf:"bytes,4,opt,name=fact_name,json=factName,proto3" json:"fact_name,omitempty"` 190 FactValue []byte `protobuf:"bytes,5,opt,name=fact_value,json=factValue,proto3" json:"fact_value,omitempty"` 191 } 192 193 func (x *Entry) Reset() { 194 *x = Entry{} 195 if protoimpl.UnsafeEnabled { 196 mi := &file_kythe_proto_storage_proto_msgTypes[2] 197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 198 ms.StoreMessageInfo(mi) 199 } 200 } 201 202 func (x *Entry) String() string { 203 return protoimpl.X.MessageStringOf(x) 204 } 205 206 func (*Entry) ProtoMessage() {} 207 208 func (x *Entry) ProtoReflect() protoreflect.Message { 209 mi := &file_kythe_proto_storage_proto_msgTypes[2] 210 if protoimpl.UnsafeEnabled && x != nil { 211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 212 if ms.LoadMessageInfo() == nil { 213 ms.StoreMessageInfo(mi) 214 } 215 return ms 216 } 217 return mi.MessageOf(x) 218 } 219 220 // Deprecated: Use Entry.ProtoReflect.Descriptor instead. 221 func (*Entry) Descriptor() ([]byte, []int) { 222 return file_kythe_proto_storage_proto_rawDescGZIP(), []int{2} 223 } 224 225 func (x *Entry) GetSource() *VName { 226 if x != nil { 227 return x.Source 228 } 229 return nil 230 } 231 232 func (x *Entry) GetEdgeKind() string { 233 if x != nil { 234 return x.EdgeKind 235 } 236 return "" 237 } 238 239 func (x *Entry) GetTarget() *VName { 240 if x != nil { 241 return x.Target 242 } 243 return nil 244 } 245 246 func (x *Entry) GetFactName() string { 247 if x != nil { 248 return x.FactName 249 } 250 return "" 251 } 252 253 func (x *Entry) GetFactValue() []byte { 254 if x != nil { 255 return x.FactValue 256 } 257 return nil 258 } 259 260 type Entries struct { 261 state protoimpl.MessageState 262 sizeCache protoimpl.SizeCache 263 unknownFields protoimpl.UnknownFields 264 265 Entries []*Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` 266 } 267 268 func (x *Entries) Reset() { 269 *x = Entries{} 270 if protoimpl.UnsafeEnabled { 271 mi := &file_kythe_proto_storage_proto_msgTypes[3] 272 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 273 ms.StoreMessageInfo(mi) 274 } 275 } 276 277 func (x *Entries) String() string { 278 return protoimpl.X.MessageStringOf(x) 279 } 280 281 func (*Entries) ProtoMessage() {} 282 283 func (x *Entries) ProtoReflect() protoreflect.Message { 284 mi := &file_kythe_proto_storage_proto_msgTypes[3] 285 if protoimpl.UnsafeEnabled && x != nil { 286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 287 if ms.LoadMessageInfo() == nil { 288 ms.StoreMessageInfo(mi) 289 } 290 return ms 291 } 292 return mi.MessageOf(x) 293 } 294 295 // Deprecated: Use Entries.ProtoReflect.Descriptor instead. 296 func (*Entries) Descriptor() ([]byte, []int) { 297 return file_kythe_proto_storage_proto_rawDescGZIP(), []int{3} 298 } 299 300 func (x *Entries) GetEntries() []*Entry { 301 if x != nil { 302 return x.Entries 303 } 304 return nil 305 } 306 307 type ReadRequest struct { 308 state protoimpl.MessageState 309 sizeCache protoimpl.SizeCache 310 unknownFields protoimpl.UnknownFields 311 312 Source *VName `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` 313 EdgeKind string `protobuf:"bytes,2,opt,name=edge_kind,json=edgeKind,proto3" json:"edge_kind,omitempty"` 314 } 315 316 func (x *ReadRequest) Reset() { 317 *x = ReadRequest{} 318 if protoimpl.UnsafeEnabled { 319 mi := &file_kythe_proto_storage_proto_msgTypes[4] 320 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 321 ms.StoreMessageInfo(mi) 322 } 323 } 324 325 func (x *ReadRequest) String() string { 326 return protoimpl.X.MessageStringOf(x) 327 } 328 329 func (*ReadRequest) ProtoMessage() {} 330 331 func (x *ReadRequest) ProtoReflect() protoreflect.Message { 332 mi := &file_kythe_proto_storage_proto_msgTypes[4] 333 if protoimpl.UnsafeEnabled && x != nil { 334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 335 if ms.LoadMessageInfo() == nil { 336 ms.StoreMessageInfo(mi) 337 } 338 return ms 339 } 340 return mi.MessageOf(x) 341 } 342 343 // Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead. 344 func (*ReadRequest) Descriptor() ([]byte, []int) { 345 return file_kythe_proto_storage_proto_rawDescGZIP(), []int{4} 346 } 347 348 func (x *ReadRequest) GetSource() *VName { 349 if x != nil { 350 return x.Source 351 } 352 return nil 353 } 354 355 func (x *ReadRequest) GetEdgeKind() string { 356 if x != nil { 357 return x.EdgeKind 358 } 359 return "" 360 } 361 362 type WriteRequest struct { 363 state protoimpl.MessageState 364 sizeCache protoimpl.SizeCache 365 unknownFields protoimpl.UnknownFields 366 367 Source *VName `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` 368 Update []*WriteRequest_Update `protobuf:"bytes,2,rep,name=update,proto3" json:"update,omitempty"` 369 } 370 371 func (x *WriteRequest) Reset() { 372 *x = WriteRequest{} 373 if protoimpl.UnsafeEnabled { 374 mi := &file_kythe_proto_storage_proto_msgTypes[5] 375 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 376 ms.StoreMessageInfo(mi) 377 } 378 } 379 380 func (x *WriteRequest) String() string { 381 return protoimpl.X.MessageStringOf(x) 382 } 383 384 func (*WriteRequest) ProtoMessage() {} 385 386 func (x *WriteRequest) ProtoReflect() protoreflect.Message { 387 mi := &file_kythe_proto_storage_proto_msgTypes[5] 388 if protoimpl.UnsafeEnabled && x != nil { 389 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 390 if ms.LoadMessageInfo() == nil { 391 ms.StoreMessageInfo(mi) 392 } 393 return ms 394 } 395 return mi.MessageOf(x) 396 } 397 398 // Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead. 399 func (*WriteRequest) Descriptor() ([]byte, []int) { 400 return file_kythe_proto_storage_proto_rawDescGZIP(), []int{5} 401 } 402 403 func (x *WriteRequest) GetSource() *VName { 404 if x != nil { 405 return x.Source 406 } 407 return nil 408 } 409 410 func (x *WriteRequest) GetUpdate() []*WriteRequest_Update { 411 if x != nil { 412 return x.Update 413 } 414 return nil 415 } 416 417 type WriteReply struct { 418 state protoimpl.MessageState 419 sizeCache protoimpl.SizeCache 420 unknownFields protoimpl.UnknownFields 421 } 422 423 func (x *WriteReply) Reset() { 424 *x = WriteReply{} 425 if protoimpl.UnsafeEnabled { 426 mi := &file_kythe_proto_storage_proto_msgTypes[6] 427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 428 ms.StoreMessageInfo(mi) 429 } 430 } 431 432 func (x *WriteReply) String() string { 433 return protoimpl.X.MessageStringOf(x) 434 } 435 436 func (*WriteReply) ProtoMessage() {} 437 438 func (x *WriteReply) ProtoReflect() protoreflect.Message { 439 mi := &file_kythe_proto_storage_proto_msgTypes[6] 440 if protoimpl.UnsafeEnabled && x != nil { 441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 442 if ms.LoadMessageInfo() == nil { 443 ms.StoreMessageInfo(mi) 444 } 445 return ms 446 } 447 return mi.MessageOf(x) 448 } 449 450 // Deprecated: Use WriteReply.ProtoReflect.Descriptor instead. 451 func (*WriteReply) Descriptor() ([]byte, []int) { 452 return file_kythe_proto_storage_proto_rawDescGZIP(), []int{6} 453 } 454 455 type ScanRequest struct { 456 state protoimpl.MessageState 457 sizeCache protoimpl.SizeCache 458 unknownFields protoimpl.UnknownFields 459 460 Target *VName `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` 461 EdgeKind string `protobuf:"bytes,2,opt,name=edge_kind,json=edgeKind,proto3" json:"edge_kind,omitempty"` 462 FactPrefix string `protobuf:"bytes,3,opt,name=fact_prefix,json=factPrefix,proto3" json:"fact_prefix,omitempty"` 463 } 464 465 func (x *ScanRequest) Reset() { 466 *x = ScanRequest{} 467 if protoimpl.UnsafeEnabled { 468 mi := &file_kythe_proto_storage_proto_msgTypes[7] 469 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 470 ms.StoreMessageInfo(mi) 471 } 472 } 473 474 func (x *ScanRequest) String() string { 475 return protoimpl.X.MessageStringOf(x) 476 } 477 478 func (*ScanRequest) ProtoMessage() {} 479 480 func (x *ScanRequest) ProtoReflect() protoreflect.Message { 481 mi := &file_kythe_proto_storage_proto_msgTypes[7] 482 if protoimpl.UnsafeEnabled && x != nil { 483 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 484 if ms.LoadMessageInfo() == nil { 485 ms.StoreMessageInfo(mi) 486 } 487 return ms 488 } 489 return mi.MessageOf(x) 490 } 491 492 // Deprecated: Use ScanRequest.ProtoReflect.Descriptor instead. 493 func (*ScanRequest) Descriptor() ([]byte, []int) { 494 return file_kythe_proto_storage_proto_rawDescGZIP(), []int{7} 495 } 496 497 func (x *ScanRequest) GetTarget() *VName { 498 if x != nil { 499 return x.Target 500 } 501 return nil 502 } 503 504 func (x *ScanRequest) GetEdgeKind() string { 505 if x != nil { 506 return x.EdgeKind 507 } 508 return "" 509 } 510 511 func (x *ScanRequest) GetFactPrefix() string { 512 if x != nil { 513 return x.FactPrefix 514 } 515 return "" 516 } 517 518 type CountRequest struct { 519 state protoimpl.MessageState 520 sizeCache protoimpl.SizeCache 521 unknownFields protoimpl.UnknownFields 522 523 Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` 524 Shards int64 `protobuf:"varint,2,opt,name=shards,proto3" json:"shards,omitempty"` 525 } 526 527 func (x *CountRequest) Reset() { 528 *x = CountRequest{} 529 if protoimpl.UnsafeEnabled { 530 mi := &file_kythe_proto_storage_proto_msgTypes[8] 531 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 532 ms.StoreMessageInfo(mi) 533 } 534 } 535 536 func (x *CountRequest) String() string { 537 return protoimpl.X.MessageStringOf(x) 538 } 539 540 func (*CountRequest) ProtoMessage() {} 541 542 func (x *CountRequest) ProtoReflect() protoreflect.Message { 543 mi := &file_kythe_proto_storage_proto_msgTypes[8] 544 if protoimpl.UnsafeEnabled && x != nil { 545 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 546 if ms.LoadMessageInfo() == nil { 547 ms.StoreMessageInfo(mi) 548 } 549 return ms 550 } 551 return mi.MessageOf(x) 552 } 553 554 // Deprecated: Use CountRequest.ProtoReflect.Descriptor instead. 555 func (*CountRequest) Descriptor() ([]byte, []int) { 556 return file_kythe_proto_storage_proto_rawDescGZIP(), []int{8} 557 } 558 559 func (x *CountRequest) GetIndex() int64 { 560 if x != nil { 561 return x.Index 562 } 563 return 0 564 } 565 566 func (x *CountRequest) GetShards() int64 { 567 if x != nil { 568 return x.Shards 569 } 570 return 0 571 } 572 573 type CountReply struct { 574 state protoimpl.MessageState 575 sizeCache protoimpl.SizeCache 576 unknownFields protoimpl.UnknownFields 577 578 Entries int64 `protobuf:"varint,1,opt,name=entries,proto3" json:"entries,omitempty"` 579 } 580 581 func (x *CountReply) Reset() { 582 *x = CountReply{} 583 if protoimpl.UnsafeEnabled { 584 mi := &file_kythe_proto_storage_proto_msgTypes[9] 585 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 586 ms.StoreMessageInfo(mi) 587 } 588 } 589 590 func (x *CountReply) String() string { 591 return protoimpl.X.MessageStringOf(x) 592 } 593 594 func (*CountReply) ProtoMessage() {} 595 596 func (x *CountReply) ProtoReflect() protoreflect.Message { 597 mi := &file_kythe_proto_storage_proto_msgTypes[9] 598 if protoimpl.UnsafeEnabled && x != nil { 599 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 600 if ms.LoadMessageInfo() == nil { 601 ms.StoreMessageInfo(mi) 602 } 603 return ms 604 } 605 return mi.MessageOf(x) 606 } 607 608 // Deprecated: Use CountReply.ProtoReflect.Descriptor instead. 609 func (*CountReply) Descriptor() ([]byte, []int) { 610 return file_kythe_proto_storage_proto_rawDescGZIP(), []int{9} 611 } 612 613 func (x *CountReply) GetEntries() int64 { 614 if x != nil { 615 return x.Entries 616 } 617 return 0 618 } 619 620 type ShardRequest struct { 621 state protoimpl.MessageState 622 sizeCache protoimpl.SizeCache 623 unknownFields protoimpl.UnknownFields 624 625 Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` 626 Shards int64 `protobuf:"varint,2,opt,name=shards,proto3" json:"shards,omitempty"` 627 } 628 629 func (x *ShardRequest) Reset() { 630 *x = ShardRequest{} 631 if protoimpl.UnsafeEnabled { 632 mi := &file_kythe_proto_storage_proto_msgTypes[10] 633 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 634 ms.StoreMessageInfo(mi) 635 } 636 } 637 638 func (x *ShardRequest) String() string { 639 return protoimpl.X.MessageStringOf(x) 640 } 641 642 func (*ShardRequest) ProtoMessage() {} 643 644 func (x *ShardRequest) ProtoReflect() protoreflect.Message { 645 mi := &file_kythe_proto_storage_proto_msgTypes[10] 646 if protoimpl.UnsafeEnabled && x != nil { 647 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 648 if ms.LoadMessageInfo() == nil { 649 ms.StoreMessageInfo(mi) 650 } 651 return ms 652 } 653 return mi.MessageOf(x) 654 } 655 656 // Deprecated: Use ShardRequest.ProtoReflect.Descriptor instead. 657 func (*ShardRequest) Descriptor() ([]byte, []int) { 658 return file_kythe_proto_storage_proto_rawDescGZIP(), []int{10} 659 } 660 661 func (x *ShardRequest) GetIndex() int64 { 662 if x != nil { 663 return x.Index 664 } 665 return 0 666 } 667 668 func (x *ShardRequest) GetShards() int64 { 669 if x != nil { 670 return x.Shards 671 } 672 return 0 673 } 674 675 type VNameRewriteRule struct { 676 state protoimpl.MessageState 677 sizeCache protoimpl.SizeCache 678 unknownFields protoimpl.UnknownFields 679 680 Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"` 681 VName *VName `protobuf:"bytes,2,opt,name=v_name,json=vname,proto3" json:"v_name,omitempty"` 682 } 683 684 func (x *VNameRewriteRule) Reset() { 685 *x = VNameRewriteRule{} 686 if protoimpl.UnsafeEnabled { 687 mi := &file_kythe_proto_storage_proto_msgTypes[11] 688 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 689 ms.StoreMessageInfo(mi) 690 } 691 } 692 693 func (x *VNameRewriteRule) String() string { 694 return protoimpl.X.MessageStringOf(x) 695 } 696 697 func (*VNameRewriteRule) ProtoMessage() {} 698 699 func (x *VNameRewriteRule) ProtoReflect() protoreflect.Message { 700 mi := &file_kythe_proto_storage_proto_msgTypes[11] 701 if protoimpl.UnsafeEnabled && x != nil { 702 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 703 if ms.LoadMessageInfo() == nil { 704 ms.StoreMessageInfo(mi) 705 } 706 return ms 707 } 708 return mi.MessageOf(x) 709 } 710 711 // Deprecated: Use VNameRewriteRule.ProtoReflect.Descriptor instead. 712 func (*VNameRewriteRule) Descriptor() ([]byte, []int) { 713 return file_kythe_proto_storage_proto_rawDescGZIP(), []int{11} 714 } 715 716 func (x *VNameRewriteRule) GetPattern() string { 717 if x != nil { 718 return x.Pattern 719 } 720 return "" 721 } 722 723 func (x *VNameRewriteRule) GetVName() *VName { 724 if x != nil { 725 return x.VName 726 } 727 return nil 728 } 729 730 type VNameRewriteRules struct { 731 state protoimpl.MessageState 732 sizeCache protoimpl.SizeCache 733 unknownFields protoimpl.UnknownFields 734 735 Rule []*VNameRewriteRule `protobuf:"bytes,1,rep,name=rule,proto3" json:"rule,omitempty"` 736 } 737 738 func (x *VNameRewriteRules) Reset() { 739 *x = VNameRewriteRules{} 740 if protoimpl.UnsafeEnabled { 741 mi := &file_kythe_proto_storage_proto_msgTypes[12] 742 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 743 ms.StoreMessageInfo(mi) 744 } 745 } 746 747 func (x *VNameRewriteRules) String() string { 748 return protoimpl.X.MessageStringOf(x) 749 } 750 751 func (*VNameRewriteRules) ProtoMessage() {} 752 753 func (x *VNameRewriteRules) ProtoReflect() protoreflect.Message { 754 mi := &file_kythe_proto_storage_proto_msgTypes[12] 755 if protoimpl.UnsafeEnabled && x != nil { 756 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 757 if ms.LoadMessageInfo() == nil { 758 ms.StoreMessageInfo(mi) 759 } 760 return ms 761 } 762 return mi.MessageOf(x) 763 } 764 765 // Deprecated: Use VNameRewriteRules.ProtoReflect.Descriptor instead. 766 func (*VNameRewriteRules) Descriptor() ([]byte, []int) { 767 return file_kythe_proto_storage_proto_rawDescGZIP(), []int{12} 768 } 769 770 func (x *VNameRewriteRules) GetRule() []*VNameRewriteRule { 771 if x != nil { 772 return x.Rule 773 } 774 return nil 775 } 776 777 type WriteRequest_Update struct { 778 state protoimpl.MessageState 779 sizeCache protoimpl.SizeCache 780 unknownFields protoimpl.UnknownFields 781 782 EdgeKind string `protobuf:"bytes,1,opt,name=edge_kind,json=edgeKind,proto3" json:"edge_kind,omitempty"` 783 Target *VName `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` 784 FactName string `protobuf:"bytes,3,opt,name=fact_name,json=factName,proto3" json:"fact_name,omitempty"` 785 FactValue []byte `protobuf:"bytes,4,opt,name=fact_value,json=factValue,proto3" json:"fact_value,omitempty"` 786 } 787 788 func (x *WriteRequest_Update) Reset() { 789 *x = WriteRequest_Update{} 790 if protoimpl.UnsafeEnabled { 791 mi := &file_kythe_proto_storage_proto_msgTypes[13] 792 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 793 ms.StoreMessageInfo(mi) 794 } 795 } 796 797 func (x *WriteRequest_Update) String() string { 798 return protoimpl.X.MessageStringOf(x) 799 } 800 801 func (*WriteRequest_Update) ProtoMessage() {} 802 803 func (x *WriteRequest_Update) ProtoReflect() protoreflect.Message { 804 mi := &file_kythe_proto_storage_proto_msgTypes[13] 805 if protoimpl.UnsafeEnabled && x != nil { 806 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 807 if ms.LoadMessageInfo() == nil { 808 ms.StoreMessageInfo(mi) 809 } 810 return ms 811 } 812 return mi.MessageOf(x) 813 } 814 815 // Deprecated: Use WriteRequest_Update.ProtoReflect.Descriptor instead. 816 func (*WriteRequest_Update) Descriptor() ([]byte, []int) { 817 return file_kythe_proto_storage_proto_rawDescGZIP(), []int{5, 0} 818 } 819 820 func (x *WriteRequest_Update) GetEdgeKind() string { 821 if x != nil { 822 return x.EdgeKind 823 } 824 return "" 825 } 826 827 func (x *WriteRequest_Update) GetTarget() *VName { 828 if x != nil { 829 return x.Target 830 } 831 return nil 832 } 833 834 func (x *WriteRequest_Update) GetFactName() string { 835 if x != nil { 836 return x.FactName 837 } 838 return "" 839 } 840 841 func (x *WriteRequest_Update) GetFactValue() []byte { 842 if x != nil { 843 return x.FactValue 844 } 845 return nil 846 } 847 848 var File_kythe_proto_storage_proto protoreflect.FileDescriptor 849 850 var file_kythe_proto_storage_proto_rawDesc = []byte{ 851 0x0a, 0x19, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x74, 852 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6b, 0x79, 0x74, 853 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x05, 0x56, 0x4e, 0x61, 854 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 855 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 856 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x72, 0x70, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 857 0x52, 0x06, 0x63, 0x6f, 0x72, 0x70, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 858 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 859 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 860 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 861 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x22, 0x85, 0x01, 0x0a, 862 0x09, 0x56, 0x4e, 0x61, 0x6d, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 863 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 864 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x72, 0x70, 865 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, 0x6f, 0x72, 0x70, 0x75, 0x73, 866 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 867 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 868 0x28, 0x08, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 869 0x75, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 870 0x75, 0x61, 0x67, 0x65, 0x22, 0xb8, 0x01, 0x0a, 0x05, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x2a, 871 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 872 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x4e, 0x61, 873 0x6d, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x64, 874 0x67, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 875 0x64, 0x67, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 876 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 877 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x06, 0x74, 0x61, 0x72, 878 0x67, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 879 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x61, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 880 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 881 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x66, 0x61, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 882 0x37, 0x0a, 0x07, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x07, 0x65, 0x6e, 883 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6b, 0x79, 884 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 885 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0x56, 0x0a, 0x0b, 0x52, 0x65, 0x61, 0x64, 886 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 887 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 888 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, 889 0x72, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 890 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x64, 0x67, 0x65, 0x4b, 0x69, 0x6e, 0x64, 891 0x22, 0x84, 0x02, 0x0a, 0x0c, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 892 0x74, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 893 0x0b, 0x32, 0x12, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 894 0x56, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x38, 0x0a, 895 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 896 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x57, 0x72, 0x69, 0x74, 897 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 898 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, 0x8d, 0x01, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 899 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 900 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x64, 0x67, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x12, 901 0x2a, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 902 0x12, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x4e, 903 0x61, 0x6d, 0x65, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, 904 0x61, 0x63, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 905 0x66, 0x61, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x61, 0x63, 0x74, 906 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x66, 0x61, 907 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x0c, 0x0a, 0x0a, 0x57, 0x72, 0x69, 0x74, 0x65, 908 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x77, 0x0a, 0x0b, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 909 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 910 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 911 0x74, 0x6f, 0x2e, 0x56, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 912 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 913 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x64, 0x67, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x1f, 0x0a, 914 0x0b, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20, 0x01, 915 0x28, 0x09, 0x52, 0x0a, 0x66, 0x61, 0x63, 0x74, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0x3c, 916 0x0a, 0x0c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 917 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x69, 918 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 919 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x22, 0x26, 0x0a, 0x0a, 920 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 921 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x74, 922 0x72, 0x69, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x0c, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 923 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 924 0x01, 0x28, 0x03, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 925 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 926 0x64, 0x73, 0x22, 0x57, 0x0a, 0x10, 0x56, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x77, 0x72, 0x69, 927 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 928 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 929 0x12, 0x29, 0x0a, 0x06, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 930 0x32, 0x12, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 931 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x05, 0x76, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x46, 0x0a, 0x11, 0x56, 932 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x77, 0x72, 0x69, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x73, 933 0x12, 0x31, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 934 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x4e, 0x61, 935 0x6d, 0x65, 0x52, 0x65, 0x77, 0x72, 0x69, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x04, 0x72, 936 0x75, 0x6c, 0x65, 0x42, 0x48, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 937 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 938 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x25, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x69, 0x6f, 939 0x2f, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x74, 0x6f, 940 0x72, 0x61, 0x67, 0x65, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 941 0x72, 0x6f, 0x74, 0x6f, 0x33, 942 } 943 944 var ( 945 file_kythe_proto_storage_proto_rawDescOnce sync.Once 946 file_kythe_proto_storage_proto_rawDescData = file_kythe_proto_storage_proto_rawDesc 947 ) 948 949 func file_kythe_proto_storage_proto_rawDescGZIP() []byte { 950 file_kythe_proto_storage_proto_rawDescOnce.Do(func() { 951 file_kythe_proto_storage_proto_rawDescData = protoimpl.X.CompressGZIP(file_kythe_proto_storage_proto_rawDescData) 952 }) 953 return file_kythe_proto_storage_proto_rawDescData 954 } 955 956 var file_kythe_proto_storage_proto_msgTypes = make([]protoimpl.MessageInfo, 14) 957 var file_kythe_proto_storage_proto_goTypes = []interface{}{ 958 (*VName)(nil), // 0: kythe.proto.VName 959 (*VNameMask)(nil), // 1: kythe.proto.VNameMask 960 (*Entry)(nil), // 2: kythe.proto.Entry 961 (*Entries)(nil), // 3: kythe.proto.Entries 962 (*ReadRequest)(nil), // 4: kythe.proto.ReadRequest 963 (*WriteRequest)(nil), // 5: kythe.proto.WriteRequest 964 (*WriteReply)(nil), // 6: kythe.proto.WriteReply 965 (*ScanRequest)(nil), // 7: kythe.proto.ScanRequest 966 (*CountRequest)(nil), // 8: kythe.proto.CountRequest 967 (*CountReply)(nil), // 9: kythe.proto.CountReply 968 (*ShardRequest)(nil), // 10: kythe.proto.ShardRequest 969 (*VNameRewriteRule)(nil), // 11: kythe.proto.VNameRewriteRule 970 (*VNameRewriteRules)(nil), // 12: kythe.proto.VNameRewriteRules 971 (*WriteRequest_Update)(nil), // 13: kythe.proto.WriteRequest.Update 972 } 973 var file_kythe_proto_storage_proto_depIdxs = []int32{ 974 0, // 0: kythe.proto.Entry.source:type_name -> kythe.proto.VName 975 0, // 1: kythe.proto.Entry.target:type_name -> kythe.proto.VName 976 2, // 2: kythe.proto.Entries.entries:type_name -> kythe.proto.Entry 977 0, // 3: kythe.proto.ReadRequest.source:type_name -> kythe.proto.VName 978 0, // 4: kythe.proto.WriteRequest.source:type_name -> kythe.proto.VName 979 13, // 5: kythe.proto.WriteRequest.update:type_name -> kythe.proto.WriteRequest.Update 980 0, // 6: kythe.proto.ScanRequest.target:type_name -> kythe.proto.VName 981 0, // 7: kythe.proto.VNameRewriteRule.v_name:type_name -> kythe.proto.VName 982 11, // 8: kythe.proto.VNameRewriteRules.rule:type_name -> kythe.proto.VNameRewriteRule 983 0, // 9: kythe.proto.WriteRequest.Update.target:type_name -> kythe.proto.VName 984 10, // [10:10] is the sub-list for method output_type 985 10, // [10:10] is the sub-list for method input_type 986 10, // [10:10] is the sub-list for extension type_name 987 10, // [10:10] is the sub-list for extension extendee 988 0, // [0:10] is the sub-list for field type_name 989 } 990 991 func init() { file_kythe_proto_storage_proto_init() } 992 func file_kythe_proto_storage_proto_init() { 993 if File_kythe_proto_storage_proto != nil { 994 return 995 } 996 if !protoimpl.UnsafeEnabled { 997 file_kythe_proto_storage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 998 switch v := v.(*VName); i { 999 case 0: 1000 return &v.state 1001 case 1: 1002 return &v.sizeCache 1003 case 2: 1004 return &v.unknownFields 1005 default: 1006 return nil 1007 } 1008 } 1009 file_kythe_proto_storage_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1010 switch v := v.(*VNameMask); i { 1011 case 0: 1012 return &v.state 1013 case 1: 1014 return &v.sizeCache 1015 case 2: 1016 return &v.unknownFields 1017 default: 1018 return nil 1019 } 1020 } 1021 file_kythe_proto_storage_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1022 switch v := v.(*Entry); i { 1023 case 0: 1024 return &v.state 1025 case 1: 1026 return &v.sizeCache 1027 case 2: 1028 return &v.unknownFields 1029 default: 1030 return nil 1031 } 1032 } 1033 file_kythe_proto_storage_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1034 switch v := v.(*Entries); i { 1035 case 0: 1036 return &v.state 1037 case 1: 1038 return &v.sizeCache 1039 case 2: 1040 return &v.unknownFields 1041 default: 1042 return nil 1043 } 1044 } 1045 file_kythe_proto_storage_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1046 switch v := v.(*ReadRequest); i { 1047 case 0: 1048 return &v.state 1049 case 1: 1050 return &v.sizeCache 1051 case 2: 1052 return &v.unknownFields 1053 default: 1054 return nil 1055 } 1056 } 1057 file_kythe_proto_storage_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1058 switch v := v.(*WriteRequest); i { 1059 case 0: 1060 return &v.state 1061 case 1: 1062 return &v.sizeCache 1063 case 2: 1064 return &v.unknownFields 1065 default: 1066 return nil 1067 } 1068 } 1069 file_kythe_proto_storage_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1070 switch v := v.(*WriteReply); i { 1071 case 0: 1072 return &v.state 1073 case 1: 1074 return &v.sizeCache 1075 case 2: 1076 return &v.unknownFields 1077 default: 1078 return nil 1079 } 1080 } 1081 file_kythe_proto_storage_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1082 switch v := v.(*ScanRequest); i { 1083 case 0: 1084 return &v.state 1085 case 1: 1086 return &v.sizeCache 1087 case 2: 1088 return &v.unknownFields 1089 default: 1090 return nil 1091 } 1092 } 1093 file_kythe_proto_storage_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1094 switch v := v.(*CountRequest); i { 1095 case 0: 1096 return &v.state 1097 case 1: 1098 return &v.sizeCache 1099 case 2: 1100 return &v.unknownFields 1101 default: 1102 return nil 1103 } 1104 } 1105 file_kythe_proto_storage_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1106 switch v := v.(*CountReply); i { 1107 case 0: 1108 return &v.state 1109 case 1: 1110 return &v.sizeCache 1111 case 2: 1112 return &v.unknownFields 1113 default: 1114 return nil 1115 } 1116 } 1117 file_kythe_proto_storage_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1118 switch v := v.(*ShardRequest); i { 1119 case 0: 1120 return &v.state 1121 case 1: 1122 return &v.sizeCache 1123 case 2: 1124 return &v.unknownFields 1125 default: 1126 return nil 1127 } 1128 } 1129 file_kythe_proto_storage_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1130 switch v := v.(*VNameRewriteRule); i { 1131 case 0: 1132 return &v.state 1133 case 1: 1134 return &v.sizeCache 1135 case 2: 1136 return &v.unknownFields 1137 default: 1138 return nil 1139 } 1140 } 1141 file_kythe_proto_storage_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1142 switch v := v.(*VNameRewriteRules); i { 1143 case 0: 1144 return &v.state 1145 case 1: 1146 return &v.sizeCache 1147 case 2: 1148 return &v.unknownFields 1149 default: 1150 return nil 1151 } 1152 } 1153 file_kythe_proto_storage_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1154 switch v := v.(*WriteRequest_Update); i { 1155 case 0: 1156 return &v.state 1157 case 1: 1158 return &v.sizeCache 1159 case 2: 1160 return &v.unknownFields 1161 default: 1162 return nil 1163 } 1164 } 1165 } 1166 type x struct{} 1167 out := protoimpl.TypeBuilder{ 1168 File: protoimpl.DescBuilder{ 1169 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1170 RawDescriptor: file_kythe_proto_storage_proto_rawDesc, 1171 NumEnums: 0, 1172 NumMessages: 14, 1173 NumExtensions: 0, 1174 NumServices: 0, 1175 }, 1176 GoTypes: file_kythe_proto_storage_proto_goTypes, 1177 DependencyIndexes: file_kythe_proto_storage_proto_depIdxs, 1178 MessageInfos: file_kythe_proto_storage_proto_msgTypes, 1179 }.Build() 1180 File_kythe_proto_storage_proto = out.File 1181 file_kythe_proto_storage_proto_rawDesc = nil 1182 file_kythe_proto_storage_proto_goTypes = nil 1183 file_kythe_proto_storage_proto_depIdxs = nil 1184 }