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