Commit 1528762b by Li Feifei

update im_user proto file

parent dbd843ee
......@@ -30,17 +30,23 @@ const (
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
//注册登录
//用户注册修改
type ImUserRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Common *Common `protobuf:"bytes,1,opt,name=Common,proto3" json:"Common,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
Mobile string `protobuf:"bytes,3,opt,name=Mobile,proto3" json:"Mobile,omitempty"`
Code string `protobuf:"bytes,4,opt,name=Code,proto3" json:"Code,omitempty"`
Platform string `protobuf:"bytes,5,opt,name=Platform,proto3" json:"Platform,omitempty"`
Accid string `protobuf:"bytes,2,opt,name=Accid,proto3" json:"Accid,omitempty"`
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
Icon string `protobuf:"bytes,4,opt,name=Icon,proto3" json:"Icon,omitempty"`
Token string `protobuf:"bytes,5,opt,name=Token,proto3" json:"Token,omitempty"`
Sign string `protobuf:"bytes,6,opt,name=Sign,proto3" json:"Sign,omitempty"`
Email string `protobuf:"bytes,7,opt,name=Email,proto3" json:"Email,omitempty"`
Birth string `protobuf:"bytes,8,opt,name=Birth,proto3" json:"Birth,omitempty"`
Mobile string `protobuf:"bytes,9,opt,name=Mobile,proto3" json:"Mobile,omitempty"`
Gender int64 `protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"`
Ex string `protobuf:"bytes,11,opt,name=Ex,proto3" json:"Ex,omitempty"`
}
func (x *ImUserRequest) Reset() {
......@@ -82,6 +88,13 @@ func (x *ImUserRequest) GetCommon() *Common {
return nil
}
func (x *ImUserRequest) GetAccid() string {
if x != nil {
return x.Accid
}
return ""
}
func (x *ImUserRequest) GetName() string {
if x != nil {
return x.Name
......@@ -89,6 +102,41 @@ func (x *ImUserRequest) GetName() string {
return ""
}
func (x *ImUserRequest) GetIcon() string {
if x != nil {
return x.Icon
}
return ""
}
func (x *ImUserRequest) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
func (x *ImUserRequest) GetSign() string {
if x != nil {
return x.Sign
}
return ""
}
func (x *ImUserRequest) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
func (x *ImUserRequest) GetBirth() string {
if x != nil {
return x.Birth
}
return ""
}
func (x *ImUserRequest) GetMobile() string {
if x != nil {
return x.Mobile
......@@ -96,30 +144,33 @@ func (x *ImUserRequest) GetMobile() string {
return ""
}
func (x *ImUserRequest) GetCode() string {
func (x *ImUserRequest) GetGender() int64 {
if x != nil {
return x.Code
return x.Gender
}
return ""
return 0
}
func (x *ImUserRequest) GetPlatform() string {
func (x *ImUserRequest) GetEx() string {
if x != nil {
return x.Platform
return x.Ex
}
return ""
}
type ImUserReply struct {
//注册返回
type ImUserRegReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"`
Accid string `protobuf:"bytes,2,opt,name=Accid,proto3" json:"Accid,omitempty"`
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
}
func (x *ImUserReply) Reset() {
*x = ImUserReply{}
func (x *ImUserRegReply) Reset() {
*x = ImUserRegReply{}
if protoimpl.UnsafeEnabled {
mi := &file_u_proto_im_user_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
......@@ -127,13 +178,13 @@ func (x *ImUserReply) Reset() {
}
}
func (x *ImUserReply) String() string {
func (x *ImUserRegReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ImUserReply) ProtoMessage() {}
func (*ImUserRegReply) ProtoMessage() {}
func (x *ImUserReply) ProtoReflect() protoreflect.Message {
func (x *ImUserRegReply) ProtoReflect() protoreflect.Message {
mi := &file_u_proto_im_user_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
......@@ -145,20 +196,34 @@ func (x *ImUserReply) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use ImUserReply.ProtoReflect.Descriptor instead.
func (*ImUserReply) Descriptor() ([]byte, []int) {
// Deprecated: Use ImUserRegReply.ProtoReflect.Descriptor instead.
func (*ImUserRegReply) Descriptor() ([]byte, []int) {
return file_u_proto_im_user_proto_rawDescGZIP(), []int{1}
}
func (x *ImUserReply) GetAccid() string {
func (x *ImUserRegReply) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
func (x *ImUserRegReply) GetAccid() string {
if x != nil {
return x.Accid
}
return ""
}
//用户退出
type ImUserOutRequest struct {
func (x *ImUserRegReply) GetName() string {
if x != nil {
return x.Name
}
return ""
}
//用户登录退出
type ImUserLoginRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
......@@ -168,8 +233,8 @@ type ImUserOutRequest struct {
Platform string `protobuf:"bytes,3,opt,name=Platform,proto3" json:"Platform,omitempty"`
}
func (x *ImUserOutRequest) Reset() {
*x = ImUserOutRequest{}
func (x *ImUserLoginRequest) Reset() {
*x = ImUserLoginRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_u_proto_im_user_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
......@@ -177,13 +242,13 @@ func (x *ImUserOutRequest) Reset() {
}
}
func (x *ImUserOutRequest) String() string {
func (x *ImUserLoginRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ImUserOutRequest) ProtoMessage() {}
func (*ImUserLoginRequest) ProtoMessage() {}
func (x *ImUserOutRequest) ProtoReflect() protoreflect.Message {
func (x *ImUserLoginRequest) ProtoReflect() protoreflect.Message {
mi := &file_u_proto_im_user_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
......@@ -195,26 +260,26 @@ func (x *ImUserOutRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use ImUserOutRequest.ProtoReflect.Descriptor instead.
func (*ImUserOutRequest) Descriptor() ([]byte, []int) {
// Deprecated: Use ImUserLoginRequest.ProtoReflect.Descriptor instead.
func (*ImUserLoginRequest) Descriptor() ([]byte, []int) {
return file_u_proto_im_user_proto_rawDescGZIP(), []int{2}
}
func (x *ImUserOutRequest) GetCommon() *Common {
func (x *ImUserLoginRequest) GetCommon() *Common {
if x != nil {
return x.Common
}
return nil
}
func (x *ImUserOutRequest) GetAccid() string {
func (x *ImUserLoginRequest) GetAccid() string {
if x != nil {
return x.Accid
}
return ""
}
func (x *ImUserOutRequest) GetPlatform() string {
func (x *ImUserLoginRequest) GetPlatform() string {
if x != nil {
return x.Platform
}
......@@ -285,6 +350,7 @@ func (x *ImUserSetRequest) GetAccid() string {
return ""
}
//修改返回
type ImUserSetReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
......@@ -387,15 +453,15 @@ type ImUserOneReply struct {
Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
Accid string `protobuf:"bytes,2,opt,name=Accid,proto3" json:"Accid,omitempty"`
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
Mobile string `protobuf:"bytes,4,opt,name=Mobile,proto3" json:"Mobile,omitempty"`
Disable int64 `protobuf:"varint,5,opt,name=Disable,proto3" json:"Disable,omitempty"`
MuteEstoppel int64 `protobuf:"varint,6,opt,name=MuteEstoppel,proto3" json:"MuteEstoppel,omitempty"`
MuteAudioVideo int64 `protobuf:"varint,7,opt,name=MuteAudioVideo,proto3" json:"MuteAudioVideo,omitempty"`
Ext string `protobuf:"bytes,8,opt,name=Ext,proto3" json:"Ext,omitempty"`
Createtime string `protobuf:"bytes,9,opt,name=Createtime,proto3" json:"Createtime,omitempty"`
Updatetime string `protobuf:"bytes,10,opt,name=Updatetime,proto3" json:"Updatetime,omitempty"`
LoginStatus int64 `protobuf:"varint,11,opt,name=LoginStatus,proto3" json:"LoginStatus,omitempty"`
Platform string `protobuf:"bytes,12,opt,name=Platform,proto3" json:"Platform,omitempty"`
Sing string `protobuf:"bytes,4,opt,name=Sing,proto3" json:"Sing,omitempty"`
Email string `protobuf:"bytes,5,opt,name=Email,proto3" json:"Email,omitempty"`
Birth string `protobuf:"bytes,6,opt,name=Birth,proto3" json:"Birth,omitempty"`
Mobile string `protobuf:"bytes,7,opt,name=Mobile,proto3" json:"Mobile,omitempty"`
Valid int64 `protobuf:"varint,8,opt,name=Valid,proto3" json:"Valid,omitempty"`
MuteEstoppel int64 `protobuf:"varint,9,opt,name=MuteEstoppel,proto3" json:"MuteEstoppel,omitempty"`
MuteAudioVideo int64 `protobuf:"varint,10,opt,name=MuteAudioVideo,proto3" json:"MuteAudioVideo,omitempty"`
Ext string `protobuf:"bytes,11,opt,name=Ext,proto3" json:"Ext,omitempty"`
Gender int64 `protobuf:"varint,12,opt,name=Gender,proto3" json:"Gender,omitempty"`
Edition string `protobuf:"bytes,13,opt,name=Edition,proto3" json:"Edition,omitempty"`
}
......@@ -452,6 +518,27 @@ func (x *ImUserOneReply) GetName() string {
return ""
}
func (x *ImUserOneReply) GetSing() string {
if x != nil {
return x.Sing
}
return ""
}
func (x *ImUserOneReply) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
func (x *ImUserOneReply) GetBirth() string {
if x != nil {
return x.Birth
}
return ""
}
func (x *ImUserOneReply) GetMobile() string {
if x != nil {
return x.Mobile
......@@ -459,9 +546,9 @@ func (x *ImUserOneReply) GetMobile() string {
return ""
}
func (x *ImUserOneReply) GetDisable() int64 {
func (x *ImUserOneReply) GetValid() int64 {
if x != nil {
return x.Disable
return x.Valid
}
return 0
}
......@@ -487,34 +574,13 @@ func (x *ImUserOneReply) GetExt() string {
return ""
}
func (x *ImUserOneReply) GetCreatetime() string {
func (x *ImUserOneReply) GetGender() int64 {
if x != nil {
return x.Createtime
}
return ""
}
func (x *ImUserOneReply) GetUpdatetime() string {
if x != nil {
return x.Updatetime
}
return ""
}
func (x *ImUserOneReply) GetLoginStatus() int64 {
if x != nil {
return x.LoginStatus
return x.Gender
}
return 0
}
func (x *ImUserOneReply) GetPlatform() string {
if x != nil {
return x.Platform
}
return ""
}
func (x *ImUserOneReply) GetEdition() string {
if x != nil {
return x.Edition
......@@ -532,15 +598,12 @@ type ImUserListRequest struct {
Page int64 `protobuf:"varint,2,opt,name=Page,proto3" json:"Page,omitempty"`
Mobile string `protobuf:"bytes,3,opt,name=Mobile,proto3" json:"Mobile,omitempty"`
Name string `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
Disable int64 `protobuf:"varint,5,opt,name=Disable,proto3" json:"Disable,omitempty"`
Valid int64 `protobuf:"varint,5,opt,name=Valid,proto3" json:"Valid,omitempty"`
MuteEstoppel int64 `protobuf:"varint,6,opt,name=MuteEstoppel,proto3" json:"MuteEstoppel,omitempty"`
MuteAudioVideo int64 `protobuf:"varint,7,opt,name=MuteAudioVideo,proto3" json:"MuteAudioVideo,omitempty"`
Ext string `protobuf:"bytes,8,opt,name=Ext,proto3" json:"Ext,omitempty"`
Gender int64 `protobuf:"varint,8,opt,name=Gender,proto3" json:"Gender,omitempty"`
Createtime string `protobuf:"bytes,9,opt,name=Createtime,proto3" json:"Createtime,omitempty"`
Updatetime string `protobuf:"bytes,10,opt,name=Updatetime,proto3" json:"Updatetime,omitempty"`
LoginStatus int64 `protobuf:"varint,11,opt,name=LoginStatus,proto3" json:"LoginStatus,omitempty"`
Platform string `protobuf:"bytes,12,opt,name=Platform,proto3" json:"Platform,omitempty"`
Edition string `protobuf:"bytes,13,opt,name=Edition,proto3" json:"Edition,omitempty"`
Edition string `protobuf:"bytes,10,opt,name=Edition,proto3" json:"Edition,omitempty"`
}
func (x *ImUserListRequest) Reset() {
......@@ -603,9 +666,9 @@ func (x *ImUserListRequest) GetName() string {
return ""
}
func (x *ImUserListRequest) GetDisable() int64 {
func (x *ImUserListRequest) GetValid() int64 {
if x != nil {
return x.Disable
return x.Valid
}
return 0
}
......@@ -624,11 +687,11 @@ func (x *ImUserListRequest) GetMuteAudioVideo() int64 {
return 0
}
func (x *ImUserListRequest) GetExt() string {
func (x *ImUserListRequest) GetGender() int64 {
if x != nil {
return x.Ext
return x.Gender
}
return ""
return 0
}
func (x *ImUserListRequest) GetCreatetime() string {
......@@ -638,27 +701,6 @@ func (x *ImUserListRequest) GetCreatetime() string {
return ""
}
func (x *ImUserListRequest) GetUpdatetime() string {
if x != nil {
return x.Updatetime
}
return ""
}
func (x *ImUserListRequest) GetLoginStatus() int64 {
if x != nil {
return x.LoginStatus
}
return 0
}
func (x *ImUserListRequest) GetPlatform() string {
if x != nil {
return x.Platform
}
return ""
}
func (x *ImUserListRequest) GetEdition() string {
if x != nil {
return x.Edition
......@@ -730,122 +772,128 @@ var file_u_proto_im_user_proto_rawDesc = []byte{
0x6f, 0x1a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x77,
0x69, 0x74, 0x6b, 0x6f, 0x77, 0x2f, 0x67, 0x6f, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2d, 0x76,
0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x01, 0x0a, 0x0d, 0x49, 0x6d,
0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x02, 0x0a, 0x0d, 0x49, 0x6d,
0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x06, 0x43,
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62,
0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12,
0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x06, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x42, 0x09, 0xe2, 0xdf, 0x1f, 0x05, 0x58, 0x01, 0x80, 0x01, 0x0b, 0x52, 0x06,
0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x04, 0x43, 0x6f,
0x64, 0x65, 0x12, 0x22, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x05,
0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x08, 0x50, 0x6c,
0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0x23, 0x0a, 0x0b, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72,
0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64, 0x22, 0x78, 0x0a, 0x10, 0x49,
0x6d, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x22, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x06, 0x43, 0x6f, 0x6d,
0x6d, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x05, 0x41, 0x63, 0x63, 0x69,
0x64, 0x12, 0x22, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x08, 0x50, 0x6c, 0x61,
0x74, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0x68, 0x0a, 0x10, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x53,
0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x06, 0x43, 0x6f, 0x6d,
0x1c, 0x0a, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06,
0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64, 0x12, 0x12, 0x0a,
0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d,
0x65, 0x12, 0x12, 0x0a, 0x04, 0x49, 0x63, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x04, 0x49, 0x63, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x53,
0x69, 0x67, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x12,
0x14, 0x0a, 0x05, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x42, 0x69, 0x72, 0x74, 0x68, 0x18, 0x08,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x42, 0x69, 0x72, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x4d,
0x6f, 0x62, 0x69, 0x6c, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4d, 0x6f, 0x62,
0x69, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x0a, 0x20,
0x01, 0x28, 0x03, 0x52, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x45,
0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x45, 0x78, 0x22, 0x50, 0x0a, 0x0e, 0x49,
0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a,
0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x54, 0x6f,
0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d,
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x7a, 0x0a,
0x12, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52,
0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x05,
0x41, 0x63, 0x63, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52,
0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0x68, 0x0a, 0x10, 0x49, 0x6d, 0x55,
0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a,
0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e,
0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
0x6e, 0x12, 0x12, 0x0a, 0x04, 0x4d, 0x75, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
0x04, 0x4d, 0x75, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64, 0x18, 0x03,
0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x05, 0x41, 0x63,
0x63, 0x69, 0x64, 0x22, 0x10, 0x0a, 0x0e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74,
0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x54, 0x0a, 0x10, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4f,
0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x06, 0x43, 0x6f, 0x6d,
0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x43,
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
0x04, 0x4d, 0x75, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x4d, 0x75, 0x74,
0x65, 0x12, 0x1c, 0x0a, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64, 0x22,
0x10, 0x0a, 0x0e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c,
0x79, 0x22, 0x54, 0x0a, 0x10, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x6e, 0x65, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
0x6e, 0x52, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x05, 0x41, 0x63, 0x63,
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01,
0x52, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64, 0x22, 0xf2, 0x02, 0x0a, 0x0e, 0x49, 0x6d, 0x55, 0x73,
0x65, 0x72, 0x4f, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x41, 0x63,
0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64,
0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07,
0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x44,
0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x4d, 0x75, 0x74, 0x65, 0x45, 0x73,
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x1c, 0x0a,
0x05, 0x41, 0x63, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf,
0x1f, 0x02, 0x58, 0x01, 0x52, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64, 0x22, 0xc8, 0x02, 0x0a, 0x0e,
0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x0e,
0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x64, 0x12, 0x14,
0x0a, 0x05, 0x41, 0x63, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x41,
0x63, 0x63, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x69, 0x6e, 0x67,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x53, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05,
0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x45, 0x6d, 0x61,
0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x42, 0x69, 0x72, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28,
0x09, 0x52, 0x05, 0x42, 0x69, 0x72, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x4d, 0x6f, 0x62, 0x69,
0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65,
0x12, 0x14, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52,
0x05, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x4d, 0x75, 0x74, 0x65, 0x45, 0x73,
0x74, 0x6f, 0x70, 0x70, 0x65, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x4d, 0x75,
0x74, 0x65, 0x45, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x6c, 0x12, 0x26, 0x0a, 0x0e, 0x4d, 0x75,
0x74, 0x65, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x18, 0x0a, 0x20, 0x01,
0x28, 0x03, 0x52, 0x0e, 0x4d, 0x75, 0x74, 0x65, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x56, 0x69, 0x64,
0x65, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x45, 0x78, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x45, 0x78, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x0c,
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07,
0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x45,
0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xab, 0x02, 0x0a, 0x11, 0x49, 0x6d, 0x55, 0x73, 0x65,
0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x06,
0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70,
0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
0x50, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x18, 0x03,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04,
0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65,
0x12, 0x14, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
0x05, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x4d, 0x75, 0x74, 0x65, 0x45, 0x73,
0x74, 0x6f, 0x70, 0x70, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x4d, 0x75,
0x74, 0x65, 0x45, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x6c, 0x12, 0x26, 0x0a, 0x0e, 0x4d, 0x75,
0x74, 0x65, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x18, 0x07, 0x20, 0x01,
0x28, 0x03, 0x52, 0x0e, 0x4d, 0x75, 0x74, 0x65, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x56, 0x69, 0x64,
0x65, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x45, 0x78, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x45, 0x78, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x69,
0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
0x74, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69,
0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
0x74, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x61,
0x74, 0x75, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f,
0x72, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f,
0x72, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x87, 0x03, 0x0a,
0x11, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x22, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x06,
0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x4d, 0x6f,
0x62, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4d, 0x6f, 0x62, 0x69,
0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c,
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
0x12, 0x22, 0x0a, 0x0c, 0x4d, 0x75, 0x74, 0x65, 0x45, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x6c,
0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x4d, 0x75, 0x74, 0x65, 0x45, 0x73, 0x74, 0x6f,
0x70, 0x70, 0x65, 0x6c, 0x12, 0x26, 0x0a, 0x0e, 0x4d, 0x75, 0x74, 0x65, 0x41, 0x75, 0x64, 0x69,
0x6f, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x4d, 0x75,
0x74, 0x65, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x12, 0x10, 0x0a, 0x03,
0x45, 0x78, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x45, 0x78, 0x74, 0x12, 0x1e,
0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1e,
0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x20,
0x0a, 0x0b, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0b, 0x20,
0x01, 0x28, 0x03, 0x52, 0x0b, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
0x12, 0x1a, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x0c, 0x20, 0x01,
0x28, 0x09, 0x52, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x18, 0x0a, 0x07,
0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x45,
0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5f, 0x0a, 0x0f, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72,
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x26, 0x0a, 0x04, 0x4c, 0x69, 0x73,
0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55,
0x73, 0x65, 0x72, 0x4f, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x52, 0x04, 0x4c, 0x69, 0x73,
0x74, 0x12, 0x24, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x08, 0x50,
0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x32, 0xad, 0x03, 0x0a, 0x06, 0x49, 0x6d, 0x55, 0x73,
0x65, 0x72, 0x12, 0x36, 0x0a, 0x0e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69,
0x73, 0x74, 0x65, 0x72, 0x12, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55,
0x73, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x33, 0x0a, 0x0b, 0x49, 0x6d,
0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x49,
0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x70,
0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12,
0x3c, 0x0a, 0x0e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x4f, 0x75,
0x74, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x75, 0x74,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55,
0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x42, 0x0a,
0x14, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x62, 0x69, 0x64, 0x64, 0x65, 0x6e,
0x57, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65,
0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x70, 0x62,
0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22,
0x00, 0x12, 0x3f, 0x0a, 0x11, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x62, 0x69,
0x64, 0x64, 0x65, 0x6e, 0x41, 0x56, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73,
0x65, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x70,
0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
0x22, 0x00, 0x12, 0x37, 0x0a, 0x09, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x6e, 0x65, 0x12,
0x14, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x6e, 0x65, 0x52, 0x65,
0x65, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01,
0x28, 0x03, 0x52, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x64,
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x45, 0x64, 0x69,
0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5f, 0x0a, 0x0f, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69,
0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x26, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x18,
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65,
0x72, 0x4f, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x52, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12,
0x24, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x08, 0x50, 0x61, 0x67,
0x69, 0x6e, 0x61, 0x74, 0x65, 0x32, 0xf1, 0x03, 0x0a, 0x06, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72,
0x12, 0x39, 0x0a, 0x0e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
0x65, 0x72, 0x12, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65,
0x72, 0x4f, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x0a, 0x49,
0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x49,
0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74,
0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x72, 0x52, 0x65, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x35, 0x0a, 0x0a, 0x49,
0x6d, 0x75, 0x73, 0x65, 0x72, 0x53, 0x61, 0x76, 0x65, 0x12, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x49,
0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x70,
0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
0x22, 0x00, 0x12, 0x3b, 0x0a, 0x0b, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69,
0x6e, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67,
0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x49,
0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12,
0x3e, 0x0a, 0x0e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x4f, 0x75,
0x74, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67,
0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x49,
0x6d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12,
0x42, 0x0a, 0x14, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x62, 0x69, 0x64, 0x64,
0x65, 0x6e, 0x57, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55,
0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e,
0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c,
0x79, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x11, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x46, 0x6f, 0x72,
0x62, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x41, 0x56, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d,
0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12,
0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70,
0x6c, 0x79, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x09, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x6e,
0x65, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x6e, 0x65,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55,
0x73, 0x65, 0x72, 0x4f, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3a, 0x0a,
0x0a, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x15, 0x2e, 0x70, 0x62,
0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69,
0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
var (
......@@ -863,8 +911,8 @@ func file_u_proto_im_user_proto_rawDescGZIP() []byte {
var file_u_proto_im_user_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_u_proto_im_user_proto_goTypes = []interface{}{
(*ImUserRequest)(nil), // 0: pb.ImUserRequest
(*ImUserReply)(nil), // 1: pb.ImUserReply
(*ImUserOutRequest)(nil), // 2: pb.ImUserOutRequest
(*ImUserRegReply)(nil), // 1: pb.ImUserRegReply
(*ImUserLoginRequest)(nil), // 2: pb.ImUserLoginRequest
(*ImUserSetRequest)(nil), // 3: pb.ImUserSetRequest
(*ImUserSetReply)(nil), // 4: pb.ImUserSetReply
(*ImUserOneRequest)(nil), // 5: pb.ImUserOneRequest
......@@ -876,28 +924,30 @@ var file_u_proto_im_user_proto_goTypes = []interface{}{
}
var file_u_proto_im_user_proto_depIdxs = []int32{
9, // 0: pb.ImUserRequest.Common:type_name -> pb.Common
9, // 1: pb.ImUserOutRequest.Common:type_name -> pb.Common
9, // 1: pb.ImUserLoginRequest.Common:type_name -> pb.Common
9, // 2: pb.ImUserSetRequest.Common:type_name -> pb.Common
9, // 3: pb.ImUserOneRequest.Common:type_name -> pb.Common
9, // 4: pb.ImUserListRequest.Common:type_name -> pb.Common
6, // 5: pb.ImUserListReply.List:type_name -> pb.ImUserOneReply
10, // 6: pb.ImUserListReply.Paginate:type_name -> pb.Page
0, // 7: pb.ImUser.ImUserRegister:input_type -> pb.ImUserRequest
0, // 8: pb.ImUser.ImUserLogin:input_type -> pb.ImUserRequest
2, // 9: pb.ImUser.ImUserLoginOut:input_type -> pb.ImUserOutRequest
3, // 10: pb.ImUser.ImUserForbiddenWords:input_type -> pb.ImUserSetRequest
3, // 11: pb.ImUser.ImUserForbiddenAV:input_type -> pb.ImUserSetRequest
5, // 12: pb.ImUser.ImUserOne:input_type -> pb.ImUserOneRequest
7, // 13: pb.ImUser.ImUserList:input_type -> pb.ImUserListRequest
1, // 14: pb.ImUser.ImUserRegister:output_type -> pb.ImUserReply
1, // 15: pb.ImUser.ImUserLogin:output_type -> pb.ImUserReply
4, // 16: pb.ImUser.ImUserLoginOut:output_type -> pb.ImUserSetReply
4, // 17: pb.ImUser.ImUserForbiddenWords:output_type -> pb.ImUserSetReply
4, // 18: pb.ImUser.ImUserForbiddenAV:output_type -> pb.ImUserSetReply
6, // 19: pb.ImUser.ImUserOne:output_type -> pb.ImUserOneReply
8, // 20: pb.ImUser.ImUserList:output_type -> pb.ImUserListReply
14, // [14:21] is the sub-list for method output_type
7, // [7:14] is the sub-list for method input_type
0, // 8: pb.ImUser.ImuserSave:input_type -> pb.ImUserRequest
2, // 9: pb.ImUser.ImUserLogin:input_type -> pb.ImUserLoginRequest
2, // 10: pb.ImUser.ImUserLoginOut:input_type -> pb.ImUserLoginRequest
3, // 11: pb.ImUser.ImUserForbiddenWords:input_type -> pb.ImUserSetRequest
3, // 12: pb.ImUser.ImUserForbiddenAV:input_type -> pb.ImUserSetRequest
5, // 13: pb.ImUser.ImUserOne:input_type -> pb.ImUserOneRequest
7, // 14: pb.ImUser.ImUserList:input_type -> pb.ImUserListRequest
1, // 15: pb.ImUser.ImUserRegister:output_type -> pb.ImUserRegReply
4, // 16: pb.ImUser.ImuserSave:output_type -> pb.ImUserSetReply
1, // 17: pb.ImUser.ImUserLogin:output_type -> pb.ImUserRegReply
4, // 18: pb.ImUser.ImUserLoginOut:output_type -> pb.ImUserSetReply
4, // 19: pb.ImUser.ImUserForbiddenWords:output_type -> pb.ImUserSetReply
4, // 20: pb.ImUser.ImUserForbiddenAV:output_type -> pb.ImUserSetReply
6, // 21: pb.ImUser.ImUserOne:output_type -> pb.ImUserOneReply
8, // 22: pb.ImUser.ImUserList:output_type -> pb.ImUserListReply
15, // [15:23] is the sub-list for method output_type
7, // [7:15] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
7, // [7:7] is the sub-list for extension extendee
0, // [0:7] is the sub-list for field type_name
......@@ -923,7 +973,7 @@ func file_u_proto_im_user_proto_init() {
}
}
file_u_proto_im_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ImUserReply); i {
switch v := v.(*ImUserRegReply); i {
case 0:
return &v.state
case 1:
......@@ -935,7 +985,7 @@ func file_u_proto_im_user_proto_init() {
}
}
file_u_proto_im_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ImUserOutRequest); i {
switch v := v.(*ImUserLoginRequest); i {
case 0:
return &v.state
case 1:
......@@ -1051,9 +1101,10 @@ const _ = grpc.SupportPackageIsVersion6
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ImUserClient interface {
ImUserRegister(ctx context.Context, in *ImUserRequest, opts ...grpc.CallOption) (*ImUserReply, error)
ImUserLogin(ctx context.Context, in *ImUserRequest, opts ...grpc.CallOption) (*ImUserReply, error)
ImUserLoginOut(ctx context.Context, in *ImUserOutRequest, opts ...grpc.CallOption) (*ImUserSetReply, error)
ImUserRegister(ctx context.Context, in *ImUserRequest, opts ...grpc.CallOption) (*ImUserRegReply, error)
ImuserSave(ctx context.Context, in *ImUserRequest, opts ...grpc.CallOption) (*ImUserSetReply, error)
ImUserLogin(ctx context.Context, in *ImUserLoginRequest, opts ...grpc.CallOption) (*ImUserRegReply, error)
ImUserLoginOut(ctx context.Context, in *ImUserLoginRequest, opts ...grpc.CallOption) (*ImUserSetReply, error)
ImUserForbiddenWords(ctx context.Context, in *ImUserSetRequest, opts ...grpc.CallOption) (*ImUserSetReply, error)
ImUserForbiddenAV(ctx context.Context, in *ImUserSetRequest, opts ...grpc.CallOption) (*ImUserSetReply, error)
ImUserOne(ctx context.Context, in *ImUserOneRequest, opts ...grpc.CallOption) (*ImUserOneReply, error)
......@@ -1068,8 +1119,8 @@ func NewImUserClient(cc grpc.ClientConnInterface) ImUserClient {
return &imUserClient{cc}
}
func (c *imUserClient) ImUserRegister(ctx context.Context, in *ImUserRequest, opts ...grpc.CallOption) (*ImUserReply, error) {
out := new(ImUserReply)
func (c *imUserClient) ImUserRegister(ctx context.Context, in *ImUserRequest, opts ...grpc.CallOption) (*ImUserRegReply, error) {
out := new(ImUserRegReply)
err := c.cc.Invoke(ctx, "/pb.ImUser/ImUserRegister", in, out, opts...)
if err != nil {
return nil, err
......@@ -1077,8 +1128,17 @@ func (c *imUserClient) ImUserRegister(ctx context.Context, in *ImUserRequest, op
return out, nil
}
func (c *imUserClient) ImUserLogin(ctx context.Context, in *ImUserRequest, opts ...grpc.CallOption) (*ImUserReply, error) {
out := new(ImUserReply)
func (c *imUserClient) ImuserSave(ctx context.Context, in *ImUserRequest, opts ...grpc.CallOption) (*ImUserSetReply, error) {
out := new(ImUserSetReply)
err := c.cc.Invoke(ctx, "/pb.ImUser/ImuserSave", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *imUserClient) ImUserLogin(ctx context.Context, in *ImUserLoginRequest, opts ...grpc.CallOption) (*ImUserRegReply, error) {
out := new(ImUserRegReply)
err := c.cc.Invoke(ctx, "/pb.ImUser/ImUserLogin", in, out, opts...)
if err != nil {
return nil, err
......@@ -1086,7 +1146,7 @@ func (c *imUserClient) ImUserLogin(ctx context.Context, in *ImUserRequest, opts
return out, nil
}
func (c *imUserClient) ImUserLoginOut(ctx context.Context, in *ImUserOutRequest, opts ...grpc.CallOption) (*ImUserSetReply, error) {
func (c *imUserClient) ImUserLoginOut(ctx context.Context, in *ImUserLoginRequest, opts ...grpc.CallOption) (*ImUserSetReply, error) {
out := new(ImUserSetReply)
err := c.cc.Invoke(ctx, "/pb.ImUser/ImUserLoginOut", in, out, opts...)
if err != nil {
......@@ -1133,9 +1193,10 @@ func (c *imUserClient) ImUserList(ctx context.Context, in *ImUserListRequest, op
// ImUserServer is the server API for ImUser service.
type ImUserServer interface {
ImUserRegister(context.Context, *ImUserRequest) (*ImUserReply, error)
ImUserLogin(context.Context, *ImUserRequest) (*ImUserReply, error)
ImUserLoginOut(context.Context, *ImUserOutRequest) (*ImUserSetReply, error)
ImUserRegister(context.Context, *ImUserRequest) (*ImUserRegReply, error)
ImuserSave(context.Context, *ImUserRequest) (*ImUserSetReply, error)
ImUserLogin(context.Context, *ImUserLoginRequest) (*ImUserRegReply, error)
ImUserLoginOut(context.Context, *ImUserLoginRequest) (*ImUserSetReply, error)
ImUserForbiddenWords(context.Context, *ImUserSetRequest) (*ImUserSetReply, error)
ImUserForbiddenAV(context.Context, *ImUserSetRequest) (*ImUserSetReply, error)
ImUserOne(context.Context, *ImUserOneRequest) (*ImUserOneReply, error)
......@@ -1146,13 +1207,16 @@ type ImUserServer interface {
type UnimplementedImUserServer struct {
}
func (*UnimplementedImUserServer) ImUserRegister(context.Context, *ImUserRequest) (*ImUserReply, error) {
func (*UnimplementedImUserServer) ImUserRegister(context.Context, *ImUserRequest) (*ImUserRegReply, error) {
return nil, status.Errorf(codes.Unimplemented, "method ImUserRegister not implemented")
}
func (*UnimplementedImUserServer) ImUserLogin(context.Context, *ImUserRequest) (*ImUserReply, error) {
func (*UnimplementedImUserServer) ImuserSave(context.Context, *ImUserRequest) (*ImUserSetReply, error) {
return nil, status.Errorf(codes.Unimplemented, "method ImuserSave not implemented")
}
func (*UnimplementedImUserServer) ImUserLogin(context.Context, *ImUserLoginRequest) (*ImUserRegReply, error) {
return nil, status.Errorf(codes.Unimplemented, "method ImUserLogin not implemented")
}
func (*UnimplementedImUserServer) ImUserLoginOut(context.Context, *ImUserOutRequest) (*ImUserSetReply, error) {
func (*UnimplementedImUserServer) ImUserLoginOut(context.Context, *ImUserLoginRequest) (*ImUserSetReply, error) {
return nil, status.Errorf(codes.Unimplemented, "method ImUserLoginOut not implemented")
}
func (*UnimplementedImUserServer) ImUserForbiddenWords(context.Context, *ImUserSetRequest) (*ImUserSetReply, error) {
......@@ -1190,12 +1254,30 @@ func _ImUser_ImUserRegister_Handler(srv interface{}, ctx context.Context, dec fu
return interceptor(ctx, in, info, handler)
}
func _ImUser_ImUserLogin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
func _ImUser_ImuserSave_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ImUserRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ImUserServer).ImuserSave(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ImUser/ImuserSave",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ImUserServer).ImuserSave(ctx, req.(*ImUserRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ImUser_ImUserLogin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ImUserLoginRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ImUserServer).ImUserLogin(ctx, in)
}
info := &grpc.UnaryServerInfo{
......@@ -1203,13 +1285,13 @@ func _ImUser_ImUserLogin_Handler(srv interface{}, ctx context.Context, dec func(
FullMethod: "/pb.ImUser/ImUserLogin",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ImUserServer).ImUserLogin(ctx, req.(*ImUserRequest))
return srv.(ImUserServer).ImUserLogin(ctx, req.(*ImUserLoginRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ImUser_ImUserLoginOut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ImUserOutRequest)
in := new(ImUserLoginRequest)
if err := dec(in); err != nil {
return nil, err
}
......@@ -1221,7 +1303,7 @@ func _ImUser_ImUserLoginOut_Handler(srv interface{}, ctx context.Context, dec fu
FullMethod: "/pb.ImUser/ImUserLoginOut",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ImUserServer).ImUserLoginOut(ctx, req.(*ImUserOutRequest))
return srv.(ImUserServer).ImUserLoginOut(ctx, req.(*ImUserLoginRequest))
}
return interceptor(ctx, in, info, handler)
}
......@@ -1307,6 +1389,10 @@ var _ImUser_serviceDesc = grpc.ServiceDesc{
Handler: _ImUser_ImUserRegister_Handler,
},
{
MethodName: "ImuserSave",
Handler: _ImUser_ImuserSave_Handler,
},
{
MethodName: "ImUserLogin",
Handler: _ImUser_ImUserLogin_Handler,
},
......
......@@ -5,10 +5,10 @@ package pb
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "github.com/mwitkow/go-proto-validators"
github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
......@@ -22,24 +22,15 @@ func (this *ImUserRequest) Validate() error {
return github_com_mwitkow_go_proto_validators.FieldError("Common", err)
}
}
if this.Mobile == "" {
return github_com_mwitkow_go_proto_validators.FieldError("Mobile", fmt.Errorf(`value '%v' must not be an empty string`, this.Mobile))
}
if !(len(this.Mobile) == 11) {
return github_com_mwitkow_go_proto_validators.FieldError("Mobile", fmt.Errorf(`value '%v' must have a length equal to '11'`, this.Mobile))
}
if this.Code == "" {
return github_com_mwitkow_go_proto_validators.FieldError("Code", fmt.Errorf(`value '%v' must not be an empty string`, this.Code))
}
if this.Platform == "" {
return github_com_mwitkow_go_proto_validators.FieldError("Platform", fmt.Errorf(`value '%v' must not be an empty string`, this.Platform))
if this.Accid == "" {
return github_com_mwitkow_go_proto_validators.FieldError("Accid", fmt.Errorf(`value '%v' must not be an empty string`, this.Accid))
}
return nil
}
func (this *ImUserReply) Validate() error {
func (this *ImUserRegReply) Validate() error {
return nil
}
func (this *ImUserOutRequest) Validate() error {
func (this *ImUserLoginRequest) Validate() error {
if this.Common != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Common); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Common", err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment