github.com/annwntech/go-micro/v2@v2.9.5/store/service/proto/store.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.13.0
     5  // source: store/service/proto/store.proto
     6  
     7  package go_micro_store
     8  
     9  import (
    10  	context "context"
    11  	proto "github.com/golang/protobuf/proto"
    12  	grpc "google.golang.org/grpc"
    13  	codes "google.golang.org/grpc/codes"
    14  	status "google.golang.org/grpc/status"
    15  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    16  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    17  	reflect "reflect"
    18  	sync "sync"
    19  )
    20  
    21  const (
    22  	// Verify that this generated code is sufficiently up-to-date.
    23  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    24  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    25  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    26  )
    27  
    28  // This is a compile-time assertion that a sufficiently up-to-date version
    29  // of the legacy proto package is being used.
    30  const _ = proto.ProtoPackageIsVersion4
    31  
    32  type Field struct {
    33  	state         protoimpl.MessageState
    34  	sizeCache     protoimpl.SizeCache
    35  	unknownFields protoimpl.UnknownFields
    36  
    37  	// type of value e.g string, int, int64, bool, float64
    38  	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
    39  	// the actual value
    40  	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    41  }
    42  
    43  func (x *Field) Reset() {
    44  	*x = Field{}
    45  	if protoimpl.UnsafeEnabled {
    46  		mi := &file_store_service_proto_store_proto_msgTypes[0]
    47  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    48  		ms.StoreMessageInfo(mi)
    49  	}
    50  }
    51  
    52  func (x *Field) String() string {
    53  	return protoimpl.X.MessageStringOf(x)
    54  }
    55  
    56  func (*Field) ProtoMessage() {}
    57  
    58  func (x *Field) ProtoReflect() protoreflect.Message {
    59  	mi := &file_store_service_proto_store_proto_msgTypes[0]
    60  	if protoimpl.UnsafeEnabled && x != nil {
    61  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    62  		if ms.LoadMessageInfo() == nil {
    63  			ms.StoreMessageInfo(mi)
    64  		}
    65  		return ms
    66  	}
    67  	return mi.MessageOf(x)
    68  }
    69  
    70  // Deprecated: Use Field.ProtoReflect.Descriptor instead.
    71  func (*Field) Descriptor() ([]byte, []int) {
    72  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{0}
    73  }
    74  
    75  func (x *Field) GetType() string {
    76  	if x != nil {
    77  		return x.Type
    78  	}
    79  	return ""
    80  }
    81  
    82  func (x *Field) GetValue() string {
    83  	if x != nil {
    84  		return x.Value
    85  	}
    86  	return ""
    87  }
    88  
    89  type Record struct {
    90  	state         protoimpl.MessageState
    91  	sizeCache     protoimpl.SizeCache
    92  	unknownFields protoimpl.UnknownFields
    93  
    94  	// key of the record
    95  	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    96  	// value in the record
    97  	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    98  	// time.Duration (signed int64 nanoseconds)
    99  	Expiry int64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"`
   100  	// the associated metadata
   101  	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"`
   102  }
   103  
   104  func (x *Record) Reset() {
   105  	*x = Record{}
   106  	if protoimpl.UnsafeEnabled {
   107  		mi := &file_store_service_proto_store_proto_msgTypes[1]
   108  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   109  		ms.StoreMessageInfo(mi)
   110  	}
   111  }
   112  
   113  func (x *Record) String() string {
   114  	return protoimpl.X.MessageStringOf(x)
   115  }
   116  
   117  func (*Record) ProtoMessage() {}
   118  
   119  func (x *Record) ProtoReflect() protoreflect.Message {
   120  	mi := &file_store_service_proto_store_proto_msgTypes[1]
   121  	if protoimpl.UnsafeEnabled && x != nil {
   122  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   123  		if ms.LoadMessageInfo() == nil {
   124  			ms.StoreMessageInfo(mi)
   125  		}
   126  		return ms
   127  	}
   128  	return mi.MessageOf(x)
   129  }
   130  
   131  // Deprecated: Use Record.ProtoReflect.Descriptor instead.
   132  func (*Record) Descriptor() ([]byte, []int) {
   133  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{1}
   134  }
   135  
   136  func (x *Record) GetKey() string {
   137  	if x != nil {
   138  		return x.Key
   139  	}
   140  	return ""
   141  }
   142  
   143  func (x *Record) GetValue() []byte {
   144  	if x != nil {
   145  		return x.Value
   146  	}
   147  	return nil
   148  }
   149  
   150  func (x *Record) GetExpiry() int64 {
   151  	if x != nil {
   152  		return x.Expiry
   153  	}
   154  	return 0
   155  }
   156  
   157  func (x *Record) GetMetadata() map[string]*Field {
   158  	if x != nil {
   159  		return x.Metadata
   160  	}
   161  	return nil
   162  }
   163  
   164  type ReadOptions struct {
   165  	state         protoimpl.MessageState
   166  	sizeCache     protoimpl.SizeCache
   167  	unknownFields protoimpl.UnknownFields
   168  
   169  	Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
   170  	Table    string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
   171  	Prefix   bool   `protobuf:"varint,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
   172  	Suffix   bool   `protobuf:"varint,4,opt,name=suffix,proto3" json:"suffix,omitempty"`
   173  	Limit    uint64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
   174  	Offset   uint64 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
   175  }
   176  
   177  func (x *ReadOptions) Reset() {
   178  	*x = ReadOptions{}
   179  	if protoimpl.UnsafeEnabled {
   180  		mi := &file_store_service_proto_store_proto_msgTypes[2]
   181  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   182  		ms.StoreMessageInfo(mi)
   183  	}
   184  }
   185  
   186  func (x *ReadOptions) String() string {
   187  	return protoimpl.X.MessageStringOf(x)
   188  }
   189  
   190  func (*ReadOptions) ProtoMessage() {}
   191  
   192  func (x *ReadOptions) ProtoReflect() protoreflect.Message {
   193  	mi := &file_store_service_proto_store_proto_msgTypes[2]
   194  	if protoimpl.UnsafeEnabled && x != nil {
   195  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   196  		if ms.LoadMessageInfo() == nil {
   197  			ms.StoreMessageInfo(mi)
   198  		}
   199  		return ms
   200  	}
   201  	return mi.MessageOf(x)
   202  }
   203  
   204  // Deprecated: Use ReadOptions.ProtoReflect.Descriptor instead.
   205  func (*ReadOptions) Descriptor() ([]byte, []int) {
   206  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{2}
   207  }
   208  
   209  func (x *ReadOptions) GetDatabase() string {
   210  	if x != nil {
   211  		return x.Database
   212  	}
   213  	return ""
   214  }
   215  
   216  func (x *ReadOptions) GetTable() string {
   217  	if x != nil {
   218  		return x.Table
   219  	}
   220  	return ""
   221  }
   222  
   223  func (x *ReadOptions) GetPrefix() bool {
   224  	if x != nil {
   225  		return x.Prefix
   226  	}
   227  	return false
   228  }
   229  
   230  func (x *ReadOptions) GetSuffix() bool {
   231  	if x != nil {
   232  		return x.Suffix
   233  	}
   234  	return false
   235  }
   236  
   237  func (x *ReadOptions) GetLimit() uint64 {
   238  	if x != nil {
   239  		return x.Limit
   240  	}
   241  	return 0
   242  }
   243  
   244  func (x *ReadOptions) GetOffset() uint64 {
   245  	if x != nil {
   246  		return x.Offset
   247  	}
   248  	return 0
   249  }
   250  
   251  type ReadRequest struct {
   252  	state         protoimpl.MessageState
   253  	sizeCache     protoimpl.SizeCache
   254  	unknownFields protoimpl.UnknownFields
   255  
   256  	Key     string       `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   257  	Options *ReadOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
   258  }
   259  
   260  func (x *ReadRequest) Reset() {
   261  	*x = ReadRequest{}
   262  	if protoimpl.UnsafeEnabled {
   263  		mi := &file_store_service_proto_store_proto_msgTypes[3]
   264  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   265  		ms.StoreMessageInfo(mi)
   266  	}
   267  }
   268  
   269  func (x *ReadRequest) String() string {
   270  	return protoimpl.X.MessageStringOf(x)
   271  }
   272  
   273  func (*ReadRequest) ProtoMessage() {}
   274  
   275  func (x *ReadRequest) ProtoReflect() protoreflect.Message {
   276  	mi := &file_store_service_proto_store_proto_msgTypes[3]
   277  	if protoimpl.UnsafeEnabled && x != nil {
   278  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   279  		if ms.LoadMessageInfo() == nil {
   280  			ms.StoreMessageInfo(mi)
   281  		}
   282  		return ms
   283  	}
   284  	return mi.MessageOf(x)
   285  }
   286  
   287  // Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead.
   288  func (*ReadRequest) Descriptor() ([]byte, []int) {
   289  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{3}
   290  }
   291  
   292  func (x *ReadRequest) GetKey() string {
   293  	if x != nil {
   294  		return x.Key
   295  	}
   296  	return ""
   297  }
   298  
   299  func (x *ReadRequest) GetOptions() *ReadOptions {
   300  	if x != nil {
   301  		return x.Options
   302  	}
   303  	return nil
   304  }
   305  
   306  type ReadResponse struct {
   307  	state         protoimpl.MessageState
   308  	sizeCache     protoimpl.SizeCache
   309  	unknownFields protoimpl.UnknownFields
   310  
   311  	Records []*Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
   312  }
   313  
   314  func (x *ReadResponse) Reset() {
   315  	*x = ReadResponse{}
   316  	if protoimpl.UnsafeEnabled {
   317  		mi := &file_store_service_proto_store_proto_msgTypes[4]
   318  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   319  		ms.StoreMessageInfo(mi)
   320  	}
   321  }
   322  
   323  func (x *ReadResponse) String() string {
   324  	return protoimpl.X.MessageStringOf(x)
   325  }
   326  
   327  func (*ReadResponse) ProtoMessage() {}
   328  
   329  func (x *ReadResponse) ProtoReflect() protoreflect.Message {
   330  	mi := &file_store_service_proto_store_proto_msgTypes[4]
   331  	if protoimpl.UnsafeEnabled && x != nil {
   332  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   333  		if ms.LoadMessageInfo() == nil {
   334  			ms.StoreMessageInfo(mi)
   335  		}
   336  		return ms
   337  	}
   338  	return mi.MessageOf(x)
   339  }
   340  
   341  // Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead.
   342  func (*ReadResponse) Descriptor() ([]byte, []int) {
   343  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{4}
   344  }
   345  
   346  func (x *ReadResponse) GetRecords() []*Record {
   347  	if x != nil {
   348  		return x.Records
   349  	}
   350  	return nil
   351  }
   352  
   353  type WriteOptions struct {
   354  	state         protoimpl.MessageState
   355  	sizeCache     protoimpl.SizeCache
   356  	unknownFields protoimpl.UnknownFields
   357  
   358  	Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
   359  	Table    string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
   360  	// time.Time
   361  	Expiry int64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"`
   362  	// time.Duration
   363  	Ttl int64 `protobuf:"varint,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
   364  }
   365  
   366  func (x *WriteOptions) Reset() {
   367  	*x = WriteOptions{}
   368  	if protoimpl.UnsafeEnabled {
   369  		mi := &file_store_service_proto_store_proto_msgTypes[5]
   370  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   371  		ms.StoreMessageInfo(mi)
   372  	}
   373  }
   374  
   375  func (x *WriteOptions) String() string {
   376  	return protoimpl.X.MessageStringOf(x)
   377  }
   378  
   379  func (*WriteOptions) ProtoMessage() {}
   380  
   381  func (x *WriteOptions) ProtoReflect() protoreflect.Message {
   382  	mi := &file_store_service_proto_store_proto_msgTypes[5]
   383  	if protoimpl.UnsafeEnabled && x != nil {
   384  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   385  		if ms.LoadMessageInfo() == nil {
   386  			ms.StoreMessageInfo(mi)
   387  		}
   388  		return ms
   389  	}
   390  	return mi.MessageOf(x)
   391  }
   392  
   393  // Deprecated: Use WriteOptions.ProtoReflect.Descriptor instead.
   394  func (*WriteOptions) Descriptor() ([]byte, []int) {
   395  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{5}
   396  }
   397  
   398  func (x *WriteOptions) GetDatabase() string {
   399  	if x != nil {
   400  		return x.Database
   401  	}
   402  	return ""
   403  }
   404  
   405  func (x *WriteOptions) GetTable() string {
   406  	if x != nil {
   407  		return x.Table
   408  	}
   409  	return ""
   410  }
   411  
   412  func (x *WriteOptions) GetExpiry() int64 {
   413  	if x != nil {
   414  		return x.Expiry
   415  	}
   416  	return 0
   417  }
   418  
   419  func (x *WriteOptions) GetTtl() int64 {
   420  	if x != nil {
   421  		return x.Ttl
   422  	}
   423  	return 0
   424  }
   425  
   426  type WriteRequest struct {
   427  	state         protoimpl.MessageState
   428  	sizeCache     protoimpl.SizeCache
   429  	unknownFields protoimpl.UnknownFields
   430  
   431  	Record  *Record       `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
   432  	Options *WriteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
   433  }
   434  
   435  func (x *WriteRequest) Reset() {
   436  	*x = WriteRequest{}
   437  	if protoimpl.UnsafeEnabled {
   438  		mi := &file_store_service_proto_store_proto_msgTypes[6]
   439  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   440  		ms.StoreMessageInfo(mi)
   441  	}
   442  }
   443  
   444  func (x *WriteRequest) String() string {
   445  	return protoimpl.X.MessageStringOf(x)
   446  }
   447  
   448  func (*WriteRequest) ProtoMessage() {}
   449  
   450  func (x *WriteRequest) ProtoReflect() protoreflect.Message {
   451  	mi := &file_store_service_proto_store_proto_msgTypes[6]
   452  	if protoimpl.UnsafeEnabled && x != nil {
   453  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   454  		if ms.LoadMessageInfo() == nil {
   455  			ms.StoreMessageInfo(mi)
   456  		}
   457  		return ms
   458  	}
   459  	return mi.MessageOf(x)
   460  }
   461  
   462  // Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead.
   463  func (*WriteRequest) Descriptor() ([]byte, []int) {
   464  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{6}
   465  }
   466  
   467  func (x *WriteRequest) GetRecord() *Record {
   468  	if x != nil {
   469  		return x.Record
   470  	}
   471  	return nil
   472  }
   473  
   474  func (x *WriteRequest) GetOptions() *WriteOptions {
   475  	if x != nil {
   476  		return x.Options
   477  	}
   478  	return nil
   479  }
   480  
   481  type WriteResponse struct {
   482  	state         protoimpl.MessageState
   483  	sizeCache     protoimpl.SizeCache
   484  	unknownFields protoimpl.UnknownFields
   485  }
   486  
   487  func (x *WriteResponse) Reset() {
   488  	*x = WriteResponse{}
   489  	if protoimpl.UnsafeEnabled {
   490  		mi := &file_store_service_proto_store_proto_msgTypes[7]
   491  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   492  		ms.StoreMessageInfo(mi)
   493  	}
   494  }
   495  
   496  func (x *WriteResponse) String() string {
   497  	return protoimpl.X.MessageStringOf(x)
   498  }
   499  
   500  func (*WriteResponse) ProtoMessage() {}
   501  
   502  func (x *WriteResponse) ProtoReflect() protoreflect.Message {
   503  	mi := &file_store_service_proto_store_proto_msgTypes[7]
   504  	if protoimpl.UnsafeEnabled && x != nil {
   505  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   506  		if ms.LoadMessageInfo() == nil {
   507  			ms.StoreMessageInfo(mi)
   508  		}
   509  		return ms
   510  	}
   511  	return mi.MessageOf(x)
   512  }
   513  
   514  // Deprecated: Use WriteResponse.ProtoReflect.Descriptor instead.
   515  func (*WriteResponse) Descriptor() ([]byte, []int) {
   516  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{7}
   517  }
   518  
   519  type DeleteOptions struct {
   520  	state         protoimpl.MessageState
   521  	sizeCache     protoimpl.SizeCache
   522  	unknownFields protoimpl.UnknownFields
   523  
   524  	Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
   525  	Table    string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
   526  }
   527  
   528  func (x *DeleteOptions) Reset() {
   529  	*x = DeleteOptions{}
   530  	if protoimpl.UnsafeEnabled {
   531  		mi := &file_store_service_proto_store_proto_msgTypes[8]
   532  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   533  		ms.StoreMessageInfo(mi)
   534  	}
   535  }
   536  
   537  func (x *DeleteOptions) String() string {
   538  	return protoimpl.X.MessageStringOf(x)
   539  }
   540  
   541  func (*DeleteOptions) ProtoMessage() {}
   542  
   543  func (x *DeleteOptions) ProtoReflect() protoreflect.Message {
   544  	mi := &file_store_service_proto_store_proto_msgTypes[8]
   545  	if protoimpl.UnsafeEnabled && x != nil {
   546  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   547  		if ms.LoadMessageInfo() == nil {
   548  			ms.StoreMessageInfo(mi)
   549  		}
   550  		return ms
   551  	}
   552  	return mi.MessageOf(x)
   553  }
   554  
   555  // Deprecated: Use DeleteOptions.ProtoReflect.Descriptor instead.
   556  func (*DeleteOptions) Descriptor() ([]byte, []int) {
   557  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{8}
   558  }
   559  
   560  func (x *DeleteOptions) GetDatabase() string {
   561  	if x != nil {
   562  		return x.Database
   563  	}
   564  	return ""
   565  }
   566  
   567  func (x *DeleteOptions) GetTable() string {
   568  	if x != nil {
   569  		return x.Table
   570  	}
   571  	return ""
   572  }
   573  
   574  type DeleteRequest struct {
   575  	state         protoimpl.MessageState
   576  	sizeCache     protoimpl.SizeCache
   577  	unknownFields protoimpl.UnknownFields
   578  
   579  	Key     string         `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   580  	Options *DeleteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
   581  }
   582  
   583  func (x *DeleteRequest) Reset() {
   584  	*x = DeleteRequest{}
   585  	if protoimpl.UnsafeEnabled {
   586  		mi := &file_store_service_proto_store_proto_msgTypes[9]
   587  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   588  		ms.StoreMessageInfo(mi)
   589  	}
   590  }
   591  
   592  func (x *DeleteRequest) String() string {
   593  	return protoimpl.X.MessageStringOf(x)
   594  }
   595  
   596  func (*DeleteRequest) ProtoMessage() {}
   597  
   598  func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
   599  	mi := &file_store_service_proto_store_proto_msgTypes[9]
   600  	if protoimpl.UnsafeEnabled && x != nil {
   601  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   602  		if ms.LoadMessageInfo() == nil {
   603  			ms.StoreMessageInfo(mi)
   604  		}
   605  		return ms
   606  	}
   607  	return mi.MessageOf(x)
   608  }
   609  
   610  // Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
   611  func (*DeleteRequest) Descriptor() ([]byte, []int) {
   612  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{9}
   613  }
   614  
   615  func (x *DeleteRequest) GetKey() string {
   616  	if x != nil {
   617  		return x.Key
   618  	}
   619  	return ""
   620  }
   621  
   622  func (x *DeleteRequest) GetOptions() *DeleteOptions {
   623  	if x != nil {
   624  		return x.Options
   625  	}
   626  	return nil
   627  }
   628  
   629  type DeleteResponse struct {
   630  	state         protoimpl.MessageState
   631  	sizeCache     protoimpl.SizeCache
   632  	unknownFields protoimpl.UnknownFields
   633  }
   634  
   635  func (x *DeleteResponse) Reset() {
   636  	*x = DeleteResponse{}
   637  	if protoimpl.UnsafeEnabled {
   638  		mi := &file_store_service_proto_store_proto_msgTypes[10]
   639  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   640  		ms.StoreMessageInfo(mi)
   641  	}
   642  }
   643  
   644  func (x *DeleteResponse) String() string {
   645  	return protoimpl.X.MessageStringOf(x)
   646  }
   647  
   648  func (*DeleteResponse) ProtoMessage() {}
   649  
   650  func (x *DeleteResponse) ProtoReflect() protoreflect.Message {
   651  	mi := &file_store_service_proto_store_proto_msgTypes[10]
   652  	if protoimpl.UnsafeEnabled && x != nil {
   653  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   654  		if ms.LoadMessageInfo() == nil {
   655  			ms.StoreMessageInfo(mi)
   656  		}
   657  		return ms
   658  	}
   659  	return mi.MessageOf(x)
   660  }
   661  
   662  // Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
   663  func (*DeleteResponse) Descriptor() ([]byte, []int) {
   664  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{10}
   665  }
   666  
   667  type ListOptions struct {
   668  	state         protoimpl.MessageState
   669  	sizeCache     protoimpl.SizeCache
   670  	unknownFields protoimpl.UnknownFields
   671  
   672  	Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
   673  	Table    string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
   674  	Prefix   string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
   675  	Suffix   string `protobuf:"bytes,4,opt,name=suffix,proto3" json:"suffix,omitempty"`
   676  	Limit    uint64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
   677  	Offset   uint64 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
   678  }
   679  
   680  func (x *ListOptions) Reset() {
   681  	*x = ListOptions{}
   682  	if protoimpl.UnsafeEnabled {
   683  		mi := &file_store_service_proto_store_proto_msgTypes[11]
   684  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   685  		ms.StoreMessageInfo(mi)
   686  	}
   687  }
   688  
   689  func (x *ListOptions) String() string {
   690  	return protoimpl.X.MessageStringOf(x)
   691  }
   692  
   693  func (*ListOptions) ProtoMessage() {}
   694  
   695  func (x *ListOptions) ProtoReflect() protoreflect.Message {
   696  	mi := &file_store_service_proto_store_proto_msgTypes[11]
   697  	if protoimpl.UnsafeEnabled && x != nil {
   698  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   699  		if ms.LoadMessageInfo() == nil {
   700  			ms.StoreMessageInfo(mi)
   701  		}
   702  		return ms
   703  	}
   704  	return mi.MessageOf(x)
   705  }
   706  
   707  // Deprecated: Use ListOptions.ProtoReflect.Descriptor instead.
   708  func (*ListOptions) Descriptor() ([]byte, []int) {
   709  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{11}
   710  }
   711  
   712  func (x *ListOptions) GetDatabase() string {
   713  	if x != nil {
   714  		return x.Database
   715  	}
   716  	return ""
   717  }
   718  
   719  func (x *ListOptions) GetTable() string {
   720  	if x != nil {
   721  		return x.Table
   722  	}
   723  	return ""
   724  }
   725  
   726  func (x *ListOptions) GetPrefix() string {
   727  	if x != nil {
   728  		return x.Prefix
   729  	}
   730  	return ""
   731  }
   732  
   733  func (x *ListOptions) GetSuffix() string {
   734  	if x != nil {
   735  		return x.Suffix
   736  	}
   737  	return ""
   738  }
   739  
   740  func (x *ListOptions) GetLimit() uint64 {
   741  	if x != nil {
   742  		return x.Limit
   743  	}
   744  	return 0
   745  }
   746  
   747  func (x *ListOptions) GetOffset() uint64 {
   748  	if x != nil {
   749  		return x.Offset
   750  	}
   751  	return 0
   752  }
   753  
   754  type ListRequest struct {
   755  	state         protoimpl.MessageState
   756  	sizeCache     protoimpl.SizeCache
   757  	unknownFields protoimpl.UnknownFields
   758  
   759  	Options *ListOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
   760  }
   761  
   762  func (x *ListRequest) Reset() {
   763  	*x = ListRequest{}
   764  	if protoimpl.UnsafeEnabled {
   765  		mi := &file_store_service_proto_store_proto_msgTypes[12]
   766  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   767  		ms.StoreMessageInfo(mi)
   768  	}
   769  }
   770  
   771  func (x *ListRequest) String() string {
   772  	return protoimpl.X.MessageStringOf(x)
   773  }
   774  
   775  func (*ListRequest) ProtoMessage() {}
   776  
   777  func (x *ListRequest) ProtoReflect() protoreflect.Message {
   778  	mi := &file_store_service_proto_store_proto_msgTypes[12]
   779  	if protoimpl.UnsafeEnabled && x != nil {
   780  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   781  		if ms.LoadMessageInfo() == nil {
   782  			ms.StoreMessageInfo(mi)
   783  		}
   784  		return ms
   785  	}
   786  	return mi.MessageOf(x)
   787  }
   788  
   789  // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
   790  func (*ListRequest) Descriptor() ([]byte, []int) {
   791  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{12}
   792  }
   793  
   794  func (x *ListRequest) GetOptions() *ListOptions {
   795  	if x != nil {
   796  		return x.Options
   797  	}
   798  	return nil
   799  }
   800  
   801  type ListResponse struct {
   802  	state         protoimpl.MessageState
   803  	sizeCache     protoimpl.SizeCache
   804  	unknownFields protoimpl.UnknownFields
   805  
   806  	Keys []string `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
   807  }
   808  
   809  func (x *ListResponse) Reset() {
   810  	*x = ListResponse{}
   811  	if protoimpl.UnsafeEnabled {
   812  		mi := &file_store_service_proto_store_proto_msgTypes[13]
   813  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   814  		ms.StoreMessageInfo(mi)
   815  	}
   816  }
   817  
   818  func (x *ListResponse) String() string {
   819  	return protoimpl.X.MessageStringOf(x)
   820  }
   821  
   822  func (*ListResponse) ProtoMessage() {}
   823  
   824  func (x *ListResponse) ProtoReflect() protoreflect.Message {
   825  	mi := &file_store_service_proto_store_proto_msgTypes[13]
   826  	if protoimpl.UnsafeEnabled && x != nil {
   827  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   828  		if ms.LoadMessageInfo() == nil {
   829  			ms.StoreMessageInfo(mi)
   830  		}
   831  		return ms
   832  	}
   833  	return mi.MessageOf(x)
   834  }
   835  
   836  // Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
   837  func (*ListResponse) Descriptor() ([]byte, []int) {
   838  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{13}
   839  }
   840  
   841  func (x *ListResponse) GetKeys() []string {
   842  	if x != nil {
   843  		return x.Keys
   844  	}
   845  	return nil
   846  }
   847  
   848  type DatabasesRequest struct {
   849  	state         protoimpl.MessageState
   850  	sizeCache     protoimpl.SizeCache
   851  	unknownFields protoimpl.UnknownFields
   852  }
   853  
   854  func (x *DatabasesRequest) Reset() {
   855  	*x = DatabasesRequest{}
   856  	if protoimpl.UnsafeEnabled {
   857  		mi := &file_store_service_proto_store_proto_msgTypes[14]
   858  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   859  		ms.StoreMessageInfo(mi)
   860  	}
   861  }
   862  
   863  func (x *DatabasesRequest) String() string {
   864  	return protoimpl.X.MessageStringOf(x)
   865  }
   866  
   867  func (*DatabasesRequest) ProtoMessage() {}
   868  
   869  func (x *DatabasesRequest) ProtoReflect() protoreflect.Message {
   870  	mi := &file_store_service_proto_store_proto_msgTypes[14]
   871  	if protoimpl.UnsafeEnabled && x != nil {
   872  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   873  		if ms.LoadMessageInfo() == nil {
   874  			ms.StoreMessageInfo(mi)
   875  		}
   876  		return ms
   877  	}
   878  	return mi.MessageOf(x)
   879  }
   880  
   881  // Deprecated: Use DatabasesRequest.ProtoReflect.Descriptor instead.
   882  func (*DatabasesRequest) Descriptor() ([]byte, []int) {
   883  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{14}
   884  }
   885  
   886  type DatabasesResponse struct {
   887  	state         protoimpl.MessageState
   888  	sizeCache     protoimpl.SizeCache
   889  	unknownFields protoimpl.UnknownFields
   890  
   891  	Databases []string `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"`
   892  }
   893  
   894  func (x *DatabasesResponse) Reset() {
   895  	*x = DatabasesResponse{}
   896  	if protoimpl.UnsafeEnabled {
   897  		mi := &file_store_service_proto_store_proto_msgTypes[15]
   898  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   899  		ms.StoreMessageInfo(mi)
   900  	}
   901  }
   902  
   903  func (x *DatabasesResponse) String() string {
   904  	return protoimpl.X.MessageStringOf(x)
   905  }
   906  
   907  func (*DatabasesResponse) ProtoMessage() {}
   908  
   909  func (x *DatabasesResponse) ProtoReflect() protoreflect.Message {
   910  	mi := &file_store_service_proto_store_proto_msgTypes[15]
   911  	if protoimpl.UnsafeEnabled && x != nil {
   912  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   913  		if ms.LoadMessageInfo() == nil {
   914  			ms.StoreMessageInfo(mi)
   915  		}
   916  		return ms
   917  	}
   918  	return mi.MessageOf(x)
   919  }
   920  
   921  // Deprecated: Use DatabasesResponse.ProtoReflect.Descriptor instead.
   922  func (*DatabasesResponse) Descriptor() ([]byte, []int) {
   923  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{15}
   924  }
   925  
   926  func (x *DatabasesResponse) GetDatabases() []string {
   927  	if x != nil {
   928  		return x.Databases
   929  	}
   930  	return nil
   931  }
   932  
   933  type TablesRequest struct {
   934  	state         protoimpl.MessageState
   935  	sizeCache     protoimpl.SizeCache
   936  	unknownFields protoimpl.UnknownFields
   937  
   938  	Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
   939  }
   940  
   941  func (x *TablesRequest) Reset() {
   942  	*x = TablesRequest{}
   943  	if protoimpl.UnsafeEnabled {
   944  		mi := &file_store_service_proto_store_proto_msgTypes[16]
   945  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   946  		ms.StoreMessageInfo(mi)
   947  	}
   948  }
   949  
   950  func (x *TablesRequest) String() string {
   951  	return protoimpl.X.MessageStringOf(x)
   952  }
   953  
   954  func (*TablesRequest) ProtoMessage() {}
   955  
   956  func (x *TablesRequest) ProtoReflect() protoreflect.Message {
   957  	mi := &file_store_service_proto_store_proto_msgTypes[16]
   958  	if protoimpl.UnsafeEnabled && x != nil {
   959  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   960  		if ms.LoadMessageInfo() == nil {
   961  			ms.StoreMessageInfo(mi)
   962  		}
   963  		return ms
   964  	}
   965  	return mi.MessageOf(x)
   966  }
   967  
   968  // Deprecated: Use TablesRequest.ProtoReflect.Descriptor instead.
   969  func (*TablesRequest) Descriptor() ([]byte, []int) {
   970  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{16}
   971  }
   972  
   973  func (x *TablesRequest) GetDatabase() string {
   974  	if x != nil {
   975  		return x.Database
   976  	}
   977  	return ""
   978  }
   979  
   980  type TablesResponse struct {
   981  	state         protoimpl.MessageState
   982  	sizeCache     protoimpl.SizeCache
   983  	unknownFields protoimpl.UnknownFields
   984  
   985  	Tables []string `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"`
   986  }
   987  
   988  func (x *TablesResponse) Reset() {
   989  	*x = TablesResponse{}
   990  	if protoimpl.UnsafeEnabled {
   991  		mi := &file_store_service_proto_store_proto_msgTypes[17]
   992  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   993  		ms.StoreMessageInfo(mi)
   994  	}
   995  }
   996  
   997  func (x *TablesResponse) String() string {
   998  	return protoimpl.X.MessageStringOf(x)
   999  }
  1000  
  1001  func (*TablesResponse) ProtoMessage() {}
  1002  
  1003  func (x *TablesResponse) ProtoReflect() protoreflect.Message {
  1004  	mi := &file_store_service_proto_store_proto_msgTypes[17]
  1005  	if protoimpl.UnsafeEnabled && x != nil {
  1006  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1007  		if ms.LoadMessageInfo() == nil {
  1008  			ms.StoreMessageInfo(mi)
  1009  		}
  1010  		return ms
  1011  	}
  1012  	return mi.MessageOf(x)
  1013  }
  1014  
  1015  // Deprecated: Use TablesResponse.ProtoReflect.Descriptor instead.
  1016  func (*TablesResponse) Descriptor() ([]byte, []int) {
  1017  	return file_store_service_proto_store_proto_rawDescGZIP(), []int{17}
  1018  }
  1019  
  1020  func (x *TablesResponse) GetTables() []string {
  1021  	if x != nil {
  1022  		return x.Tables
  1023  	}
  1024  	return nil
  1025  }
  1026  
  1027  var File_store_service_proto_store_proto protoreflect.FileDescriptor
  1028  
  1029  var file_store_service_proto_store_proto_rawDesc = []byte{
  1030  	0x0a, 0x1f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
  1031  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1032  	0x6f, 0x12, 0x0e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f, 0x72,
  1033  	0x65, 0x22, 0x31, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79,
  1034  	0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14,
  1035  	0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
  1036  	0x61, 0x6c, 0x75, 0x65, 0x22, 0xde, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12,
  1037  	0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
  1038  	0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
  1039  	0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72,
  1040  	0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x12,
  1041  	0x40, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28,
  1042  	0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f,
  1043  	0x72, 0x65, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
  1044  	0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
  1045  	0x61, 0x1a, 0x52, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74,
  1046  	0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1047  	0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
  1048  	0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73,
  1049  	0x74, 0x6f, 0x72, 0x65, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
  1050  	0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9d, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70,
  1051  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
  1052  	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
  1053  	0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  1054  	0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69,
  1055  	0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12,
  1056  	0x16, 0x0a, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
  1057  	0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
  1058  	0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a,
  1059  	0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f,
  1060  	0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x56, 0x0a, 0x0b, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71,
  1061  	0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
  1062  	0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
  1063  	0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63,
  1064  	0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74,
  1065  	0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x40, 0x0a,
  1066  	0x0c, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a,
  1067  	0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16,
  1068  	0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
  1069  	0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x22,
  1070  	0x6a, 0x0a, 0x0c, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
  1071  	0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1072  	0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74,
  1073  	0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c,
  1074  	0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
  1075  	0x03, 0x52, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c,
  1076  	0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x22, 0x76, 0x0a, 0x0c, 0x57,
  1077  	0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x72,
  1078  	0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f,
  1079  	0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x63,
  1080  	0x6f, 0x72, 0x64, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x36, 0x0a, 0x07, 0x6f,
  1081  	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67,
  1082  	0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x72,
  1083  	0x69, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69,
  1084  	0x6f, 0x6e, 0x73, 0x22, 0x0f, 0x0a, 0x0d, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
  1085  	0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x70,
  1086  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
  1087  	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
  1088  	0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  1089  	0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x5a, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74,
  1090  	0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
  1091  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x07, 0x6f, 0x70,
  1092  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f,
  1093  	0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x65, 0x6c,
  1094  	0x65, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69,
  1095  	0x6f, 0x6e, 0x73, 0x22, 0x10, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73,
  1096  	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70,
  1097  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
  1098  	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
  1099  	0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  1100  	0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69,
  1101  	0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12,
  1102  	0x16, 0x0a, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  1103  	0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
  1104  	0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a,
  1105  	0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f,
  1106  	0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x44, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
  1107  	0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
  1108  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f,
  1109  	0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f,
  1110  	0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x28, 0x0a, 0x0c, 0x4c,
  1111  	0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6b,
  1112  	0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x4a,
  1113  	0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x12, 0x0a, 0x10, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
  1114  	0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x31, 0x0a, 0x11, 0x44, 0x61, 0x74,
  1115  	0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c,
  1116  	0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
  1117  	0x09, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x22, 0x2b, 0x0a, 0x0d,
  1118  	0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a,
  1119  	0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1120  	0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x28, 0x0a, 0x0e, 0x54, 0x61, 0x62,
  1121  	0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74,
  1122  	0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62,
  1123  	0x6c, 0x65, 0x73, 0x32, 0xc5, 0x03, 0x0a, 0x05, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x43, 0x0a,
  1124  	0x04, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f,
  1125  	0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
  1126  	0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74,
  1127  	0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1128  	0x22, 0x00, 0x12, 0x46, 0x0a, 0x05, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x6f,
  1129  	0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x72, 0x69,
  1130  	0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x2e, 0x6d,
  1131  	0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65,
  1132  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x06, 0x44, 0x65,
  1133  	0x6c, 0x65, 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e,
  1134  	0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
  1135  	0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73,
  1136  	0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
  1137  	0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x2e,
  1138  	0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4c,
  1139  	0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x2e,
  1140  	0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74,
  1141  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x52, 0x0a, 0x09,
  1142  	0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x67, 0x6f, 0x2e, 0x6d,
  1143  	0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62,
  1144  	0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f,
  1145  	0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74,
  1146  	0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
  1147  	0x12, 0x49, 0x0a, 0x06, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x2e,
  1148  	0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c,
  1149  	0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x6f, 0x2e, 0x6d,
  1150  	0x69, 0x63, 0x72, 0x6f, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65,
  1151  	0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f,
  1152  	0x74, 0x6f, 0x33,
  1153  }
  1154  
  1155  var (
  1156  	file_store_service_proto_store_proto_rawDescOnce sync.Once
  1157  	file_store_service_proto_store_proto_rawDescData = file_store_service_proto_store_proto_rawDesc
  1158  )
  1159  
  1160  func file_store_service_proto_store_proto_rawDescGZIP() []byte {
  1161  	file_store_service_proto_store_proto_rawDescOnce.Do(func() {
  1162  		file_store_service_proto_store_proto_rawDescData = protoimpl.X.CompressGZIP(file_store_service_proto_store_proto_rawDescData)
  1163  	})
  1164  	return file_store_service_proto_store_proto_rawDescData
  1165  }
  1166  
  1167  var file_store_service_proto_store_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
  1168  var file_store_service_proto_store_proto_goTypes = []interface{}{
  1169  	(*Field)(nil),             // 0: go.micro.store.Field
  1170  	(*Record)(nil),            // 1: go.micro.store.Record
  1171  	(*ReadOptions)(nil),       // 2: go.micro.store.ReadOptions
  1172  	(*ReadRequest)(nil),       // 3: go.micro.store.ReadRequest
  1173  	(*ReadResponse)(nil),      // 4: go.micro.store.ReadResponse
  1174  	(*WriteOptions)(nil),      // 5: go.micro.store.WriteOptions
  1175  	(*WriteRequest)(nil),      // 6: go.micro.store.WriteRequest
  1176  	(*WriteResponse)(nil),     // 7: go.micro.store.WriteResponse
  1177  	(*DeleteOptions)(nil),     // 8: go.micro.store.DeleteOptions
  1178  	(*DeleteRequest)(nil),     // 9: go.micro.store.DeleteRequest
  1179  	(*DeleteResponse)(nil),    // 10: go.micro.store.DeleteResponse
  1180  	(*ListOptions)(nil),       // 11: go.micro.store.ListOptions
  1181  	(*ListRequest)(nil),       // 12: go.micro.store.ListRequest
  1182  	(*ListResponse)(nil),      // 13: go.micro.store.ListResponse
  1183  	(*DatabasesRequest)(nil),  // 14: go.micro.store.DatabasesRequest
  1184  	(*DatabasesResponse)(nil), // 15: go.micro.store.DatabasesResponse
  1185  	(*TablesRequest)(nil),     // 16: go.micro.store.TablesRequest
  1186  	(*TablesResponse)(nil),    // 17: go.micro.store.TablesResponse
  1187  	nil,                       // 18: go.micro.store.Record.MetadataEntry
  1188  }
  1189  var file_store_service_proto_store_proto_depIdxs = []int32{
  1190  	18, // 0: go.micro.store.Record.metadata:type_name -> go.micro.store.Record.MetadataEntry
  1191  	2,  // 1: go.micro.store.ReadRequest.options:type_name -> go.micro.store.ReadOptions
  1192  	1,  // 2: go.micro.store.ReadResponse.records:type_name -> go.micro.store.Record
  1193  	1,  // 3: go.micro.store.WriteRequest.record:type_name -> go.micro.store.Record
  1194  	5,  // 4: go.micro.store.WriteRequest.options:type_name -> go.micro.store.WriteOptions
  1195  	8,  // 5: go.micro.store.DeleteRequest.options:type_name -> go.micro.store.DeleteOptions
  1196  	11, // 6: go.micro.store.ListRequest.options:type_name -> go.micro.store.ListOptions
  1197  	0,  // 7: go.micro.store.Record.MetadataEntry.value:type_name -> go.micro.store.Field
  1198  	3,  // 8: go.micro.store.Store.Read:input_type -> go.micro.store.ReadRequest
  1199  	6,  // 9: go.micro.store.Store.Write:input_type -> go.micro.store.WriteRequest
  1200  	9,  // 10: go.micro.store.Store.Delete:input_type -> go.micro.store.DeleteRequest
  1201  	12, // 11: go.micro.store.Store.List:input_type -> go.micro.store.ListRequest
  1202  	14, // 12: go.micro.store.Store.Databases:input_type -> go.micro.store.DatabasesRequest
  1203  	16, // 13: go.micro.store.Store.Tables:input_type -> go.micro.store.TablesRequest
  1204  	4,  // 14: go.micro.store.Store.Read:output_type -> go.micro.store.ReadResponse
  1205  	7,  // 15: go.micro.store.Store.Write:output_type -> go.micro.store.WriteResponse
  1206  	10, // 16: go.micro.store.Store.Delete:output_type -> go.micro.store.DeleteResponse
  1207  	13, // 17: go.micro.store.Store.List:output_type -> go.micro.store.ListResponse
  1208  	15, // 18: go.micro.store.Store.Databases:output_type -> go.micro.store.DatabasesResponse
  1209  	17, // 19: go.micro.store.Store.Tables:output_type -> go.micro.store.TablesResponse
  1210  	14, // [14:20] is the sub-list for method output_type
  1211  	8,  // [8:14] is the sub-list for method input_type
  1212  	8,  // [8:8] is the sub-list for extension type_name
  1213  	8,  // [8:8] is the sub-list for extension extendee
  1214  	0,  // [0:8] is the sub-list for field type_name
  1215  }
  1216  
  1217  func init() { file_store_service_proto_store_proto_init() }
  1218  func file_store_service_proto_store_proto_init() {
  1219  	if File_store_service_proto_store_proto != nil {
  1220  		return
  1221  	}
  1222  	if !protoimpl.UnsafeEnabled {
  1223  		file_store_service_proto_store_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1224  			switch v := v.(*Field); i {
  1225  			case 0:
  1226  				return &v.state
  1227  			case 1:
  1228  				return &v.sizeCache
  1229  			case 2:
  1230  				return &v.unknownFields
  1231  			default:
  1232  				return nil
  1233  			}
  1234  		}
  1235  		file_store_service_proto_store_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1236  			switch v := v.(*Record); i {
  1237  			case 0:
  1238  				return &v.state
  1239  			case 1:
  1240  				return &v.sizeCache
  1241  			case 2:
  1242  				return &v.unknownFields
  1243  			default:
  1244  				return nil
  1245  			}
  1246  		}
  1247  		file_store_service_proto_store_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1248  			switch v := v.(*ReadOptions); i {
  1249  			case 0:
  1250  				return &v.state
  1251  			case 1:
  1252  				return &v.sizeCache
  1253  			case 2:
  1254  				return &v.unknownFields
  1255  			default:
  1256  				return nil
  1257  			}
  1258  		}
  1259  		file_store_service_proto_store_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1260  			switch v := v.(*ReadRequest); i {
  1261  			case 0:
  1262  				return &v.state
  1263  			case 1:
  1264  				return &v.sizeCache
  1265  			case 2:
  1266  				return &v.unknownFields
  1267  			default:
  1268  				return nil
  1269  			}
  1270  		}
  1271  		file_store_service_proto_store_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1272  			switch v := v.(*ReadResponse); i {
  1273  			case 0:
  1274  				return &v.state
  1275  			case 1:
  1276  				return &v.sizeCache
  1277  			case 2:
  1278  				return &v.unknownFields
  1279  			default:
  1280  				return nil
  1281  			}
  1282  		}
  1283  		file_store_service_proto_store_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1284  			switch v := v.(*WriteOptions); i {
  1285  			case 0:
  1286  				return &v.state
  1287  			case 1:
  1288  				return &v.sizeCache
  1289  			case 2:
  1290  				return &v.unknownFields
  1291  			default:
  1292  				return nil
  1293  			}
  1294  		}
  1295  		file_store_service_proto_store_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1296  			switch v := v.(*WriteRequest); i {
  1297  			case 0:
  1298  				return &v.state
  1299  			case 1:
  1300  				return &v.sizeCache
  1301  			case 2:
  1302  				return &v.unknownFields
  1303  			default:
  1304  				return nil
  1305  			}
  1306  		}
  1307  		file_store_service_proto_store_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1308  			switch v := v.(*WriteResponse); i {
  1309  			case 0:
  1310  				return &v.state
  1311  			case 1:
  1312  				return &v.sizeCache
  1313  			case 2:
  1314  				return &v.unknownFields
  1315  			default:
  1316  				return nil
  1317  			}
  1318  		}
  1319  		file_store_service_proto_store_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1320  			switch v := v.(*DeleteOptions); i {
  1321  			case 0:
  1322  				return &v.state
  1323  			case 1:
  1324  				return &v.sizeCache
  1325  			case 2:
  1326  				return &v.unknownFields
  1327  			default:
  1328  				return nil
  1329  			}
  1330  		}
  1331  		file_store_service_proto_store_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1332  			switch v := v.(*DeleteRequest); i {
  1333  			case 0:
  1334  				return &v.state
  1335  			case 1:
  1336  				return &v.sizeCache
  1337  			case 2:
  1338  				return &v.unknownFields
  1339  			default:
  1340  				return nil
  1341  			}
  1342  		}
  1343  		file_store_service_proto_store_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1344  			switch v := v.(*DeleteResponse); i {
  1345  			case 0:
  1346  				return &v.state
  1347  			case 1:
  1348  				return &v.sizeCache
  1349  			case 2:
  1350  				return &v.unknownFields
  1351  			default:
  1352  				return nil
  1353  			}
  1354  		}
  1355  		file_store_service_proto_store_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1356  			switch v := v.(*ListOptions); i {
  1357  			case 0:
  1358  				return &v.state
  1359  			case 1:
  1360  				return &v.sizeCache
  1361  			case 2:
  1362  				return &v.unknownFields
  1363  			default:
  1364  				return nil
  1365  			}
  1366  		}
  1367  		file_store_service_proto_store_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1368  			switch v := v.(*ListRequest); i {
  1369  			case 0:
  1370  				return &v.state
  1371  			case 1:
  1372  				return &v.sizeCache
  1373  			case 2:
  1374  				return &v.unknownFields
  1375  			default:
  1376  				return nil
  1377  			}
  1378  		}
  1379  		file_store_service_proto_store_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1380  			switch v := v.(*ListResponse); i {
  1381  			case 0:
  1382  				return &v.state
  1383  			case 1:
  1384  				return &v.sizeCache
  1385  			case 2:
  1386  				return &v.unknownFields
  1387  			default:
  1388  				return nil
  1389  			}
  1390  		}
  1391  		file_store_service_proto_store_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1392  			switch v := v.(*DatabasesRequest); i {
  1393  			case 0:
  1394  				return &v.state
  1395  			case 1:
  1396  				return &v.sizeCache
  1397  			case 2:
  1398  				return &v.unknownFields
  1399  			default:
  1400  				return nil
  1401  			}
  1402  		}
  1403  		file_store_service_proto_store_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1404  			switch v := v.(*DatabasesResponse); i {
  1405  			case 0:
  1406  				return &v.state
  1407  			case 1:
  1408  				return &v.sizeCache
  1409  			case 2:
  1410  				return &v.unknownFields
  1411  			default:
  1412  				return nil
  1413  			}
  1414  		}
  1415  		file_store_service_proto_store_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1416  			switch v := v.(*TablesRequest); i {
  1417  			case 0:
  1418  				return &v.state
  1419  			case 1:
  1420  				return &v.sizeCache
  1421  			case 2:
  1422  				return &v.unknownFields
  1423  			default:
  1424  				return nil
  1425  			}
  1426  		}
  1427  		file_store_service_proto_store_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1428  			switch v := v.(*TablesResponse); i {
  1429  			case 0:
  1430  				return &v.state
  1431  			case 1:
  1432  				return &v.sizeCache
  1433  			case 2:
  1434  				return &v.unknownFields
  1435  			default:
  1436  				return nil
  1437  			}
  1438  		}
  1439  	}
  1440  	type x struct{}
  1441  	out := protoimpl.TypeBuilder{
  1442  		File: protoimpl.DescBuilder{
  1443  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1444  			RawDescriptor: file_store_service_proto_store_proto_rawDesc,
  1445  			NumEnums:      0,
  1446  			NumMessages:   19,
  1447  			NumExtensions: 0,
  1448  			NumServices:   1,
  1449  		},
  1450  		GoTypes:           file_store_service_proto_store_proto_goTypes,
  1451  		DependencyIndexes: file_store_service_proto_store_proto_depIdxs,
  1452  		MessageInfos:      file_store_service_proto_store_proto_msgTypes,
  1453  	}.Build()
  1454  	File_store_service_proto_store_proto = out.File
  1455  	file_store_service_proto_store_proto_rawDesc = nil
  1456  	file_store_service_proto_store_proto_goTypes = nil
  1457  	file_store_service_proto_store_proto_depIdxs = nil
  1458  }
  1459  
  1460  // Reference imports to suppress errors if they are not otherwise used.
  1461  var _ context.Context
  1462  var _ grpc.ClientConnInterface
  1463  
  1464  // This is a compile-time assertion to ensure that this generated file
  1465  // is compatible with the grpc package it is being compiled against.
  1466  const _ = grpc.SupportPackageIsVersion6
  1467  
  1468  // StoreClient is the client API for Store service.
  1469  //
  1470  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1471  type StoreClient interface {
  1472  	Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ReadResponse, error)
  1473  	Write(ctx context.Context, in *WriteRequest, opts ...grpc.CallOption) (*WriteResponse, error)
  1474  	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
  1475  	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (Store_ListClient, error)
  1476  	Databases(ctx context.Context, in *DatabasesRequest, opts ...grpc.CallOption) (*DatabasesResponse, error)
  1477  	Tables(ctx context.Context, in *TablesRequest, opts ...grpc.CallOption) (*TablesResponse, error)
  1478  }
  1479  
  1480  type storeClient struct {
  1481  	cc grpc.ClientConnInterface
  1482  }
  1483  
  1484  func NewStoreClient(cc grpc.ClientConnInterface) StoreClient {
  1485  	return &storeClient{cc}
  1486  }
  1487  
  1488  func (c *storeClient) Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ReadResponse, error) {
  1489  	out := new(ReadResponse)
  1490  	err := c.cc.Invoke(ctx, "/go.micro.store.Store/Read", in, out, opts...)
  1491  	if err != nil {
  1492  		return nil, err
  1493  	}
  1494  	return out, nil
  1495  }
  1496  
  1497  func (c *storeClient) Write(ctx context.Context, in *WriteRequest, opts ...grpc.CallOption) (*WriteResponse, error) {
  1498  	out := new(WriteResponse)
  1499  	err := c.cc.Invoke(ctx, "/go.micro.store.Store/Write", in, out, opts...)
  1500  	if err != nil {
  1501  		return nil, err
  1502  	}
  1503  	return out, nil
  1504  }
  1505  
  1506  func (c *storeClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
  1507  	out := new(DeleteResponse)
  1508  	err := c.cc.Invoke(ctx, "/go.micro.store.Store/Delete", in, out, opts...)
  1509  	if err != nil {
  1510  		return nil, err
  1511  	}
  1512  	return out, nil
  1513  }
  1514  
  1515  func (c *storeClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (Store_ListClient, error) {
  1516  	stream, err := c.cc.NewStream(ctx, &_Store_serviceDesc.Streams[0], "/go.micro.store.Store/List", opts...)
  1517  	if err != nil {
  1518  		return nil, err
  1519  	}
  1520  	x := &storeListClient{stream}
  1521  	if err := x.ClientStream.SendMsg(in); err != nil {
  1522  		return nil, err
  1523  	}
  1524  	if err := x.ClientStream.CloseSend(); err != nil {
  1525  		return nil, err
  1526  	}
  1527  	return x, nil
  1528  }
  1529  
  1530  type Store_ListClient interface {
  1531  	Recv() (*ListResponse, error)
  1532  	grpc.ClientStream
  1533  }
  1534  
  1535  type storeListClient struct {
  1536  	grpc.ClientStream
  1537  }
  1538  
  1539  func (x *storeListClient) Recv() (*ListResponse, error) {
  1540  	m := new(ListResponse)
  1541  	if err := x.ClientStream.RecvMsg(m); err != nil {
  1542  		return nil, err
  1543  	}
  1544  	return m, nil
  1545  }
  1546  
  1547  func (c *storeClient) Databases(ctx context.Context, in *DatabasesRequest, opts ...grpc.CallOption) (*DatabasesResponse, error) {
  1548  	out := new(DatabasesResponse)
  1549  	err := c.cc.Invoke(ctx, "/go.micro.store.Store/Databases", in, out, opts...)
  1550  	if err != nil {
  1551  		return nil, err
  1552  	}
  1553  	return out, nil
  1554  }
  1555  
  1556  func (c *storeClient) Tables(ctx context.Context, in *TablesRequest, opts ...grpc.CallOption) (*TablesResponse, error) {
  1557  	out := new(TablesResponse)
  1558  	err := c.cc.Invoke(ctx, "/go.micro.store.Store/Tables", in, out, opts...)
  1559  	if err != nil {
  1560  		return nil, err
  1561  	}
  1562  	return out, nil
  1563  }
  1564  
  1565  // StoreServer is the server API for Store service.
  1566  type StoreServer interface {
  1567  	Read(context.Context, *ReadRequest) (*ReadResponse, error)
  1568  	Write(context.Context, *WriteRequest) (*WriteResponse, error)
  1569  	Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
  1570  	List(*ListRequest, Store_ListServer) error
  1571  	Databases(context.Context, *DatabasesRequest) (*DatabasesResponse, error)
  1572  	Tables(context.Context, *TablesRequest) (*TablesResponse, error)
  1573  }
  1574  
  1575  // UnimplementedStoreServer can be embedded to have forward compatible implementations.
  1576  type UnimplementedStoreServer struct {
  1577  }
  1578  
  1579  func (*UnimplementedStoreServer) Read(context.Context, *ReadRequest) (*ReadResponse, error) {
  1580  	return nil, status.Errorf(codes.Unimplemented, "method Read not implemented")
  1581  }
  1582  func (*UnimplementedStoreServer) Write(context.Context, *WriteRequest) (*WriteResponse, error) {
  1583  	return nil, status.Errorf(codes.Unimplemented, "method Write not implemented")
  1584  }
  1585  func (*UnimplementedStoreServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) {
  1586  	return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
  1587  }
  1588  func (*UnimplementedStoreServer) List(*ListRequest, Store_ListServer) error {
  1589  	return status.Errorf(codes.Unimplemented, "method List not implemented")
  1590  }
  1591  func (*UnimplementedStoreServer) Databases(context.Context, *DatabasesRequest) (*DatabasesResponse, error) {
  1592  	return nil, status.Errorf(codes.Unimplemented, "method Databases not implemented")
  1593  }
  1594  func (*UnimplementedStoreServer) Tables(context.Context, *TablesRequest) (*TablesResponse, error) {
  1595  	return nil, status.Errorf(codes.Unimplemented, "method Tables not implemented")
  1596  }
  1597  
  1598  func RegisterStoreServer(s *grpc.Server, srv StoreServer) {
  1599  	s.RegisterService(&_Store_serviceDesc, srv)
  1600  }
  1601  
  1602  func _Store_Read_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1603  	in := new(ReadRequest)
  1604  	if err := dec(in); err != nil {
  1605  		return nil, err
  1606  	}
  1607  	if interceptor == nil {
  1608  		return srv.(StoreServer).Read(ctx, in)
  1609  	}
  1610  	info := &grpc.UnaryServerInfo{
  1611  		Server:     srv,
  1612  		FullMethod: "/go.micro.store.Store/Read",
  1613  	}
  1614  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1615  		return srv.(StoreServer).Read(ctx, req.(*ReadRequest))
  1616  	}
  1617  	return interceptor(ctx, in, info, handler)
  1618  }
  1619  
  1620  func _Store_Write_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1621  	in := new(WriteRequest)
  1622  	if err := dec(in); err != nil {
  1623  		return nil, err
  1624  	}
  1625  	if interceptor == nil {
  1626  		return srv.(StoreServer).Write(ctx, in)
  1627  	}
  1628  	info := &grpc.UnaryServerInfo{
  1629  		Server:     srv,
  1630  		FullMethod: "/go.micro.store.Store/Write",
  1631  	}
  1632  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1633  		return srv.(StoreServer).Write(ctx, req.(*WriteRequest))
  1634  	}
  1635  	return interceptor(ctx, in, info, handler)
  1636  }
  1637  
  1638  func _Store_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1639  	in := new(DeleteRequest)
  1640  	if err := dec(in); err != nil {
  1641  		return nil, err
  1642  	}
  1643  	if interceptor == nil {
  1644  		return srv.(StoreServer).Delete(ctx, in)
  1645  	}
  1646  	info := &grpc.UnaryServerInfo{
  1647  		Server:     srv,
  1648  		FullMethod: "/go.micro.store.Store/Delete",
  1649  	}
  1650  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1651  		return srv.(StoreServer).Delete(ctx, req.(*DeleteRequest))
  1652  	}
  1653  	return interceptor(ctx, in, info, handler)
  1654  }
  1655  
  1656  func _Store_List_Handler(srv interface{}, stream grpc.ServerStream) error {
  1657  	m := new(ListRequest)
  1658  	if err := stream.RecvMsg(m); err != nil {
  1659  		return err
  1660  	}
  1661  	return srv.(StoreServer).List(m, &storeListServer{stream})
  1662  }
  1663  
  1664  type Store_ListServer interface {
  1665  	Send(*ListResponse) error
  1666  	grpc.ServerStream
  1667  }
  1668  
  1669  type storeListServer struct {
  1670  	grpc.ServerStream
  1671  }
  1672  
  1673  func (x *storeListServer) Send(m *ListResponse) error {
  1674  	return x.ServerStream.SendMsg(m)
  1675  }
  1676  
  1677  func _Store_Databases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1678  	in := new(DatabasesRequest)
  1679  	if err := dec(in); err != nil {
  1680  		return nil, err
  1681  	}
  1682  	if interceptor == nil {
  1683  		return srv.(StoreServer).Databases(ctx, in)
  1684  	}
  1685  	info := &grpc.UnaryServerInfo{
  1686  		Server:     srv,
  1687  		FullMethod: "/go.micro.store.Store/Databases",
  1688  	}
  1689  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1690  		return srv.(StoreServer).Databases(ctx, req.(*DatabasesRequest))
  1691  	}
  1692  	return interceptor(ctx, in, info, handler)
  1693  }
  1694  
  1695  func _Store_Tables_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1696  	in := new(TablesRequest)
  1697  	if err := dec(in); err != nil {
  1698  		return nil, err
  1699  	}
  1700  	if interceptor == nil {
  1701  		return srv.(StoreServer).Tables(ctx, in)
  1702  	}
  1703  	info := &grpc.UnaryServerInfo{
  1704  		Server:     srv,
  1705  		FullMethod: "/go.micro.store.Store/Tables",
  1706  	}
  1707  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1708  		return srv.(StoreServer).Tables(ctx, req.(*TablesRequest))
  1709  	}
  1710  	return interceptor(ctx, in, info, handler)
  1711  }
  1712  
  1713  var _Store_serviceDesc = grpc.ServiceDesc{
  1714  	ServiceName: "go.micro.store.Store",
  1715  	HandlerType: (*StoreServer)(nil),
  1716  	Methods: []grpc.MethodDesc{
  1717  		{
  1718  			MethodName: "Read",
  1719  			Handler:    _Store_Read_Handler,
  1720  		},
  1721  		{
  1722  			MethodName: "Write",
  1723  			Handler:    _Store_Write_Handler,
  1724  		},
  1725  		{
  1726  			MethodName: "Delete",
  1727  			Handler:    _Store_Delete_Handler,
  1728  		},
  1729  		{
  1730  			MethodName: "Databases",
  1731  			Handler:    _Store_Databases_Handler,
  1732  		},
  1733  		{
  1734  			MethodName: "Tables",
  1735  			Handler:    _Store_Tables_Handler,
  1736  		},
  1737  	},
  1738  	Streams: []grpc.StreamDesc{
  1739  		{
  1740  			StreamName:    "List",
  1741  			Handler:       _Store_List_Handler,
  1742  			ServerStreams: true,
  1743  		},
  1744  	},
  1745  	Metadata: "store/service/proto/store.proto",
  1746  }