From 8be702200795bf99eec1fa81495e3b3cd5531924 Mon Sep 17 00:00:00 2001 From: Daniel Merrill Date: Mon, 2 Nov 2020 18:38:44 -0300 Subject: [PATCH] Fleek/pass keys through newdb api (#1) (#460) * Pass thread key and log key through NewDB and NewDBFromAddr * Handle null thread key Signed-off-by: Daniel Merrill --- api/client/client.go | 21 + api/pb/threads.pb.go | 5386 +++++++++++++++++++++++++++--------------- api/pb/threads.proto | 5 + api/service.go | 42 + go.mod | 1 + 5 files changed, 3530 insertions(+), 1925 deletions(-) diff --git a/api/client/client.go b/api/client/client.go index 6f42cf10..41c1f609 100644 --- a/api/client/client.go +++ b/api/client/client.go @@ -167,11 +167,22 @@ func (c *Client) NewDB(ctx context.Context, dbID thread.ID, opts ...db.NewManage } pbcollections[i] = cc } + var logKey []byte + if args.LogKey != nil { + var err error + logKey, err = args.LogKey.Bytes() + if err != nil { + return err + } + } ctx = thread.NewTokenContext(ctx, args.Token) _, err := c.c.NewDB(ctx, &pb.NewDBRequest{ DbID: dbID.Bytes(), Collections: pbcollections, Name: args.Name, + Block: args.Block, + ThreadKey: args.ThreadKey.Bytes(), + LogKey: logKey, }) return err } @@ -190,6 +201,14 @@ func (c *Client) NewDBFromAddr(ctx context.Context, dbAddr ma.Multiaddr, dbKey t } pbcollections[i] = cc } + var logKey []byte + if args.LogKey != nil { + var err error + logKey, err = args.LogKey.Bytes() + if err != nil { + return err + } + } ctx = thread.NewTokenContext(ctx, args.Token) _, err := c.c.NewDBFromAddr(ctx, &pb.NewDBFromAddrRequest{ Addr: dbAddr.Bytes(), @@ -197,6 +216,8 @@ func (c *Client) NewDBFromAddr(ctx context.Context, dbAddr ma.Multiaddr, dbKey t Collections: pbcollections, Name: args.Name, Block: args.Block, + ThreadKey: args.ThreadKey.Bytes(), + LogKey: logKey, }) return err } diff --git a/api/pb/threads.pb.go b/api/pb/threads.pb.go index 39baa4c9..53ed556e 100644 --- a/api/pb/threads.pb.go +++ b/api/pb/threads.pb.go @@ -1,28 +1,33 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.12.2 // source: threads.proto package threads_pb import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type ListenRequest_Filter_Action int32 @@ -33,26 +38,47 @@ const ( ListenRequest_Filter_DELETE ListenRequest_Filter_Action = 3 ) -var ListenRequest_Filter_Action_name = map[int32]string{ - 0: "ALL", - 1: "CREATE", - 2: "SAVE", - 3: "DELETE", -} +// Enum value maps for ListenRequest_Filter_Action. +var ( + ListenRequest_Filter_Action_name = map[int32]string{ + 0: "ALL", + 1: "CREATE", + 2: "SAVE", + 3: "DELETE", + } + ListenRequest_Filter_Action_value = map[string]int32{ + "ALL": 0, + "CREATE": 1, + "SAVE": 2, + "DELETE": 3, + } +) -var ListenRequest_Filter_Action_value = map[string]int32{ - "ALL": 0, - "CREATE": 1, - "SAVE": 2, - "DELETE": 3, +func (x ListenRequest_Filter_Action) Enum() *ListenRequest_Filter_Action { + p := new(ListenRequest_Filter_Action) + *p = x + return p } func (x ListenRequest_Filter_Action) String() string { - return proto.EnumName(ListenRequest_Filter_Action_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ListenRequest_Filter_Action) Descriptor() protoreflect.EnumDescriptor { + return file_threads_proto_enumTypes[0].Descriptor() +} + +func (ListenRequest_Filter_Action) Type() protoreflect.EnumType { + return &file_threads_proto_enumTypes[0] +} + +func (x ListenRequest_Filter_Action) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ListenRequest_Filter_Action.Descriptor instead. func (ListenRequest_Filter_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{46, 0, 0} + return file_threads_proto_rawDescGZIP(), []int{46, 0, 0} } type ListenReply_Action int32 @@ -63,76 +89,89 @@ const ( ListenReply_DELETE ListenReply_Action = 2 ) -var ListenReply_Action_name = map[int32]string{ - 0: "CREATE", - 1: "SAVE", - 2: "DELETE", -} +// Enum value maps for ListenReply_Action. +var ( + ListenReply_Action_name = map[int32]string{ + 0: "CREATE", + 1: "SAVE", + 2: "DELETE", + } + ListenReply_Action_value = map[string]int32{ + "CREATE": 0, + "SAVE": 1, + "DELETE": 2, + } +) -var ListenReply_Action_value = map[string]int32{ - "CREATE": 0, - "SAVE": 1, - "DELETE": 2, +func (x ListenReply_Action) Enum() *ListenReply_Action { + p := new(ListenReply_Action) + *p = x + return p } func (x ListenReply_Action) String() string { - return proto.EnumName(ListenReply_Action_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (ListenReply_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{47, 0} +func (ListenReply_Action) Descriptor() protoreflect.EnumDescriptor { + return file_threads_proto_enumTypes[1].Descriptor() } -type GetTokenRequest struct { - // Types that are valid to be assigned to Payload: - // *GetTokenRequest_Key - // *GetTokenRequest_Signature - Payload isGetTokenRequest_Payload `protobuf_oneof:"payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (ListenReply_Action) Type() protoreflect.EnumType { + return &file_threads_proto_enumTypes[1] } -func (m *GetTokenRequest) Reset() { *m = GetTokenRequest{} } -func (m *GetTokenRequest) String() string { return proto.CompactTextString(m) } -func (*GetTokenRequest) ProtoMessage() {} -func (*GetTokenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{0} +func (x ListenReply_Action) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *GetTokenRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTokenRequest.Unmarshal(m, b) -} -func (m *GetTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTokenRequest.Marshal(b, m, deterministic) -} -func (m *GetTokenRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTokenRequest.Merge(m, src) -} -func (m *GetTokenRequest) XXX_Size() int { - return xxx_messageInfo_GetTokenRequest.Size(m) -} -func (m *GetTokenRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTokenRequest.DiscardUnknown(m) +// Deprecated: Use ListenReply_Action.Descriptor instead. +func (ListenReply_Action) EnumDescriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{47, 0} } -var xxx_messageInfo_GetTokenRequest proto.InternalMessageInfo +type GetTokenRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -type isGetTokenRequest_Payload interface { - isGetTokenRequest_Payload() + // Types that are assignable to Payload: + // *GetTokenRequest_Key + // *GetTokenRequest_Signature + Payload isGetTokenRequest_Payload `protobuf_oneof:"payload"` } -type GetTokenRequest_Key struct { - Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof"` +func (x *GetTokenRequest) Reset() { + *x = GetTokenRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -type GetTokenRequest_Signature struct { - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3,oneof"` +func (x *GetTokenRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (*GetTokenRequest_Key) isGetTokenRequest_Payload() {} +func (*GetTokenRequest) ProtoMessage() {} -func (*GetTokenRequest_Signature) isGetTokenRequest_Payload() {} +func (x *GetTokenRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTokenRequest.ProtoReflect.Descriptor instead. +func (*GetTokenRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{0} +} func (m *GetTokenRequest) GetPayload() isGetTokenRequest_Payload { if m != nil { @@ -141,62 +180,99 @@ func (m *GetTokenRequest) GetPayload() isGetTokenRequest_Payload { return nil } -func (m *GetTokenRequest) GetKey() string { - if x, ok := m.GetPayload().(*GetTokenRequest_Key); ok { +func (x *GetTokenRequest) GetKey() string { + if x, ok := x.GetPayload().(*GetTokenRequest_Key); ok { return x.Key } return "" } -func (m *GetTokenRequest) GetSignature() []byte { - if x, ok := m.GetPayload().(*GetTokenRequest_Signature); ok { +func (x *GetTokenRequest) GetSignature() []byte { + if x, ok := x.GetPayload().(*GetTokenRequest_Signature); ok { return x.Signature } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GetTokenRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GetTokenRequest_Key)(nil), - (*GetTokenRequest_Signature)(nil), - } +type isGetTokenRequest_Payload interface { + isGetTokenRequest_Payload() +} + +type GetTokenRequest_Key struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof"` +} + +type GetTokenRequest_Signature struct { + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3,oneof"` } +func (*GetTokenRequest_Key) isGetTokenRequest_Payload() {} + +func (*GetTokenRequest_Signature) isGetTokenRequest_Payload() {} + type GetTokenReply struct { - // Types that are valid to be assigned to Payload: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Payload: // *GetTokenReply_Challenge // *GetTokenReply_Token - Payload isGetTokenReply_Payload `protobuf_oneof:"payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Payload isGetTokenReply_Payload `protobuf_oneof:"payload"` } -func (m *GetTokenReply) Reset() { *m = GetTokenReply{} } -func (m *GetTokenReply) String() string { return proto.CompactTextString(m) } -func (*GetTokenReply) ProtoMessage() {} -func (*GetTokenReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{1} +func (x *GetTokenReply) Reset() { + *x = GetTokenReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTokenReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTokenReply.Unmarshal(m, b) +func (x *GetTokenReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTokenReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTokenReply.Marshal(b, m, deterministic) + +func (*GetTokenReply) ProtoMessage() {} + +func (x *GetTokenReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *GetTokenReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTokenReply.Merge(m, src) + +// Deprecated: Use GetTokenReply.ProtoReflect.Descriptor instead. +func (*GetTokenReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{1} } -func (m *GetTokenReply) XXX_Size() int { - return xxx_messageInfo_GetTokenReply.Size(m) + +func (m *GetTokenReply) GetPayload() isGetTokenReply_Payload { + if m != nil { + return m.Payload + } + return nil } -func (m *GetTokenReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetTokenReply.DiscardUnknown(m) + +func (x *GetTokenReply) GetChallenge() []byte { + if x, ok := x.GetPayload().(*GetTokenReply_Challenge); ok { + return x.Challenge + } + return nil } -var xxx_messageInfo_GetTokenReply proto.InternalMessageInfo +func (x *GetTokenReply) GetToken() string { + if x, ok := x.GetPayload().(*GetTokenReply_Token); ok { + return x.Token + } + return "" +} type isGetTokenReply_Payload interface { isGetTokenReply_Payload() @@ -214,1942 +290,2261 @@ func (*GetTokenReply_Challenge) isGetTokenReply_Payload() {} func (*GetTokenReply_Token) isGetTokenReply_Payload() {} -func (m *GetTokenReply) GetPayload() isGetTokenReply_Payload { - if m != nil { - return m.Payload - } - return nil -} +type NewDBRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetTokenReply) GetChallenge() []byte { - if x, ok := m.GetPayload().(*GetTokenReply_Challenge); ok { - return x.Challenge - } - return nil + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + Collections []*CollectionConfig `protobuf:"bytes,2,rep,name=collections,proto3" json:"collections,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Block bool `protobuf:"varint,5,opt,name=block,proto3" json:"block,omitempty"` + ThreadKey []byte `protobuf:"bytes,6,opt,name=threadKey,proto3" json:"threadKey,omitempty"` + LogKey []byte `protobuf:"bytes,7,opt,name=logKey,proto3" json:"logKey,omitempty"` } -func (m *GetTokenReply) GetToken() string { - if x, ok := m.GetPayload().(*GetTokenReply_Token); ok { - return x.Token +func (x *NewDBRequest) Reset() { + *x = NewDBRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GetTokenReply) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GetTokenReply_Challenge)(nil), - (*GetTokenReply_Token)(nil), - } +func (x *NewDBRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -type NewDBRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - Collections []*CollectionConfig `protobuf:"bytes,2,rep,name=collections,proto3" json:"collections,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (*NewDBRequest) ProtoMessage() {} + +func (x *NewDBRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *NewDBRequest) Reset() { *m = NewDBRequest{} } -func (m *NewDBRequest) String() string { return proto.CompactTextString(m) } -func (*NewDBRequest) ProtoMessage() {} +// Deprecated: Use NewDBRequest.ProtoReflect.Descriptor instead. func (*NewDBRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{2} + return file_threads_proto_rawDescGZIP(), []int{2} } -func (m *NewDBRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewDBRequest.Unmarshal(m, b) -} -func (m *NewDBRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewDBRequest.Marshal(b, m, deterministic) -} -func (m *NewDBRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewDBRequest.Merge(m, src) -} -func (m *NewDBRequest) XXX_Size() int { - return xxx_messageInfo_NewDBRequest.Size(m) +func (x *NewDBRequest) GetDbID() []byte { + if x != nil { + return x.DbID + } + return nil } -func (m *NewDBRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NewDBRequest.DiscardUnknown(m) + +func (x *NewDBRequest) GetCollections() []*CollectionConfig { + if x != nil { + return x.Collections + } + return nil } -var xxx_messageInfo_NewDBRequest proto.InternalMessageInfo +func (x *NewDBRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} -func (m *NewDBRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *NewDBRequest) GetBlock() bool { + if x != nil { + return x.Block } - return nil + return false } -func (m *NewDBRequest) GetCollections() []*CollectionConfig { - if m != nil { - return m.Collections +func (x *NewDBRequest) GetThreadKey() []byte { + if x != nil { + return x.ThreadKey } return nil } -func (m *NewDBRequest) GetName() string { - if m != nil { - return m.Name +func (x *NewDBRequest) GetLogKey() []byte { + if x != nil { + return x.LogKey } - return "" + return nil } type NewDBFromAddrRequest struct { - Addr []byte `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` - Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` - Collections []*CollectionConfig `protobuf:"bytes,3,rep,name=collections,proto3" json:"collections,omitempty"` - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - Block bool `protobuf:"varint,5,opt,name=block,proto3" json:"block,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NewDBFromAddrRequest) Reset() { *m = NewDBFromAddrRequest{} } -func (m *NewDBFromAddrRequest) String() string { return proto.CompactTextString(m) } -func (*NewDBFromAddrRequest) ProtoMessage() {} -func (*NewDBFromAddrRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{3} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *NewDBFromAddrRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewDBFromAddrRequest.Unmarshal(m, b) + Addr []byte `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` + Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` + Collections []*CollectionConfig `protobuf:"bytes,3,rep,name=collections,proto3" json:"collections,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + Block bool `protobuf:"varint,5,opt,name=block,proto3" json:"block,omitempty"` + ThreadKey []byte `protobuf:"bytes,6,opt,name=threadKey,proto3" json:"threadKey,omitempty"` + LogKey []byte `protobuf:"bytes,7,opt,name=logKey,proto3" json:"logKey,omitempty"` } -func (m *NewDBFromAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewDBFromAddrRequest.Marshal(b, m, deterministic) -} -func (m *NewDBFromAddrRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewDBFromAddrRequest.Merge(m, src) + +func (x *NewDBFromAddrRequest) Reset() { + *x = NewDBFromAddrRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NewDBFromAddrRequest) XXX_Size() int { - return xxx_messageInfo_NewDBFromAddrRequest.Size(m) + +func (x *NewDBFromAddrRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewDBFromAddrRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NewDBFromAddrRequest.DiscardUnknown(m) + +func (*NewDBFromAddrRequest) ProtoMessage() {} + +func (x *NewDBFromAddrRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NewDBFromAddrRequest proto.InternalMessageInfo +// Deprecated: Use NewDBFromAddrRequest.ProtoReflect.Descriptor instead. +func (*NewDBFromAddrRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{3} +} -func (m *NewDBFromAddrRequest) GetAddr() []byte { - if m != nil { - return m.Addr +func (x *NewDBFromAddrRequest) GetAddr() []byte { + if x != nil { + return x.Addr } return nil } -func (m *NewDBFromAddrRequest) GetKey() []byte { - if m != nil { - return m.Key +func (x *NewDBFromAddrRequest) GetKey() []byte { + if x != nil { + return x.Key } return nil } -func (m *NewDBFromAddrRequest) GetCollections() []*CollectionConfig { - if m != nil { - return m.Collections +func (x *NewDBFromAddrRequest) GetCollections() []*CollectionConfig { + if x != nil { + return x.Collections } return nil } -func (m *NewDBFromAddrRequest) GetName() string { - if m != nil { - return m.Name +func (x *NewDBFromAddrRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *NewDBFromAddrRequest) GetBlock() bool { - if m != nil { - return m.Block +func (x *NewDBFromAddrRequest) GetBlock() bool { + if x != nil { + return x.Block } return false } -type CollectionConfig struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Schema []byte `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` - Indexes []*Index `protobuf:"bytes,3,rep,name=indexes,proto3" json:"indexes,omitempty"` - WriteValidator string `protobuf:"bytes,4,opt,name=writeValidator,proto3" json:"writeValidator,omitempty"` - ReadFilter string `protobuf:"bytes,5,opt,name=readFilter,proto3" json:"readFilter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CollectionConfig) Reset() { *m = CollectionConfig{} } -func (m *CollectionConfig) String() string { return proto.CompactTextString(m) } -func (*CollectionConfig) ProtoMessage() {} -func (*CollectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{4} +func (x *NewDBFromAddrRequest) GetThreadKey() []byte { + if x != nil { + return x.ThreadKey + } + return nil } -func (m *CollectionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CollectionConfig.Unmarshal(m, b) +func (x *NewDBFromAddrRequest) GetLogKey() []byte { + if x != nil { + return x.LogKey + } + return nil } -func (m *CollectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CollectionConfig.Marshal(b, m, deterministic) + +type CollectionConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Schema []byte `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` + Indexes []*Index `protobuf:"bytes,3,rep,name=indexes,proto3" json:"indexes,omitempty"` + WriteValidator string `protobuf:"bytes,4,opt,name=writeValidator,proto3" json:"writeValidator,omitempty"` + ReadFilter string `protobuf:"bytes,5,opt,name=readFilter,proto3" json:"readFilter,omitempty"` } -func (m *CollectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectionConfig.Merge(m, src) + +func (x *CollectionConfig) Reset() { + *x = CollectionConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CollectionConfig) XXX_Size() int { - return xxx_messageInfo_CollectionConfig.Size(m) + +func (x *CollectionConfig) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectionConfig) XXX_DiscardUnknown() { - xxx_messageInfo_CollectionConfig.DiscardUnknown(m) + +func (*CollectionConfig) ProtoMessage() {} + +func (x *CollectionConfig) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CollectionConfig proto.InternalMessageInfo +// Deprecated: Use CollectionConfig.ProtoReflect.Descriptor instead. +func (*CollectionConfig) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{4} +} -func (m *CollectionConfig) GetName() string { - if m != nil { - return m.Name +func (x *CollectionConfig) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *CollectionConfig) GetSchema() []byte { - if m != nil { - return m.Schema +func (x *CollectionConfig) GetSchema() []byte { + if x != nil { + return x.Schema } return nil } -func (m *CollectionConfig) GetIndexes() []*Index { - if m != nil { - return m.Indexes +func (x *CollectionConfig) GetIndexes() []*Index { + if x != nil { + return x.Indexes } return nil } -func (m *CollectionConfig) GetWriteValidator() string { - if m != nil { - return m.WriteValidator +func (x *CollectionConfig) GetWriteValidator() string { + if x != nil { + return x.WriteValidator } return "" } -func (m *CollectionConfig) GetReadFilter() string { - if m != nil { - return m.ReadFilter +func (x *CollectionConfig) GetReadFilter() string { + if x != nil { + return x.ReadFilter } return "" } type Index struct { - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - Unique bool `protobuf:"varint,2,opt,name=unique,proto3" json:"unique,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Index) Reset() { *m = Index{} } -func (m *Index) String() string { return proto.CompactTextString(m) } -func (*Index) ProtoMessage() {} -func (*Index) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{5} + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Unique bool `protobuf:"varint,2,opt,name=unique,proto3" json:"unique,omitempty"` } -func (m *Index) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Index.Unmarshal(m, b) -} -func (m *Index) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Index.Marshal(b, m, deterministic) -} -func (m *Index) XXX_Merge(src proto.Message) { - xxx_messageInfo_Index.Merge(m, src) +func (x *Index) Reset() { + *x = Index{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Index) XXX_Size() int { - return xxx_messageInfo_Index.Size(m) + +func (x *Index) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Index) XXX_DiscardUnknown() { - xxx_messageInfo_Index.DiscardUnknown(m) + +func (*Index) ProtoMessage() {} + +func (x *Index) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Index proto.InternalMessageInfo +// Deprecated: Use Index.ProtoReflect.Descriptor instead. +func (*Index) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{5} +} -func (m *Index) GetPath() string { - if m != nil { - return m.Path +func (x *Index) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *Index) GetUnique() bool { - if m != nil { - return m.Unique +func (x *Index) GetUnique() bool { + if x != nil { + return x.Unique } return false } type NewDBReply struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *NewDBReply) Reset() { *m = NewDBReply{} } -func (m *NewDBReply) String() string { return proto.CompactTextString(m) } -func (*NewDBReply) ProtoMessage() {} -func (*NewDBReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{6} +func (x *NewDBReply) Reset() { + *x = NewDBReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NewDBReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewDBReply.Unmarshal(m, b) -} -func (m *NewDBReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewDBReply.Marshal(b, m, deterministic) -} -func (m *NewDBReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewDBReply.Merge(m, src) -} -func (m *NewDBReply) XXX_Size() int { - return xxx_messageInfo_NewDBReply.Size(m) -} -func (m *NewDBReply) XXX_DiscardUnknown() { - xxx_messageInfo_NewDBReply.DiscardUnknown(m) +func (x *NewDBReply) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_NewDBReply proto.InternalMessageInfo - -type ListDBsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +func (*NewDBReply) ProtoMessage() {} -func (m *ListDBsRequest) Reset() { *m = ListDBsRequest{} } -func (m *ListDBsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDBsRequest) ProtoMessage() {} -func (*ListDBsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{7} +func (x *NewDBReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ListDBsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDBsRequest.Unmarshal(m, b) -} -func (m *ListDBsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDBsRequest.Marshal(b, m, deterministic) -} -func (m *ListDBsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDBsRequest.Merge(m, src) -} -func (m *ListDBsRequest) XXX_Size() int { - return xxx_messageInfo_ListDBsRequest.Size(m) -} -func (m *ListDBsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDBsRequest.DiscardUnknown(m) +// Deprecated: Use NewDBReply.ProtoReflect.Descriptor instead. +func (*NewDBReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{6} } -var xxx_messageInfo_ListDBsRequest proto.InternalMessageInfo - -type ListDBsReply struct { - Dbs []*ListDBsReply_DB `protobuf:"bytes,1,rep,name=dbs,proto3" json:"dbs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type ListDBsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListDBsReply) Reset() { *m = ListDBsReply{} } -func (m *ListDBsReply) String() string { return proto.CompactTextString(m) } -func (*ListDBsReply) ProtoMessage() {} -func (*ListDBsReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{8} +func (x *ListDBsRequest) Reset() { + *x = ListDBsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDBsReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDBsReply.Unmarshal(m, b) -} -func (m *ListDBsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDBsReply.Marshal(b, m, deterministic) -} -func (m *ListDBsReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDBsReply.Merge(m, src) -} -func (m *ListDBsReply) XXX_Size() int { - return xxx_messageInfo_ListDBsReply.Size(m) -} -func (m *ListDBsReply) XXX_DiscardUnknown() { - xxx_messageInfo_ListDBsReply.DiscardUnknown(m) +func (x *ListDBsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListDBsReply proto.InternalMessageInfo +func (*ListDBsRequest) ProtoMessage() {} -func (m *ListDBsReply) GetDbs() []*ListDBsReply_DB { - if m != nil { - return m.Dbs +func (x *ListDBsRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -type ListDBsReply_DB struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - Info *GetDBInfoReply `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use ListDBsRequest.ProtoReflect.Descriptor instead. +func (*ListDBsRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{7} } -func (m *ListDBsReply_DB) Reset() { *m = ListDBsReply_DB{} } -func (m *ListDBsReply_DB) String() string { return proto.CompactTextString(m) } -func (*ListDBsReply_DB) ProtoMessage() {} -func (*ListDBsReply_DB) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{8, 0} -} +type ListDBsReply struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListDBsReply_DB) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDBsReply_DB.Unmarshal(m, b) + Dbs []*ListDBsReply_DB `protobuf:"bytes,1,rep,name=dbs,proto3" json:"dbs,omitempty"` } -func (m *ListDBsReply_DB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDBsReply_DB.Marshal(b, m, deterministic) -} -func (m *ListDBsReply_DB) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDBsReply_DB.Merge(m, src) -} -func (m *ListDBsReply_DB) XXX_Size() int { - return xxx_messageInfo_ListDBsReply_DB.Size(m) + +func (x *ListDBsReply) Reset() { + *x = ListDBsReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDBsReply_DB) XXX_DiscardUnknown() { - xxx_messageInfo_ListDBsReply_DB.DiscardUnknown(m) + +func (x *ListDBsReply) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListDBsReply_DB proto.InternalMessageInfo +func (*ListDBsReply) ProtoMessage() {} -func (m *ListDBsReply_DB) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *ListDBsReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *ListDBsReply_DB) GetInfo() *GetDBInfoReply { - if m != nil { - return m.Info +// Deprecated: Use ListDBsReply.ProtoReflect.Descriptor instead. +func (*ListDBsReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{8} +} + +func (x *ListDBsReply) GetDbs() []*ListDBsReply_DB { + if x != nil { + return x.Dbs } return nil } type GetDBInfoRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetDBInfoRequest) Reset() { *m = GetDBInfoRequest{} } -func (m *GetDBInfoRequest) String() string { return proto.CompactTextString(m) } -func (*GetDBInfoRequest) ProtoMessage() {} -func (*GetDBInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{9} + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` } -func (m *GetDBInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDBInfoRequest.Unmarshal(m, b) -} -func (m *GetDBInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDBInfoRequest.Marshal(b, m, deterministic) -} -func (m *GetDBInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDBInfoRequest.Merge(m, src) +func (x *GetDBInfoRequest) Reset() { + *x = GetDBInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetDBInfoRequest) XXX_Size() int { - return xxx_messageInfo_GetDBInfoRequest.Size(m) + +func (x *GetDBInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetDBInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDBInfoRequest.DiscardUnknown(m) + +func (*GetDBInfoRequest) ProtoMessage() {} + +func (x *GetDBInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetDBInfoRequest proto.InternalMessageInfo +// Deprecated: Use GetDBInfoRequest.ProtoReflect.Descriptor instead. +func (*GetDBInfoRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{9} +} -func (m *GetDBInfoRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *GetDBInfoRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } type GetDBInfoReply struct { - Addrs [][]byte `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` - Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetDBInfoReply) Reset() { *m = GetDBInfoReply{} } -func (m *GetDBInfoReply) String() string { return proto.CompactTextString(m) } -func (*GetDBInfoReply) ProtoMessage() {} -func (*GetDBInfoReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{10} + Addrs [][]byte `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` + Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` } -func (m *GetDBInfoReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDBInfoReply.Unmarshal(m, b) -} -func (m *GetDBInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDBInfoReply.Marshal(b, m, deterministic) -} -func (m *GetDBInfoReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDBInfoReply.Merge(m, src) +func (x *GetDBInfoReply) Reset() { + *x = GetDBInfoReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetDBInfoReply) XXX_Size() int { - return xxx_messageInfo_GetDBInfoReply.Size(m) + +func (x *GetDBInfoReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetDBInfoReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetDBInfoReply.DiscardUnknown(m) + +func (*GetDBInfoReply) ProtoMessage() {} + +func (x *GetDBInfoReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetDBInfoReply proto.InternalMessageInfo +// Deprecated: Use GetDBInfoReply.ProtoReflect.Descriptor instead. +func (*GetDBInfoReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{10} +} -func (m *GetDBInfoReply) GetAddrs() [][]byte { - if m != nil { - return m.Addrs +func (x *GetDBInfoReply) GetAddrs() [][]byte { + if x != nil { + return x.Addrs } return nil } -func (m *GetDBInfoReply) GetKey() []byte { - if m != nil { - return m.Key +func (x *GetDBInfoReply) GetKey() []byte { + if x != nil { + return x.Key } return nil } -func (m *GetDBInfoReply) GetName() string { - if m != nil { - return m.Name +func (x *GetDBInfoReply) GetName() string { + if x != nil { + return x.Name } return "" } type DeleteDBRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *DeleteDBRequest) Reset() { *m = DeleteDBRequest{} } -func (m *DeleteDBRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteDBRequest) ProtoMessage() {} -func (*DeleteDBRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{11} + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` } -func (m *DeleteDBRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDBRequest.Unmarshal(m, b) -} -func (m *DeleteDBRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDBRequest.Marshal(b, m, deterministic) -} -func (m *DeleteDBRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDBRequest.Merge(m, src) +func (x *DeleteDBRequest) Reset() { + *x = DeleteDBRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteDBRequest) XXX_Size() int { - return xxx_messageInfo_DeleteDBRequest.Size(m) + +func (x *DeleteDBRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteDBRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDBRequest.DiscardUnknown(m) + +func (*DeleteDBRequest) ProtoMessage() {} + +func (x *DeleteDBRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteDBRequest proto.InternalMessageInfo +// Deprecated: Use DeleteDBRequest.ProtoReflect.Descriptor instead. +func (*DeleteDBRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{11} +} -func (m *DeleteDBRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *DeleteDBRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } type DeleteDBReply struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DeleteDBReply) Reset() { *m = DeleteDBReply{} } -func (m *DeleteDBReply) String() string { return proto.CompactTextString(m) } -func (*DeleteDBReply) ProtoMessage() {} -func (*DeleteDBReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{12} +func (x *DeleteDBReply) Reset() { + *x = DeleteDBReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteDBReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDBReply.Unmarshal(m, b) -} -func (m *DeleteDBReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDBReply.Marshal(b, m, deterministic) -} -func (m *DeleteDBReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDBReply.Merge(m, src) -} -func (m *DeleteDBReply) XXX_Size() int { - return xxx_messageInfo_DeleteDBReply.Size(m) -} -func (m *DeleteDBReply) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDBReply.DiscardUnknown(m) +func (x *DeleteDBReply) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DeleteDBReply proto.InternalMessageInfo +func (*DeleteDBReply) ProtoMessage() {} -type NewCollectionRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - Config *CollectionConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *DeleteDBReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *NewCollectionRequest) Reset() { *m = NewCollectionRequest{} } -func (m *NewCollectionRequest) String() string { return proto.CompactTextString(m) } -func (*NewCollectionRequest) ProtoMessage() {} -func (*NewCollectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{13} +// Deprecated: Use DeleteDBReply.ProtoReflect.Descriptor instead. +func (*DeleteDBReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{12} } -func (m *NewCollectionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewCollectionRequest.Unmarshal(m, b) -} -func (m *NewCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewCollectionRequest.Marshal(b, m, deterministic) +type NewCollectionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + Config *CollectionConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` } -func (m *NewCollectionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewCollectionRequest.Merge(m, src) + +func (x *NewCollectionRequest) Reset() { + *x = NewCollectionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NewCollectionRequest) XXX_Size() int { - return xxx_messageInfo_NewCollectionRequest.Size(m) + +func (x *NewCollectionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewCollectionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NewCollectionRequest.DiscardUnknown(m) + +func (*NewCollectionRequest) ProtoMessage() {} + +func (x *NewCollectionRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NewCollectionRequest proto.InternalMessageInfo +// Deprecated: Use NewCollectionRequest.ProtoReflect.Descriptor instead. +func (*NewCollectionRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{13} +} -func (m *NewCollectionRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *NewCollectionRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } -func (m *NewCollectionRequest) GetConfig() *CollectionConfig { - if m != nil { - return m.Config +func (x *NewCollectionRequest) GetConfig() *CollectionConfig { + if x != nil { + return x.Config } return nil } type NewCollectionReply struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *NewCollectionReply) Reset() { *m = NewCollectionReply{} } -func (m *NewCollectionReply) String() string { return proto.CompactTextString(m) } -func (*NewCollectionReply) ProtoMessage() {} -func (*NewCollectionReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{14} +func (x *NewCollectionReply) Reset() { + *x = NewCollectionReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NewCollectionReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewCollectionReply.Unmarshal(m, b) -} -func (m *NewCollectionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewCollectionReply.Marshal(b, m, deterministic) -} -func (m *NewCollectionReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewCollectionReply.Merge(m, src) -} -func (m *NewCollectionReply) XXX_Size() int { - return xxx_messageInfo_NewCollectionReply.Size(m) -} -func (m *NewCollectionReply) XXX_DiscardUnknown() { - xxx_messageInfo_NewCollectionReply.DiscardUnknown(m) +func (x *NewCollectionReply) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_NewCollectionReply proto.InternalMessageInfo +func (*NewCollectionReply) ProtoMessage() {} -type UpdateCollectionRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - Config *CollectionConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *NewCollectionReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *UpdateCollectionRequest) Reset() { *m = UpdateCollectionRequest{} } -func (m *UpdateCollectionRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateCollectionRequest) ProtoMessage() {} -func (*UpdateCollectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{15} +// Deprecated: Use NewCollectionReply.ProtoReflect.Descriptor instead. +func (*NewCollectionReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{14} } -func (m *UpdateCollectionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateCollectionRequest.Unmarshal(m, b) -} -func (m *UpdateCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateCollectionRequest.Marshal(b, m, deterministic) +type UpdateCollectionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + Config *CollectionConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` } -func (m *UpdateCollectionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateCollectionRequest.Merge(m, src) + +func (x *UpdateCollectionRequest) Reset() { + *x = UpdateCollectionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateCollectionRequest) XXX_Size() int { - return xxx_messageInfo_UpdateCollectionRequest.Size(m) + +func (x *UpdateCollectionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateCollectionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateCollectionRequest.DiscardUnknown(m) + +func (*UpdateCollectionRequest) ProtoMessage() {} + +func (x *UpdateCollectionRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateCollectionRequest proto.InternalMessageInfo +// Deprecated: Use UpdateCollectionRequest.ProtoReflect.Descriptor instead. +func (*UpdateCollectionRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{15} +} -func (m *UpdateCollectionRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *UpdateCollectionRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } -func (m *UpdateCollectionRequest) GetConfig() *CollectionConfig { - if m != nil { - return m.Config +func (x *UpdateCollectionRequest) GetConfig() *CollectionConfig { + if x != nil { + return x.Config } return nil } type UpdateCollectionReply struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *UpdateCollectionReply) Reset() { *m = UpdateCollectionReply{} } -func (m *UpdateCollectionReply) String() string { return proto.CompactTextString(m) } -func (*UpdateCollectionReply) ProtoMessage() {} -func (*UpdateCollectionReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{16} +func (x *UpdateCollectionReply) Reset() { + *x = UpdateCollectionReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateCollectionReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateCollectionReply.Unmarshal(m, b) -} -func (m *UpdateCollectionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateCollectionReply.Marshal(b, m, deterministic) -} -func (m *UpdateCollectionReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateCollectionReply.Merge(m, src) -} -func (m *UpdateCollectionReply) XXX_Size() int { - return xxx_messageInfo_UpdateCollectionReply.Size(m) -} -func (m *UpdateCollectionReply) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateCollectionReply.DiscardUnknown(m) +func (x *UpdateCollectionReply) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_UpdateCollectionReply proto.InternalMessageInfo +func (*UpdateCollectionReply) ProtoMessage() {} -type DeleteCollectionRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *UpdateCollectionReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *DeleteCollectionRequest) Reset() { *m = DeleteCollectionRequest{} } -func (m *DeleteCollectionRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteCollectionRequest) ProtoMessage() {} -func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{17} +// Deprecated: Use UpdateCollectionReply.ProtoReflect.Descriptor instead. +func (*UpdateCollectionReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{16} } -func (m *DeleteCollectionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteCollectionRequest.Unmarshal(m, b) -} -func (m *DeleteCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteCollectionRequest.Marshal(b, m, deterministic) +type DeleteCollectionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *DeleteCollectionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteCollectionRequest.Merge(m, src) + +func (x *DeleteCollectionRequest) Reset() { + *x = DeleteCollectionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteCollectionRequest) XXX_Size() int { - return xxx_messageInfo_DeleteCollectionRequest.Size(m) + +func (x *DeleteCollectionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteCollectionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteCollectionRequest.DiscardUnknown(m) + +func (*DeleteCollectionRequest) ProtoMessage() {} + +func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteCollectionRequest proto.InternalMessageInfo +// Deprecated: Use DeleteCollectionRequest.ProtoReflect.Descriptor instead. +func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{17} +} -func (m *DeleteCollectionRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *DeleteCollectionRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } -func (m *DeleteCollectionRequest) GetName() string { - if m != nil { - return m.Name +func (x *DeleteCollectionRequest) GetName() string { + if x != nil { + return x.Name } return "" } type DeleteCollectionReply struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DeleteCollectionReply) Reset() { *m = DeleteCollectionReply{} } -func (m *DeleteCollectionReply) String() string { return proto.CompactTextString(m) } -func (*DeleteCollectionReply) ProtoMessage() {} -func (*DeleteCollectionReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{18} +func (x *DeleteCollectionReply) Reset() { + *x = DeleteCollectionReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteCollectionReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteCollectionReply.Unmarshal(m, b) -} -func (m *DeleteCollectionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteCollectionReply.Marshal(b, m, deterministic) -} -func (m *DeleteCollectionReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteCollectionReply.Merge(m, src) -} -func (m *DeleteCollectionReply) XXX_Size() int { - return xxx_messageInfo_DeleteCollectionReply.Size(m) -} -func (m *DeleteCollectionReply) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteCollectionReply.DiscardUnknown(m) +func (x *DeleteCollectionReply) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DeleteCollectionReply proto.InternalMessageInfo +func (*DeleteCollectionReply) ProtoMessage() {} -type GetCollectionInfoRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *DeleteCollectionReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *GetCollectionInfoRequest) Reset() { *m = GetCollectionInfoRequest{} } -func (m *GetCollectionInfoRequest) String() string { return proto.CompactTextString(m) } -func (*GetCollectionInfoRequest) ProtoMessage() {} -func (*GetCollectionInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{19} +// Deprecated: Use DeleteCollectionReply.ProtoReflect.Descriptor instead. +func (*DeleteCollectionReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{18} } -func (m *GetCollectionInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCollectionInfoRequest.Unmarshal(m, b) -} -func (m *GetCollectionInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCollectionInfoRequest.Marshal(b, m, deterministic) +type GetCollectionInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *GetCollectionInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCollectionInfoRequest.Merge(m, src) + +func (x *GetCollectionInfoRequest) Reset() { + *x = GetCollectionInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetCollectionInfoRequest) XXX_Size() int { - return xxx_messageInfo_GetCollectionInfoRequest.Size(m) + +func (x *GetCollectionInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetCollectionInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCollectionInfoRequest.DiscardUnknown(m) + +func (*GetCollectionInfoRequest) ProtoMessage() {} + +func (x *GetCollectionInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetCollectionInfoRequest proto.InternalMessageInfo +// Deprecated: Use GetCollectionInfoRequest.ProtoReflect.Descriptor instead. +func (*GetCollectionInfoRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{19} +} -func (m *GetCollectionInfoRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *GetCollectionInfoRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } -func (m *GetCollectionInfoRequest) GetName() string { - if m != nil { - return m.Name +func (x *GetCollectionInfoRequest) GetName() string { + if x != nil { + return x.Name } return "" } type GetCollectionInfoReply struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Schema []byte `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` - Indexes []*Index `protobuf:"bytes,3,rep,name=indexes,proto3" json:"indexes,omitempty"` - WriteValidator string `protobuf:"bytes,4,opt,name=writeValidator,proto3" json:"writeValidator,omitempty"` - ReadFilter string `protobuf:"bytes,5,opt,name=readFilter,proto3" json:"readFilter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetCollectionInfoReply) Reset() { *m = GetCollectionInfoReply{} } -func (m *GetCollectionInfoReply) String() string { return proto.CompactTextString(m) } -func (*GetCollectionInfoReply) ProtoMessage() {} -func (*GetCollectionInfoReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{20} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetCollectionInfoReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCollectionInfoReply.Unmarshal(m, b) + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Schema []byte `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` + Indexes []*Index `protobuf:"bytes,3,rep,name=indexes,proto3" json:"indexes,omitempty"` + WriteValidator string `protobuf:"bytes,4,opt,name=writeValidator,proto3" json:"writeValidator,omitempty"` + ReadFilter string `protobuf:"bytes,5,opt,name=readFilter,proto3" json:"readFilter,omitempty"` } -func (m *GetCollectionInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCollectionInfoReply.Marshal(b, m, deterministic) -} -func (m *GetCollectionInfoReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCollectionInfoReply.Merge(m, src) + +func (x *GetCollectionInfoReply) Reset() { + *x = GetCollectionInfoReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetCollectionInfoReply) XXX_Size() int { - return xxx_messageInfo_GetCollectionInfoReply.Size(m) + +func (x *GetCollectionInfoReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetCollectionInfoReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetCollectionInfoReply.DiscardUnknown(m) + +func (*GetCollectionInfoReply) ProtoMessage() {} + +func (x *GetCollectionInfoReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetCollectionInfoReply proto.InternalMessageInfo +// Deprecated: Use GetCollectionInfoReply.ProtoReflect.Descriptor instead. +func (*GetCollectionInfoReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{20} +} -func (m *GetCollectionInfoReply) GetName() string { - if m != nil { - return m.Name +func (x *GetCollectionInfoReply) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *GetCollectionInfoReply) GetSchema() []byte { - if m != nil { - return m.Schema +func (x *GetCollectionInfoReply) GetSchema() []byte { + if x != nil { + return x.Schema } return nil } -func (m *GetCollectionInfoReply) GetIndexes() []*Index { - if m != nil { - return m.Indexes +func (x *GetCollectionInfoReply) GetIndexes() []*Index { + if x != nil { + return x.Indexes } return nil } -func (m *GetCollectionInfoReply) GetWriteValidator() string { - if m != nil { - return m.WriteValidator +func (x *GetCollectionInfoReply) GetWriteValidator() string { + if x != nil { + return x.WriteValidator } return "" } -func (m *GetCollectionInfoReply) GetReadFilter() string { - if m != nil { - return m.ReadFilter +func (x *GetCollectionInfoReply) GetReadFilter() string { + if x != nil { + return x.ReadFilter } return "" } type GetCollectionIndexesRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetCollectionIndexesRequest) Reset() { *m = GetCollectionIndexesRequest{} } -func (m *GetCollectionIndexesRequest) String() string { return proto.CompactTextString(m) } -func (*GetCollectionIndexesRequest) ProtoMessage() {} -func (*GetCollectionIndexesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{21} + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *GetCollectionIndexesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCollectionIndexesRequest.Unmarshal(m, b) -} -func (m *GetCollectionIndexesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCollectionIndexesRequest.Marshal(b, m, deterministic) -} -func (m *GetCollectionIndexesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCollectionIndexesRequest.Merge(m, src) +func (x *GetCollectionIndexesRequest) Reset() { + *x = GetCollectionIndexesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetCollectionIndexesRequest) XXX_Size() int { - return xxx_messageInfo_GetCollectionIndexesRequest.Size(m) + +func (x *GetCollectionIndexesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetCollectionIndexesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCollectionIndexesRequest.DiscardUnknown(m) + +func (*GetCollectionIndexesRequest) ProtoMessage() {} + +func (x *GetCollectionIndexesRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetCollectionIndexesRequest proto.InternalMessageInfo +// Deprecated: Use GetCollectionIndexesRequest.ProtoReflect.Descriptor instead. +func (*GetCollectionIndexesRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{21} +} -func (m *GetCollectionIndexesRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *GetCollectionIndexesRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } -func (m *GetCollectionIndexesRequest) GetName() string { - if m != nil { - return m.Name +func (x *GetCollectionIndexesRequest) GetName() string { + if x != nil { + return x.Name } return "" } type GetCollectionIndexesReply struct { - Indexes []*Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetCollectionIndexesReply) Reset() { *m = GetCollectionIndexesReply{} } -func (m *GetCollectionIndexesReply) String() string { return proto.CompactTextString(m) } -func (*GetCollectionIndexesReply) ProtoMessage() {} -func (*GetCollectionIndexesReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{22} + Indexes []*Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"` } -func (m *GetCollectionIndexesReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCollectionIndexesReply.Unmarshal(m, b) -} -func (m *GetCollectionIndexesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCollectionIndexesReply.Marshal(b, m, deterministic) -} -func (m *GetCollectionIndexesReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCollectionIndexesReply.Merge(m, src) +func (x *GetCollectionIndexesReply) Reset() { + *x = GetCollectionIndexesReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetCollectionIndexesReply) XXX_Size() int { - return xxx_messageInfo_GetCollectionIndexesReply.Size(m) + +func (x *GetCollectionIndexesReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetCollectionIndexesReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetCollectionIndexesReply.DiscardUnknown(m) + +func (*GetCollectionIndexesReply) ProtoMessage() {} + +func (x *GetCollectionIndexesReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetCollectionIndexesReply proto.InternalMessageInfo +// Deprecated: Use GetCollectionIndexesReply.ProtoReflect.Descriptor instead. +func (*GetCollectionIndexesReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{22} +} -func (m *GetCollectionIndexesReply) GetIndexes() []*Index { - if m != nil { - return m.Indexes +func (x *GetCollectionIndexesReply) GetIndexes() []*Index { + if x != nil { + return x.Indexes } return nil } type ListCollectionsRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListCollectionsRequest) Reset() { *m = ListCollectionsRequest{} } -func (m *ListCollectionsRequest) String() string { return proto.CompactTextString(m) } -func (*ListCollectionsRequest) ProtoMessage() {} -func (*ListCollectionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{23} + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` } -func (m *ListCollectionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCollectionsRequest.Unmarshal(m, b) -} -func (m *ListCollectionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCollectionsRequest.Marshal(b, m, deterministic) -} -func (m *ListCollectionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCollectionsRequest.Merge(m, src) +func (x *ListCollectionsRequest) Reset() { + *x = ListCollectionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListCollectionsRequest) XXX_Size() int { - return xxx_messageInfo_ListCollectionsRequest.Size(m) + +func (x *ListCollectionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListCollectionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCollectionsRequest.DiscardUnknown(m) + +func (*ListCollectionsRequest) ProtoMessage() {} + +func (x *ListCollectionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListCollectionsRequest proto.InternalMessageInfo +// Deprecated: Use ListCollectionsRequest.ProtoReflect.Descriptor instead. +func (*ListCollectionsRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{23} +} -func (m *ListCollectionsRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *ListCollectionsRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } type ListCollectionsReply struct { - Collections []*GetCollectionInfoReply `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListCollectionsReply) Reset() { *m = ListCollectionsReply{} } -func (m *ListCollectionsReply) String() string { return proto.CompactTextString(m) } -func (*ListCollectionsReply) ProtoMessage() {} -func (*ListCollectionsReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{24} + Collections []*GetCollectionInfoReply `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"` } -func (m *ListCollectionsReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCollectionsReply.Unmarshal(m, b) -} -func (m *ListCollectionsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCollectionsReply.Marshal(b, m, deterministic) -} -func (m *ListCollectionsReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCollectionsReply.Merge(m, src) +func (x *ListCollectionsReply) Reset() { + *x = ListCollectionsReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListCollectionsReply) XXX_Size() int { - return xxx_messageInfo_ListCollectionsReply.Size(m) + +func (x *ListCollectionsReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListCollectionsReply) XXX_DiscardUnknown() { - xxx_messageInfo_ListCollectionsReply.DiscardUnknown(m) + +func (*ListCollectionsReply) ProtoMessage() {} + +func (x *ListCollectionsReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListCollectionsReply proto.InternalMessageInfo +// Deprecated: Use ListCollectionsReply.ProtoReflect.Descriptor instead. +func (*ListCollectionsReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{24} +} -func (m *ListCollectionsReply) GetCollections() []*GetCollectionInfoReply { - if m != nil { - return m.Collections +func (x *ListCollectionsReply) GetCollections() []*GetCollectionInfoReply { + if x != nil { + return x.Collections } return nil } type CreateRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` - Instances [][]byte `protobuf:"bytes,3,rep,name=instances,proto3" json:"instances,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CreateRequest) Reset() { *m = CreateRequest{} } -func (m *CreateRequest) String() string { return proto.CompactTextString(m) } -func (*CreateRequest) ProtoMessage() {} -func (*CreateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{25} + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` + Instances [][]byte `protobuf:"bytes,3,rep,name=instances,proto3" json:"instances,omitempty"` } -func (m *CreateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateRequest.Unmarshal(m, b) -} -func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateRequest.Marshal(b, m, deterministic) -} -func (m *CreateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRequest.Merge(m, src) +func (x *CreateRequest) Reset() { + *x = CreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateRequest) XXX_Size() int { - return xxx_messageInfo_CreateRequest.Size(m) + +func (x *CreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateRequest.DiscardUnknown(m) + +func (*CreateRequest) ProtoMessage() {} + +func (x *CreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateRequest proto.InternalMessageInfo +// Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead. +func (*CreateRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{25} +} -func (m *CreateRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *CreateRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } -func (m *CreateRequest) GetCollectionName() string { - if m != nil { - return m.CollectionName +func (x *CreateRequest) GetCollectionName() string { + if x != nil { + return x.CollectionName } return "" } -func (m *CreateRequest) GetInstances() [][]byte { - if m != nil { - return m.Instances +func (x *CreateRequest) GetInstances() [][]byte { + if x != nil { + return x.Instances } return nil } type CreateReply struct { - InstanceIDs []string `protobuf:"bytes,1,rep,name=instanceIDs,proto3" json:"instanceIDs,omitempty"` - TransactionError string `protobuf:"bytes,2,opt,name=transactionError,proto3" json:"transactionError,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CreateReply) Reset() { *m = CreateReply{} } -func (m *CreateReply) String() string { return proto.CompactTextString(m) } -func (*CreateReply) ProtoMessage() {} -func (*CreateReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{26} + InstanceIDs []string `protobuf:"bytes,1,rep,name=instanceIDs,proto3" json:"instanceIDs,omitempty"` + TransactionError string `protobuf:"bytes,2,opt,name=transactionError,proto3" json:"transactionError,omitempty"` } -func (m *CreateReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateReply.Unmarshal(m, b) -} -func (m *CreateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateReply.Marshal(b, m, deterministic) -} -func (m *CreateReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateReply.Merge(m, src) +func (x *CreateReply) Reset() { + *x = CreateReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateReply) XXX_Size() int { - return xxx_messageInfo_CreateReply.Size(m) + +func (x *CreateReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateReply) XXX_DiscardUnknown() { - xxx_messageInfo_CreateReply.DiscardUnknown(m) + +func (*CreateReply) ProtoMessage() {} + +func (x *CreateReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateReply proto.InternalMessageInfo +// Deprecated: Use CreateReply.ProtoReflect.Descriptor instead. +func (*CreateReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{26} +} -func (m *CreateReply) GetInstanceIDs() []string { - if m != nil { - return m.InstanceIDs +func (x *CreateReply) GetInstanceIDs() []string { + if x != nil { + return x.InstanceIDs } return nil } -func (m *CreateReply) GetTransactionError() string { - if m != nil { - return m.TransactionError +func (x *CreateReply) GetTransactionError() string { + if x != nil { + return x.TransactionError } return "" } type VerifyRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` - Instances [][]byte `protobuf:"bytes,3,rep,name=instances,proto3" json:"instances,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *VerifyRequest) Reset() { *m = VerifyRequest{} } -func (m *VerifyRequest) String() string { return proto.CompactTextString(m) } -func (*VerifyRequest) ProtoMessage() {} -func (*VerifyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{27} + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` + Instances [][]byte `protobuf:"bytes,3,rep,name=instances,proto3" json:"instances,omitempty"` } -func (m *VerifyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VerifyRequest.Unmarshal(m, b) -} -func (m *VerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VerifyRequest.Marshal(b, m, deterministic) -} -func (m *VerifyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerifyRequest.Merge(m, src) +func (x *VerifyRequest) Reset() { + *x = VerifyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VerifyRequest) XXX_Size() int { - return xxx_messageInfo_VerifyRequest.Size(m) + +func (x *VerifyRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VerifyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VerifyRequest.DiscardUnknown(m) + +func (*VerifyRequest) ProtoMessage() {} + +func (x *VerifyRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_VerifyRequest proto.InternalMessageInfo +// Deprecated: Use VerifyRequest.ProtoReflect.Descriptor instead. +func (*VerifyRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{27} +} -func (m *VerifyRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *VerifyRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } -func (m *VerifyRequest) GetCollectionName() string { - if m != nil { - return m.CollectionName +func (x *VerifyRequest) GetCollectionName() string { + if x != nil { + return x.CollectionName } return "" } -func (m *VerifyRequest) GetInstances() [][]byte { - if m != nil { - return m.Instances +func (x *VerifyRequest) GetInstances() [][]byte { + if x != nil { + return x.Instances } return nil } type VerifyReply struct { - TransactionError string `protobuf:"bytes,1,opt,name=transactionError,proto3" json:"transactionError,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *VerifyReply) Reset() { *m = VerifyReply{} } -func (m *VerifyReply) String() string { return proto.CompactTextString(m) } -func (*VerifyReply) ProtoMessage() {} -func (*VerifyReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{28} + TransactionError string `protobuf:"bytes,1,opt,name=transactionError,proto3" json:"transactionError,omitempty"` } -func (m *VerifyReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VerifyReply.Unmarshal(m, b) -} -func (m *VerifyReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VerifyReply.Marshal(b, m, deterministic) -} -func (m *VerifyReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerifyReply.Merge(m, src) +func (x *VerifyReply) Reset() { + *x = VerifyReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VerifyReply) XXX_Size() int { - return xxx_messageInfo_VerifyReply.Size(m) + +func (x *VerifyReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VerifyReply) XXX_DiscardUnknown() { - xxx_messageInfo_VerifyReply.DiscardUnknown(m) + +func (*VerifyReply) ProtoMessage() {} + +func (x *VerifyReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_VerifyReply proto.InternalMessageInfo +// Deprecated: Use VerifyReply.ProtoReflect.Descriptor instead. +func (*VerifyReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{28} +} -func (m *VerifyReply) GetTransactionError() string { - if m != nil { - return m.TransactionError +func (x *VerifyReply) GetTransactionError() string { + if x != nil { + return x.TransactionError } return "" } type SaveRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` - Instances [][]byte `protobuf:"bytes,3,rep,name=instances,proto3" json:"instances,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SaveRequest) Reset() { *m = SaveRequest{} } -func (m *SaveRequest) String() string { return proto.CompactTextString(m) } -func (*SaveRequest) ProtoMessage() {} -func (*SaveRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{29} + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` + Instances [][]byte `protobuf:"bytes,3,rep,name=instances,proto3" json:"instances,omitempty"` } -func (m *SaveRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SaveRequest.Unmarshal(m, b) -} -func (m *SaveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SaveRequest.Marshal(b, m, deterministic) -} -func (m *SaveRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SaveRequest.Merge(m, src) +func (x *SaveRequest) Reset() { + *x = SaveRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SaveRequest) XXX_Size() int { - return xxx_messageInfo_SaveRequest.Size(m) + +func (x *SaveRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SaveRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SaveRequest.DiscardUnknown(m) + +func (*SaveRequest) ProtoMessage() {} + +func (x *SaveRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SaveRequest proto.InternalMessageInfo +// Deprecated: Use SaveRequest.ProtoReflect.Descriptor instead. +func (*SaveRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{29} +} -func (m *SaveRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *SaveRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } -func (m *SaveRequest) GetCollectionName() string { - if m != nil { - return m.CollectionName +func (x *SaveRequest) GetCollectionName() string { + if x != nil { + return x.CollectionName } return "" } -func (m *SaveRequest) GetInstances() [][]byte { - if m != nil { - return m.Instances +func (x *SaveRequest) GetInstances() [][]byte { + if x != nil { + return x.Instances } return nil } type SaveReply struct { - TransactionError string `protobuf:"bytes,1,opt,name=transactionError,proto3" json:"transactionError,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SaveReply) Reset() { *m = SaveReply{} } -func (m *SaveReply) String() string { return proto.CompactTextString(m) } -func (*SaveReply) ProtoMessage() {} -func (*SaveReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{30} + TransactionError string `protobuf:"bytes,1,opt,name=transactionError,proto3" json:"transactionError,omitempty"` } -func (m *SaveReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SaveReply.Unmarshal(m, b) -} -func (m *SaveReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SaveReply.Marshal(b, m, deterministic) -} -func (m *SaveReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_SaveReply.Merge(m, src) +func (x *SaveReply) Reset() { + *x = SaveReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SaveReply) XXX_Size() int { - return xxx_messageInfo_SaveReply.Size(m) + +func (x *SaveReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SaveReply) XXX_DiscardUnknown() { - xxx_messageInfo_SaveReply.DiscardUnknown(m) + +func (*SaveReply) ProtoMessage() {} + +func (x *SaveReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SaveReply proto.InternalMessageInfo +// Deprecated: Use SaveReply.ProtoReflect.Descriptor instead. +func (*SaveReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{30} +} -func (m *SaveReply) GetTransactionError() string { - if m != nil { - return m.TransactionError +func (x *SaveReply) GetTransactionError() string { + if x != nil { + return x.TransactionError } return "" } type DeleteRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` - InstanceIDs []string `protobuf:"bytes,3,rep,name=instanceIDs,proto3" json:"instanceIDs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *DeleteRequest) Reset() { *m = DeleteRequest{} } -func (m *DeleteRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteRequest) ProtoMessage() {} -func (*DeleteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{31} + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` + InstanceIDs []string `protobuf:"bytes,3,rep,name=instanceIDs,proto3" json:"instanceIDs,omitempty"` } -func (m *DeleteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteRequest.Unmarshal(m, b) -} -func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteRequest.Marshal(b, m, deterministic) -} -func (m *DeleteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteRequest.Merge(m, src) +func (x *DeleteRequest) Reset() { + *x = DeleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteRequest) XXX_Size() int { - return xxx_messageInfo_DeleteRequest.Size(m) + +func (x *DeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteRequest.DiscardUnknown(m) + +func (*DeleteRequest) ProtoMessage() {} + +func (x *DeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo +// Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead. +func (*DeleteRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{31} +} -func (m *DeleteRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *DeleteRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } -func (m *DeleteRequest) GetCollectionName() string { - if m != nil { - return m.CollectionName +func (x *DeleteRequest) GetCollectionName() string { + if x != nil { + return x.CollectionName } return "" } -func (m *DeleteRequest) GetInstanceIDs() []string { - if m != nil { - return m.InstanceIDs +func (x *DeleteRequest) GetInstanceIDs() []string { + if x != nil { + return x.InstanceIDs } return nil } type DeleteReply struct { - TransactionError string `protobuf:"bytes,1,opt,name=transactionError,proto3" json:"transactionError,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *DeleteReply) Reset() { *m = DeleteReply{} } -func (m *DeleteReply) String() string { return proto.CompactTextString(m) } -func (*DeleteReply) ProtoMessage() {} -func (*DeleteReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{32} + TransactionError string `protobuf:"bytes,1,opt,name=transactionError,proto3" json:"transactionError,omitempty"` } -func (m *DeleteReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteReply.Unmarshal(m, b) -} -func (m *DeleteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteReply.Marshal(b, m, deterministic) -} -func (m *DeleteReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteReply.Merge(m, src) -} -func (m *DeleteReply) XXX_Size() int { - return xxx_messageInfo_DeleteReply.Size(m) +func (x *DeleteReply) Reset() { + *x = DeleteReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteReply) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteReply.DiscardUnknown(m) + +func (x *DeleteReply) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DeleteReply proto.InternalMessageInfo +func (*DeleteReply) ProtoMessage() {} -func (m *DeleteReply) GetTransactionError() string { - if m != nil { - return m.TransactionError +func (x *DeleteReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -type HasRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` - InstanceIDs []string `protobuf:"bytes,3,rep,name=instanceIDs,proto3" json:"instanceIDs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use DeleteReply.ProtoReflect.Descriptor instead. +func (*DeleteReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{32} } -func (m *HasRequest) Reset() { *m = HasRequest{} } -func (m *HasRequest) String() string { return proto.CompactTextString(m) } -func (*HasRequest) ProtoMessage() {} -func (*HasRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{33} +func (x *DeleteReply) GetTransactionError() string { + if x != nil { + return x.TransactionError + } + return "" } -func (m *HasRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HasRequest.Unmarshal(m, b) -} -func (m *HasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HasRequest.Marshal(b, m, deterministic) +type HasRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` + InstanceIDs []string `protobuf:"bytes,3,rep,name=instanceIDs,proto3" json:"instanceIDs,omitempty"` } -func (m *HasRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_HasRequest.Merge(m, src) + +func (x *HasRequest) Reset() { + *x = HasRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *HasRequest) XXX_Size() int { - return xxx_messageInfo_HasRequest.Size(m) + +func (x *HasRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HasRequest) XXX_DiscardUnknown() { - xxx_messageInfo_HasRequest.DiscardUnknown(m) + +func (*HasRequest) ProtoMessage() {} + +func (x *HasRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_HasRequest proto.InternalMessageInfo +// Deprecated: Use HasRequest.ProtoReflect.Descriptor instead. +func (*HasRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{33} +} -func (m *HasRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *HasRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } -func (m *HasRequest) GetCollectionName() string { - if m != nil { - return m.CollectionName +func (x *HasRequest) GetCollectionName() string { + if x != nil { + return x.CollectionName } return "" } -func (m *HasRequest) GetInstanceIDs() []string { - if m != nil { - return m.InstanceIDs +func (x *HasRequest) GetInstanceIDs() []string { + if x != nil { + return x.InstanceIDs } return nil } type HasReply struct { - Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` - TransactionError string `protobuf:"bytes,2,opt,name=transactionError,proto3" json:"transactionError,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *HasReply) Reset() { *m = HasReply{} } -func (m *HasReply) String() string { return proto.CompactTextString(m) } -func (*HasReply) ProtoMessage() {} -func (*HasReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{34} + Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` + TransactionError string `protobuf:"bytes,2,opt,name=transactionError,proto3" json:"transactionError,omitempty"` } -func (m *HasReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HasReply.Unmarshal(m, b) -} -func (m *HasReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HasReply.Marshal(b, m, deterministic) -} -func (m *HasReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_HasReply.Merge(m, src) +func (x *HasReply) Reset() { + *x = HasReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *HasReply) XXX_Size() int { - return xxx_messageInfo_HasReply.Size(m) + +func (x *HasReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HasReply) XXX_DiscardUnknown() { - xxx_messageInfo_HasReply.DiscardUnknown(m) + +func (*HasReply) ProtoMessage() {} + +func (x *HasReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_HasReply proto.InternalMessageInfo +// Deprecated: Use HasReply.ProtoReflect.Descriptor instead. +func (*HasReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{34} +} -func (m *HasReply) GetExists() bool { - if m != nil { - return m.Exists +func (x *HasReply) GetExists() bool { + if x != nil { + return x.Exists } return false } -func (m *HasReply) GetTransactionError() string { - if m != nil { - return m.TransactionError +func (x *HasReply) GetTransactionError() string { + if x != nil { + return x.TransactionError } return "" } type FindRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` - QueryJSON []byte `protobuf:"bytes,3,opt,name=queryJSON,proto3" json:"queryJSON,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindRequest) Reset() { *m = FindRequest{} } -func (m *FindRequest) String() string { return proto.CompactTextString(m) } -func (*FindRequest) ProtoMessage() {} -func (*FindRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{35} + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` + QueryJSON []byte `protobuf:"bytes,3,opt,name=queryJSON,proto3" json:"queryJSON,omitempty"` } -func (m *FindRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindRequest.Unmarshal(m, b) -} -func (m *FindRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindRequest.Marshal(b, m, deterministic) -} -func (m *FindRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindRequest.Merge(m, src) +func (x *FindRequest) Reset() { + *x = FindRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindRequest) XXX_Size() int { - return xxx_messageInfo_FindRequest.Size(m) + +func (x *FindRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindRequest.DiscardUnknown(m) + +func (*FindRequest) ProtoMessage() {} + +func (x *FindRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FindRequest proto.InternalMessageInfo +// Deprecated: Use FindRequest.ProtoReflect.Descriptor instead. +func (*FindRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{35} +} -func (m *FindRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *FindRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } -func (m *FindRequest) GetCollectionName() string { - if m != nil { - return m.CollectionName +func (x *FindRequest) GetCollectionName() string { + if x != nil { + return x.CollectionName } return "" } -func (m *FindRequest) GetQueryJSON() []byte { - if m != nil { - return m.QueryJSON +func (x *FindRequest) GetQueryJSON() []byte { + if x != nil { + return x.QueryJSON } return nil } type FindReply struct { - Instances [][]byte `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` - TransactionError string `protobuf:"bytes,2,opt,name=transactionError,proto3" json:"transactionError,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindReply) Reset() { *m = FindReply{} } -func (m *FindReply) String() string { return proto.CompactTextString(m) } -func (*FindReply) ProtoMessage() {} -func (*FindReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{36} + Instances [][]byte `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` + TransactionError string `protobuf:"bytes,2,opt,name=transactionError,proto3" json:"transactionError,omitempty"` } -func (m *FindReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindReply.Unmarshal(m, b) -} -func (m *FindReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindReply.Marshal(b, m, deterministic) -} -func (m *FindReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindReply.Merge(m, src) +func (x *FindReply) Reset() { + *x = FindReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindReply) XXX_Size() int { - return xxx_messageInfo_FindReply.Size(m) + +func (x *FindReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindReply) XXX_DiscardUnknown() { - xxx_messageInfo_FindReply.DiscardUnknown(m) + +func (*FindReply) ProtoMessage() {} + +func (x *FindReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FindReply proto.InternalMessageInfo +// Deprecated: Use FindReply.ProtoReflect.Descriptor instead. +func (*FindReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{36} +} -func (m *FindReply) GetInstances() [][]byte { - if m != nil { - return m.Instances +func (x *FindReply) GetInstances() [][]byte { + if x != nil { + return x.Instances } return nil } -func (m *FindReply) GetTransactionError() string { - if m != nil { - return m.TransactionError +func (x *FindReply) GetTransactionError() string { + if x != nil { + return x.TransactionError } return "" } type FindByIDRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` - InstanceID string `protobuf:"bytes,3,opt,name=instanceID,proto3" json:"instanceID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindByIDRequest) Reset() { *m = FindByIDRequest{} } -func (m *FindByIDRequest) String() string { return proto.CompactTextString(m) } -func (*FindByIDRequest) ProtoMessage() {} -func (*FindByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{37} + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` + InstanceID string `protobuf:"bytes,3,opt,name=instanceID,proto3" json:"instanceID,omitempty"` } -func (m *FindByIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindByIDRequest.Unmarshal(m, b) -} -func (m *FindByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindByIDRequest.Marshal(b, m, deterministic) -} -func (m *FindByIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindByIDRequest.Merge(m, src) +func (x *FindByIDRequest) Reset() { + *x = FindByIDRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindByIDRequest) XXX_Size() int { - return xxx_messageInfo_FindByIDRequest.Size(m) + +func (x *FindByIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindByIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindByIDRequest.DiscardUnknown(m) + +func (*FindByIDRequest) ProtoMessage() {} + +func (x *FindByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FindByIDRequest proto.InternalMessageInfo +// Deprecated: Use FindByIDRequest.ProtoReflect.Descriptor instead. +func (*FindByIDRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{37} +} -func (m *FindByIDRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *FindByIDRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } -func (m *FindByIDRequest) GetCollectionName() string { - if m != nil { - return m.CollectionName +func (x *FindByIDRequest) GetCollectionName() string { + if x != nil { + return x.CollectionName } return "" } -func (m *FindByIDRequest) GetInstanceID() string { - if m != nil { - return m.InstanceID +func (x *FindByIDRequest) GetInstanceID() string { + if x != nil { + return x.InstanceID } return "" } type FindByIDReply struct { - Instance []byte `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` - TransactionError string `protobuf:"bytes,2,opt,name=transactionError,proto3" json:"transactionError,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindByIDReply) Reset() { *m = FindByIDReply{} } -func (m *FindByIDReply) String() string { return proto.CompactTextString(m) } -func (*FindByIDReply) ProtoMessage() {} -func (*FindByIDReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{38} + Instance []byte `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` + TransactionError string `protobuf:"bytes,2,opt,name=transactionError,proto3" json:"transactionError,omitempty"` } -func (m *FindByIDReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindByIDReply.Unmarshal(m, b) -} -func (m *FindByIDReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindByIDReply.Marshal(b, m, deterministic) -} -func (m *FindByIDReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindByIDReply.Merge(m, src) +func (x *FindByIDReply) Reset() { + *x = FindByIDReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindByIDReply) XXX_Size() int { - return xxx_messageInfo_FindByIDReply.Size(m) + +func (x *FindByIDReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindByIDReply) XXX_DiscardUnknown() { - xxx_messageInfo_FindByIDReply.DiscardUnknown(m) + +func (*FindByIDReply) ProtoMessage() {} + +func (x *FindByIDReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FindByIDReply proto.InternalMessageInfo +// Deprecated: Use FindByIDReply.ProtoReflect.Descriptor instead. +func (*FindByIDReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{38} +} -func (m *FindByIDReply) GetInstance() []byte { - if m != nil { - return m.Instance +func (x *FindByIDReply) GetInstance() []byte { + if x != nil { + return x.Instance } return nil } -func (m *FindByIDReply) GetTransactionError() string { - if m != nil { - return m.TransactionError +func (x *FindByIDReply) GetTransactionError() string { + if x != nil { + return x.TransactionError } return "" } type DiscardRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DiscardRequest) Reset() { *m = DiscardRequest{} } -func (m *DiscardRequest) String() string { return proto.CompactTextString(m) } -func (*DiscardRequest) ProtoMessage() {} -func (*DiscardRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{39} +func (x *DiscardRequest) Reset() { + *x = DiscardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiscardRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiscardRequest.Unmarshal(m, b) -} -func (m *DiscardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiscardRequest.Marshal(b, m, deterministic) -} -func (m *DiscardRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiscardRequest.Merge(m, src) -} -func (m *DiscardRequest) XXX_Size() int { - return xxx_messageInfo_DiscardRequest.Size(m) -} -func (m *DiscardRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DiscardRequest.DiscardUnknown(m) +func (x *DiscardRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DiscardRequest proto.InternalMessageInfo +func (*DiscardRequest) ProtoMessage() {} -type DiscardReply struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *DiscardRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *DiscardReply) Reset() { *m = DiscardReply{} } -func (m *DiscardReply) String() string { return proto.CompactTextString(m) } -func (*DiscardReply) ProtoMessage() {} -func (*DiscardReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{40} +// Deprecated: Use DiscardRequest.ProtoReflect.Descriptor instead. +func (*DiscardRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{39} } -func (m *DiscardReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiscardReply.Unmarshal(m, b) -} -func (m *DiscardReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiscardReply.Marshal(b, m, deterministic) -} -func (m *DiscardReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiscardReply.Merge(m, src) +type DiscardReply struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DiscardReply) XXX_Size() int { - return xxx_messageInfo_DiscardReply.Size(m) + +func (x *DiscardReply) Reset() { + *x = DiscardReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiscardReply) XXX_DiscardUnknown() { - xxx_messageInfo_DiscardReply.DiscardUnknown(m) + +func (x *DiscardReply) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DiscardReply proto.InternalMessageInfo +func (*DiscardReply) ProtoMessage() {} -type StartTransactionRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *DiscardReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *StartTransactionRequest) Reset() { *m = StartTransactionRequest{} } -func (m *StartTransactionRequest) String() string { return proto.CompactTextString(m) } -func (*StartTransactionRequest) ProtoMessage() {} -func (*StartTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{41} +// Deprecated: Use DiscardReply.ProtoReflect.Descriptor instead. +func (*DiscardReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{40} } -func (m *StartTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartTransactionRequest.Unmarshal(m, b) -} -func (m *StartTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartTransactionRequest.Marshal(b, m, deterministic) +type StartTransactionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + CollectionName string `protobuf:"bytes,2,opt,name=collectionName,proto3" json:"collectionName,omitempty"` } -func (m *StartTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartTransactionRequest.Merge(m, src) + +func (x *StartTransactionRequest) Reset() { + *x = StartTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StartTransactionRequest) XXX_Size() int { - return xxx_messageInfo_StartTransactionRequest.Size(m) + +func (x *StartTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StartTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartTransactionRequest.DiscardUnknown(m) + +func (*StartTransactionRequest) ProtoMessage() {} + +func (x *StartTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StartTransactionRequest proto.InternalMessageInfo +// Deprecated: Use StartTransactionRequest.ProtoReflect.Descriptor instead. +func (*StartTransactionRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{41} +} -func (m *StartTransactionRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *StartTransactionRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } -func (m *StartTransactionRequest) GetCollectionName() string { - if m != nil { - return m.CollectionName +func (x *StartTransactionRequest) GetCollectionName() string { + if x != nil { + return x.CollectionName } return "" } type ReadTransactionRequest struct { - // Types that are valid to be assigned to Option: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Option: // *ReadTransactionRequest_StartTransactionRequest // *ReadTransactionRequest_HasRequest // *ReadTransactionRequest_FindRequest // *ReadTransactionRequest_FindByIDRequest - Option isReadTransactionRequest_Option `protobuf_oneof:"option"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Option isReadTransactionRequest_Option `protobuf_oneof:"option"` } -func (m *ReadTransactionRequest) Reset() { *m = ReadTransactionRequest{} } -func (m *ReadTransactionRequest) String() string { return proto.CompactTextString(m) } -func (*ReadTransactionRequest) ProtoMessage() {} -func (*ReadTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{42} +func (x *ReadTransactionRequest) Reset() { + *x = ReadTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReadTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadTransactionRequest.Unmarshal(m, b) +func (x *ReadTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadTransactionRequest) ProtoMessage() {} + +func (x *ReadTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ReadTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadTransactionRequest.Marshal(b, m, deterministic) + +// Deprecated: Use ReadTransactionRequest.ProtoReflect.Descriptor instead. +func (*ReadTransactionRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{42} +} + +func (m *ReadTransactionRequest) GetOption() isReadTransactionRequest_Option { + if m != nil { + return m.Option + } + return nil } -func (m *ReadTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadTransactionRequest.Merge(m, src) + +func (x *ReadTransactionRequest) GetStartTransactionRequest() *StartTransactionRequest { + if x, ok := x.GetOption().(*ReadTransactionRequest_StartTransactionRequest); ok { + return x.StartTransactionRequest + } + return nil } -func (m *ReadTransactionRequest) XXX_Size() int { - return xxx_messageInfo_ReadTransactionRequest.Size(m) + +func (x *ReadTransactionRequest) GetHasRequest() *HasRequest { + if x, ok := x.GetOption().(*ReadTransactionRequest_HasRequest); ok { + return x.HasRequest + } + return nil } -func (m *ReadTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReadTransactionRequest.DiscardUnknown(m) + +func (x *ReadTransactionRequest) GetFindRequest() *FindRequest { + if x, ok := x.GetOption().(*ReadTransactionRequest_FindRequest); ok { + return x.FindRequest + } + return nil } -var xxx_messageInfo_ReadTransactionRequest proto.InternalMessageInfo +func (x *ReadTransactionRequest) GetFindByIDRequest() *FindByIDRequest { + if x, ok := x.GetOption().(*ReadTransactionRequest_FindByIDRequest); ok { + return x.FindByIDRequest + } + return nil +} type isReadTransactionRequest_Option interface { isReadTransactionRequest_Option() @@ -2179,87 +2574,78 @@ func (*ReadTransactionRequest_FindRequest) isReadTransactionRequest_Option() {} func (*ReadTransactionRequest_FindByIDRequest) isReadTransactionRequest_Option() {} -func (m *ReadTransactionRequest) GetOption() isReadTransactionRequest_Option { - if m != nil { - return m.Option - } - return nil +type ReadTransactionReply struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Option: + // *ReadTransactionReply_HasReply + // *ReadTransactionReply_FindReply + // *ReadTransactionReply_FindByIDReply + Option isReadTransactionReply_Option `protobuf_oneof:"option"` } -func (m *ReadTransactionRequest) GetStartTransactionRequest() *StartTransactionRequest { - if x, ok := m.GetOption().(*ReadTransactionRequest_StartTransactionRequest); ok { - return x.StartTransactionRequest +func (x *ReadTransactionReply) Reset() { + *x = ReadTransactionReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *ReadTransactionRequest) GetHasRequest() *HasRequest { - if x, ok := m.GetOption().(*ReadTransactionRequest_HasRequest); ok { - return x.HasRequest - } - return nil +func (x *ReadTransactionReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReadTransactionRequest) GetFindRequest() *FindRequest { - if x, ok := m.GetOption().(*ReadTransactionRequest_FindRequest); ok { - return x.FindRequest +func (*ReadTransactionReply) ProtoMessage() {} + +func (x *ReadTransactionReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *ReadTransactionRequest) GetFindByIDRequest() *FindByIDRequest { - if x, ok := m.GetOption().(*ReadTransactionRequest_FindByIDRequest); ok { - return x.FindByIDRequest - } - return nil +// Deprecated: Use ReadTransactionReply.ProtoReflect.Descriptor instead. +func (*ReadTransactionReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{43} } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ReadTransactionRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ReadTransactionRequest_StartTransactionRequest)(nil), - (*ReadTransactionRequest_HasRequest)(nil), - (*ReadTransactionRequest_FindRequest)(nil), - (*ReadTransactionRequest_FindByIDRequest)(nil), +func (m *ReadTransactionReply) GetOption() isReadTransactionReply_Option { + if m != nil { + return m.Option } + return nil } -type ReadTransactionReply struct { - // Types that are valid to be assigned to Option: - // *ReadTransactionReply_HasReply - // *ReadTransactionReply_FindReply - // *ReadTransactionReply_FindByIDReply - Option isReadTransactionReply_Option `protobuf_oneof:"option"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ReadTransactionReply) GetHasReply() *HasReply { + if x, ok := x.GetOption().(*ReadTransactionReply_HasReply); ok { + return x.HasReply + } + return nil } -func (m *ReadTransactionReply) Reset() { *m = ReadTransactionReply{} } -func (m *ReadTransactionReply) String() string { return proto.CompactTextString(m) } -func (*ReadTransactionReply) ProtoMessage() {} -func (*ReadTransactionReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{43} +func (x *ReadTransactionReply) GetFindReply() *FindReply { + if x, ok := x.GetOption().(*ReadTransactionReply_FindReply); ok { + return x.FindReply + } + return nil } -func (m *ReadTransactionReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadTransactionReply.Unmarshal(m, b) -} -func (m *ReadTransactionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadTransactionReply.Marshal(b, m, deterministic) -} -func (m *ReadTransactionReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadTransactionReply.Merge(m, src) -} -func (m *ReadTransactionReply) XXX_Size() int { - return xxx_messageInfo_ReadTransactionReply.Size(m) -} -func (m *ReadTransactionReply) XXX_DiscardUnknown() { - xxx_messageInfo_ReadTransactionReply.DiscardUnknown(m) +func (x *ReadTransactionReply) GetFindByIDReply() *FindByIDReply { + if x, ok := x.GetOption().(*ReadTransactionReply_FindByIDReply); ok { + return x.FindByIDReply + } + return nil } -var xxx_messageInfo_ReadTransactionReply proto.InternalMessageInfo - type isReadTransactionReply_Option interface { isReadTransactionReply_Option() } @@ -2282,84 +2668,125 @@ func (*ReadTransactionReply_FindReply) isReadTransactionReply_Option() {} func (*ReadTransactionReply_FindByIDReply) isReadTransactionReply_Option() {} -func (m *ReadTransactionReply) GetOption() isReadTransactionReply_Option { +type WriteTransactionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Option: + // *WriteTransactionRequest_StartTransactionRequest + // *WriteTransactionRequest_CreateRequest + // *WriteTransactionRequest_VerifyRequest + // *WriteTransactionRequest_SaveRequest + // *WriteTransactionRequest_DeleteRequest + // *WriteTransactionRequest_HasRequest + // *WriteTransactionRequest_FindRequest + // *WriteTransactionRequest_FindByIDRequest + // *WriteTransactionRequest_DiscardRequest + Option isWriteTransactionRequest_Option `protobuf_oneof:"option"` +} + +func (x *WriteTransactionRequest) Reset() { + *x = WriteTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WriteTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WriteTransactionRequest) ProtoMessage() {} + +func (x *WriteTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WriteTransactionRequest.ProtoReflect.Descriptor instead. +func (*WriteTransactionRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{44} +} + +func (m *WriteTransactionRequest) GetOption() isWriteTransactionRequest_Option { if m != nil { return m.Option } return nil } -func (m *ReadTransactionReply) GetHasReply() *HasReply { - if x, ok := m.GetOption().(*ReadTransactionReply_HasReply); ok { - return x.HasReply +func (x *WriteTransactionRequest) GetStartTransactionRequest() *StartTransactionRequest { + if x, ok := x.GetOption().(*WriteTransactionRequest_StartTransactionRequest); ok { + return x.StartTransactionRequest } return nil } -func (m *ReadTransactionReply) GetFindReply() *FindReply { - if x, ok := m.GetOption().(*ReadTransactionReply_FindReply); ok { - return x.FindReply +func (x *WriteTransactionRequest) GetCreateRequest() *CreateRequest { + if x, ok := x.GetOption().(*WriteTransactionRequest_CreateRequest); ok { + return x.CreateRequest } return nil } -func (m *ReadTransactionReply) GetFindByIDReply() *FindByIDReply { - if x, ok := m.GetOption().(*ReadTransactionReply_FindByIDReply); ok { - return x.FindByIDReply +func (x *WriteTransactionRequest) GetVerifyRequest() *VerifyRequest { + if x, ok := x.GetOption().(*WriteTransactionRequest_VerifyRequest); ok { + return x.VerifyRequest } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ReadTransactionReply) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ReadTransactionReply_HasReply)(nil), - (*ReadTransactionReply_FindReply)(nil), - (*ReadTransactionReply_FindByIDReply)(nil), +func (x *WriteTransactionRequest) GetSaveRequest() *SaveRequest { + if x, ok := x.GetOption().(*WriteTransactionRequest_SaveRequest); ok { + return x.SaveRequest } + return nil } -type WriteTransactionRequest struct { - // Types that are valid to be assigned to Option: - // *WriteTransactionRequest_StartTransactionRequest - // *WriteTransactionRequest_CreateRequest - // *WriteTransactionRequest_VerifyRequest - // *WriteTransactionRequest_SaveRequest - // *WriteTransactionRequest_DeleteRequest - // *WriteTransactionRequest_HasRequest - // *WriteTransactionRequest_FindRequest - // *WriteTransactionRequest_FindByIDRequest - // *WriteTransactionRequest_DiscardRequest - Option isWriteTransactionRequest_Option `protobuf_oneof:"option"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *WriteTransactionRequest) GetDeleteRequest() *DeleteRequest { + if x, ok := x.GetOption().(*WriteTransactionRequest_DeleteRequest); ok { + return x.DeleteRequest + } + return nil } -func (m *WriteTransactionRequest) Reset() { *m = WriteTransactionRequest{} } -func (m *WriteTransactionRequest) String() string { return proto.CompactTextString(m) } -func (*WriteTransactionRequest) ProtoMessage() {} -func (*WriteTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{44} +func (x *WriteTransactionRequest) GetHasRequest() *HasRequest { + if x, ok := x.GetOption().(*WriteTransactionRequest_HasRequest); ok { + return x.HasRequest + } + return nil } -func (m *WriteTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteTransactionRequest.Unmarshal(m, b) -} -func (m *WriteTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteTransactionRequest.Marshal(b, m, deterministic) -} -func (m *WriteTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteTransactionRequest.Merge(m, src) -} -func (m *WriteTransactionRequest) XXX_Size() int { - return xxx_messageInfo_WriteTransactionRequest.Size(m) +func (x *WriteTransactionRequest) GetFindRequest() *FindRequest { + if x, ok := x.GetOption().(*WriteTransactionRequest_FindRequest); ok { + return x.FindRequest + } + return nil } -func (m *WriteTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WriteTransactionRequest.DiscardUnknown(m) + +func (x *WriteTransactionRequest) GetFindByIDRequest() *FindByIDRequest { + if x, ok := x.GetOption().(*WriteTransactionRequest_FindByIDRequest); ok { + return x.FindByIDRequest + } + return nil } -var xxx_messageInfo_WriteTransactionRequest proto.InternalMessageInfo +func (x *WriteTransactionRequest) GetDiscardRequest() *DiscardRequest { + if x, ok := x.GetOption().(*WriteTransactionRequest_DiscardRequest); ok { + return x.DiscardRequest + } + return nil +} type isWriteTransactionRequest_Option interface { isWriteTransactionRequest_Option() @@ -2419,132 +2846,118 @@ func (*WriteTransactionRequest_FindByIDRequest) isWriteTransactionRequest_Option func (*WriteTransactionRequest_DiscardRequest) isWriteTransactionRequest_Option() {} -func (m *WriteTransactionRequest) GetOption() isWriteTransactionRequest_Option { - if m != nil { - return m.Option - } - return nil +type WriteTransactionReply struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Option: + // *WriteTransactionReply_CreateReply + // *WriteTransactionReply_VerifyReply + // *WriteTransactionReply_SaveReply + // *WriteTransactionReply_DeleteReply + // *WriteTransactionReply_HasReply + // *WriteTransactionReply_FindReply + // *WriteTransactionReply_FindByIDReply + // *WriteTransactionReply_DiscardReply + Option isWriteTransactionReply_Option `protobuf_oneof:"option"` } -func (m *WriteTransactionRequest) GetStartTransactionRequest() *StartTransactionRequest { - if x, ok := m.GetOption().(*WriteTransactionRequest_StartTransactionRequest); ok { - return x.StartTransactionRequest +func (x *WriteTransactionReply) Reset() { + *x = WriteTransactionReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *WriteTransactionRequest) GetCreateRequest() *CreateRequest { - if x, ok := m.GetOption().(*WriteTransactionRequest_CreateRequest); ok { - return x.CreateRequest - } - return nil +func (x *WriteTransactionReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WriteTransactionRequest) GetVerifyRequest() *VerifyRequest { - if x, ok := m.GetOption().(*WriteTransactionRequest_VerifyRequest); ok { - return x.VerifyRequest +func (*WriteTransactionReply) ProtoMessage() {} + +func (x *WriteTransactionReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *WriteTransactionRequest) GetSaveRequest() *SaveRequest { - if x, ok := m.GetOption().(*WriteTransactionRequest_SaveRequest); ok { - return x.SaveRequest - } - return nil +// Deprecated: Use WriteTransactionReply.ProtoReflect.Descriptor instead. +func (*WriteTransactionReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{45} } -func (m *WriteTransactionRequest) GetDeleteRequest() *DeleteRequest { - if x, ok := m.GetOption().(*WriteTransactionRequest_DeleteRequest); ok { - return x.DeleteRequest +func (m *WriteTransactionReply) GetOption() isWriteTransactionReply_Option { + if m != nil { + return m.Option } return nil } -func (m *WriteTransactionRequest) GetHasRequest() *HasRequest { - if x, ok := m.GetOption().(*WriteTransactionRequest_HasRequest); ok { - return x.HasRequest +func (x *WriteTransactionReply) GetCreateReply() *CreateReply { + if x, ok := x.GetOption().(*WriteTransactionReply_CreateReply); ok { + return x.CreateReply } return nil } -func (m *WriteTransactionRequest) GetFindRequest() *FindRequest { - if x, ok := m.GetOption().(*WriteTransactionRequest_FindRequest); ok { - return x.FindRequest +func (x *WriteTransactionReply) GetVerifyReply() *VerifyReply { + if x, ok := x.GetOption().(*WriteTransactionReply_VerifyReply); ok { + return x.VerifyReply } return nil } -func (m *WriteTransactionRequest) GetFindByIDRequest() *FindByIDRequest { - if x, ok := m.GetOption().(*WriteTransactionRequest_FindByIDRequest); ok { - return x.FindByIDRequest +func (x *WriteTransactionReply) GetSaveReply() *SaveReply { + if x, ok := x.GetOption().(*WriteTransactionReply_SaveReply); ok { + return x.SaveReply } return nil } -func (m *WriteTransactionRequest) GetDiscardRequest() *DiscardRequest { - if x, ok := m.GetOption().(*WriteTransactionRequest_DiscardRequest); ok { - return x.DiscardRequest +func (x *WriteTransactionReply) GetDeleteReply() *DeleteReply { + if x, ok := x.GetOption().(*WriteTransactionReply_DeleteReply); ok { + return x.DeleteReply } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*WriteTransactionRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*WriteTransactionRequest_StartTransactionRequest)(nil), - (*WriteTransactionRequest_CreateRequest)(nil), - (*WriteTransactionRequest_VerifyRequest)(nil), - (*WriteTransactionRequest_SaveRequest)(nil), - (*WriteTransactionRequest_DeleteRequest)(nil), - (*WriteTransactionRequest_HasRequest)(nil), - (*WriteTransactionRequest_FindRequest)(nil), - (*WriteTransactionRequest_FindByIDRequest)(nil), - (*WriteTransactionRequest_DiscardRequest)(nil), +func (x *WriteTransactionReply) GetHasReply() *HasReply { + if x, ok := x.GetOption().(*WriteTransactionReply_HasReply); ok { + return x.HasReply } + return nil } -type WriteTransactionReply struct { - // Types that are valid to be assigned to Option: - // *WriteTransactionReply_CreateReply - // *WriteTransactionReply_VerifyReply - // *WriteTransactionReply_SaveReply - // *WriteTransactionReply_DeleteReply - // *WriteTransactionReply_HasReply - // *WriteTransactionReply_FindReply - // *WriteTransactionReply_FindByIDReply - // *WriteTransactionReply_DiscardReply - Option isWriteTransactionReply_Option `protobuf_oneof:"option"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *WriteTransactionReply) GetFindReply() *FindReply { + if x, ok := x.GetOption().(*WriteTransactionReply_FindReply); ok { + return x.FindReply + } + return nil } -func (m *WriteTransactionReply) Reset() { *m = WriteTransactionReply{} } -func (m *WriteTransactionReply) String() string { return proto.CompactTextString(m) } -func (*WriteTransactionReply) ProtoMessage() {} -func (*WriteTransactionReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{45} +func (x *WriteTransactionReply) GetFindByIDReply() *FindByIDReply { + if x, ok := x.GetOption().(*WriteTransactionReply_FindByIDReply); ok { + return x.FindByIDReply + } + return nil } -func (m *WriteTransactionReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteTransactionReply.Unmarshal(m, b) -} -func (m *WriteTransactionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteTransactionReply.Marshal(b, m, deterministic) -} -func (m *WriteTransactionReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteTransactionReply.Merge(m, src) -} -func (m *WriteTransactionReply) XXX_Size() int { - return xxx_messageInfo_WriteTransactionReply.Size(m) -} -func (m *WriteTransactionReply) XXX_DiscardUnknown() { - xxx_messageInfo_WriteTransactionReply.DiscardUnknown(m) +func (x *WriteTransactionReply) GetDiscardReply() *DiscardReply { + if x, ok := x.GetOption().(*WriteTransactionReply_DiscardReply); ok { + return x.DiscardReply + } + return nil } -var xxx_messageInfo_WriteTransactionReply proto.InternalMessageInfo - type isWriteTransactionReply_Option interface { isWriteTransactionReply_Option() } @@ -2597,431 +3010,1552 @@ func (*WriteTransactionReply_FindByIDReply) isWriteTransactionReply_Option() {} func (*WriteTransactionReply_DiscardReply) isWriteTransactionReply_Option() {} -func (m *WriteTransactionReply) GetOption() isWriteTransactionReply_Option { - if m != nil { - return m.Option - } - return nil -} +type ListenRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WriteTransactionReply) GetCreateReply() *CreateReply { - if x, ok := m.GetOption().(*WriteTransactionReply_CreateReply); ok { - return x.CreateReply - } - return nil + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + Filters []*ListenRequest_Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` } -func (m *WriteTransactionReply) GetVerifyReply() *VerifyReply { - if x, ok := m.GetOption().(*WriteTransactionReply_VerifyReply); ok { - return x.VerifyReply +func (x *ListenRequest) Reset() { + *x = ListenRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *WriteTransactionReply) GetSaveReply() *SaveReply { - if x, ok := m.GetOption().(*WriteTransactionReply_SaveReply); ok { - return x.SaveReply - } - return nil +func (x *ListenRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WriteTransactionReply) GetDeleteReply() *DeleteReply { - if x, ok := m.GetOption().(*WriteTransactionReply_DeleteReply); ok { - return x.DeleteReply +func (*ListenRequest) ProtoMessage() {} + +func (x *ListenRequest) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *WriteTransactionReply) GetHasReply() *HasReply { - if x, ok := m.GetOption().(*WriteTransactionReply_HasReply); ok { - return x.HasReply - } - return nil +// Deprecated: Use ListenRequest.ProtoReflect.Descriptor instead. +func (*ListenRequest) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{46} } -func (m *WriteTransactionReply) GetFindReply() *FindReply { - if x, ok := m.GetOption().(*WriteTransactionReply_FindReply); ok { - return x.FindReply +func (x *ListenRequest) GetDbID() []byte { + if x != nil { + return x.DbID } return nil } -func (m *WriteTransactionReply) GetFindByIDReply() *FindByIDReply { - if x, ok := m.GetOption().(*WriteTransactionReply_FindByIDReply); ok { - return x.FindByIDReply +func (x *ListenRequest) GetFilters() []*ListenRequest_Filter { + if x != nil { + return x.Filters } return nil } -func (m *WriteTransactionReply) GetDiscardReply() *DiscardReply { - if x, ok := m.GetOption().(*WriteTransactionReply_DiscardReply); ok { - return x.DiscardReply - } - return nil +type ListenReply struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CollectionName string `protobuf:"bytes,1,opt,name=collectionName,proto3" json:"collectionName,omitempty"` + InstanceID string `protobuf:"bytes,2,opt,name=instanceID,proto3" json:"instanceID,omitempty"` + Action ListenReply_Action `protobuf:"varint,3,opt,name=action,proto3,enum=threads.pb.ListenReply_Action" json:"action,omitempty"` + Instance []byte `protobuf:"bytes,4,opt,name=instance,proto3" json:"instance,omitempty"` } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*WriteTransactionReply) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*WriteTransactionReply_CreateReply)(nil), - (*WriteTransactionReply_VerifyReply)(nil), - (*WriteTransactionReply_SaveReply)(nil), - (*WriteTransactionReply_DeleteReply)(nil), - (*WriteTransactionReply_HasReply)(nil), - (*WriteTransactionReply_FindReply)(nil), - (*WriteTransactionReply_FindByIDReply)(nil), - (*WriteTransactionReply_DiscardReply)(nil), +func (x *ListenReply) Reset() { + *x = ListenReply{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -type ListenRequest struct { - DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` - Filters []*ListenRequest_Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ListenReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListenRequest) Reset() { *m = ListenRequest{} } -func (m *ListenRequest) String() string { return proto.CompactTextString(m) } -func (*ListenRequest) ProtoMessage() {} -func (*ListenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{46} -} +func (*ListenReply) ProtoMessage() {} -func (m *ListenRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListenRequest.Unmarshal(m, b) -} -func (m *ListenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListenRequest.Marshal(b, m, deterministic) -} -func (m *ListenRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListenRequest.Merge(m, src) +func (x *ListenReply) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ListenRequest) XXX_Size() int { - return xxx_messageInfo_ListenRequest.Size(m) + +// Deprecated: Use ListenReply.ProtoReflect.Descriptor instead. +func (*ListenReply) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{47} } -func (m *ListenRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListenRequest.DiscardUnknown(m) + +func (x *ListenReply) GetCollectionName() string { + if x != nil { + return x.CollectionName + } + return "" } -var xxx_messageInfo_ListenRequest proto.InternalMessageInfo +func (x *ListenReply) GetInstanceID() string { + if x != nil { + return x.InstanceID + } + return "" +} -func (m *ListenRequest) GetDbID() []byte { - if m != nil { - return m.DbID +func (x *ListenReply) GetAction() ListenReply_Action { + if x != nil { + return x.Action } - return nil + return ListenReply_CREATE } -func (m *ListenRequest) GetFilters() []*ListenRequest_Filter { - if m != nil { - return m.Filters +func (x *ListenReply) GetInstance() []byte { + if x != nil { + return x.Instance } return nil } -type ListenRequest_Filter struct { - CollectionName string `protobuf:"bytes,1,opt,name=collectionName,proto3" json:"collectionName,omitempty"` - InstanceID string `protobuf:"bytes,2,opt,name=instanceID,proto3" json:"instanceID,omitempty"` - Action ListenRequest_Filter_Action `protobuf:"varint,3,opt,name=action,proto3,enum=threads.pb.ListenRequest_Filter_Action" json:"action,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +type ListDBsReply_DB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListenRequest_Filter) Reset() { *m = ListenRequest_Filter{} } -func (m *ListenRequest_Filter) String() string { return proto.CompactTextString(m) } -func (*ListenRequest_Filter) ProtoMessage() {} -func (*ListenRequest_Filter) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{46, 0} + DbID []byte `protobuf:"bytes,1,opt,name=dbID,proto3" json:"dbID,omitempty"` + Info *GetDBInfoReply `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` } -func (m *ListenRequest_Filter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListenRequest_Filter.Unmarshal(m, b) -} -func (m *ListenRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListenRequest_Filter.Marshal(b, m, deterministic) -} -func (m *ListenRequest_Filter) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListenRequest_Filter.Merge(m, src) -} -func (m *ListenRequest_Filter) XXX_Size() int { - return xxx_messageInfo_ListenRequest_Filter.Size(m) +func (x *ListDBsReply_DB) Reset() { + *x = ListDBsReply_DB{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListenRequest_Filter) XXX_DiscardUnknown() { - xxx_messageInfo_ListenRequest_Filter.DiscardUnknown(m) + +func (x *ListDBsReply_DB) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListenRequest_Filter proto.InternalMessageInfo +func (*ListDBsReply_DB) ProtoMessage() {} -func (m *ListenRequest_Filter) GetCollectionName() string { - if m != nil { - return m.CollectionName +func (x *ListDBsReply_DB) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[48] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (m *ListenRequest_Filter) GetInstanceID() string { - if m != nil { - return m.InstanceID - } - return "" +// Deprecated: Use ListDBsReply_DB.ProtoReflect.Descriptor instead. +func (*ListDBsReply_DB) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{8, 0} } -func (m *ListenRequest_Filter) GetAction() ListenRequest_Filter_Action { - if m != nil { - return m.Action +func (x *ListDBsReply_DB) GetDbID() []byte { + if x != nil { + return x.DbID } - return ListenRequest_Filter_ALL + return nil } -type ListenReply struct { - CollectionName string `protobuf:"bytes,1,opt,name=collectionName,proto3" json:"collectionName,omitempty"` - InstanceID string `protobuf:"bytes,2,opt,name=instanceID,proto3" json:"instanceID,omitempty"` - Action ListenReply_Action `protobuf:"varint,3,opt,name=action,proto3,enum=threads.pb.ListenReply_Action" json:"action,omitempty"` - Instance []byte `protobuf:"bytes,4,opt,name=instance,proto3" json:"instance,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListenReply) Reset() { *m = ListenReply{} } -func (m *ListenReply) String() string { return proto.CompactTextString(m) } -func (*ListenReply) ProtoMessage() {} -func (*ListenReply) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ba358bb2150022, []int{47} +func (x *ListDBsReply_DB) GetInfo() *GetDBInfoReply { + if x != nil { + return x.Info + } + return nil } -func (m *ListenReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListenReply.Unmarshal(m, b) -} -func (m *ListenReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListenReply.Marshal(b, m, deterministic) +type ListenRequest_Filter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CollectionName string `protobuf:"bytes,1,opt,name=collectionName,proto3" json:"collectionName,omitempty"` + InstanceID string `protobuf:"bytes,2,opt,name=instanceID,proto3" json:"instanceID,omitempty"` + Action ListenRequest_Filter_Action `protobuf:"varint,3,opt,name=action,proto3,enum=threads.pb.ListenRequest_Filter_Action" json:"action,omitempty"` } -func (m *ListenReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListenReply.Merge(m, src) + +func (x *ListenRequest_Filter) Reset() { + *x = ListenRequest_Filter{} + if protoimpl.UnsafeEnabled { + mi := &file_threads_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListenReply) XXX_Size() int { - return xxx_messageInfo_ListenReply.Size(m) + +func (x *ListenRequest_Filter) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListenReply) XXX_DiscardUnknown() { - xxx_messageInfo_ListenReply.DiscardUnknown(m) + +func (*ListenRequest_Filter) ProtoMessage() {} + +func (x *ListenRequest_Filter) ProtoReflect() protoreflect.Message { + mi := &file_threads_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListenReply proto.InternalMessageInfo +// Deprecated: Use ListenRequest_Filter.ProtoReflect.Descriptor instead. +func (*ListenRequest_Filter) Descriptor() ([]byte, []int) { + return file_threads_proto_rawDescGZIP(), []int{46, 0} +} -func (m *ListenReply) GetCollectionName() string { - if m != nil { - return m.CollectionName +func (x *ListenRequest_Filter) GetCollectionName() string { + if x != nil { + return x.CollectionName } return "" } -func (m *ListenReply) GetInstanceID() string { - if m != nil { - return m.InstanceID +func (x *ListenRequest_Filter) GetInstanceID() string { + if x != nil { + return x.InstanceID } return "" } -func (m *ListenReply) GetAction() ListenReply_Action { - if m != nil { - return m.Action +func (x *ListenRequest_Filter) GetAction() ListenRequest_Filter_Action { + if x != nil { + return x.Action } - return ListenReply_CREATE + return ListenRequest_Filter_ALL } -func (m *ListenReply) GetInstance() []byte { - if m != nil { - return m.Instance - } - return nil -} - -func init() { - proto.RegisterEnum("threads.pb.ListenRequest_Filter_Action", ListenRequest_Filter_Action_name, ListenRequest_Filter_Action_value) - proto.RegisterEnum("threads.pb.ListenReply_Action", ListenReply_Action_name, ListenReply_Action_value) - proto.RegisterType((*GetTokenRequest)(nil), "threads.pb.GetTokenRequest") - proto.RegisterType((*GetTokenReply)(nil), "threads.pb.GetTokenReply") - proto.RegisterType((*NewDBRequest)(nil), "threads.pb.NewDBRequest") - proto.RegisterType((*NewDBFromAddrRequest)(nil), "threads.pb.NewDBFromAddrRequest") - proto.RegisterType((*CollectionConfig)(nil), "threads.pb.CollectionConfig") - proto.RegisterType((*Index)(nil), "threads.pb.Index") - proto.RegisterType((*NewDBReply)(nil), "threads.pb.NewDBReply") - proto.RegisterType((*ListDBsRequest)(nil), "threads.pb.ListDBsRequest") - proto.RegisterType((*ListDBsReply)(nil), "threads.pb.ListDBsReply") - proto.RegisterType((*ListDBsReply_DB)(nil), "threads.pb.ListDBsReply.DB") - proto.RegisterType((*GetDBInfoRequest)(nil), "threads.pb.GetDBInfoRequest") - proto.RegisterType((*GetDBInfoReply)(nil), "threads.pb.GetDBInfoReply") - proto.RegisterType((*DeleteDBRequest)(nil), "threads.pb.DeleteDBRequest") - proto.RegisterType((*DeleteDBReply)(nil), "threads.pb.DeleteDBReply") - proto.RegisterType((*NewCollectionRequest)(nil), "threads.pb.NewCollectionRequest") - proto.RegisterType((*NewCollectionReply)(nil), "threads.pb.NewCollectionReply") - proto.RegisterType((*UpdateCollectionRequest)(nil), "threads.pb.UpdateCollectionRequest") - proto.RegisterType((*UpdateCollectionReply)(nil), "threads.pb.UpdateCollectionReply") - proto.RegisterType((*DeleteCollectionRequest)(nil), "threads.pb.DeleteCollectionRequest") - proto.RegisterType((*DeleteCollectionReply)(nil), "threads.pb.DeleteCollectionReply") - proto.RegisterType((*GetCollectionInfoRequest)(nil), "threads.pb.GetCollectionInfoRequest") - proto.RegisterType((*GetCollectionInfoReply)(nil), "threads.pb.GetCollectionInfoReply") - proto.RegisterType((*GetCollectionIndexesRequest)(nil), "threads.pb.GetCollectionIndexesRequest") - proto.RegisterType((*GetCollectionIndexesReply)(nil), "threads.pb.GetCollectionIndexesReply") - proto.RegisterType((*ListCollectionsRequest)(nil), "threads.pb.ListCollectionsRequest") - proto.RegisterType((*ListCollectionsReply)(nil), "threads.pb.ListCollectionsReply") - proto.RegisterType((*CreateRequest)(nil), "threads.pb.CreateRequest") - proto.RegisterType((*CreateReply)(nil), "threads.pb.CreateReply") - proto.RegisterType((*VerifyRequest)(nil), "threads.pb.VerifyRequest") - proto.RegisterType((*VerifyReply)(nil), "threads.pb.VerifyReply") - proto.RegisterType((*SaveRequest)(nil), "threads.pb.SaveRequest") - proto.RegisterType((*SaveReply)(nil), "threads.pb.SaveReply") - proto.RegisterType((*DeleteRequest)(nil), "threads.pb.DeleteRequest") - proto.RegisterType((*DeleteReply)(nil), "threads.pb.DeleteReply") - proto.RegisterType((*HasRequest)(nil), "threads.pb.HasRequest") - proto.RegisterType((*HasReply)(nil), "threads.pb.HasReply") - proto.RegisterType((*FindRequest)(nil), "threads.pb.FindRequest") - proto.RegisterType((*FindReply)(nil), "threads.pb.FindReply") - proto.RegisterType((*FindByIDRequest)(nil), "threads.pb.FindByIDRequest") - proto.RegisterType((*FindByIDReply)(nil), "threads.pb.FindByIDReply") - proto.RegisterType((*DiscardRequest)(nil), "threads.pb.DiscardRequest") - proto.RegisterType((*DiscardReply)(nil), "threads.pb.DiscardReply") - proto.RegisterType((*StartTransactionRequest)(nil), "threads.pb.StartTransactionRequest") - proto.RegisterType((*ReadTransactionRequest)(nil), "threads.pb.ReadTransactionRequest") - proto.RegisterType((*ReadTransactionReply)(nil), "threads.pb.ReadTransactionReply") - proto.RegisterType((*WriteTransactionRequest)(nil), "threads.pb.WriteTransactionRequest") - proto.RegisterType((*WriteTransactionReply)(nil), "threads.pb.WriteTransactionReply") - proto.RegisterType((*ListenRequest)(nil), "threads.pb.ListenRequest") - proto.RegisterType((*ListenRequest_Filter)(nil), "threads.pb.ListenRequest.Filter") - proto.RegisterType((*ListenReply)(nil), "threads.pb.ListenReply") -} - -func init() { proto.RegisterFile("threads.proto", fileDescriptor_f2ba358bb2150022) } - -var fileDescriptor_f2ba358bb2150022 = []byte{ - // 1827 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0xcd, 0x6f, 0xdb, 0x46, - 0x16, 0x27, 0x25, 0xeb, 0xeb, 0xe9, 0xc3, 0xca, 0xc0, 0x96, 0x64, 0x26, 0x30, 0xb4, 0xb3, 0x9b, - 0xc4, 0xc8, 0xee, 0x0a, 0x81, 0xb3, 0xd9, 0xcd, 0xae, 0x81, 0x6c, 0x25, 0x4b, 0xb1, 0xdc, 0x1a, - 0x6e, 0x40, 0x3b, 0x09, 0x8a, 0xa6, 0x48, 0x68, 0x71, 0x64, 0xb3, 0x96, 0x25, 0x85, 0xa4, 0x9d, - 0xe8, 0x2f, 0x68, 0x8f, 0xbd, 0xf6, 0xda, 0x43, 0xd1, 0x7b, 0x4f, 0x3d, 0x17, 0xe8, 0xb1, 0xb7, - 0xfe, 0x39, 0x05, 0x8a, 0xe1, 0xf0, 0x63, 0x86, 0x1f, 0x72, 0xec, 0x3a, 0x69, 0x6f, 0x9a, 0xe1, - 0xfb, 0x9e, 0xdf, 0x9b, 0xf7, 0xe6, 0x09, 0xca, 0xf6, 0x91, 0x49, 0x34, 0xdd, 0x6a, 0x4d, 0xcd, - 0x89, 0x3d, 0x41, 0xe0, 0x2f, 0x0f, 0xf0, 0x63, 0x58, 0xdc, 0x22, 0xf6, 0xfe, 0xe4, 0x98, 0x8c, - 0x55, 0xf2, 0xea, 0x94, 0x58, 0x36, 0x42, 0x90, 0x3e, 0x26, 0xb3, 0x86, 0xdc, 0x94, 0xd7, 0x0a, - 0x7d, 0x49, 0xa5, 0x0b, 0xb4, 0x0a, 0x05, 0xcb, 0x38, 0x1c, 0x6b, 0xf6, 0xa9, 0x49, 0x1a, 0xa9, - 0xa6, 0xbc, 0x56, 0xea, 0x4b, 0x6a, 0xb0, 0xd5, 0x29, 0x40, 0x6e, 0xaa, 0xcd, 0x46, 0x13, 0x4d, - 0xc7, 0x2a, 0x94, 0x03, 0x89, 0xd3, 0x91, 0xc3, 0x3b, 0x38, 0xd2, 0x46, 0x23, 0x32, 0x3e, 0x24, - 0x8e, 0x54, 0x87, 0xd7, 0xdf, 0x42, 0x35, 0xc8, 0xd8, 0x94, 0xda, 0x91, 0x4b, 0x35, 0xb2, 0x25, - 0x2f, 0xf3, 0x0c, 0x4a, 0xbb, 0xe4, 0x75, 0xb7, 0x13, 0x98, 0xb8, 0xa0, 0x1f, 0x6c, 0x77, 0x99, - 0x34, 0xd5, 0xf9, 0x8d, 0x1e, 0x42, 0x71, 0x30, 0x19, 0x8d, 0xc8, 0xc0, 0x36, 0x26, 0x63, 0xab, - 0x91, 0x6a, 0xa6, 0xd7, 0x8a, 0xeb, 0x37, 0x5a, 0x81, 0xaf, 0xad, 0x4d, 0xff, 0xf3, 0xe6, 0x64, - 0x3c, 0x34, 0x0e, 0x55, 0x9e, 0x81, 0xca, 0x1c, 0x6b, 0x27, 0xa4, 0x91, 0xa6, 0x56, 0xa8, 0xce, - 0x6f, 0xfc, 0xad, 0x0c, 0x4b, 0x8e, 0xe2, 0x47, 0xe6, 0xe4, 0xa4, 0xad, 0xeb, 0x26, 0x67, 0x80, - 0xa6, 0xeb, 0xa6, 0x67, 0x00, 0xfd, 0x8d, 0xaa, 0x2c, 0x6e, 0x4e, 0x74, 0x58, 0xd4, 0x42, 0x26, - 0xa5, 0x2f, 0x6b, 0xd2, 0x42, 0x60, 0x12, 0x5a, 0x82, 0xcc, 0xc1, 0x68, 0x32, 0x38, 0x6e, 0x64, - 0x9a, 0xf2, 0x5a, 0x5e, 0x65, 0x0b, 0xfc, 0xbd, 0x0c, 0xd5, 0xb0, 0x2c, 0x9f, 0x5d, 0xe6, 0xd8, - 0x6b, 0x90, 0xb5, 0x06, 0x47, 0xe4, 0x44, 0x73, 0xed, 0x74, 0x57, 0xe8, 0xef, 0x90, 0x33, 0xc6, - 0x3a, 0x79, 0x43, 0x3c, 0x33, 0xaf, 0xf1, 0x66, 0x6e, 0xd3, 0x4f, 0xaa, 0x47, 0x81, 0x6e, 0x41, - 0xe5, 0xb5, 0x69, 0xd8, 0xe4, 0xa9, 0x36, 0x32, 0x74, 0xcd, 0x9e, 0x98, 0xae, 0x85, 0xa1, 0x5d, - 0xb4, 0x0a, 0x40, 0x45, 0x3c, 0x32, 0x46, 0x36, 0x31, 0x1d, 0x83, 0x0b, 0x2a, 0xb7, 0x83, 0xef, - 0x41, 0xc6, 0x91, 0x4c, 0x2d, 0x9d, 0x6a, 0xf6, 0x91, 0x67, 0x29, 0xfd, 0x4d, 0x2d, 0x3d, 0x1d, - 0x1b, 0xaf, 0x4e, 0x19, 0xde, 0xf2, 0xaa, 0xbb, 0xc2, 0x25, 0x00, 0x17, 0x0b, 0xd3, 0xd1, 0x0c, - 0x57, 0xa1, 0xb2, 0x63, 0x58, 0x76, 0xb7, 0x63, 0xb9, 0x47, 0x83, 0xbf, 0x90, 0xa1, 0xe4, 0x6f, - 0x51, 0xfc, 0xfd, 0x13, 0xd2, 0xfa, 0x81, 0xd5, 0x90, 0x1d, 0xb7, 0xae, 0xf3, 0x6e, 0xf1, 0x64, - 0xad, 0x6e, 0x47, 0xa5, 0x74, 0x4a, 0x1f, 0x52, 0xdd, 0x4e, 0x2c, 0xc2, 0x5a, 0xb0, 0x60, 0x8c, - 0x87, 0x13, 0xc7, 0x9e, 0xe2, 0xba, 0xc2, 0x4b, 0xda, 0x22, 0x76, 0xb7, 0xb3, 0x3d, 0x1e, 0x4e, - 0x1c, 0x59, 0xaa, 0x43, 0x87, 0x6f, 0x41, 0x95, 0xdb, 0x4f, 0x44, 0x2e, 0xde, 0x81, 0x8a, 0xc8, - 0x4f, 0x0f, 0x99, 0x42, 0x8a, 0x19, 0x5d, 0x52, 0xd9, 0x22, 0x06, 0x60, 0x71, 0x98, 0xbd, 0x09, - 0x8b, 0x5d, 0x32, 0x22, 0x36, 0x99, 0x9b, 0x2e, 0x78, 0x11, 0xca, 0x01, 0x19, 0x8d, 0xe4, 0x4b, - 0x07, 0xea, 0x01, 0x88, 0xe6, 0xe5, 0xda, 0xbf, 0x20, 0x3b, 0x70, 0x30, 0xe6, 0xc6, 0x62, 0x3e, - 0xa6, 0x5d, 0x5a, 0xbc, 0x04, 0x28, 0xa4, 0x81, 0xea, 0x1d, 0x40, 0xfd, 0xc9, 0x54, 0xd7, 0x6c, - 0xf2, 0x2e, 0x55, 0xd7, 0x61, 0x39, 0xaa, 0x84, 0x6a, 0x6f, 0x43, 0x9d, 0x85, 0xe1, 0xed, 0xb4, - 0x7b, 0x01, 0x4f, 0x71, 0x01, 0xaf, 0xc3, 0x72, 0x54, 0x04, 0x95, 0xdd, 0x81, 0xc6, 0x16, 0xb1, - 0x83, 0xdd, 0x73, 0x70, 0x10, 0x2b, 0xfc, 0x07, 0x19, 0x6a, 0x31, 0x42, 0x28, 0x48, 0xfe, 0xf4, - 0xe9, 0xdd, 0x83, 0xeb, 0x21, 0xd3, 0x1d, 0xf9, 0x17, 0x0d, 0x41, 0x1f, 0x56, 0xe2, 0xc5, 0xd0, - 0x20, 0x70, 0x8e, 0xc9, 0xe7, 0x39, 0x86, 0xff, 0x01, 0x35, 0x9a, 0xf2, 0x81, 0xa8, 0x79, 0xb6, - 0xe0, 0xe7, 0xb0, 0x14, 0xa1, 0xa6, 0x2a, 0xbb, 0xe2, 0xad, 0xce, 0xd4, 0xe2, 0xd0, 0x6d, 0x10, - 0x73, 0x60, 0xc2, 0xdd, 0x8e, 0x0d, 0x28, 0x6f, 0x9a, 0x44, 0xb3, 0xc9, 0xbc, 0x70, 0xdc, 0x82, - 0x4a, 0xc0, 0xb3, 0x1b, 0x04, 0x26, 0xb4, 0x8b, 0x6e, 0x40, 0xc1, 0x18, 0x5b, 0xb6, 0x36, 0x1e, - 0xb8, 0x07, 0x5c, 0x52, 0x83, 0x0d, 0xfc, 0x29, 0x14, 0x3d, 0x55, 0xd4, 0xfe, 0x26, 0x14, 0xbd, - 0x6f, 0xdb, 0x5d, 0x66, 0x7f, 0x41, 0xe5, 0xb7, 0xd0, 0x1d, 0xa8, 0xda, 0xa6, 0x36, 0xb6, 0x34, - 0x47, 0x43, 0xcf, 0x34, 0x27, 0xa6, 0xab, 0x38, 0xb2, 0x4f, 0xfd, 0x78, 0x4a, 0x4c, 0x63, 0x38, - 0x7b, 0xf7, 0x7e, 0xfc, 0x17, 0x8a, 0x9e, 0x2a, 0xea, 0x47, 0x9c, 0x95, 0x72, 0x82, 0x95, 0x87, - 0x50, 0xdc, 0xd3, 0xce, 0xde, 0x43, 0xac, 0xff, 0x03, 0x05, 0xa6, 0xe8, 0xa2, 0x16, 0x9e, 0x78, - 0xf7, 0xf1, 0x55, 0xd8, 0x18, 0x3a, 0xe2, 0x74, 0xe4, 0x88, 0x69, 0x2c, 0x3d, 0x75, 0x17, 0xb5, - 0xf4, 0x73, 0x80, 0xbe, 0x66, 0xbd, 0x1f, 0x33, 0x77, 0x21, 0xef, 0xe8, 0xa2, 0x36, 0xd6, 0x20, - 0x4b, 0xde, 0x18, 0x96, 0x6d, 0x39, 0xba, 0xf2, 0xaa, 0xbb, 0xba, 0x10, 0x5a, 0x0f, 0xa1, 0xf8, - 0xc8, 0x18, 0xeb, 0x57, 0x84, 0x83, 0x57, 0xa7, 0xc4, 0x9c, 0x7d, 0xb8, 0xf7, 0xf1, 0xae, 0x53, - 0x80, 0x4b, 0x6a, 0xb0, 0x81, 0x9f, 0x40, 0x81, 0x29, 0xa2, 0x96, 0x0b, 0x90, 0x91, 0x43, 0x90, - 0xb9, 0x90, 0xfd, 0x27, 0xb0, 0x48, 0xc5, 0x76, 0x66, 0xdb, 0xdd, 0xab, 0xf0, 0x61, 0x15, 0x20, - 0x88, 0xb6, 0xdb, 0x45, 0x70, 0x3b, 0xf8, 0x19, 0x94, 0x03, 0x75, 0xd4, 0x13, 0x05, 0xf2, 0xde, - 0x67, 0x57, 0xa1, 0xbf, 0xbe, 0x90, 0x1f, 0x55, 0xa8, 0x74, 0x0d, 0x6b, 0xa0, 0x99, 0xde, 0x51, - 0xe0, 0x0a, 0x94, 0xfc, 0x1d, 0x5a, 0x3c, 0x9f, 0x40, 0x7d, 0xcf, 0xd6, 0x4c, 0x7b, 0x3f, 0x60, - 0xbd, 0x02, 0x8f, 0xf1, 0x8f, 0x29, 0xa8, 0xa9, 0x44, 0xd3, 0x63, 0xc4, 0xbe, 0x80, 0xba, 0x15, - 0xaf, 0xd1, 0xd1, 0x54, 0x5c, 0xff, 0x2b, 0x7f, 0xc7, 0x27, 0x18, 0xd7, 0x97, 0xd4, 0x24, 0x29, - 0xe8, 0x01, 0xc0, 0x91, 0x9f, 0x38, 0x6e, 0xfb, 0x52, 0xe3, 0x65, 0x06, 0x69, 0xd5, 0x97, 0x54, - 0x8e, 0x16, 0x6d, 0x40, 0x71, 0x18, 0xc0, 0xd6, 0x39, 0xa8, 0xe2, 0x7a, 0x9d, 0x67, 0xe5, 0x50, - 0xdd, 0x97, 0x54, 0x9e, 0x1a, 0x6d, 0xc1, 0xe2, 0x50, 0xc4, 0x8c, 0x53, 0xcf, 0x43, 0xbd, 0x70, - 0x08, 0x56, 0x7d, 0x49, 0x0d, 0x73, 0x75, 0xf2, 0x90, 0x9d, 0x4c, 0xa9, 0x43, 0xf8, 0x67, 0x19, - 0x96, 0x22, 0x51, 0xa4, 0xf8, 0x58, 0x87, 0xfc, 0x91, 0x9b, 0xaf, 0x6e, 0xd0, 0x96, 0x22, 0x0e, - 0x4e, 0x47, 0xb3, 0xbe, 0xa4, 0xfa, 0x74, 0xe8, 0x3e, 0x14, 0x86, 0x5e, 0xaa, 0xb8, 0x51, 0x59, - 0x8e, 0xba, 0xc6, 0xb8, 0x02, 0x4a, 0xd4, 0x86, 0xf2, 0x90, 0xc7, 0xa6, 0x1b, 0x95, 0x95, 0x78, - 0xa7, 0x18, 0xbb, 0xc8, 0xc1, 0x39, 0xf4, 0x55, 0x06, 0xea, 0xcf, 0x68, 0x77, 0xf3, 0x47, 0xe0, - 0xa2, 0x0d, 0xe5, 0x01, 0xdf, 0x0a, 0xb8, 0x41, 0x10, 0x3c, 0x11, 0x7a, 0x05, 0xea, 0x89, 0xc0, - 0x41, 0x45, 0x9c, 0xf1, 0x55, 0xb8, 0x91, 0x8f, 0x8a, 0x10, 0xca, 0x34, 0x15, 0x21, 0x70, 0x50, - 0x8c, 0x59, 0x41, 0x89, 0x8c, 0xc3, 0x18, 0x57, 0x41, 0x29, 0xc6, 0x38, 0x6a, 0xaa, 0x5f, 0xe7, - 0xab, 0x97, 0x8b, 0x30, 0x41, 0xbf, 0x50, 0xde, 0xa8, 0x7e, 0x81, 0x23, 0x94, 0x1d, 0x99, 0xcb, - 0x67, 0x47, 0xf6, 0xf7, 0x66, 0x47, 0xee, 0x32, 0xd9, 0x81, 0xba, 0x50, 0xd1, 0x85, 0x2b, 0xad, - 0x51, 0x88, 0xbe, 0x13, 0xc5, 0x4b, 0xaf, 0x2f, 0xa9, 0x21, 0x1e, 0x0e, 0x92, 0xbf, 0xa6, 0x61, - 0x39, 0x0a, 0x49, 0x8a, 0xfc, 0x0d, 0x28, 0x0e, 0x82, 0x7e, 0xce, 0x05, 0x61, 0x3d, 0x0e, 0x2d, - 0x0c, 0xf5, 0x3c, 0x35, 0x65, 0x3e, 0x0b, 0x9a, 0x28, 0xd7, 0xd7, 0x7a, 0x1c, 0x4e, 0x5c, 0x66, - 0x8e, 0x9a, 0xa6, 0xaa, 0xe5, 0x75, 0x37, 0x71, 0xa9, 0xea, 0xb7, 0x3e, 0xce, 0x74, 0xc8, 0xef, - 0x83, 0x36, 0xa0, 0xa8, 0x07, 0xcd, 0x46, 0x1c, 0xb4, 0xb8, 0x5e, 0x84, 0xea, 0xe4, 0xa8, 0x85, - 0x2b, 0x65, 0xe1, 0x32, 0x57, 0x4a, 0xe6, 0xf2, 0x57, 0x4a, 0xf6, 0xa2, 0x57, 0x0a, 0x7a, 0x08, - 0x25, 0x9d, 0x2b, 0x63, 0x6e, 0x1e, 0x36, 0x62, 0x31, 0xc0, 0x04, 0x08, 0xf4, 0xdc, 0xf9, 0x7f, - 0x97, 0x82, 0x32, 0x7d, 0x7f, 0x90, 0xb9, 0x75, 0xef, 0x7f, 0x90, 0x1b, 0x3a, 0xaf, 0x2d, 0x6f, - 0xe2, 0xd5, 0x0c, 0x0f, 0x38, 0x7c, 0xfe, 0x16, 0x7b, 0x96, 0xa9, 0x1e, 0x83, 0xf2, 0x93, 0x0c, - 0x59, 0xb6, 0x17, 0x53, 0x3e, 0xe5, 0xb7, 0x68, 0x18, 0x52, 0xe1, 0x86, 0x01, 0xfd, 0x1f, 0xb2, - 0x0c, 0xa9, 0xce, 0x21, 0x57, 0xd6, 0x6f, 0x9f, 0x67, 0x4d, 0xab, 0xcd, 0x80, 0xed, 0xb2, 0xe1, - 0x7b, 0x90, 0x65, 0x3b, 0x28, 0x07, 0xe9, 0xf6, 0xce, 0x4e, 0x55, 0x42, 0x00, 0xd9, 0x4d, 0xb5, - 0xd7, 0xde, 0xef, 0x55, 0x65, 0x94, 0x87, 0x85, 0xbd, 0xf6, 0xd3, 0x5e, 0x35, 0x45, 0x77, 0xbb, - 0xbd, 0x9d, 0xde, 0x7e, 0xaf, 0x9a, 0xc6, 0xbf, 0xc8, 0x50, 0xf4, 0x84, 0xd3, 0x43, 0xb8, 0x2a, - 0x6f, 0xfe, 0x1d, 0xf2, 0x66, 0x35, 0xce, 0x9b, 0xe9, 0x68, 0x16, 0x72, 0x42, 0xe8, 0x92, 0x16, - 0xc4, 0x2e, 0x09, 0xdf, 0xf1, 0x1d, 0x0c, 0xfc, 0x92, 0x7c, 0xbf, 0x64, 0xce, 0xaf, 0xd4, 0xfa, - 0xd7, 0x65, 0x48, 0xb7, 0x1f, 0x6f, 0xa3, 0x3e, 0xe4, 0xbd, 0x91, 0x2a, 0xba, 0x1e, 0x7a, 0x68, - 0xf2, 0xa3, 0x5b, 0x65, 0x25, 0xfe, 0x23, 0xed, 0xa7, 0xa4, 0x35, 0xf9, 0xae, 0x8c, 0x36, 0x20, - 0xe3, 0x0c, 0xcf, 0x90, 0x80, 0x48, 0x7e, 0xb6, 0xaa, 0xd4, 0x62, 0xbe, 0x38, 0x02, 0xd0, 0x47, - 0x50, 0x16, 0x86, 0xa1, 0xa8, 0x19, 0x21, 0x0d, 0xcd, 0x49, 0xe7, 0x08, 0x6b, 0x43, 0xce, 0x1d, - 0xbf, 0x21, 0x25, 0x76, 0x26, 0xc7, 0x04, 0x34, 0x92, 0xe6, 0x75, 0x58, 0x42, 0x5b, 0x50, 0xf0, - 0xe7, 0x66, 0xe8, 0x46, 0xc2, 0x38, 0x8e, 0x89, 0x99, 0x33, 0xac, 0xc3, 0x12, 0xea, 0x42, 0xde, - 0x9b, 0x85, 0x89, 0xf1, 0x0d, 0x0d, 0xd2, 0x94, 0x95, 0xf8, 0x8f, 0x4c, 0xca, 0x9e, 0x13, 0x9e, - 0xe0, 0xe1, 0x1f, 0x09, 0x4f, 0x64, 0xc4, 0xa4, 0xac, 0xce, 0xa1, 0x60, 0x42, 0x9f, 0x43, 0x35, - 0x3c, 0xb8, 0x42, 0x42, 0xbf, 0x91, 0x30, 0x3b, 0x53, 0xfe, 0x32, 0x9f, 0xc8, 0x97, 0x1e, 0x1e, - 0x5d, 0x89, 0xd2, 0x13, 0x66, 0x63, 0xa2, 0xf4, 0xf8, 0xe9, 0x97, 0x84, 0x5e, 0xc0, 0xb5, 0xc8, - 0x24, 0x04, 0xfd, 0xed, 0x9c, 0x41, 0x09, 0x93, 0xff, 0x16, 0xe3, 0x14, 0x2c, 0xa1, 0x63, 0x58, - 0x8a, 0x9b, 0x0c, 0xa1, 0xdb, 0x73, 0xb8, 0xf9, 0x11, 0x94, 0x72, 0xf3, 0x7c, 0x42, 0xaa, 0x29, - 0xfd, 0x65, 0x4a, 0x46, 0x9f, 0xc0, 0x62, 0x68, 0x1c, 0x84, 0x70, 0x18, 0x9c, 0xd1, 0xc9, 0x92, - 0xd2, 0x9c, 0x4b, 0xc3, 0xfc, 0x78, 0x08, 0x59, 0x56, 0xb1, 0x51, 0x72, 0xcf, 0xa7, 0x24, 0x15, - 0x78, 0xc6, 0xcf, 0x8a, 0x36, 0x4a, 0x6e, 0xf8, 0x94, 0xa4, 0x1a, 0x8f, 0x25, 0xf4, 0x00, 0x16, - 0x68, 0xe5, 0x46, 0x49, 0xdd, 0x9e, 0x12, 0x5f, 0xe4, 0x99, 0x66, 0x76, 0xfa, 0x28, 0xb9, 0xd5, - 0x53, 0x92, 0x2a, 0x3d, 0x96, 0xd0, 0x7d, 0x48, 0xf7, 0x35, 0x0b, 0x25, 0xf4, 0x79, 0x4a, 0x6c, - 0xa5, 0x67, 0x06, 0xd3, 0x3a, 0x8c, 0x92, 0x9a, 0x3c, 0x25, 0xbe, 0xda, 0xb3, 0x54, 0xf7, 0x2a, - 0x38, 0x9a, 0xd7, 0xe1, 0x29, 0xc9, 0x45, 0x1f, 0x4b, 0xe8, 0x33, 0x58, 0x0c, 0x3d, 0x7f, 0x44, - 0x2c, 0xc4, 0xbf, 0x30, 0x45, 0x2c, 0xc4, 0xbd, 0x9f, 0xdc, 0x5b, 0xfa, 0x25, 0x54, 0xc3, 0x9d, - 0x9f, 0x98, 0x96, 0x09, 0x4f, 0x15, 0x31, 0x2d, 0x63, 0x9b, 0x47, 0x57, 0xc3, 0x07, 0x90, 0x65, - 0xf5, 0x4b, 0x3c, 0x37, 0xa1, 0x42, 0x8b, 0xe7, 0xc6, 0x95, 0x3b, 0x2c, 0xdd, 0x95, 0x3b, 0x2d, - 0xa8, 0x1b, 0x93, 0x96, 0x4d, 0xde, 0xd8, 0xc6, 0x88, 0x78, 0x84, 0x2f, 0x0e, 0xcd, 0xe9, 0xa0, - 0x93, 0xdb, 0x67, 0xab, 0xc7, 0xf2, 0x37, 0xa9, 0xdc, 0x7e, 0x5f, 0xed, 0xb5, 0xbb, 0x7b, 0x07, - 0x59, 0xe7, 0xbf, 0xc7, 0x7b, 0xbf, 0x05, 0x00, 0x00, 0xff, 0xff, 0x3d, 0x89, 0x03, 0x14, 0x8c, - 0x1c, 0x00, 0x00, +var File_threads_proto protoreflect.FileDescriptor + +var file_threads_proto_rawDesc = []byte{ + 0x0a, 0x0d, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x0a, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x22, 0x50, 0x0a, 0x0f, 0x47, + 0x65, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x1e, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x52, 0x0a, + 0x0d, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1e, + 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x48, 0x00, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x16, + 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x22, 0xc2, 0x01, 0x0a, 0x0c, 0x4e, 0x65, 0x77, 0x44, 0x42, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x64, 0x62, 0x49, 0x44, 0x12, 0x3e, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x68, + 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x4b, 0x65, 0x79, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x16, + 0x0a, 0x06, 0x6c, 0x6f, 0x67, 0x4b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, + 0x6c, 0x6f, 0x67, 0x4b, 0x65, 0x79, 0x22, 0xdc, 0x01, 0x0a, 0x14, 0x4e, 0x65, 0x77, 0x44, 0x42, + 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x61, + 0x64, 0x64, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x68, 0x72, + 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, + 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x4b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, + 0x06, 0x6c, 0x6f, 0x67, 0x4b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6c, + 0x6f, 0x67, 0x4b, 0x65, 0x79, 0x22, 0xb3, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x2b, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, + 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x77, 0x72, 0x69, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x77, 0x72, 0x69, + 0x74, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, + 0x65, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x72, 0x65, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x33, 0x0a, 0x05, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x6e, 0x69, 0x71, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, + 0x22, 0x0c, 0x0a, 0x0a, 0x4e, 0x65, 0x77, 0x44, 0x42, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x10, + 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x42, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x87, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x42, 0x73, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x12, 0x2d, 0x0a, 0x03, 0x64, 0x62, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x44, 0x42, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x2e, 0x44, 0x42, 0x52, 0x03, 0x64, 0x62, 0x73, + 0x1a, 0x48, 0x0a, 0x02, 0x44, 0x42, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, 0x44, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x62, 0x49, 0x44, 0x12, 0x2e, 0x0a, 0x04, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, + 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x42, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x70, 0x6c, 0x79, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x26, 0x0a, 0x10, 0x47, 0x65, + 0x74, 0x44, 0x42, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x64, 0x62, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x62, + 0x49, 0x44, 0x22, 0x4c, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x44, 0x42, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x64, 0x64, 0x72, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x64, 0x64, 0x72, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x22, 0x25, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x42, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x04, 0x64, 0x62, 0x49, 0x44, 0x22, 0x0f, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x44, 0x42, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x60, 0x0a, 0x14, 0x4e, 0x65, 0x77, 0x43, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x64, 0x62, 0x49, 0x44, 0x12, 0x34, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, + 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x14, 0x0a, 0x12, 0x4e, 0x65, + 0x77, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, + 0x22, 0x63, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, + 0x62, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x62, 0x49, 0x44, 0x12, + 0x34, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x41, + 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, + 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x62, 0x49, 0x44, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x42, 0x0a, 0x18, 0x47, 0x65, + 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, 0x44, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x62, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xb9, + 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x2b, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, + 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x77, 0x72, 0x69, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x77, 0x72, 0x69, 0x74, + 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, + 0x61, 0x64, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x72, 0x65, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x45, 0x0a, 0x1b, 0x47, 0x65, + 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, + 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x62, 0x49, 0x44, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x48, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2b, + 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x11, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x22, 0x2c, 0x0a, 0x16, 0x4c, + 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, 0x44, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x62, 0x49, 0x44, 0x22, 0x5c, 0x0a, 0x14, 0x4c, 0x69, 0x73, + 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x12, 0x44, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, + 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x69, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, 0x44, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x62, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, + 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x73, 0x22, 0x5b, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x44, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x49, 0x44, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, + 0x69, 0x0a, 0x0d, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x64, 0x62, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, + 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x39, 0x0a, 0x0b, 0x56, 0x65, + 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x67, 0x0a, 0x0b, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x64, 0x62, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0c, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x37, + 0x0a, 0x09, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x6d, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, 0x44, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x62, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, + 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x49, 0x44, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x49, 0x44, 0x73, 0x22, 0x39, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x22, 0x6a, 0x0a, 0x0a, 0x48, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, + 0x62, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x69, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x44, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x44, 0x73, 0x22, 0x4e, 0x0a, + 0x08, 0x48, 0x61, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x67, 0x0a, + 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x62, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x62, 0x49, 0x44, + 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x55, 0x0a, 0x09, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x6d, 0x0a, + 0x0f, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x64, 0x62, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x44, 0x22, 0x57, 0x0a, 0x0d, + 0x46, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x0a, + 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x10, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x63, 0x61, 0x72, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x63, 0x61, + 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x55, 0x0a, 0x17, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x64, 0x62, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xc3, + 0x02, 0x0a, 0x16, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x5f, 0x0a, 0x17, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x74, 0x68, 0x72, + 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, + 0x00, 0x52, 0x17, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x68, 0x61, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, + 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x61, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x68, 0x72, 0x65, + 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x66, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x47, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x68, 0x72, + 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x44, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0f, 0x66, 0x69, 0x6e, 0x64, 0x42, + 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xce, 0x01, 0x0a, 0x14, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x32, 0x0a, + 0x08, 0x68, 0x61, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x61, 0x73, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x48, 0x00, 0x52, 0x08, 0x68, 0x61, 0x73, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x12, 0x35, 0x0a, 0x09, 0x66, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, + 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x48, 0x00, 0x52, 0x09, 0x66, + 0x69, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x41, 0x0a, 0x0d, 0x66, 0x69, 0x6e, 0x64, + 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x48, 0x00, 0x52, 0x0d, 0x66, 0x69, + 0x6e, 0x64, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x42, 0x08, 0x0a, 0x06, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x90, 0x05, 0x0a, 0x17, 0x57, 0x72, 0x69, 0x74, 0x65, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x5f, 0x0a, 0x17, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x17, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x68, 0x72, 0x65, + 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0d, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x76, 0x65, 0x72, 0x69, 0x66, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x73, 0x61, 0x76, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x61, 0x76, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x61, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, + 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x48, 0x00, 0x52, 0x0b, 0x66, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x47, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, + 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0f, 0x66, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x49, + 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x63, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, + 0x73, 0x63, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0e, + 0x64, 0x69, 0x73, 0x63, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x08, + 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xfd, 0x03, 0x0a, 0x15, 0x57, 0x72, 0x69, + 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, + 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, + 0x48, 0x00, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, + 0x3b, 0x0a, 0x0b, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, + 0x62, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x48, 0x00, 0x52, + 0x0b, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x35, 0x0a, 0x09, + 0x73, 0x61, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x61, 0x76, + 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x48, 0x00, 0x52, 0x09, 0x73, 0x61, 0x76, 0x65, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x12, 0x3b, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, + 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, + 0x12, 0x32, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, + 0x48, 0x61, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x48, 0x00, 0x52, 0x08, 0x68, 0x61, 0x73, 0x52, + 0x65, 0x70, 0x6c, 0x79, 0x12, 0x35, 0x0a, 0x09, 0x66, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, + 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x48, 0x00, + 0x52, 0x09, 0x66, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x41, 0x0a, 0x0d, 0x66, + 0x69, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x48, 0x00, 0x52, + 0x0d, 0x66, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3e, + 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x63, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, + 0x62, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x48, 0x00, + 0x52, 0x0c, 0x64, 0x69, 0x73, 0x63, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x42, 0x08, + 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa8, 0x02, 0x0a, 0x0d, 0x4c, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x62, + 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x62, 0x49, 0x44, 0x12, 0x3a, + 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x1a, 0xc6, 0x01, 0x0a, 0x06, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, + 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x44, 0x12, 0x3f, 0x0a, + 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, + 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, + 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x33, + 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, + 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, + 0x04, 0x53, 0x41, 0x56, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, + 0x45, 0x10, 0x03, 0x22, 0xd5, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x69, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x44, 0x12, 0x36, 0x0a, 0x06, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x74, 0x68, + 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x52, + 0x65, 0x70, 0x6c, 0x79, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, + 0x2a, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x45, + 0x41, 0x54, 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x41, 0x56, 0x45, 0x10, 0x01, 0x12, + 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x02, 0x32, 0x99, 0x0d, 0x0a, 0x03, + 0x41, 0x50, 0x49, 0x12, 0x48, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, + 0x1b, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x3b, 0x0a, + 0x05, 0x4e, 0x65, 0x77, 0x44, 0x42, 0x12, 0x18, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, + 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x77, 0x44, 0x42, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x16, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, + 0x77, 0x44, 0x42, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0d, 0x4e, 0x65, + 0x77, 0x44, 0x42, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x12, 0x20, 0x2e, 0x74, 0x68, + 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x77, 0x44, 0x42, 0x46, 0x72, + 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, + 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x77, 0x44, 0x42, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x07, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x42, 0x73, 0x12, 0x1a, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x44, 0x42, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, + 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x44, 0x42, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x47, 0x0a, 0x09, 0x47, 0x65, + 0x74, 0x44, 0x42, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, + 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x42, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, + 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x42, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x08, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x42, 0x12, + 0x1b, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x44, 0x42, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x44, 0x42, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0d, 0x4e, 0x65, 0x77, + 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x74, 0x68, 0x72, + 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x77, 0x43, 0x6f, 0x6c, 0x6c, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x77, 0x43, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5c, + 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, + 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x10, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x23, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, + 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x24, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, + 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, + 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x14, 0x47, + 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, + 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x22, 0x03, 0x88, 0x02, 0x01, 0x12, 0x59, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, + 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x22, 0x2e, 0x74, 0x68, + 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x20, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x19, 0x2e, + 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, + 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x06, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x12, 0x19, 0x2e, + 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, + 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x04, 0x53, 0x61, 0x76, 0x65, 0x12, 0x17, 0x2e, 0x74, 0x68, + 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, + 0x62, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3e, 0x0a, + 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x19, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, + 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x35, 0x0a, + 0x03, 0x48, 0x61, 0x73, 0x12, 0x16, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, + 0x62, 0x2e, 0x48, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x61, 0x73, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x04, 0x46, 0x69, 0x6e, 0x64, 0x12, 0x17, 0x2e, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, + 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x44, + 0x0a, 0x08, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x44, 0x12, 0x1b, 0x2e, 0x74, 0x68, 0x72, + 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x44, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, + 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0f, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, + 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x74, 0x68, + 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x28, + 0x01, 0x30, 0x01, 0x12, 0x60, 0x0a, 0x10, 0x57, 0x72, 0x69, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, + 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, + 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x40, 0x0a, 0x06, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x12, + 0x19, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x74, 0x68, 0x72, + 0x65, 0x61, 0x64, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x22, 0x00, 0x30, 0x01, 0x42, 0x2e, 0x0a, 0x17, 0x69, 0x6f, 0x2e, 0x74, 0x65, + 0x78, 0x74, 0x69, 0x6c, 0x65, 0x2e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x5f, 0x67, 0x72, + 0x70, 0x63, 0x42, 0x07, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x50, 0x01, 0xa2, 0x02, 0x07, + 0x54, 0x48, 0x52, 0x45, 0x41, 0x44, 0x53, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_threads_proto_rawDescOnce sync.Once + file_threads_proto_rawDescData = file_threads_proto_rawDesc +) + +func file_threads_proto_rawDescGZIP() []byte { + file_threads_proto_rawDescOnce.Do(func() { + file_threads_proto_rawDescData = protoimpl.X.CompressGZIP(file_threads_proto_rawDescData) + }) + return file_threads_proto_rawDescData +} + +var file_threads_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_threads_proto_msgTypes = make([]protoimpl.MessageInfo, 50) +var file_threads_proto_goTypes = []interface{}{ + (ListenRequest_Filter_Action)(0), // 0: threads.pb.ListenRequest.Filter.Action + (ListenReply_Action)(0), // 1: threads.pb.ListenReply.Action + (*GetTokenRequest)(nil), // 2: threads.pb.GetTokenRequest + (*GetTokenReply)(nil), // 3: threads.pb.GetTokenReply + (*NewDBRequest)(nil), // 4: threads.pb.NewDBRequest + (*NewDBFromAddrRequest)(nil), // 5: threads.pb.NewDBFromAddrRequest + (*CollectionConfig)(nil), // 6: threads.pb.CollectionConfig + (*Index)(nil), // 7: threads.pb.Index + (*NewDBReply)(nil), // 8: threads.pb.NewDBReply + (*ListDBsRequest)(nil), // 9: threads.pb.ListDBsRequest + (*ListDBsReply)(nil), // 10: threads.pb.ListDBsReply + (*GetDBInfoRequest)(nil), // 11: threads.pb.GetDBInfoRequest + (*GetDBInfoReply)(nil), // 12: threads.pb.GetDBInfoReply + (*DeleteDBRequest)(nil), // 13: threads.pb.DeleteDBRequest + (*DeleteDBReply)(nil), // 14: threads.pb.DeleteDBReply + (*NewCollectionRequest)(nil), // 15: threads.pb.NewCollectionRequest + (*NewCollectionReply)(nil), // 16: threads.pb.NewCollectionReply + (*UpdateCollectionRequest)(nil), // 17: threads.pb.UpdateCollectionRequest + (*UpdateCollectionReply)(nil), // 18: threads.pb.UpdateCollectionReply + (*DeleteCollectionRequest)(nil), // 19: threads.pb.DeleteCollectionRequest + (*DeleteCollectionReply)(nil), // 20: threads.pb.DeleteCollectionReply + (*GetCollectionInfoRequest)(nil), // 21: threads.pb.GetCollectionInfoRequest + (*GetCollectionInfoReply)(nil), // 22: threads.pb.GetCollectionInfoReply + (*GetCollectionIndexesRequest)(nil), // 23: threads.pb.GetCollectionIndexesRequest + (*GetCollectionIndexesReply)(nil), // 24: threads.pb.GetCollectionIndexesReply + (*ListCollectionsRequest)(nil), // 25: threads.pb.ListCollectionsRequest + (*ListCollectionsReply)(nil), // 26: threads.pb.ListCollectionsReply + (*CreateRequest)(nil), // 27: threads.pb.CreateRequest + (*CreateReply)(nil), // 28: threads.pb.CreateReply + (*VerifyRequest)(nil), // 29: threads.pb.VerifyRequest + (*VerifyReply)(nil), // 30: threads.pb.VerifyReply + (*SaveRequest)(nil), // 31: threads.pb.SaveRequest + (*SaveReply)(nil), // 32: threads.pb.SaveReply + (*DeleteRequest)(nil), // 33: threads.pb.DeleteRequest + (*DeleteReply)(nil), // 34: threads.pb.DeleteReply + (*HasRequest)(nil), // 35: threads.pb.HasRequest + (*HasReply)(nil), // 36: threads.pb.HasReply + (*FindRequest)(nil), // 37: threads.pb.FindRequest + (*FindReply)(nil), // 38: threads.pb.FindReply + (*FindByIDRequest)(nil), // 39: threads.pb.FindByIDRequest + (*FindByIDReply)(nil), // 40: threads.pb.FindByIDReply + (*DiscardRequest)(nil), // 41: threads.pb.DiscardRequest + (*DiscardReply)(nil), // 42: threads.pb.DiscardReply + (*StartTransactionRequest)(nil), // 43: threads.pb.StartTransactionRequest + (*ReadTransactionRequest)(nil), // 44: threads.pb.ReadTransactionRequest + (*ReadTransactionReply)(nil), // 45: threads.pb.ReadTransactionReply + (*WriteTransactionRequest)(nil), // 46: threads.pb.WriteTransactionRequest + (*WriteTransactionReply)(nil), // 47: threads.pb.WriteTransactionReply + (*ListenRequest)(nil), // 48: threads.pb.ListenRequest + (*ListenReply)(nil), // 49: threads.pb.ListenReply + (*ListDBsReply_DB)(nil), // 50: threads.pb.ListDBsReply.DB + (*ListenRequest_Filter)(nil), // 51: threads.pb.ListenRequest.Filter +} +var file_threads_proto_depIdxs = []int32{ + 6, // 0: threads.pb.NewDBRequest.collections:type_name -> threads.pb.CollectionConfig + 6, // 1: threads.pb.NewDBFromAddrRequest.collections:type_name -> threads.pb.CollectionConfig + 7, // 2: threads.pb.CollectionConfig.indexes:type_name -> threads.pb.Index + 50, // 3: threads.pb.ListDBsReply.dbs:type_name -> threads.pb.ListDBsReply.DB + 6, // 4: threads.pb.NewCollectionRequest.config:type_name -> threads.pb.CollectionConfig + 6, // 5: threads.pb.UpdateCollectionRequest.config:type_name -> threads.pb.CollectionConfig + 7, // 6: threads.pb.GetCollectionInfoReply.indexes:type_name -> threads.pb.Index + 7, // 7: threads.pb.GetCollectionIndexesReply.indexes:type_name -> threads.pb.Index + 22, // 8: threads.pb.ListCollectionsReply.collections:type_name -> threads.pb.GetCollectionInfoReply + 43, // 9: threads.pb.ReadTransactionRequest.startTransactionRequest:type_name -> threads.pb.StartTransactionRequest + 35, // 10: threads.pb.ReadTransactionRequest.hasRequest:type_name -> threads.pb.HasRequest + 37, // 11: threads.pb.ReadTransactionRequest.findRequest:type_name -> threads.pb.FindRequest + 39, // 12: threads.pb.ReadTransactionRequest.findByIDRequest:type_name -> threads.pb.FindByIDRequest + 36, // 13: threads.pb.ReadTransactionReply.hasReply:type_name -> threads.pb.HasReply + 38, // 14: threads.pb.ReadTransactionReply.findReply:type_name -> threads.pb.FindReply + 40, // 15: threads.pb.ReadTransactionReply.findByIDReply:type_name -> threads.pb.FindByIDReply + 43, // 16: threads.pb.WriteTransactionRequest.startTransactionRequest:type_name -> threads.pb.StartTransactionRequest + 27, // 17: threads.pb.WriteTransactionRequest.createRequest:type_name -> threads.pb.CreateRequest + 29, // 18: threads.pb.WriteTransactionRequest.verifyRequest:type_name -> threads.pb.VerifyRequest + 31, // 19: threads.pb.WriteTransactionRequest.saveRequest:type_name -> threads.pb.SaveRequest + 33, // 20: threads.pb.WriteTransactionRequest.deleteRequest:type_name -> threads.pb.DeleteRequest + 35, // 21: threads.pb.WriteTransactionRequest.hasRequest:type_name -> threads.pb.HasRequest + 37, // 22: threads.pb.WriteTransactionRequest.findRequest:type_name -> threads.pb.FindRequest + 39, // 23: threads.pb.WriteTransactionRequest.findByIDRequest:type_name -> threads.pb.FindByIDRequest + 41, // 24: threads.pb.WriteTransactionRequest.discardRequest:type_name -> threads.pb.DiscardRequest + 28, // 25: threads.pb.WriteTransactionReply.createReply:type_name -> threads.pb.CreateReply + 30, // 26: threads.pb.WriteTransactionReply.verifyReply:type_name -> threads.pb.VerifyReply + 32, // 27: threads.pb.WriteTransactionReply.saveReply:type_name -> threads.pb.SaveReply + 34, // 28: threads.pb.WriteTransactionReply.deleteReply:type_name -> threads.pb.DeleteReply + 36, // 29: threads.pb.WriteTransactionReply.hasReply:type_name -> threads.pb.HasReply + 38, // 30: threads.pb.WriteTransactionReply.findReply:type_name -> threads.pb.FindReply + 40, // 31: threads.pb.WriteTransactionReply.findByIDReply:type_name -> threads.pb.FindByIDReply + 42, // 32: threads.pb.WriteTransactionReply.discardReply:type_name -> threads.pb.DiscardReply + 51, // 33: threads.pb.ListenRequest.filters:type_name -> threads.pb.ListenRequest.Filter + 1, // 34: threads.pb.ListenReply.action:type_name -> threads.pb.ListenReply.Action + 12, // 35: threads.pb.ListDBsReply.DB.info:type_name -> threads.pb.GetDBInfoReply + 0, // 36: threads.pb.ListenRequest.Filter.action:type_name -> threads.pb.ListenRequest.Filter.Action + 2, // 37: threads.pb.API.GetToken:input_type -> threads.pb.GetTokenRequest + 4, // 38: threads.pb.API.NewDB:input_type -> threads.pb.NewDBRequest + 5, // 39: threads.pb.API.NewDBFromAddr:input_type -> threads.pb.NewDBFromAddrRequest + 9, // 40: threads.pb.API.ListDBs:input_type -> threads.pb.ListDBsRequest + 11, // 41: threads.pb.API.GetDBInfo:input_type -> threads.pb.GetDBInfoRequest + 13, // 42: threads.pb.API.DeleteDB:input_type -> threads.pb.DeleteDBRequest + 15, // 43: threads.pb.API.NewCollection:input_type -> threads.pb.NewCollectionRequest + 17, // 44: threads.pb.API.UpdateCollection:input_type -> threads.pb.UpdateCollectionRequest + 19, // 45: threads.pb.API.DeleteCollection:input_type -> threads.pb.DeleteCollectionRequest + 21, // 46: threads.pb.API.GetCollectionInfo:input_type -> threads.pb.GetCollectionInfoRequest + 23, // 47: threads.pb.API.GetCollectionIndexes:input_type -> threads.pb.GetCollectionIndexesRequest + 25, // 48: threads.pb.API.ListCollections:input_type -> threads.pb.ListCollectionsRequest + 27, // 49: threads.pb.API.Create:input_type -> threads.pb.CreateRequest + 29, // 50: threads.pb.API.Verify:input_type -> threads.pb.VerifyRequest + 31, // 51: threads.pb.API.Save:input_type -> threads.pb.SaveRequest + 33, // 52: threads.pb.API.Delete:input_type -> threads.pb.DeleteRequest + 35, // 53: threads.pb.API.Has:input_type -> threads.pb.HasRequest + 37, // 54: threads.pb.API.Find:input_type -> threads.pb.FindRequest + 39, // 55: threads.pb.API.FindByID:input_type -> threads.pb.FindByIDRequest + 44, // 56: threads.pb.API.ReadTransaction:input_type -> threads.pb.ReadTransactionRequest + 46, // 57: threads.pb.API.WriteTransaction:input_type -> threads.pb.WriteTransactionRequest + 48, // 58: threads.pb.API.Listen:input_type -> threads.pb.ListenRequest + 3, // 59: threads.pb.API.GetToken:output_type -> threads.pb.GetTokenReply + 8, // 60: threads.pb.API.NewDB:output_type -> threads.pb.NewDBReply + 8, // 61: threads.pb.API.NewDBFromAddr:output_type -> threads.pb.NewDBReply + 10, // 62: threads.pb.API.ListDBs:output_type -> threads.pb.ListDBsReply + 12, // 63: threads.pb.API.GetDBInfo:output_type -> threads.pb.GetDBInfoReply + 14, // 64: threads.pb.API.DeleteDB:output_type -> threads.pb.DeleteDBReply + 16, // 65: threads.pb.API.NewCollection:output_type -> threads.pb.NewCollectionReply + 18, // 66: threads.pb.API.UpdateCollection:output_type -> threads.pb.UpdateCollectionReply + 20, // 67: threads.pb.API.DeleteCollection:output_type -> threads.pb.DeleteCollectionReply + 22, // 68: threads.pb.API.GetCollectionInfo:output_type -> threads.pb.GetCollectionInfoReply + 24, // 69: threads.pb.API.GetCollectionIndexes:output_type -> threads.pb.GetCollectionIndexesReply + 26, // 70: threads.pb.API.ListCollections:output_type -> threads.pb.ListCollectionsReply + 28, // 71: threads.pb.API.Create:output_type -> threads.pb.CreateReply + 30, // 72: threads.pb.API.Verify:output_type -> threads.pb.VerifyReply + 32, // 73: threads.pb.API.Save:output_type -> threads.pb.SaveReply + 34, // 74: threads.pb.API.Delete:output_type -> threads.pb.DeleteReply + 36, // 75: threads.pb.API.Has:output_type -> threads.pb.HasReply + 38, // 76: threads.pb.API.Find:output_type -> threads.pb.FindReply + 40, // 77: threads.pb.API.FindByID:output_type -> threads.pb.FindByIDReply + 45, // 78: threads.pb.API.ReadTransaction:output_type -> threads.pb.ReadTransactionReply + 47, // 79: threads.pb.API.WriteTransaction:output_type -> threads.pb.WriteTransactionReply + 49, // 80: threads.pb.API.Listen:output_type -> threads.pb.ListenReply + 59, // [59:81] is the sub-list for method output_type + 37, // [37:59] is the sub-list for method input_type + 37, // [37:37] is the sub-list for extension type_name + 37, // [37:37] is the sub-list for extension extendee + 0, // [0:37] is the sub-list for field type_name +} + +func init() { file_threads_proto_init() } +func file_threads_proto_init() { + if File_threads_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_threads_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTokenRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTokenReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewDBRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewDBFromAddrRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectionConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Index); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewDBReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDBsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDBsReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDBInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDBInfoReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteDBRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteDBReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewCollectionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewCollectionReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateCollectionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateCollectionReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteCollectionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteCollectionReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCollectionInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCollectionInfoReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCollectionIndexesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCollectionIndexesReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCollectionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCollectionsReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifyReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SaveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SaveReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HasRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HasReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindByIDRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindByIDReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiscardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiscardReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartTransactionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadTransactionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadTransactionReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteTransactionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteTransactionReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListenRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListenReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDBsReply_DB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_threads_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListenRequest_Filter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_threads_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*GetTokenRequest_Key)(nil), + (*GetTokenRequest_Signature)(nil), + } + file_threads_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*GetTokenReply_Challenge)(nil), + (*GetTokenReply_Token)(nil), + } + file_threads_proto_msgTypes[42].OneofWrappers = []interface{}{ + (*ReadTransactionRequest_StartTransactionRequest)(nil), + (*ReadTransactionRequest_HasRequest)(nil), + (*ReadTransactionRequest_FindRequest)(nil), + (*ReadTransactionRequest_FindByIDRequest)(nil), + } + file_threads_proto_msgTypes[43].OneofWrappers = []interface{}{ + (*ReadTransactionReply_HasReply)(nil), + (*ReadTransactionReply_FindReply)(nil), + (*ReadTransactionReply_FindByIDReply)(nil), + } + file_threads_proto_msgTypes[44].OneofWrappers = []interface{}{ + (*WriteTransactionRequest_StartTransactionRequest)(nil), + (*WriteTransactionRequest_CreateRequest)(nil), + (*WriteTransactionRequest_VerifyRequest)(nil), + (*WriteTransactionRequest_SaveRequest)(nil), + (*WriteTransactionRequest_DeleteRequest)(nil), + (*WriteTransactionRequest_HasRequest)(nil), + (*WriteTransactionRequest_FindRequest)(nil), + (*WriteTransactionRequest_FindByIDRequest)(nil), + (*WriteTransactionRequest_DiscardRequest)(nil), + } + file_threads_proto_msgTypes[45].OneofWrappers = []interface{}{ + (*WriteTransactionReply_CreateReply)(nil), + (*WriteTransactionReply_VerifyReply)(nil), + (*WriteTransactionReply_SaveReply)(nil), + (*WriteTransactionReply_DeleteReply)(nil), + (*WriteTransactionReply_HasReply)(nil), + (*WriteTransactionReply_FindReply)(nil), + (*WriteTransactionReply_FindByIDReply)(nil), + (*WriteTransactionReply_DiscardReply)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_threads_proto_rawDesc, + NumEnums: 2, + NumMessages: 50, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_threads_proto_goTypes, + DependencyIndexes: file_threads_proto_depIdxs, + EnumInfos: file_threads_proto_enumTypes, + MessageInfos: file_threads_proto_msgTypes, + }.Build() + File_threads_proto = out.File + file_threads_proto_rawDesc = nil + file_threads_proto_goTypes = nil + file_threads_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // APIClient is the client API for API service. // @@ -3037,6 +4571,7 @@ type APIClient interface { UpdateCollection(ctx context.Context, in *UpdateCollectionRequest, opts ...grpc.CallOption) (*UpdateCollectionReply, error) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionReply, error) GetCollectionInfo(ctx context.Context, in *GetCollectionInfoRequest, opts ...grpc.CallOption) (*GetCollectionInfoReply, error) + // Deprecated: Do not use. GetCollectionIndexes(ctx context.Context, in *GetCollectionIndexesRequest, opts ...grpc.CallOption) (*GetCollectionIndexesReply, error) ListCollections(ctx context.Context, in *ListCollectionsRequest, opts ...grpc.CallOption) (*ListCollectionsReply, error) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateReply, error) @@ -3052,10 +4587,10 @@ type APIClient interface { } type aPIClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewAPIClient(cc *grpc.ClientConn) APIClient { +func NewAPIClient(cc grpc.ClientConnInterface) APIClient { return &aPIClient{cc} } @@ -3359,6 +4894,7 @@ type APIServer interface { UpdateCollection(context.Context, *UpdateCollectionRequest) (*UpdateCollectionReply, error) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionReply, error) GetCollectionInfo(context.Context, *GetCollectionInfoRequest) (*GetCollectionInfoReply, error) + // Deprecated: Do not use. GetCollectionIndexes(context.Context, *GetCollectionIndexesRequest) (*GetCollectionIndexesReply, error) ListCollections(context.Context, *ListCollectionsRequest) (*ListCollectionsReply, error) Create(context.Context, *CreateRequest) (*CreateReply, error) @@ -3377,70 +4913,70 @@ type APIServer interface { type UnimplementedAPIServer struct { } -func (*UnimplementedAPIServer) GetToken(srv API_GetTokenServer) error { +func (*UnimplementedAPIServer) GetToken(API_GetTokenServer) error { return status.Errorf(codes.Unimplemented, "method GetToken not implemented") } -func (*UnimplementedAPIServer) NewDB(ctx context.Context, req *NewDBRequest) (*NewDBReply, error) { +func (*UnimplementedAPIServer) NewDB(context.Context, *NewDBRequest) (*NewDBReply, error) { return nil, status.Errorf(codes.Unimplemented, "method NewDB not implemented") } -func (*UnimplementedAPIServer) NewDBFromAddr(ctx context.Context, req *NewDBFromAddrRequest) (*NewDBReply, error) { +func (*UnimplementedAPIServer) NewDBFromAddr(context.Context, *NewDBFromAddrRequest) (*NewDBReply, error) { return nil, status.Errorf(codes.Unimplemented, "method NewDBFromAddr not implemented") } -func (*UnimplementedAPIServer) ListDBs(ctx context.Context, req *ListDBsRequest) (*ListDBsReply, error) { +func (*UnimplementedAPIServer) ListDBs(context.Context, *ListDBsRequest) (*ListDBsReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDBs not implemented") } -func (*UnimplementedAPIServer) GetDBInfo(ctx context.Context, req *GetDBInfoRequest) (*GetDBInfoReply, error) { +func (*UnimplementedAPIServer) GetDBInfo(context.Context, *GetDBInfoRequest) (*GetDBInfoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetDBInfo not implemented") } -func (*UnimplementedAPIServer) DeleteDB(ctx context.Context, req *DeleteDBRequest) (*DeleteDBReply, error) { +func (*UnimplementedAPIServer) DeleteDB(context.Context, *DeleteDBRequest) (*DeleteDBReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteDB not implemented") } -func (*UnimplementedAPIServer) NewCollection(ctx context.Context, req *NewCollectionRequest) (*NewCollectionReply, error) { +func (*UnimplementedAPIServer) NewCollection(context.Context, *NewCollectionRequest) (*NewCollectionReply, error) { return nil, status.Errorf(codes.Unimplemented, "method NewCollection not implemented") } -func (*UnimplementedAPIServer) UpdateCollection(ctx context.Context, req *UpdateCollectionRequest) (*UpdateCollectionReply, error) { +func (*UnimplementedAPIServer) UpdateCollection(context.Context, *UpdateCollectionRequest) (*UpdateCollectionReply, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateCollection not implemented") } -func (*UnimplementedAPIServer) DeleteCollection(ctx context.Context, req *DeleteCollectionRequest) (*DeleteCollectionReply, error) { +func (*UnimplementedAPIServer) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteCollection not implemented") } -func (*UnimplementedAPIServer) GetCollectionInfo(ctx context.Context, req *GetCollectionInfoRequest) (*GetCollectionInfoReply, error) { +func (*UnimplementedAPIServer) GetCollectionInfo(context.Context, *GetCollectionInfoRequest) (*GetCollectionInfoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetCollectionInfo not implemented") } -func (*UnimplementedAPIServer) GetCollectionIndexes(ctx context.Context, req *GetCollectionIndexesRequest) (*GetCollectionIndexesReply, error) { +func (*UnimplementedAPIServer) GetCollectionIndexes(context.Context, *GetCollectionIndexesRequest) (*GetCollectionIndexesReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetCollectionIndexes not implemented") } -func (*UnimplementedAPIServer) ListCollections(ctx context.Context, req *ListCollectionsRequest) (*ListCollectionsReply, error) { +func (*UnimplementedAPIServer) ListCollections(context.Context, *ListCollectionsRequest) (*ListCollectionsReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ListCollections not implemented") } -func (*UnimplementedAPIServer) Create(ctx context.Context, req *CreateRequest) (*CreateReply, error) { +func (*UnimplementedAPIServer) Create(context.Context, *CreateRequest) (*CreateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") } -func (*UnimplementedAPIServer) Verify(ctx context.Context, req *VerifyRequest) (*VerifyReply, error) { +func (*UnimplementedAPIServer) Verify(context.Context, *VerifyRequest) (*VerifyReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Verify not implemented") } -func (*UnimplementedAPIServer) Save(ctx context.Context, req *SaveRequest) (*SaveReply, error) { +func (*UnimplementedAPIServer) Save(context.Context, *SaveRequest) (*SaveReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Save not implemented") } -func (*UnimplementedAPIServer) Delete(ctx context.Context, req *DeleteRequest) (*DeleteReply, error) { +func (*UnimplementedAPIServer) Delete(context.Context, *DeleteRequest) (*DeleteReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") } -func (*UnimplementedAPIServer) Has(ctx context.Context, req *HasRequest) (*HasReply, error) { +func (*UnimplementedAPIServer) Has(context.Context, *HasRequest) (*HasReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Has not implemented") } -func (*UnimplementedAPIServer) Find(ctx context.Context, req *FindRequest) (*FindReply, error) { +func (*UnimplementedAPIServer) Find(context.Context, *FindRequest) (*FindReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Find not implemented") } -func (*UnimplementedAPIServer) FindByID(ctx context.Context, req *FindByIDRequest) (*FindByIDReply, error) { +func (*UnimplementedAPIServer) FindByID(context.Context, *FindByIDRequest) (*FindByIDReply, error) { return nil, status.Errorf(codes.Unimplemented, "method FindByID not implemented") } -func (*UnimplementedAPIServer) ReadTransaction(srv API_ReadTransactionServer) error { +func (*UnimplementedAPIServer) ReadTransaction(API_ReadTransactionServer) error { return status.Errorf(codes.Unimplemented, "method ReadTransaction not implemented") } -func (*UnimplementedAPIServer) WriteTransaction(srv API_WriteTransactionServer) error { +func (*UnimplementedAPIServer) WriteTransaction(API_WriteTransactionServer) error { return status.Errorf(codes.Unimplemented, "method WriteTransaction not implemented") } -func (*UnimplementedAPIServer) Listen(req *ListenRequest, srv API_ListenServer) error { +func (*UnimplementedAPIServer) Listen(*ListenRequest, API_ListenServer) error { return status.Errorf(codes.Unimplemented, "method Listen not implemented") } diff --git a/api/pb/threads.proto b/api/pb/threads.proto index e31ca585..e3948f52 100644 --- a/api/pb/threads.proto +++ b/api/pb/threads.proto @@ -24,6 +24,9 @@ message NewDBRequest { bytes dbID = 1; repeated CollectionConfig collections = 2; string name = 3; + bool block = 5; + bytes threadKey = 6; + bytes logKey = 7; } message NewDBFromAddrRequest { @@ -32,6 +35,8 @@ message NewDBFromAddrRequest { repeated CollectionConfig collections = 3; string name = 4; bool block = 5; + bytes threadKey = 6; + bytes logKey = 7; } message CollectionConfig { diff --git a/api/service.go b/api/service.go index 9f72f37c..cf5fb5b9 100644 --- a/api/service.go +++ b/api/service.go @@ -9,6 +9,7 @@ import ( "github.com/alecthomas/jsonschema" logging "github.com/ipfs/go-log" + "github.com/libp2p/go-libp2p-core/crypto" ma "github.com/multiformats/go-multiaddr" pb "github.com/textileio/go-threads/api/pb" "github.com/textileio/go-threads/core/app" @@ -176,11 +177,25 @@ func (s *Service) NewDB(ctx context.Context, req *pb.NewDBRequest) (*pb.NewDBRep if err != nil { return nil, err } + var threadKey thread.Key + if req.ThreadKey != nil { + threadKey, err = thread.KeyFromBytes(req.ThreadKey) + if err != nil { + return nil, status.Error(codes.InvalidArgument, err.Error()) + } + } + logKey, err := logKeyFromBytes(req.LogKey) + if err != nil { + return nil, status.Error(codes.InvalidArgument, err.Error()) + } if _, err = s.manager.NewDB( ctx, id, db.WithNewManagedName(req.Name), db.WithNewManagedToken(token), + db.WithNewManagedBackfillBlock(req.Block), + db.WithNewManagedThreadKey(threadKey), + db.WithNewManagedLogKey(logKey), db.WithNewManagedCollections(collections...)); err != nil { return nil, err } @@ -210,6 +225,17 @@ func (s *Service) NewDBFromAddr(ctx context.Context, req *pb.NewDBFromAddrReques if err != nil { return nil, err } + var threadKey thread.Key + if req.ThreadKey != nil { + threadKey, err = thread.KeyFromBytes(req.ThreadKey) + if err != nil { + return nil, status.Error(codes.InvalidArgument, err.Error()) + } + } + logKey, err := logKeyFromBytes(req.LogKey) + if err != nil { + return nil, status.Error(codes.InvalidArgument, err.Error()) + } if _, err = s.manager.NewDBFromAddr( ctx, addr, @@ -217,12 +243,28 @@ func (s *Service) NewDBFromAddr(ctx context.Context, req *pb.NewDBFromAddrReques db.WithNewManagedName(req.Name), db.WithNewManagedToken(token), db.WithNewManagedCollections(collections...), + db.WithNewManagedThreadKey(threadKey), + db.WithNewManagedLogKey(logKey), db.WithNewManagedBackfillBlock(req.Block)); err != nil { return nil, err } return &pb.NewDBReply{}, nil } +func logKeyFromBytes(logKey []byte) (lk crypto.Key, err error) { + if logKey == nil { + return nil, nil + } + lk, err = crypto.UnmarshalPrivateKey(logKey) + if err != nil { + lk, err = crypto.UnmarshalPublicKey(logKey) + if err != nil { + return nil, errors.New("invalid log-key") + } + } + return lk, nil +} + func collectionConfigFromPb(pbc *pb.CollectionConfig) (db.CollectionConfig, error) { indexes := make([]db.Index, len(pbc.Indexes)) for i, index := range pbc.Indexes { diff --git a/go.mod b/go.mod index fc0f38b3..6975fe53 100644 --- a/go.mod +++ b/go.mod @@ -71,4 +71,5 @@ require ( golang.org/x/text v0.3.3 // indirect google.golang.org/genproto v0.0.0-20200428115010-c45acf45369a // indirect google.golang.org/grpc v1.31.0 + google.golang.org/protobuf v1.23.0 )