// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.30.0 // protoc v4.23.2 // source: db.proto package db import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) 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) ) type LoadUserReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` GameType string `protobuf:"bytes,2,opt,name=GameType,proto3" json:"GameType,omitempty"` Brand string `protobuf:"bytes,3,opt,name=brand,proto3" json:"brand,omitempty"` Group string `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"` } func (x *LoadUserReq) Reset() { *x = LoadUserReq{} if protoimpl.UnsafeEnabled { mi := &file_db_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *LoadUserReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*LoadUserReq) ProtoMessage() {} func (x *LoadUserReq) ProtoReflect() protoreflect.Message { mi := &file_db_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 LoadUserReq.ProtoReflect.Descriptor instead. func (*LoadUserReq) Descriptor() ([]byte, []int) { return file_db_proto_rawDescGZIP(), []int{0} } func (x *LoadUserReq) GetUid() string { if x != nil { return x.Uid } return "" } func (x *LoadUserReq) GetGameType() string { if x != nil { return x.GameType } return "" } func (x *LoadUserReq) GetBrand() string { if x != nil { return x.Brand } return "" } func (x *LoadUserReq) GetGroup() string { if x != nil { return x.Group } return "" } type KVUdata struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields K string `protobuf:"bytes,1,opt,name=k,proto3" json:"k,omitempty"` V string `protobuf:"bytes,2,opt,name=v,proto3" json:"v,omitempty"` } func (x *KVUdata) Reset() { *x = KVUdata{} if protoimpl.UnsafeEnabled { mi := &file_db_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *KVUdata) String() string { return protoimpl.X.MessageStringOf(x) } func (*KVUdata) ProtoMessage() {} func (x *KVUdata) ProtoReflect() protoreflect.Message { mi := &file_db_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) } // Deprecated: Use KVUdata.ProtoReflect.Descriptor instead. func (*KVUdata) Descriptor() ([]byte, []int) { return file_db_proto_rawDescGZIP(), []int{1} } func (x *KVUdata) GetK() string { if x != nil { return x.K } return "" } func (x *KVUdata) GetV() string { if x != nil { return x.V } return "" } type LoadUserRet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Udata []*KVUdata `protobuf:"bytes,1,rep,name=udata,proto3" json:"udata,omitempty"` ErrCode string `protobuf:"bytes,2,opt,name=errCode,proto3" json:"errCode,omitempty"` Gdata []*KVUdata `protobuf:"bytes,3,rep,name=gdata,proto3" json:"gdata,omitempty"` } func (x *LoadUserRet) Reset() { *x = LoadUserRet{} if protoimpl.UnsafeEnabled { mi := &file_db_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *LoadUserRet) String() string { return protoimpl.X.MessageStringOf(x) } func (*LoadUserRet) ProtoMessage() {} func (x *LoadUserRet) ProtoReflect() protoreflect.Message { mi := &file_db_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) } // Deprecated: Use LoadUserRet.ProtoReflect.Descriptor instead. func (*LoadUserRet) Descriptor() ([]byte, []int) { return file_db_proto_rawDescGZIP(), []int{2} } func (x *LoadUserRet) GetUdata() []*KVUdata { if x != nil { return x.Udata } return nil } func (x *LoadUserRet) GetErrCode() string { if x != nil { return x.ErrCode } return "" } func (x *LoadUserRet) GetGdata() []*KVUdata { if x != nil { return x.Gdata } return nil } type SetUserDataReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Udata []*KVUdata `protobuf:"bytes,3,rep,name=udata,proto3" json:"udata,omitempty"` GameType string `protobuf:"bytes,4,opt,name=GameType,proto3" json:"GameType,omitempty"` Brand string `protobuf:"bytes,5,opt,name=brand,proto3" json:"brand,omitempty"` Gdata []*KVUdata `protobuf:"bytes,6,rep,name=gdata,proto3" json:"gdata,omitempty"` Group string `protobuf:"bytes,7,opt,name=group,proto3" json:"group,omitempty"` } func (x *SetUserDataReq) Reset() { *x = SetUserDataReq{} if protoimpl.UnsafeEnabled { mi := &file_db_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SetUserDataReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetUserDataReq) ProtoMessage() {} func (x *SetUserDataReq) ProtoReflect() protoreflect.Message { mi := &file_db_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) } // Deprecated: Use SetUserDataReq.ProtoReflect.Descriptor instead. func (*SetUserDataReq) Descriptor() ([]byte, []int) { return file_db_proto_rawDescGZIP(), []int{3} } func (x *SetUserDataReq) GetVersion() int64 { if x != nil { return x.Version } return 0 } func (x *SetUserDataReq) GetUid() string { if x != nil { return x.Uid } return "" } func (x *SetUserDataReq) GetUdata() []*KVUdata { if x != nil { return x.Udata } return nil } func (x *SetUserDataReq) GetGameType() string { if x != nil { return x.GameType } return "" } func (x *SetUserDataReq) GetBrand() string { if x != nil { return x.Brand } return "" } func (x *SetUserDataReq) GetGdata() []*KVUdata { if x != nil { return x.Gdata } return nil } func (x *SetUserDataReq) GetGroup() string { if x != nil { return x.Group } return "" } type SetUserDataRet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` } func (x *SetUserDataRet) Reset() { *x = SetUserDataRet{} if protoimpl.UnsafeEnabled { mi := &file_db_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SetUserDataRet) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetUserDataRet) ProtoMessage() {} func (x *SetUserDataRet) ProtoReflect() protoreflect.Message { mi := &file_db_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) } // Deprecated: Use SetUserDataRet.ProtoReflect.Descriptor instead. func (*SetUserDataRet) Descriptor() ([]byte, []int) { return file_db_proto_rawDescGZIP(), []int{4} } func (x *SetUserDataRet) GetVersion() int64 { if x != nil { return x.Version } return 0 } func (x *SetUserDataRet) GetErr() string { if x != nil { return x.Err } return "" } type HeartReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` GameType string `protobuf:"bytes,2,opt,name=GameType,proto3" json:"GameType,omitempty"` Brand string `protobuf:"bytes,3,opt,name=brand,proto3" json:"brand,omitempty"` Group string `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"` } func (x *HeartReq) Reset() { *x = HeartReq{} if protoimpl.UnsafeEnabled { mi := &file_db_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *HeartReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*HeartReq) ProtoMessage() {} func (x *HeartReq) ProtoReflect() protoreflect.Message { mi := &file_db_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) } // Deprecated: Use HeartReq.ProtoReflect.Descriptor instead. func (*HeartReq) Descriptor() ([]byte, []int) { return file_db_proto_rawDescGZIP(), []int{5} } func (x *HeartReq) GetUid() string { if x != nil { return x.Uid } return "" } func (x *HeartReq) GetGameType() string { if x != nil { return x.GameType } return "" } func (x *HeartReq) GetBrand() string { if x != nil { return x.Brand } return "" } func (x *HeartReq) GetGroup() string { if x != nil { return x.Group } return "" } type HeartRet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` } func (x *HeartRet) Reset() { *x = HeartRet{} if protoimpl.UnsafeEnabled { mi := &file_db_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *HeartRet) String() string { return protoimpl.X.MessageStringOf(x) } func (*HeartRet) ProtoMessage() {} func (x *HeartRet) ProtoReflect() protoreflect.Message { mi := &file_db_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) } // Deprecated: Use HeartRet.ProtoReflect.Descriptor instead. func (*HeartRet) Descriptor() ([]byte, []int) { return file_db_proto_rawDescGZIP(), []int{6} } func (x *HeartRet) GetVersion() int32 { if x != nil { return x.Version } return 0 } type SetAuthDataReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` GameType string `protobuf:"bytes,2,opt,name=GameType,proto3" json:"GameType,omitempty"` Brand string `protobuf:"bytes,3,opt,name=brand,proto3" json:"brand,omitempty"` Udata []*KVUdata `protobuf:"bytes,4,rep,name=udata,proto3" json:"udata,omitempty"` Gdata []*KVUdata `protobuf:"bytes,5,rep,name=gdata,proto3" json:"gdata,omitempty"` } func (x *SetAuthDataReq) Reset() { *x = SetAuthDataReq{} if protoimpl.UnsafeEnabled { mi := &file_db_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SetAuthDataReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetAuthDataReq) ProtoMessage() {} func (x *SetAuthDataReq) ProtoReflect() protoreflect.Message { mi := &file_db_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 mi.MessageOf(x) } // Deprecated: Use SetAuthDataReq.ProtoReflect.Descriptor instead. func (*SetAuthDataReq) Descriptor() ([]byte, []int) { return file_db_proto_rawDescGZIP(), []int{7} } func (x *SetAuthDataReq) GetUid() string { if x != nil { return x.Uid } return "" } func (x *SetAuthDataReq) GetGameType() string { if x != nil { return x.GameType } return "" } func (x *SetAuthDataReq) GetBrand() string { if x != nil { return x.Brand } return "" } func (x *SetAuthDataReq) GetUdata() []*KVUdata { if x != nil { return x.Udata } return nil } func (x *SetAuthDataReq) GetGdata() []*KVUdata { if x != nil { return x.Gdata } return nil } type SetAuthDataRet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` } func (x *SetAuthDataRet) Reset() { *x = SetAuthDataRet{} if protoimpl.UnsafeEnabled { mi := &file_db_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SetAuthDataRet) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetAuthDataRet) ProtoMessage() {} func (x *SetAuthDataRet) ProtoReflect() protoreflect.Message { mi := &file_db_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 mi.MessageOf(x) } // Deprecated: Use SetAuthDataRet.ProtoReflect.Descriptor instead. func (*SetAuthDataRet) Descriptor() ([]byte, []int) { return file_db_proto_rawDescGZIP(), []int{8} } func (x *SetAuthDataRet) GetErr() string { if x != nil { return x.Err } return "" } var File_db_proto protoreflect.FileDescriptor var file_db_proto_rawDesc = []byte{ 0x0a, 0x08, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x64, 0x62, 0x22, 0x67, 0x0a, 0x0b, 0x4c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x25, 0x0a, 0x07, 0x4b, 0x56, 0x55, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0c, 0x0a, 0x01, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x01, 0x6b, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x01, 0x76, 0x22, 0x6d, 0x0a, 0x0b, 0x4c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x05, 0x75, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x64, 0x62, 0x2e, 0x4b, 0x56, 0x55, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x75, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x67, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x64, 0x62, 0x2e, 0x4b, 0x56, 0x55, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x67, 0x64, 0x61, 0x74, 0x61, 0x22, 0xca, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x05, 0x75, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x64, 0x62, 0x2e, 0x4b, 0x56, 0x55, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x75, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x21, 0x0a, 0x05, 0x67, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x64, 0x62, 0x2e, 0x4b, 0x56, 0x55, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x67, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x3c, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x72, 0x72, 0x22, 0x64, 0x0a, 0x08, 0x48, 0x65, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x24, 0x0a, 0x08, 0x48, 0x65, 0x61, 0x72, 0x74, 0x52, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9a, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x21, 0x0a, 0x05, 0x75, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x64, 0x62, 0x2e, 0x4b, 0x56, 0x55, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x75, 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x05, 0x67, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x64, 0x62, 0x2e, 0x4b, 0x56, 0x55, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x67, 0x64, 0x61, 0x74, 0x61, 0x22, 0x22, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x72, 0x72, 0x32, 0xce, 0x01, 0x0a, 0x03, 0x53, 0x72, 0x76, 0x12, 0x2e, 0x0a, 0x08, 0x4c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0f, 0x2e, 0x64, 0x62, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e, 0x64, 0x62, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x74, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x2e, 0x64, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x64, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x74, 0x22, 0x00, 0x12, 0x25, 0x0a, 0x05, 0x48, 0x65, 0x61, 0x72, 0x74, 0x12, 0x0c, 0x2e, 0x64, 0x62, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x0c, 0x2e, 0x64, 0x62, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x52, 0x65, 0x74, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x2e, 0x64, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x64, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x74, 0x22, 0x00, 0x42, 0x07, 0x5a, 0x05, 0x70, 0x62, 0x2f, 0x64, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_db_proto_rawDescOnce sync.Once file_db_proto_rawDescData = file_db_proto_rawDesc ) func file_db_proto_rawDescGZIP() []byte { file_db_proto_rawDescOnce.Do(func() { file_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_db_proto_rawDescData) }) return file_db_proto_rawDescData } var file_db_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_db_proto_goTypes = []interface{}{ (*LoadUserReq)(nil), // 0: db.LoadUserReq (*KVUdata)(nil), // 1: db.KVUdata (*LoadUserRet)(nil), // 2: db.LoadUserRet (*SetUserDataReq)(nil), // 3: db.SetUserDataReq (*SetUserDataRet)(nil), // 4: db.SetUserDataRet (*HeartReq)(nil), // 5: db.HeartReq (*HeartRet)(nil), // 6: db.HeartRet (*SetAuthDataReq)(nil), // 7: db.SetAuthDataReq (*SetAuthDataRet)(nil), // 8: db.SetAuthDataRet } var file_db_proto_depIdxs = []int32{ 1, // 0: db.LoadUserRet.udata:type_name -> db.KVUdata 1, // 1: db.LoadUserRet.gdata:type_name -> db.KVUdata 1, // 2: db.SetUserDataReq.udata:type_name -> db.KVUdata 1, // 3: db.SetUserDataReq.gdata:type_name -> db.KVUdata 1, // 4: db.SetAuthDataReq.udata:type_name -> db.KVUdata 1, // 5: db.SetAuthDataReq.gdata:type_name -> db.KVUdata 0, // 6: db.Srv.LoadUser:input_type -> db.LoadUserReq 3, // 7: db.Srv.SetUserData:input_type -> db.SetUserDataReq 5, // 8: db.Srv.Heart:input_type -> db.HeartReq 7, // 9: db.Srv.SetAuthData:input_type -> db.SetAuthDataReq 2, // 10: db.Srv.LoadUser:output_type -> db.LoadUserRet 4, // 11: db.Srv.SetUserData:output_type -> db.SetUserDataRet 6, // 12: db.Srv.Heart:output_type -> db.HeartRet 8, // 13: db.Srv.SetAuthData:output_type -> db.SetAuthDataRet 10, // [10:14] is the sub-list for method output_type 6, // [6:10] is the sub-list for method input_type 6, // [6:6] is the sub-list for extension type_name 6, // [6:6] is the sub-list for extension extendee 0, // [0:6] is the sub-list for field type_name } func init() { file_db_proto_init() } func file_db_proto_init() { if File_db_proto != nil { return } if !protoimpl.UnsafeEnabled { file_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoadUserReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*KVUdata); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoadUserRet); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SetUserDataReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SetUserDataRet); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_db_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HeartReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_db_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HeartRet); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_db_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SetAuthDataReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_db_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SetAuthDataRet); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_db_proto_rawDesc, NumEnums: 0, NumMessages: 9, NumExtensions: 0, NumServices: 1, }, GoTypes: file_db_proto_goTypes, DependencyIndexes: file_db_proto_depIdxs, MessageInfos: file_db_proto_msgTypes, }.Build() File_db_proto = out.File file_db_proto_rawDesc = nil file_db_proto_goTypes = nil file_db_proto_depIdxs = nil }