get.porter.sh/porter@v1.3.0/pkg/storage/plugins/proto/storage_protocol.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.0 4 // protoc v3.19.4 5 // source: pkg/storage/plugins/proto/storage_protocol.proto 6 7 package proto 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 structpb "google.golang.org/protobuf/types/known/structpb" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type EnsureIndexRequest struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 Indices []*Index `protobuf:"bytes,1,rep,name=Indices,proto3" json:"Indices,omitempty"` 30 } 31 32 func (x *EnsureIndexRequest) Reset() { 33 *x = EnsureIndexRequest{} 34 if protoimpl.UnsafeEnabled { 35 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[0] 36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 37 ms.StoreMessageInfo(mi) 38 } 39 } 40 41 func (x *EnsureIndexRequest) String() string { 42 return protoimpl.X.MessageStringOf(x) 43 } 44 45 func (*EnsureIndexRequest) ProtoMessage() {} 46 47 func (x *EnsureIndexRequest) ProtoReflect() protoreflect.Message { 48 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[0] 49 if protoimpl.UnsafeEnabled && x != nil { 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 if ms.LoadMessageInfo() == nil { 52 ms.StoreMessageInfo(mi) 53 } 54 return ms 55 } 56 return mi.MessageOf(x) 57 } 58 59 // Deprecated: Use EnsureIndexRequest.ProtoReflect.Descriptor instead. 60 func (*EnsureIndexRequest) Descriptor() ([]byte, []int) { 61 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{0} 62 } 63 64 func (x *EnsureIndexRequest) GetIndices() []*Index { 65 if x != nil { 66 return x.Indices 67 } 68 return nil 69 } 70 71 type Index struct { 72 state protoimpl.MessageState 73 sizeCache protoimpl.SizeCache 74 unknownFields protoimpl.UnknownFields 75 76 Collection string `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection,omitempty"` 77 Keys []*structpb.Struct `protobuf:"bytes,2,rep,name=Keys,proto3" json:"Keys,omitempty"` 78 Unique bool `protobuf:"varint,3,opt,name=Unique,proto3" json:"Unique,omitempty"` 79 } 80 81 func (x *Index) Reset() { 82 *x = Index{} 83 if protoimpl.UnsafeEnabled { 84 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[1] 85 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 86 ms.StoreMessageInfo(mi) 87 } 88 } 89 90 func (x *Index) String() string { 91 return protoimpl.X.MessageStringOf(x) 92 } 93 94 func (*Index) ProtoMessage() {} 95 96 func (x *Index) ProtoReflect() protoreflect.Message { 97 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[1] 98 if protoimpl.UnsafeEnabled && x != nil { 99 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 100 if ms.LoadMessageInfo() == nil { 101 ms.StoreMessageInfo(mi) 102 } 103 return ms 104 } 105 return mi.MessageOf(x) 106 } 107 108 // Deprecated: Use Index.ProtoReflect.Descriptor instead. 109 func (*Index) Descriptor() ([]byte, []int) { 110 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{1} 111 } 112 113 func (x *Index) GetCollection() string { 114 if x != nil { 115 return x.Collection 116 } 117 return "" 118 } 119 120 func (x *Index) GetKeys() []*structpb.Struct { 121 if x != nil { 122 return x.Keys 123 } 124 return nil 125 } 126 127 func (x *Index) GetUnique() bool { 128 if x != nil { 129 return x.Unique 130 } 131 return false 132 } 133 134 type AggregateRequest struct { 135 state protoimpl.MessageState 136 sizeCache protoimpl.SizeCache 137 unknownFields protoimpl.UnknownFields 138 139 Collection string `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection,omitempty"` 140 Pipeline []*Stage `protobuf:"bytes,2,rep,name=Pipeline,proto3" json:"Pipeline,omitempty"` 141 } 142 143 func (x *AggregateRequest) Reset() { 144 *x = AggregateRequest{} 145 if protoimpl.UnsafeEnabled { 146 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[2] 147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 148 ms.StoreMessageInfo(mi) 149 } 150 } 151 152 func (x *AggregateRequest) String() string { 153 return protoimpl.X.MessageStringOf(x) 154 } 155 156 func (*AggregateRequest) ProtoMessage() {} 157 158 func (x *AggregateRequest) ProtoReflect() protoreflect.Message { 159 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[2] 160 if protoimpl.UnsafeEnabled && x != nil { 161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 162 if ms.LoadMessageInfo() == nil { 163 ms.StoreMessageInfo(mi) 164 } 165 return ms 166 } 167 return mi.MessageOf(x) 168 } 169 170 // Deprecated: Use AggregateRequest.ProtoReflect.Descriptor instead. 171 func (*AggregateRequest) Descriptor() ([]byte, []int) { 172 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{2} 173 } 174 175 func (x *AggregateRequest) GetCollection() string { 176 if x != nil { 177 return x.Collection 178 } 179 return "" 180 } 181 182 func (x *AggregateRequest) GetPipeline() []*Stage { 183 if x != nil { 184 return x.Pipeline 185 } 186 return nil 187 } 188 189 type Stage struct { 190 state protoimpl.MessageState 191 sizeCache protoimpl.SizeCache 192 unknownFields protoimpl.UnknownFields 193 194 Steps []*structpb.Struct `protobuf:"bytes,1,rep,name=Steps,proto3" json:"Steps,omitempty"` 195 } 196 197 func (x *Stage) Reset() { 198 *x = Stage{} 199 if protoimpl.UnsafeEnabled { 200 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[3] 201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 202 ms.StoreMessageInfo(mi) 203 } 204 } 205 206 func (x *Stage) String() string { 207 return protoimpl.X.MessageStringOf(x) 208 } 209 210 func (*Stage) ProtoMessage() {} 211 212 func (x *Stage) ProtoReflect() protoreflect.Message { 213 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[3] 214 if protoimpl.UnsafeEnabled && x != nil { 215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 216 if ms.LoadMessageInfo() == nil { 217 ms.StoreMessageInfo(mi) 218 } 219 return ms 220 } 221 return mi.MessageOf(x) 222 } 223 224 // Deprecated: Use Stage.ProtoReflect.Descriptor instead. 225 func (*Stage) Descriptor() ([]byte, []int) { 226 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{3} 227 } 228 229 func (x *Stage) GetSteps() []*structpb.Struct { 230 if x != nil { 231 return x.Steps 232 } 233 return nil 234 } 235 236 type CountRequest struct { 237 state protoimpl.MessageState 238 sizeCache protoimpl.SizeCache 239 unknownFields protoimpl.UnknownFields 240 241 Collection string `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection,omitempty"` 242 Filter *structpb.Struct `protobuf:"bytes,2,opt,name=Filter,proto3" json:"Filter,omitempty"` 243 } 244 245 func (x *CountRequest) Reset() { 246 *x = CountRequest{} 247 if protoimpl.UnsafeEnabled { 248 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[4] 249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 250 ms.StoreMessageInfo(mi) 251 } 252 } 253 254 func (x *CountRequest) String() string { 255 return protoimpl.X.MessageStringOf(x) 256 } 257 258 func (*CountRequest) ProtoMessage() {} 259 260 func (x *CountRequest) ProtoReflect() protoreflect.Message { 261 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[4] 262 if protoimpl.UnsafeEnabled && x != nil { 263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 264 if ms.LoadMessageInfo() == nil { 265 ms.StoreMessageInfo(mi) 266 } 267 return ms 268 } 269 return mi.MessageOf(x) 270 } 271 272 // Deprecated: Use CountRequest.ProtoReflect.Descriptor instead. 273 func (*CountRequest) Descriptor() ([]byte, []int) { 274 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{4} 275 } 276 277 func (x *CountRequest) GetCollection() string { 278 if x != nil { 279 return x.Collection 280 } 281 return "" 282 } 283 284 func (x *CountRequest) GetFilter() *structpb.Struct { 285 if x != nil { 286 return x.Filter 287 } 288 return nil 289 } 290 291 type FindRequest struct { 292 state protoimpl.MessageState 293 sizeCache protoimpl.SizeCache 294 unknownFields protoimpl.UnknownFields 295 296 Collection string `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection,omitempty"` 297 Sort []*structpb.Struct `protobuf:"bytes,2,rep,name=Sort,proto3" json:"Sort,omitempty"` 298 Skip int64 `protobuf:"varint,3,opt,name=Skip,proto3" json:"Skip,omitempty"` 299 Limit int64 `protobuf:"varint,4,opt,name=Limit,proto3" json:"Limit,omitempty"` 300 Select []*structpb.Struct `protobuf:"bytes,5,rep,name=Select,proto3" json:"Select,omitempty"` 301 Filter *structpb.Struct `protobuf:"bytes,6,opt,name=Filter,proto3" json:"Filter,omitempty"` 302 } 303 304 func (x *FindRequest) Reset() { 305 *x = FindRequest{} 306 if protoimpl.UnsafeEnabled { 307 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[5] 308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 309 ms.StoreMessageInfo(mi) 310 } 311 } 312 313 func (x *FindRequest) String() string { 314 return protoimpl.X.MessageStringOf(x) 315 } 316 317 func (*FindRequest) ProtoMessage() {} 318 319 func (x *FindRequest) ProtoReflect() protoreflect.Message { 320 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[5] 321 if protoimpl.UnsafeEnabled && x != nil { 322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 323 if ms.LoadMessageInfo() == nil { 324 ms.StoreMessageInfo(mi) 325 } 326 return ms 327 } 328 return mi.MessageOf(x) 329 } 330 331 // Deprecated: Use FindRequest.ProtoReflect.Descriptor instead. 332 func (*FindRequest) Descriptor() ([]byte, []int) { 333 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{5} 334 } 335 336 func (x *FindRequest) GetCollection() string { 337 if x != nil { 338 return x.Collection 339 } 340 return "" 341 } 342 343 func (x *FindRequest) GetSort() []*structpb.Struct { 344 if x != nil { 345 return x.Sort 346 } 347 return nil 348 } 349 350 func (x *FindRequest) GetSkip() int64 { 351 if x != nil { 352 return x.Skip 353 } 354 return 0 355 } 356 357 func (x *FindRequest) GetLimit() int64 { 358 if x != nil { 359 return x.Limit 360 } 361 return 0 362 } 363 364 func (x *FindRequest) GetSelect() []*structpb.Struct { 365 if x != nil { 366 return x.Select 367 } 368 return nil 369 } 370 371 func (x *FindRequest) GetFilter() *structpb.Struct { 372 if x != nil { 373 return x.Filter 374 } 375 return nil 376 } 377 378 type InsertRequest struct { 379 state protoimpl.MessageState 380 sizeCache protoimpl.SizeCache 381 unknownFields protoimpl.UnknownFields 382 383 Collection string `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection,omitempty"` 384 Documents []*structpb.Struct `protobuf:"bytes,2,rep,name=Documents,proto3" json:"Documents,omitempty"` 385 } 386 387 func (x *InsertRequest) Reset() { 388 *x = InsertRequest{} 389 if protoimpl.UnsafeEnabled { 390 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[6] 391 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 392 ms.StoreMessageInfo(mi) 393 } 394 } 395 396 func (x *InsertRequest) String() string { 397 return protoimpl.X.MessageStringOf(x) 398 } 399 400 func (*InsertRequest) ProtoMessage() {} 401 402 func (x *InsertRequest) ProtoReflect() protoreflect.Message { 403 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[6] 404 if protoimpl.UnsafeEnabled && x != nil { 405 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 406 if ms.LoadMessageInfo() == nil { 407 ms.StoreMessageInfo(mi) 408 } 409 return ms 410 } 411 return mi.MessageOf(x) 412 } 413 414 // Deprecated: Use InsertRequest.ProtoReflect.Descriptor instead. 415 func (*InsertRequest) Descriptor() ([]byte, []int) { 416 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{6} 417 } 418 419 func (x *InsertRequest) GetCollection() string { 420 if x != nil { 421 return x.Collection 422 } 423 return "" 424 } 425 426 func (x *InsertRequest) GetDocuments() []*structpb.Struct { 427 if x != nil { 428 return x.Documents 429 } 430 return nil 431 } 432 433 type PatchRequest struct { 434 state protoimpl.MessageState 435 sizeCache protoimpl.SizeCache 436 unknownFields protoimpl.UnknownFields 437 438 Collection string `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection,omitempty"` 439 QueryDocument *structpb.Struct `protobuf:"bytes,2,opt,name=QueryDocument,proto3" json:"QueryDocument,omitempty"` 440 Transformation []*structpb.Struct `protobuf:"bytes,3,rep,name=Transformation,proto3" json:"Transformation,omitempty"` 441 } 442 443 func (x *PatchRequest) Reset() { 444 *x = PatchRequest{} 445 if protoimpl.UnsafeEnabled { 446 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[7] 447 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 448 ms.StoreMessageInfo(mi) 449 } 450 } 451 452 func (x *PatchRequest) String() string { 453 return protoimpl.X.MessageStringOf(x) 454 } 455 456 func (*PatchRequest) ProtoMessage() {} 457 458 func (x *PatchRequest) ProtoReflect() protoreflect.Message { 459 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[7] 460 if protoimpl.UnsafeEnabled && x != nil { 461 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 462 if ms.LoadMessageInfo() == nil { 463 ms.StoreMessageInfo(mi) 464 } 465 return ms 466 } 467 return mi.MessageOf(x) 468 } 469 470 // Deprecated: Use PatchRequest.ProtoReflect.Descriptor instead. 471 func (*PatchRequest) Descriptor() ([]byte, []int) { 472 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{7} 473 } 474 475 func (x *PatchRequest) GetCollection() string { 476 if x != nil { 477 return x.Collection 478 } 479 return "" 480 } 481 482 func (x *PatchRequest) GetQueryDocument() *structpb.Struct { 483 if x != nil { 484 return x.QueryDocument 485 } 486 return nil 487 } 488 489 func (x *PatchRequest) GetTransformation() []*structpb.Struct { 490 if x != nil { 491 return x.Transformation 492 } 493 return nil 494 } 495 496 type RemoveRequest struct { 497 state protoimpl.MessageState 498 sizeCache protoimpl.SizeCache 499 unknownFields protoimpl.UnknownFields 500 501 Collection string `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection,omitempty"` 502 Filter *structpb.Struct `protobuf:"bytes,2,opt,name=Filter,proto3" json:"Filter,omitempty"` 503 All bool `protobuf:"varint,3,opt,name=All,proto3" json:"All,omitempty"` 504 } 505 506 func (x *RemoveRequest) Reset() { 507 *x = RemoveRequest{} 508 if protoimpl.UnsafeEnabled { 509 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[8] 510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 511 ms.StoreMessageInfo(mi) 512 } 513 } 514 515 func (x *RemoveRequest) String() string { 516 return protoimpl.X.MessageStringOf(x) 517 } 518 519 func (*RemoveRequest) ProtoMessage() {} 520 521 func (x *RemoveRequest) ProtoReflect() protoreflect.Message { 522 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[8] 523 if protoimpl.UnsafeEnabled && x != nil { 524 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 525 if ms.LoadMessageInfo() == nil { 526 ms.StoreMessageInfo(mi) 527 } 528 return ms 529 } 530 return mi.MessageOf(x) 531 } 532 533 // Deprecated: Use RemoveRequest.ProtoReflect.Descriptor instead. 534 func (*RemoveRequest) Descriptor() ([]byte, []int) { 535 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{8} 536 } 537 538 func (x *RemoveRequest) GetCollection() string { 539 if x != nil { 540 return x.Collection 541 } 542 return "" 543 } 544 545 func (x *RemoveRequest) GetFilter() *structpb.Struct { 546 if x != nil { 547 return x.Filter 548 } 549 return nil 550 } 551 552 func (x *RemoveRequest) GetAll() bool { 553 if x != nil { 554 return x.All 555 } 556 return false 557 } 558 559 type UpdateRequest struct { 560 state protoimpl.MessageState 561 sizeCache protoimpl.SizeCache 562 unknownFields protoimpl.UnknownFields 563 564 Collection string `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection,omitempty"` 565 Filter *structpb.Struct `protobuf:"bytes,2,opt,name=Filter,proto3" json:"Filter,omitempty"` 566 Upsert bool `protobuf:"varint,3,opt,name=Upsert,proto3" json:"Upsert,omitempty"` 567 Document *structpb.Struct `protobuf:"bytes,4,opt,name=Document,proto3" json:"Document,omitempty"` 568 } 569 570 func (x *UpdateRequest) Reset() { 571 *x = UpdateRequest{} 572 if protoimpl.UnsafeEnabled { 573 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[9] 574 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 575 ms.StoreMessageInfo(mi) 576 } 577 } 578 579 func (x *UpdateRequest) String() string { 580 return protoimpl.X.MessageStringOf(x) 581 } 582 583 func (*UpdateRequest) ProtoMessage() {} 584 585 func (x *UpdateRequest) ProtoReflect() protoreflect.Message { 586 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[9] 587 if protoimpl.UnsafeEnabled && x != nil { 588 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 589 if ms.LoadMessageInfo() == nil { 590 ms.StoreMessageInfo(mi) 591 } 592 return ms 593 } 594 return mi.MessageOf(x) 595 } 596 597 // Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead. 598 func (*UpdateRequest) Descriptor() ([]byte, []int) { 599 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{9} 600 } 601 602 func (x *UpdateRequest) GetCollection() string { 603 if x != nil { 604 return x.Collection 605 } 606 return "" 607 } 608 609 func (x *UpdateRequest) GetFilter() *structpb.Struct { 610 if x != nil { 611 return x.Filter 612 } 613 return nil 614 } 615 616 func (x *UpdateRequest) GetUpsert() bool { 617 if x != nil { 618 return x.Upsert 619 } 620 return false 621 } 622 623 func (x *UpdateRequest) GetDocument() *structpb.Struct { 624 if x != nil { 625 return x.Document 626 } 627 return nil 628 } 629 630 type EnsureIndexResponse struct { 631 state protoimpl.MessageState 632 sizeCache protoimpl.SizeCache 633 unknownFields protoimpl.UnknownFields 634 } 635 636 func (x *EnsureIndexResponse) Reset() { 637 *x = EnsureIndexResponse{} 638 if protoimpl.UnsafeEnabled { 639 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[10] 640 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 641 ms.StoreMessageInfo(mi) 642 } 643 } 644 645 func (x *EnsureIndexResponse) String() string { 646 return protoimpl.X.MessageStringOf(x) 647 } 648 649 func (*EnsureIndexResponse) ProtoMessage() {} 650 651 func (x *EnsureIndexResponse) ProtoReflect() protoreflect.Message { 652 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[10] 653 if protoimpl.UnsafeEnabled && x != nil { 654 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 655 if ms.LoadMessageInfo() == nil { 656 ms.StoreMessageInfo(mi) 657 } 658 return ms 659 } 660 return mi.MessageOf(x) 661 } 662 663 // Deprecated: Use EnsureIndexResponse.ProtoReflect.Descriptor instead. 664 func (*EnsureIndexResponse) Descriptor() ([]byte, []int) { 665 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{10} 666 } 667 668 type AggregateResponse struct { 669 state protoimpl.MessageState 670 sizeCache protoimpl.SizeCache 671 unknownFields protoimpl.UnknownFields 672 673 Results [][]byte `protobuf:"bytes,1,rep,name=Results,proto3" json:"Results,omitempty"` 674 } 675 676 func (x *AggregateResponse) Reset() { 677 *x = AggregateResponse{} 678 if protoimpl.UnsafeEnabled { 679 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[11] 680 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 681 ms.StoreMessageInfo(mi) 682 } 683 } 684 685 func (x *AggregateResponse) String() string { 686 return protoimpl.X.MessageStringOf(x) 687 } 688 689 func (*AggregateResponse) ProtoMessage() {} 690 691 func (x *AggregateResponse) ProtoReflect() protoreflect.Message { 692 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[11] 693 if protoimpl.UnsafeEnabled && x != nil { 694 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 695 if ms.LoadMessageInfo() == nil { 696 ms.StoreMessageInfo(mi) 697 } 698 return ms 699 } 700 return mi.MessageOf(x) 701 } 702 703 // Deprecated: Use AggregateResponse.ProtoReflect.Descriptor instead. 704 func (*AggregateResponse) Descriptor() ([]byte, []int) { 705 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{11} 706 } 707 708 func (x *AggregateResponse) GetResults() [][]byte { 709 if x != nil { 710 return x.Results 711 } 712 return nil 713 } 714 715 type CountResponse struct { 716 state protoimpl.MessageState 717 sizeCache protoimpl.SizeCache 718 unknownFields protoimpl.UnknownFields 719 720 Count int64 `protobuf:"varint,1,opt,name=Count,proto3" json:"Count,omitempty"` 721 } 722 723 func (x *CountResponse) Reset() { 724 *x = CountResponse{} 725 if protoimpl.UnsafeEnabled { 726 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[12] 727 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 728 ms.StoreMessageInfo(mi) 729 } 730 } 731 732 func (x *CountResponse) String() string { 733 return protoimpl.X.MessageStringOf(x) 734 } 735 736 func (*CountResponse) ProtoMessage() {} 737 738 func (x *CountResponse) ProtoReflect() protoreflect.Message { 739 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[12] 740 if protoimpl.UnsafeEnabled && x != nil { 741 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 742 if ms.LoadMessageInfo() == nil { 743 ms.StoreMessageInfo(mi) 744 } 745 return ms 746 } 747 return mi.MessageOf(x) 748 } 749 750 // Deprecated: Use CountResponse.ProtoReflect.Descriptor instead. 751 func (*CountResponse) Descriptor() ([]byte, []int) { 752 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{12} 753 } 754 755 func (x *CountResponse) GetCount() int64 { 756 if x != nil { 757 return x.Count 758 } 759 return 0 760 } 761 762 type FindResponse struct { 763 state protoimpl.MessageState 764 sizeCache protoimpl.SizeCache 765 unknownFields protoimpl.UnknownFields 766 767 Results [][]byte `protobuf:"bytes,1,rep,name=Results,proto3" json:"Results,omitempty"` 768 } 769 770 func (x *FindResponse) Reset() { 771 *x = FindResponse{} 772 if protoimpl.UnsafeEnabled { 773 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[13] 774 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 775 ms.StoreMessageInfo(mi) 776 } 777 } 778 779 func (x *FindResponse) String() string { 780 return protoimpl.X.MessageStringOf(x) 781 } 782 783 func (*FindResponse) ProtoMessage() {} 784 785 func (x *FindResponse) ProtoReflect() protoreflect.Message { 786 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[13] 787 if protoimpl.UnsafeEnabled && x != nil { 788 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 789 if ms.LoadMessageInfo() == nil { 790 ms.StoreMessageInfo(mi) 791 } 792 return ms 793 } 794 return mi.MessageOf(x) 795 } 796 797 // Deprecated: Use FindResponse.ProtoReflect.Descriptor instead. 798 func (*FindResponse) Descriptor() ([]byte, []int) { 799 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{13} 800 } 801 802 func (x *FindResponse) GetResults() [][]byte { 803 if x != nil { 804 return x.Results 805 } 806 return nil 807 } 808 809 type InsertResponse struct { 810 state protoimpl.MessageState 811 sizeCache protoimpl.SizeCache 812 unknownFields protoimpl.UnknownFields 813 } 814 815 func (x *InsertResponse) Reset() { 816 *x = InsertResponse{} 817 if protoimpl.UnsafeEnabled { 818 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[14] 819 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 820 ms.StoreMessageInfo(mi) 821 } 822 } 823 824 func (x *InsertResponse) String() string { 825 return protoimpl.X.MessageStringOf(x) 826 } 827 828 func (*InsertResponse) ProtoMessage() {} 829 830 func (x *InsertResponse) ProtoReflect() protoreflect.Message { 831 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[14] 832 if protoimpl.UnsafeEnabled && x != nil { 833 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 834 if ms.LoadMessageInfo() == nil { 835 ms.StoreMessageInfo(mi) 836 } 837 return ms 838 } 839 return mi.MessageOf(x) 840 } 841 842 // Deprecated: Use InsertResponse.ProtoReflect.Descriptor instead. 843 func (*InsertResponse) Descriptor() ([]byte, []int) { 844 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{14} 845 } 846 847 type PatchResponse struct { 848 state protoimpl.MessageState 849 sizeCache protoimpl.SizeCache 850 unknownFields protoimpl.UnknownFields 851 } 852 853 func (x *PatchResponse) Reset() { 854 *x = PatchResponse{} 855 if protoimpl.UnsafeEnabled { 856 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[15] 857 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 858 ms.StoreMessageInfo(mi) 859 } 860 } 861 862 func (x *PatchResponse) String() string { 863 return protoimpl.X.MessageStringOf(x) 864 } 865 866 func (*PatchResponse) ProtoMessage() {} 867 868 func (x *PatchResponse) ProtoReflect() protoreflect.Message { 869 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[15] 870 if protoimpl.UnsafeEnabled && x != nil { 871 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 872 if ms.LoadMessageInfo() == nil { 873 ms.StoreMessageInfo(mi) 874 } 875 return ms 876 } 877 return mi.MessageOf(x) 878 } 879 880 // Deprecated: Use PatchResponse.ProtoReflect.Descriptor instead. 881 func (*PatchResponse) Descriptor() ([]byte, []int) { 882 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{15} 883 } 884 885 type RemoveResponse struct { 886 state protoimpl.MessageState 887 sizeCache protoimpl.SizeCache 888 unknownFields protoimpl.UnknownFields 889 } 890 891 func (x *RemoveResponse) Reset() { 892 *x = RemoveResponse{} 893 if protoimpl.UnsafeEnabled { 894 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[16] 895 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 896 ms.StoreMessageInfo(mi) 897 } 898 } 899 900 func (x *RemoveResponse) String() string { 901 return protoimpl.X.MessageStringOf(x) 902 } 903 904 func (*RemoveResponse) ProtoMessage() {} 905 906 func (x *RemoveResponse) ProtoReflect() protoreflect.Message { 907 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[16] 908 if protoimpl.UnsafeEnabled && x != nil { 909 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 910 if ms.LoadMessageInfo() == nil { 911 ms.StoreMessageInfo(mi) 912 } 913 return ms 914 } 915 return mi.MessageOf(x) 916 } 917 918 // Deprecated: Use RemoveResponse.ProtoReflect.Descriptor instead. 919 func (*RemoveResponse) Descriptor() ([]byte, []int) { 920 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{16} 921 } 922 923 type UpdateResponse struct { 924 state protoimpl.MessageState 925 sizeCache protoimpl.SizeCache 926 unknownFields protoimpl.UnknownFields 927 } 928 929 func (x *UpdateResponse) Reset() { 930 *x = UpdateResponse{} 931 if protoimpl.UnsafeEnabled { 932 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[17] 933 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 934 ms.StoreMessageInfo(mi) 935 } 936 } 937 938 func (x *UpdateResponse) String() string { 939 return protoimpl.X.MessageStringOf(x) 940 } 941 942 func (*UpdateResponse) ProtoMessage() {} 943 944 func (x *UpdateResponse) ProtoReflect() protoreflect.Message { 945 mi := &file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[17] 946 if protoimpl.UnsafeEnabled && x != nil { 947 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 948 if ms.LoadMessageInfo() == nil { 949 ms.StoreMessageInfo(mi) 950 } 951 return ms 952 } 953 return mi.MessageOf(x) 954 } 955 956 // Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead. 957 func (*UpdateResponse) Descriptor() ([]byte, []int) { 958 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP(), []int{17} 959 } 960 961 var File_pkg_storage_plugins_proto_storage_protocol_proto protoreflect.FileDescriptor 962 963 var file_pkg_storage_plugins_proto_storage_protocol_proto_rawDesc = []byte{ 964 0x0a, 0x30, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x6c, 965 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x74, 0x6f, 0x72, 966 0x61, 0x67, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 967 0x74, 0x6f, 0x12, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 968 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 969 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x12, 0x45, 0x6e, 0x73, 970 0x75, 0x72, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 971 0x28, 0x0a, 0x07, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 972 0x32, 0x0e, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 973 0x52, 0x07, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x22, 0x6c, 0x0a, 0x05, 0x49, 0x6e, 0x64, 974 0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 975 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 976 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x04, 0x4b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 977 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 978 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x4b, 0x65, 0x79, 0x73, 0x12, 979 0x16, 0x0a, 0x06, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 980 0x06, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x22, 0x5e, 0x0a, 0x10, 0x41, 0x67, 0x67, 0x72, 0x65, 981 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 982 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 983 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x08, 0x50, 984 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 985 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x08, 0x50, 986 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x36, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x67, 0x65, 987 0x12, 0x2d, 0x0a, 0x05, 0x53, 0x74, 0x65, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 988 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 989 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x05, 0x53, 0x74, 0x65, 0x70, 0x73, 0x22, 990 0x5f, 0x0a, 0x0c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 991 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 992 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 993 0x2f, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 994 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 995 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 996 0x22, 0xe6, 0x01, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 997 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 998 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 999 0x12, 0x2b, 0x0a, 0x04, 0x53, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 1000 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 1001 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x53, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 1002 0x04, 0x53, 0x6b, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x53, 0x6b, 0x69, 1003 0x70, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 1004 0x52, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x2f, 0x0a, 0x06, 0x53, 0x65, 0x6c, 0x65, 0x63, 1005 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1006 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 1007 0x52, 0x06, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x2f, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 1008 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1009 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 1010 0x74, 0x52, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x66, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 1011 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 1012 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 1013 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x09, 0x44, 0x6f, 1014 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 1015 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 1016 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 1017 0x73, 0x22, 0xae, 0x01, 0x0a, 0x0c, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 1018 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 1019 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 1020 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x0d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x6f, 0x63, 0x75, 0x6d, 1021 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1022 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 1023 0x63, 0x74, 0x52, 0x0d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1024 0x74, 0x12, 0x3f, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 1025 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1026 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 1027 0x63, 0x74, 0x52, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 1028 0x6f, 0x6e, 0x22, 0x72, 0x0a, 0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 1029 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 1030 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 1031 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 1032 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1033 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x46, 0x69, 1034 0x6c, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x41, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 1035 0x08, 0x52, 0x03, 0x41, 0x6c, 0x6c, 0x22, 0xad, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 1036 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 1037 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x6f, 1038 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 1039 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1040 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 1041 0x74, 0x52, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x70, 0x73, 1042 0x65, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x55, 0x70, 0x73, 0x65, 0x72, 1043 0x74, 0x12, 0x33, 0x0a, 0x08, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 1044 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1045 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x08, 0x44, 0x6f, 1046 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x45, 0x6e, 0x73, 0x75, 0x72, 0x65, 1047 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x0a, 1048 0x11, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1049 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 1050 0x03, 0x28, 0x0c, 0x52, 0x07, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x25, 0x0a, 0x0d, 1051 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 1052 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x43, 0x6f, 1053 0x75, 0x6e, 0x74, 0x22, 0x28, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 1054 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 1055 0x20, 0x03, 0x28, 0x0c, 0x52, 0x07, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x10, 0x0a, 1056 0x0e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 1057 0x0f, 0x0a, 0x0d, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1058 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1059 0x73, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 1060 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xf5, 0x03, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 1061 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x48, 0x0a, 0x0b, 0x45, 0x6e, 0x73, 0x75, 1062 0x72, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 1063 0x73, 0x2e, 0x45, 0x6e, 0x73, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 1064 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x45, 1065 0x6e, 0x73, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1066 0x73, 0x65, 0x12, 0x42, 0x0a, 0x09, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x12, 1067 0x19, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 1068 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x6c, 0x75, 1069 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 1070 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 1071 0x15, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 1072 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 1073 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 1074 0x0a, 0x04, 0x46, 0x69, 0x6e, 0x64, 0x12, 0x14, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 1075 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x70, 1076 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 1077 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x12, 0x16, 0x2e, 1078 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 1079 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 1080 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 1081 0x0a, 0x05, 0x50, 0x61, 0x74, 0x63, 0x68, 0x12, 0x15, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 1082 0x73, 0x2e, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 1083 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 1084 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 1085 0x12, 0x16, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 1086 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 1087 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 1088 0x65, 0x12, 0x39, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x6c, 1089 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 1090 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x55, 0x70, 1091 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x30, 0x5a, 0x2e, 1092 0x67, 0x65, 0x74, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x2e, 0x73, 0x68, 0x2f, 0x70, 0x6f, 1093 0x72, 0x74, 0x65, 0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 1094 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 1095 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1096 } 1097 1098 var ( 1099 file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescOnce sync.Once 1100 file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescData = file_pkg_storage_plugins_proto_storage_protocol_proto_rawDesc 1101 ) 1102 1103 func file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescGZIP() []byte { 1104 file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescOnce.Do(func() { 1105 file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescData) 1106 }) 1107 return file_pkg_storage_plugins_proto_storage_protocol_proto_rawDescData 1108 } 1109 1110 var file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes = make([]protoimpl.MessageInfo, 18) 1111 var file_pkg_storage_plugins_proto_storage_protocol_proto_goTypes = []interface{}{ 1112 (*EnsureIndexRequest)(nil), // 0: plugins.EnsureIndexRequest 1113 (*Index)(nil), // 1: plugins.Index 1114 (*AggregateRequest)(nil), // 2: plugins.AggregateRequest 1115 (*Stage)(nil), // 3: plugins.Stage 1116 (*CountRequest)(nil), // 4: plugins.CountRequest 1117 (*FindRequest)(nil), // 5: plugins.FindRequest 1118 (*InsertRequest)(nil), // 6: plugins.InsertRequest 1119 (*PatchRequest)(nil), // 7: plugins.PatchRequest 1120 (*RemoveRequest)(nil), // 8: plugins.RemoveRequest 1121 (*UpdateRequest)(nil), // 9: plugins.UpdateRequest 1122 (*EnsureIndexResponse)(nil), // 10: plugins.EnsureIndexResponse 1123 (*AggregateResponse)(nil), // 11: plugins.AggregateResponse 1124 (*CountResponse)(nil), // 12: plugins.CountResponse 1125 (*FindResponse)(nil), // 13: plugins.FindResponse 1126 (*InsertResponse)(nil), // 14: plugins.InsertResponse 1127 (*PatchResponse)(nil), // 15: plugins.PatchResponse 1128 (*RemoveResponse)(nil), // 16: plugins.RemoveResponse 1129 (*UpdateResponse)(nil), // 17: plugins.UpdateResponse 1130 (*structpb.Struct)(nil), // 18: google.protobuf.Struct 1131 } 1132 var file_pkg_storage_plugins_proto_storage_protocol_proto_depIdxs = []int32{ 1133 1, // 0: plugins.EnsureIndexRequest.Indices:type_name -> plugins.Index 1134 18, // 1: plugins.Index.Keys:type_name -> google.protobuf.Struct 1135 3, // 2: plugins.AggregateRequest.Pipeline:type_name -> plugins.Stage 1136 18, // 3: plugins.Stage.Steps:type_name -> google.protobuf.Struct 1137 18, // 4: plugins.CountRequest.Filter:type_name -> google.protobuf.Struct 1138 18, // 5: plugins.FindRequest.Sort:type_name -> google.protobuf.Struct 1139 18, // 6: plugins.FindRequest.Select:type_name -> google.protobuf.Struct 1140 18, // 7: plugins.FindRequest.Filter:type_name -> google.protobuf.Struct 1141 18, // 8: plugins.InsertRequest.Documents:type_name -> google.protobuf.Struct 1142 18, // 9: plugins.PatchRequest.QueryDocument:type_name -> google.protobuf.Struct 1143 18, // 10: plugins.PatchRequest.Transformation:type_name -> google.protobuf.Struct 1144 18, // 11: plugins.RemoveRequest.Filter:type_name -> google.protobuf.Struct 1145 18, // 12: plugins.UpdateRequest.Filter:type_name -> google.protobuf.Struct 1146 18, // 13: plugins.UpdateRequest.Document:type_name -> google.protobuf.Struct 1147 0, // 14: plugins.StorageProtocol.EnsureIndex:input_type -> plugins.EnsureIndexRequest 1148 2, // 15: plugins.StorageProtocol.Aggregate:input_type -> plugins.AggregateRequest 1149 4, // 16: plugins.StorageProtocol.Count:input_type -> plugins.CountRequest 1150 5, // 17: plugins.StorageProtocol.Find:input_type -> plugins.FindRequest 1151 6, // 18: plugins.StorageProtocol.Insert:input_type -> plugins.InsertRequest 1152 7, // 19: plugins.StorageProtocol.Patch:input_type -> plugins.PatchRequest 1153 8, // 20: plugins.StorageProtocol.Remove:input_type -> plugins.RemoveRequest 1154 9, // 21: plugins.StorageProtocol.Update:input_type -> plugins.UpdateRequest 1155 10, // 22: plugins.StorageProtocol.EnsureIndex:output_type -> plugins.EnsureIndexResponse 1156 11, // 23: plugins.StorageProtocol.Aggregate:output_type -> plugins.AggregateResponse 1157 12, // 24: plugins.StorageProtocol.Count:output_type -> plugins.CountResponse 1158 13, // 25: plugins.StorageProtocol.Find:output_type -> plugins.FindResponse 1159 14, // 26: plugins.StorageProtocol.Insert:output_type -> plugins.InsertResponse 1160 15, // 27: plugins.StorageProtocol.Patch:output_type -> plugins.PatchResponse 1161 16, // 28: plugins.StorageProtocol.Remove:output_type -> plugins.RemoveResponse 1162 17, // 29: plugins.StorageProtocol.Update:output_type -> plugins.UpdateResponse 1163 22, // [22:30] is the sub-list for method output_type 1164 14, // [14:22] is the sub-list for method input_type 1165 14, // [14:14] is the sub-list for extension type_name 1166 14, // [14:14] is the sub-list for extension extendee 1167 0, // [0:14] is the sub-list for field type_name 1168 } 1169 1170 func init() { file_pkg_storage_plugins_proto_storage_protocol_proto_init() } 1171 func file_pkg_storage_plugins_proto_storage_protocol_proto_init() { 1172 if File_pkg_storage_plugins_proto_storage_protocol_proto != nil { 1173 return 1174 } 1175 if !protoimpl.UnsafeEnabled { 1176 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1177 switch v := v.(*EnsureIndexRequest); i { 1178 case 0: 1179 return &v.state 1180 case 1: 1181 return &v.sizeCache 1182 case 2: 1183 return &v.unknownFields 1184 default: 1185 return nil 1186 } 1187 } 1188 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1189 switch v := v.(*Index); i { 1190 case 0: 1191 return &v.state 1192 case 1: 1193 return &v.sizeCache 1194 case 2: 1195 return &v.unknownFields 1196 default: 1197 return nil 1198 } 1199 } 1200 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1201 switch v := v.(*AggregateRequest); i { 1202 case 0: 1203 return &v.state 1204 case 1: 1205 return &v.sizeCache 1206 case 2: 1207 return &v.unknownFields 1208 default: 1209 return nil 1210 } 1211 } 1212 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1213 switch v := v.(*Stage); i { 1214 case 0: 1215 return &v.state 1216 case 1: 1217 return &v.sizeCache 1218 case 2: 1219 return &v.unknownFields 1220 default: 1221 return nil 1222 } 1223 } 1224 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1225 switch v := v.(*CountRequest); i { 1226 case 0: 1227 return &v.state 1228 case 1: 1229 return &v.sizeCache 1230 case 2: 1231 return &v.unknownFields 1232 default: 1233 return nil 1234 } 1235 } 1236 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1237 switch v := v.(*FindRequest); i { 1238 case 0: 1239 return &v.state 1240 case 1: 1241 return &v.sizeCache 1242 case 2: 1243 return &v.unknownFields 1244 default: 1245 return nil 1246 } 1247 } 1248 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1249 switch v := v.(*InsertRequest); i { 1250 case 0: 1251 return &v.state 1252 case 1: 1253 return &v.sizeCache 1254 case 2: 1255 return &v.unknownFields 1256 default: 1257 return nil 1258 } 1259 } 1260 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1261 switch v := v.(*PatchRequest); i { 1262 case 0: 1263 return &v.state 1264 case 1: 1265 return &v.sizeCache 1266 case 2: 1267 return &v.unknownFields 1268 default: 1269 return nil 1270 } 1271 } 1272 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1273 switch v := v.(*RemoveRequest); i { 1274 case 0: 1275 return &v.state 1276 case 1: 1277 return &v.sizeCache 1278 case 2: 1279 return &v.unknownFields 1280 default: 1281 return nil 1282 } 1283 } 1284 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1285 switch v := v.(*UpdateRequest); i { 1286 case 0: 1287 return &v.state 1288 case 1: 1289 return &v.sizeCache 1290 case 2: 1291 return &v.unknownFields 1292 default: 1293 return nil 1294 } 1295 } 1296 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1297 switch v := v.(*EnsureIndexResponse); i { 1298 case 0: 1299 return &v.state 1300 case 1: 1301 return &v.sizeCache 1302 case 2: 1303 return &v.unknownFields 1304 default: 1305 return nil 1306 } 1307 } 1308 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1309 switch v := v.(*AggregateResponse); i { 1310 case 0: 1311 return &v.state 1312 case 1: 1313 return &v.sizeCache 1314 case 2: 1315 return &v.unknownFields 1316 default: 1317 return nil 1318 } 1319 } 1320 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1321 switch v := v.(*CountResponse); i { 1322 case 0: 1323 return &v.state 1324 case 1: 1325 return &v.sizeCache 1326 case 2: 1327 return &v.unknownFields 1328 default: 1329 return nil 1330 } 1331 } 1332 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1333 switch v := v.(*FindResponse); i { 1334 case 0: 1335 return &v.state 1336 case 1: 1337 return &v.sizeCache 1338 case 2: 1339 return &v.unknownFields 1340 default: 1341 return nil 1342 } 1343 } 1344 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1345 switch v := v.(*InsertResponse); i { 1346 case 0: 1347 return &v.state 1348 case 1: 1349 return &v.sizeCache 1350 case 2: 1351 return &v.unknownFields 1352 default: 1353 return nil 1354 } 1355 } 1356 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 1357 switch v := v.(*PatchResponse); i { 1358 case 0: 1359 return &v.state 1360 case 1: 1361 return &v.sizeCache 1362 case 2: 1363 return &v.unknownFields 1364 default: 1365 return nil 1366 } 1367 } 1368 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 1369 switch v := v.(*RemoveResponse); i { 1370 case 0: 1371 return &v.state 1372 case 1: 1373 return &v.sizeCache 1374 case 2: 1375 return &v.unknownFields 1376 default: 1377 return nil 1378 } 1379 } 1380 file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 1381 switch v := v.(*UpdateResponse); i { 1382 case 0: 1383 return &v.state 1384 case 1: 1385 return &v.sizeCache 1386 case 2: 1387 return &v.unknownFields 1388 default: 1389 return nil 1390 } 1391 } 1392 } 1393 type x struct{} 1394 out := protoimpl.TypeBuilder{ 1395 File: protoimpl.DescBuilder{ 1396 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1397 RawDescriptor: file_pkg_storage_plugins_proto_storage_protocol_proto_rawDesc, 1398 NumEnums: 0, 1399 NumMessages: 18, 1400 NumExtensions: 0, 1401 NumServices: 1, 1402 }, 1403 GoTypes: file_pkg_storage_plugins_proto_storage_protocol_proto_goTypes, 1404 DependencyIndexes: file_pkg_storage_plugins_proto_storage_protocol_proto_depIdxs, 1405 MessageInfos: file_pkg_storage_plugins_proto_storage_protocol_proto_msgTypes, 1406 }.Build() 1407 File_pkg_storage_plugins_proto_storage_protocol_proto = out.File 1408 file_pkg_storage_plugins_proto_storage_protocol_proto_rawDesc = nil 1409 file_pkg_storage_plugins_proto_storage_protocol_proto_goTypes = nil 1410 file_pkg_storage_plugins_proto_storage_protocol_proto_depIdxs = nil 1411 }