// Code generated by protoc-gen-go. DO NOT EDIT. // source: user/user.proto package user // import "./user" import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import ( context "golang.org/x/net/context" grpc "google.golang.org/grpc" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // 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.ProtoPackageIsVersion2 // please upgrade the proto package type CommonResp struct { ErrorCode int32 `protobuf:"varint,1,opt,name=errorCode" json:"errorCode,omitempty"` ErrorMsg string `protobuf:"bytes,2,opt,name=errorMsg" json:"errorMsg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CommonResp) Reset() { *m = CommonResp{} } func (m *CommonResp) String() string { return proto.CompactTextString(m) } func (*CommonResp) ProtoMessage() {} func (*CommonResp) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{0} } func (m *CommonResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommonResp.Unmarshal(m, b) } func (m *CommonResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CommonResp.Marshal(b, m, deterministic) } func (dst *CommonResp) XXX_Merge(src proto.Message) { xxx_messageInfo_CommonResp.Merge(dst, src) } func (m *CommonResp) XXX_Size() int { return xxx_messageInfo_CommonResp.Size(m) } func (m *CommonResp) XXX_DiscardUnknown() { xxx_messageInfo_CommonResp.DiscardUnknown(m) } var xxx_messageInfo_CommonResp proto.InternalMessageInfo func (m *CommonResp) GetErrorCode() int32 { if m != nil { return m.ErrorCode } return 0 } func (m *CommonResp) GetErrorMsg() string { if m != nil { return m.ErrorMsg } return "" } type DeleteUsersResp struct { CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` FailedUidList []string `protobuf:"bytes,2,rep,name=failedUidList" json:"failedUidList,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DeleteUsersResp) Reset() { *m = DeleteUsersResp{} } func (m *DeleteUsersResp) String() string { return proto.CompactTextString(m) } func (*DeleteUsersResp) ProtoMessage() {} func (*DeleteUsersResp) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{1} } func (m *DeleteUsersResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteUsersResp.Unmarshal(m, b) } func (m *DeleteUsersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteUsersResp.Marshal(b, m, deterministic) } func (dst *DeleteUsersResp) XXX_Merge(src proto.Message) { xxx_messageInfo_DeleteUsersResp.Merge(dst, src) } func (m *DeleteUsersResp) XXX_Size() int { return xxx_messageInfo_DeleteUsersResp.Size(m) } func (m *DeleteUsersResp) XXX_DiscardUnknown() { xxx_messageInfo_DeleteUsersResp.DiscardUnknown(m) } var xxx_messageInfo_DeleteUsersResp proto.InternalMessageInfo func (m *DeleteUsersResp) GetCommonResp() *CommonResp { if m != nil { return m.CommonResp } return nil } func (m *DeleteUsersResp) GetFailedUidList() []string { if m != nil { return m.FailedUidList } return nil } type DeleteUsersReq struct { DeleteUidList []string `protobuf:"bytes,2,rep,name=deleteUidList" json:"deleteUidList,omitempty"` Token string `protobuf:"bytes,3,opt,name=token" json:"token,omitempty"` OperationID string `protobuf:"bytes,4,opt,name=OperationID" json:"OperationID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DeleteUsersReq) Reset() { *m = DeleteUsersReq{} } func (m *DeleteUsersReq) String() string { return proto.CompactTextString(m) } func (*DeleteUsersReq) ProtoMessage() {} func (*DeleteUsersReq) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{2} } func (m *DeleteUsersReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteUsersReq.Unmarshal(m, b) } func (m *DeleteUsersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteUsersReq.Marshal(b, m, deterministic) } func (dst *DeleteUsersReq) XXX_Merge(src proto.Message) { xxx_messageInfo_DeleteUsersReq.Merge(dst, src) } func (m *DeleteUsersReq) XXX_Size() int { return xxx_messageInfo_DeleteUsersReq.Size(m) } func (m *DeleteUsersReq) XXX_DiscardUnknown() { xxx_messageInfo_DeleteUsersReq.DiscardUnknown(m) } var xxx_messageInfo_DeleteUsersReq proto.InternalMessageInfo func (m *DeleteUsersReq) GetDeleteUidList() []string { if m != nil { return m.DeleteUidList } return nil } func (m *DeleteUsersReq) GetToken() string { if m != nil { return m.Token } return "" } func (m *DeleteUsersReq) GetOperationID() string { if m != nil { return m.OperationID } return "" } type GetAllUsersUidReq struct { Token string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` OperationID string `protobuf:"bytes,3,opt,name=operationID" json:"operationID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetAllUsersUidReq) Reset() { *m = GetAllUsersUidReq{} } func (m *GetAllUsersUidReq) String() string { return proto.CompactTextString(m) } func (*GetAllUsersUidReq) ProtoMessage() {} func (*GetAllUsersUidReq) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{3} } func (m *GetAllUsersUidReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetAllUsersUidReq.Unmarshal(m, b) } func (m *GetAllUsersUidReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetAllUsersUidReq.Marshal(b, m, deterministic) } func (dst *GetAllUsersUidReq) XXX_Merge(src proto.Message) { xxx_messageInfo_GetAllUsersUidReq.Merge(dst, src) } func (m *GetAllUsersUidReq) XXX_Size() int { return xxx_messageInfo_GetAllUsersUidReq.Size(m) } func (m *GetAllUsersUidReq) XXX_DiscardUnknown() { xxx_messageInfo_GetAllUsersUidReq.DiscardUnknown(m) } var xxx_messageInfo_GetAllUsersUidReq proto.InternalMessageInfo func (m *GetAllUsersUidReq) GetToken() string { if m != nil { return m.Token } return "" } func (m *GetAllUsersUidReq) GetOperationID() string { if m != nil { return m.OperationID } return "" } type GetAllUsersUidResp struct { CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` UidList []string `protobuf:"bytes,2,rep,name=uidList" json:"uidList,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetAllUsersUidResp) Reset() { *m = GetAllUsersUidResp{} } func (m *GetAllUsersUidResp) String() string { return proto.CompactTextString(m) } func (*GetAllUsersUidResp) ProtoMessage() {} func (*GetAllUsersUidResp) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{4} } func (m *GetAllUsersUidResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetAllUsersUidResp.Unmarshal(m, b) } func (m *GetAllUsersUidResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetAllUsersUidResp.Marshal(b, m, deterministic) } func (dst *GetAllUsersUidResp) XXX_Merge(src proto.Message) { xxx_messageInfo_GetAllUsersUidResp.Merge(dst, src) } func (m *GetAllUsersUidResp) XXX_Size() int { return xxx_messageInfo_GetAllUsersUidResp.Size(m) } func (m *GetAllUsersUidResp) XXX_DiscardUnknown() { xxx_messageInfo_GetAllUsersUidResp.DiscardUnknown(m) } var xxx_messageInfo_GetAllUsersUidResp proto.InternalMessageInfo func (m *GetAllUsersUidResp) GetCommonResp() *CommonResp { if m != nil { return m.CommonResp } return nil } func (m *GetAllUsersUidResp) GetUidList() []string { if m != nil { return m.UidList } return nil } type AccountCheckReq struct { UidList []string `protobuf:"bytes,1,rep,name=uidList" json:"uidList,omitempty"` Token string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` OperationID string `protobuf:"bytes,3,opt,name=operationID" json:"operationID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *AccountCheckReq) Reset() { *m = AccountCheckReq{} } func (m *AccountCheckReq) String() string { return proto.CompactTextString(m) } func (*AccountCheckReq) ProtoMessage() {} func (*AccountCheckReq) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{5} } func (m *AccountCheckReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AccountCheckReq.Unmarshal(m, b) } func (m *AccountCheckReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AccountCheckReq.Marshal(b, m, deterministic) } func (dst *AccountCheckReq) XXX_Merge(src proto.Message) { xxx_messageInfo_AccountCheckReq.Merge(dst, src) } func (m *AccountCheckReq) XXX_Size() int { return xxx_messageInfo_AccountCheckReq.Size(m) } func (m *AccountCheckReq) XXX_DiscardUnknown() { xxx_messageInfo_AccountCheckReq.DiscardUnknown(m) } var xxx_messageInfo_AccountCheckReq proto.InternalMessageInfo func (m *AccountCheckReq) GetUidList() []string { if m != nil { return m.UidList } return nil } func (m *AccountCheckReq) GetToken() string { if m != nil { return m.Token } return "" } func (m *AccountCheckReq) GetOperationID() string { if m != nil { return m.OperationID } return "" } type AccountCheckResp struct { CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` Result []*AccountCheckResp_SingleUserStatus `protobuf:"bytes,2,rep,name=result" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *AccountCheckResp) Reset() { *m = AccountCheckResp{} } func (m *AccountCheckResp) String() string { return proto.CompactTextString(m) } func (*AccountCheckResp) ProtoMessage() {} func (*AccountCheckResp) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{6} } func (m *AccountCheckResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AccountCheckResp.Unmarshal(m, b) } func (m *AccountCheckResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AccountCheckResp.Marshal(b, m, deterministic) } func (dst *AccountCheckResp) XXX_Merge(src proto.Message) { xxx_messageInfo_AccountCheckResp.Merge(dst, src) } func (m *AccountCheckResp) XXX_Size() int { return xxx_messageInfo_AccountCheckResp.Size(m) } func (m *AccountCheckResp) XXX_DiscardUnknown() { xxx_messageInfo_AccountCheckResp.DiscardUnknown(m) } var xxx_messageInfo_AccountCheckResp proto.InternalMessageInfo func (m *AccountCheckResp) GetCommonResp() *CommonResp { if m != nil { return m.CommonResp } return nil } func (m *AccountCheckResp) GetResult() []*AccountCheckResp_SingleUserStatus { if m != nil { return m.Result } return nil } type AccountCheckResp_SingleUserStatus struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"` AccountStatus string `protobuf:"bytes,2,opt,name=accountStatus" json:"accountStatus,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *AccountCheckResp_SingleUserStatus) Reset() { *m = AccountCheckResp_SingleUserStatus{} } func (m *AccountCheckResp_SingleUserStatus) String() string { return proto.CompactTextString(m) } func (*AccountCheckResp_SingleUserStatus) ProtoMessage() {} func (*AccountCheckResp_SingleUserStatus) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{6, 0} } func (m *AccountCheckResp_SingleUserStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AccountCheckResp_SingleUserStatus.Unmarshal(m, b) } func (m *AccountCheckResp_SingleUserStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AccountCheckResp_SingleUserStatus.Marshal(b, m, deterministic) } func (dst *AccountCheckResp_SingleUserStatus) XXX_Merge(src proto.Message) { xxx_messageInfo_AccountCheckResp_SingleUserStatus.Merge(dst, src) } func (m *AccountCheckResp_SingleUserStatus) XXX_Size() int { return xxx_messageInfo_AccountCheckResp_SingleUserStatus.Size(m) } func (m *AccountCheckResp_SingleUserStatus) XXX_DiscardUnknown() { xxx_messageInfo_AccountCheckResp_SingleUserStatus.DiscardUnknown(m) } var xxx_messageInfo_AccountCheckResp_SingleUserStatus proto.InternalMessageInfo func (m *AccountCheckResp_SingleUserStatus) GetUserID() string { if m != nil { return m.UserID } return "" } func (m *AccountCheckResp_SingleUserStatus) GetAccountStatus() string { if m != nil { return m.AccountStatus } return "" } type GetUserInfoReq struct { UserIDList []string `protobuf:"bytes,1,rep,name=userIDList" json:"userIDList,omitempty"` Token string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetUserInfoReq) Reset() { *m = GetUserInfoReq{} } func (m *GetUserInfoReq) String() string { return proto.CompactTextString(m) } func (*GetUserInfoReq) ProtoMessage() {} func (*GetUserInfoReq) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{7} } func (m *GetUserInfoReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserInfoReq.Unmarshal(m, b) } func (m *GetUserInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetUserInfoReq.Marshal(b, m, deterministic) } func (dst *GetUserInfoReq) XXX_Merge(src proto.Message) { xxx_messageInfo_GetUserInfoReq.Merge(dst, src) } func (m *GetUserInfoReq) XXX_Size() int { return xxx_messageInfo_GetUserInfoReq.Size(m) } func (m *GetUserInfoReq) XXX_DiscardUnknown() { xxx_messageInfo_GetUserInfoReq.DiscardUnknown(m) } var xxx_messageInfo_GetUserInfoReq proto.InternalMessageInfo func (m *GetUserInfoReq) GetUserIDList() []string { if m != nil { return m.UserIDList } return nil } func (m *GetUserInfoReq) GetToken() string { if m != nil { return m.Token } return "" } func (m *GetUserInfoReq) GetOperationID() string { if m != nil { return m.OperationID } return "" } type GetUserInfoResp struct { ErrorCode int32 `protobuf:"varint,1,opt,name=errorCode" json:"errorCode,omitempty"` ErrorMsg string `protobuf:"bytes,2,opt,name=errorMsg" json:"errorMsg,omitempty"` Data []*UserInfo `protobuf:"bytes,3,rep,name=Data" json:"Data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetUserInfoResp) Reset() { *m = GetUserInfoResp{} } func (m *GetUserInfoResp) String() string { return proto.CompactTextString(m) } func (*GetUserInfoResp) ProtoMessage() {} func (*GetUserInfoResp) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{8} } func (m *GetUserInfoResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserInfoResp.Unmarshal(m, b) } func (m *GetUserInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetUserInfoResp.Marshal(b, m, deterministic) } func (dst *GetUserInfoResp) XXX_Merge(src proto.Message) { xxx_messageInfo_GetUserInfoResp.Merge(dst, src) } func (m *GetUserInfoResp) XXX_Size() int { return xxx_messageInfo_GetUserInfoResp.Size(m) } func (m *GetUserInfoResp) XXX_DiscardUnknown() { xxx_messageInfo_GetUserInfoResp.DiscardUnknown(m) } var xxx_messageInfo_GetUserInfoResp proto.InternalMessageInfo func (m *GetUserInfoResp) GetErrorCode() int32 { if m != nil { return m.ErrorCode } return 0 } func (m *GetUserInfoResp) GetErrorMsg() string { if m != nil { return m.ErrorMsg } return "" } func (m *GetUserInfoResp) GetData() []*UserInfo { if m != nil { return m.Data } return nil } type UserInfo struct { Uid string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Icon string `protobuf:"bytes,3,opt,name=icon" json:"icon,omitempty"` Gender int32 `protobuf:"varint,4,opt,name=gender" json:"gender,omitempty"` Mobile string `protobuf:"bytes,5,opt,name=mobile" json:"mobile,omitempty"` Birth string `protobuf:"bytes,6,opt,name=birth" json:"birth,omitempty"` Email string `protobuf:"bytes,7,opt,name=email" json:"email,omitempty"` Ex string `protobuf:"bytes,8,opt,name=ex" json:"ex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *UserInfo) Reset() { *m = UserInfo{} } func (m *UserInfo) String() string { return proto.CompactTextString(m) } func (*UserInfo) ProtoMessage() {} func (*UserInfo) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{9} } func (m *UserInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UserInfo.Unmarshal(m, b) } func (m *UserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UserInfo.Marshal(b, m, deterministic) } func (dst *UserInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_UserInfo.Merge(dst, src) } func (m *UserInfo) XXX_Size() int { return xxx_messageInfo_UserInfo.Size(m) } func (m *UserInfo) XXX_DiscardUnknown() { xxx_messageInfo_UserInfo.DiscardUnknown(m) } var xxx_messageInfo_UserInfo proto.InternalMessageInfo func (m *UserInfo) GetUid() string { if m != nil { return m.Uid } return "" } func (m *UserInfo) GetName() string { if m != nil { return m.Name } return "" } func (m *UserInfo) GetIcon() string { if m != nil { return m.Icon } return "" } func (m *UserInfo) GetGender() int32 { if m != nil { return m.Gender } return 0 } func (m *UserInfo) GetMobile() string { if m != nil { return m.Mobile } return "" } func (m *UserInfo) GetBirth() string { if m != nil { return m.Birth } return "" } func (m *UserInfo) GetEmail() string { if m != nil { return m.Email } return "" } func (m *UserInfo) GetEx() string { if m != nil { return m.Ex } return "" } type LogoutReq struct { OperationID string `protobuf:"bytes,1,opt,name=OperationID" json:"OperationID,omitempty"` Token string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LogoutReq) Reset() { *m = LogoutReq{} } func (m *LogoutReq) String() string { return proto.CompactTextString(m) } func (*LogoutReq) ProtoMessage() {} func (*LogoutReq) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{10} } func (m *LogoutReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogoutReq.Unmarshal(m, b) } func (m *LogoutReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LogoutReq.Marshal(b, m, deterministic) } func (dst *LogoutReq) XXX_Merge(src proto.Message) { xxx_messageInfo_LogoutReq.Merge(dst, src) } func (m *LogoutReq) XXX_Size() int { return xxx_messageInfo_LogoutReq.Size(m) } func (m *LogoutReq) XXX_DiscardUnknown() { xxx_messageInfo_LogoutReq.DiscardUnknown(m) } var xxx_messageInfo_LogoutReq proto.InternalMessageInfo func (m *LogoutReq) GetOperationID() string { if m != nil { return m.OperationID } return "" } func (m *LogoutReq) GetToken() string { if m != nil { return m.Token } return "" } type UpdateUserInfoReq struct { Icon string `protobuf:"bytes,1,opt,name=icon" json:"icon,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Gender int32 `protobuf:"varint,3,opt,name=gender" json:"gender,omitempty"` Mobile string `protobuf:"bytes,4,opt,name=mobile" json:"mobile,omitempty"` Birth string `protobuf:"bytes,5,opt,name=birth" json:"birth,omitempty"` Email string `protobuf:"bytes,6,opt,name=email" json:"email,omitempty"` Ex string `protobuf:"bytes,7,opt,name=ex" json:"ex,omitempty"` Token string `protobuf:"bytes,8,opt,name=token" json:"token,omitempty"` OperationID string `protobuf:"bytes,9,opt,name=OperationID" json:"OperationID,omitempty"` Uid string `protobuf:"bytes,10,opt,name=Uid" json:"Uid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *UpdateUserInfoReq) Reset() { *m = UpdateUserInfoReq{} } func (m *UpdateUserInfoReq) String() string { return proto.CompactTextString(m) } func (*UpdateUserInfoReq) ProtoMessage() {} func (*UpdateUserInfoReq) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{11} } func (m *UpdateUserInfoReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateUserInfoReq.Unmarshal(m, b) } func (m *UpdateUserInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateUserInfoReq.Marshal(b, m, deterministic) } func (dst *UpdateUserInfoReq) XXX_Merge(src proto.Message) { xxx_messageInfo_UpdateUserInfoReq.Merge(dst, src) } func (m *UpdateUserInfoReq) XXX_Size() int { return xxx_messageInfo_UpdateUserInfoReq.Size(m) } func (m *UpdateUserInfoReq) XXX_DiscardUnknown() { xxx_messageInfo_UpdateUserInfoReq.DiscardUnknown(m) } var xxx_messageInfo_UpdateUserInfoReq proto.InternalMessageInfo func (m *UpdateUserInfoReq) GetIcon() string { if m != nil { return m.Icon } return "" } func (m *UpdateUserInfoReq) GetName() string { if m != nil { return m.Name } return "" } func (m *UpdateUserInfoReq) GetGender() int32 { if m != nil { return m.Gender } return 0 } func (m *UpdateUserInfoReq) GetMobile() string { if m != nil { return m.Mobile } return "" } func (m *UpdateUserInfoReq) GetBirth() string { if m != nil { return m.Birth } return "" } func (m *UpdateUserInfoReq) GetEmail() string { if m != nil { return m.Email } return "" } func (m *UpdateUserInfoReq) GetEx() string { if m != nil { return m.Ex } return "" } func (m *UpdateUserInfoReq) GetToken() string { if m != nil { return m.Token } return "" } func (m *UpdateUserInfoReq) GetOperationID() string { if m != nil { return m.OperationID } return "" } func (m *UpdateUserInfoReq) GetUid() string { if m != nil { return m.Uid } return "" } type SetReceiveMessageOptReq struct { UId string `protobuf:"bytes,1,opt,name=uId" json:"uId,omitempty"` Opt int32 `protobuf:"varint,2,opt,name=opt" json:"opt,omitempty"` ConversationId []string `protobuf:"bytes,3,rep,name=conversationId" json:"conversationId,omitempty"` OperationID string `protobuf:"bytes,4,opt,name=operationID" json:"operationID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *SetReceiveMessageOptReq) Reset() { *m = SetReceiveMessageOptReq{} } func (m *SetReceiveMessageOptReq) String() string { return proto.CompactTextString(m) } func (*SetReceiveMessageOptReq) ProtoMessage() {} func (*SetReceiveMessageOptReq) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{12} } func (m *SetReceiveMessageOptReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetReceiveMessageOptReq.Unmarshal(m, b) } func (m *SetReceiveMessageOptReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SetReceiveMessageOptReq.Marshal(b, m, deterministic) } func (dst *SetReceiveMessageOptReq) XXX_Merge(src proto.Message) { xxx_messageInfo_SetReceiveMessageOptReq.Merge(dst, src) } func (m *SetReceiveMessageOptReq) XXX_Size() int { return xxx_messageInfo_SetReceiveMessageOptReq.Size(m) } func (m *SetReceiveMessageOptReq) XXX_DiscardUnknown() { xxx_messageInfo_SetReceiveMessageOptReq.DiscardUnknown(m) } var xxx_messageInfo_SetReceiveMessageOptReq proto.InternalMessageInfo func (m *SetReceiveMessageOptReq) GetUId() string { if m != nil { return m.UId } return "" } func (m *SetReceiveMessageOptReq) GetOpt() int32 { if m != nil { return m.Opt } return 0 } func (m *SetReceiveMessageOptReq) GetConversationId() []string { if m != nil { return m.ConversationId } return nil } func (m *SetReceiveMessageOptReq) GetOperationID() string { if m != nil { return m.OperationID } return "" } type SetReceiveMessageOptResp struct { ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` OptResult []*OptResult `protobuf:"bytes,3,rep,name=optResult" json:"optResult,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *SetReceiveMessageOptResp) Reset() { *m = SetReceiveMessageOptResp{} } func (m *SetReceiveMessageOptResp) String() string { return proto.CompactTextString(m) } func (*SetReceiveMessageOptResp) ProtoMessage() {} func (*SetReceiveMessageOptResp) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{13} } func (m *SetReceiveMessageOptResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetReceiveMessageOptResp.Unmarshal(m, b) } func (m *SetReceiveMessageOptResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SetReceiveMessageOptResp.Marshal(b, m, deterministic) } func (dst *SetReceiveMessageOptResp) XXX_Merge(src proto.Message) { xxx_messageInfo_SetReceiveMessageOptResp.Merge(dst, src) } func (m *SetReceiveMessageOptResp) XXX_Size() int { return xxx_messageInfo_SetReceiveMessageOptResp.Size(m) } func (m *SetReceiveMessageOptResp) XXX_DiscardUnknown() { xxx_messageInfo_SetReceiveMessageOptResp.DiscardUnknown(m) } var xxx_messageInfo_SetReceiveMessageOptResp proto.InternalMessageInfo func (m *SetReceiveMessageOptResp) GetErrCode() int32 { if m != nil { return m.ErrCode } return 0 } func (m *SetReceiveMessageOptResp) GetErrMsg() string { if m != nil { return m.ErrMsg } return "" } func (m *SetReceiveMessageOptResp) GetOptResult() []*OptResult { if m != nil { return m.OptResult } return nil } type GetReceiveMessageOptReq struct { UId string `protobuf:"bytes,1,opt,name=uId" json:"uId,omitempty"` ConversationId []string `protobuf:"bytes,2,rep,name=conversationId" json:"conversationId,omitempty"` OperationID string `protobuf:"bytes,3,opt,name=operationID" json:"operationID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetReceiveMessageOptReq) Reset() { *m = GetReceiveMessageOptReq{} } func (m *GetReceiveMessageOptReq) String() string { return proto.CompactTextString(m) } func (*GetReceiveMessageOptReq) ProtoMessage() {} func (*GetReceiveMessageOptReq) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{14} } func (m *GetReceiveMessageOptReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetReceiveMessageOptReq.Unmarshal(m, b) } func (m *GetReceiveMessageOptReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetReceiveMessageOptReq.Marshal(b, m, deterministic) } func (dst *GetReceiveMessageOptReq) XXX_Merge(src proto.Message) { xxx_messageInfo_GetReceiveMessageOptReq.Merge(dst, src) } func (m *GetReceiveMessageOptReq) XXX_Size() int { return xxx_messageInfo_GetReceiveMessageOptReq.Size(m) } func (m *GetReceiveMessageOptReq) XXX_DiscardUnknown() { xxx_messageInfo_GetReceiveMessageOptReq.DiscardUnknown(m) } var xxx_messageInfo_GetReceiveMessageOptReq proto.InternalMessageInfo func (m *GetReceiveMessageOptReq) GetUId() string { if m != nil { return m.UId } return "" } func (m *GetReceiveMessageOptReq) GetConversationId() []string { if m != nil { return m.ConversationId } return nil } func (m *GetReceiveMessageOptReq) GetOperationID() string { if m != nil { return m.OperationID } return "" } type OptResult struct { ConversationId string `protobuf:"bytes,1,opt,name=conversationId" json:"conversationId,omitempty"` Result int32 `protobuf:"varint,2,opt,name=result" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *OptResult) Reset() { *m = OptResult{} } func (m *OptResult) String() string { return proto.CompactTextString(m) } func (*OptResult) ProtoMessage() {} func (*OptResult) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{15} } func (m *OptResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OptResult.Unmarshal(m, b) } func (m *OptResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_OptResult.Marshal(b, m, deterministic) } func (dst *OptResult) XXX_Merge(src proto.Message) { xxx_messageInfo_OptResult.Merge(dst, src) } func (m *OptResult) XXX_Size() int { return xxx_messageInfo_OptResult.Size(m) } func (m *OptResult) XXX_DiscardUnknown() { xxx_messageInfo_OptResult.DiscardUnknown(m) } var xxx_messageInfo_OptResult proto.InternalMessageInfo func (m *OptResult) GetConversationId() string { if m != nil { return m.ConversationId } return "" } func (m *OptResult) GetResult() int32 { if m != nil { return m.Result } return 0 } type GetReceiveMessageOptResp struct { ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` ConversationOptResult []*OptResult `protobuf:"bytes,3,rep,name=conversationOptResult" json:"conversationOptResult,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetReceiveMessageOptResp) Reset() { *m = GetReceiveMessageOptResp{} } func (m *GetReceiveMessageOptResp) String() string { return proto.CompactTextString(m) } func (*GetReceiveMessageOptResp) ProtoMessage() {} func (*GetReceiveMessageOptResp) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{16} } func (m *GetReceiveMessageOptResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetReceiveMessageOptResp.Unmarshal(m, b) } func (m *GetReceiveMessageOptResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetReceiveMessageOptResp.Marshal(b, m, deterministic) } func (dst *GetReceiveMessageOptResp) XXX_Merge(src proto.Message) { xxx_messageInfo_GetReceiveMessageOptResp.Merge(dst, src) } func (m *GetReceiveMessageOptResp) XXX_Size() int { return xxx_messageInfo_GetReceiveMessageOptResp.Size(m) } func (m *GetReceiveMessageOptResp) XXX_DiscardUnknown() { xxx_messageInfo_GetReceiveMessageOptResp.DiscardUnknown(m) } var xxx_messageInfo_GetReceiveMessageOptResp proto.InternalMessageInfo func (m *GetReceiveMessageOptResp) GetErrCode() int32 { if m != nil { return m.ErrCode } return 0 } func (m *GetReceiveMessageOptResp) GetErrMsg() string { if m != nil { return m.ErrMsg } return "" } func (m *GetReceiveMessageOptResp) GetConversationOptResult() []*OptResult { if m != nil { return m.ConversationOptResult } return nil } type GetAllConversationMsgOptReq struct { UId string `protobuf:"bytes,1,opt,name=uId" json:"uId,omitempty"` OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetAllConversationMsgOptReq) Reset() { *m = GetAllConversationMsgOptReq{} } func (m *GetAllConversationMsgOptReq) String() string { return proto.CompactTextString(m) } func (*GetAllConversationMsgOptReq) ProtoMessage() {} func (*GetAllConversationMsgOptReq) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{17} } func (m *GetAllConversationMsgOptReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetAllConversationMsgOptReq.Unmarshal(m, b) } func (m *GetAllConversationMsgOptReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetAllConversationMsgOptReq.Marshal(b, m, deterministic) } func (dst *GetAllConversationMsgOptReq) XXX_Merge(src proto.Message) { xxx_messageInfo_GetAllConversationMsgOptReq.Merge(dst, src) } func (m *GetAllConversationMsgOptReq) XXX_Size() int { return xxx_messageInfo_GetAllConversationMsgOptReq.Size(m) } func (m *GetAllConversationMsgOptReq) XXX_DiscardUnknown() { xxx_messageInfo_GetAllConversationMsgOptReq.DiscardUnknown(m) } var xxx_messageInfo_GetAllConversationMsgOptReq proto.InternalMessageInfo func (m *GetAllConversationMsgOptReq) GetUId() string { if m != nil { return m.UId } return "" } func (m *GetAllConversationMsgOptReq) GetOperationID() string { if m != nil { return m.OperationID } return "" } type GetAllConversationMsgOptResp struct { ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` ConversationOptResult []*OptResult `protobuf:"bytes,3,rep,name=conversationOptResult" json:"conversationOptResult,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetAllConversationMsgOptResp) Reset() { *m = GetAllConversationMsgOptResp{} } func (m *GetAllConversationMsgOptResp) String() string { return proto.CompactTextString(m) } func (*GetAllConversationMsgOptResp) ProtoMessage() {} func (*GetAllConversationMsgOptResp) Descriptor() ([]byte, []int) { return fileDescriptor_user_04b52567a288fdb7, []int{18} } func (m *GetAllConversationMsgOptResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetAllConversationMsgOptResp.Unmarshal(m, b) } func (m *GetAllConversationMsgOptResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetAllConversationMsgOptResp.Marshal(b, m, deterministic) } func (dst *GetAllConversationMsgOptResp) XXX_Merge(src proto.Message) { xxx_messageInfo_GetAllConversationMsgOptResp.Merge(dst, src) } func (m *GetAllConversationMsgOptResp) XXX_Size() int { return xxx_messageInfo_GetAllConversationMsgOptResp.Size(m) } func (m *GetAllConversationMsgOptResp) XXX_DiscardUnknown() { xxx_messageInfo_GetAllConversationMsgOptResp.DiscardUnknown(m) } var xxx_messageInfo_GetAllConversationMsgOptResp proto.InternalMessageInfo func (m *GetAllConversationMsgOptResp) GetErrCode() int32 { if m != nil { return m.ErrCode } return 0 } func (m *GetAllConversationMsgOptResp) GetErrMsg() string { if m != nil { return m.ErrMsg } return "" } func (m *GetAllConversationMsgOptResp) GetConversationOptResult() []*OptResult { if m != nil { return m.ConversationOptResult } return nil } func init() { proto.RegisterType((*CommonResp)(nil), "user.CommonResp") proto.RegisterType((*DeleteUsersResp)(nil), "user.DeleteUsersResp") proto.RegisterType((*DeleteUsersReq)(nil), "user.DeleteUsersReq") proto.RegisterType((*GetAllUsersUidReq)(nil), "user.GetAllUsersUidReq") proto.RegisterType((*GetAllUsersUidResp)(nil), "user.GetAllUsersUidResp") proto.RegisterType((*AccountCheckReq)(nil), "user.AccountCheckReq") proto.RegisterType((*AccountCheckResp)(nil), "user.AccountCheckResp") proto.RegisterType((*AccountCheckResp_SingleUserStatus)(nil), "user.AccountCheckResp.SingleUserStatus") proto.RegisterType((*GetUserInfoReq)(nil), "user.GetUserInfoReq") proto.RegisterType((*GetUserInfoResp)(nil), "user.GetUserInfoResp") proto.RegisterType((*UserInfo)(nil), "user.UserInfo") proto.RegisterType((*LogoutReq)(nil), "user.LogoutReq") proto.RegisterType((*UpdateUserInfoReq)(nil), "user.UpdateUserInfoReq") proto.RegisterType((*SetReceiveMessageOptReq)(nil), "user.SetReceiveMessageOptReq") proto.RegisterType((*SetReceiveMessageOptResp)(nil), "user.SetReceiveMessageOptResp") proto.RegisterType((*GetReceiveMessageOptReq)(nil), "user.GetReceiveMessageOptReq") proto.RegisterType((*OptResult)(nil), "user.OptResult") proto.RegisterType((*GetReceiveMessageOptResp)(nil), "user.GetReceiveMessageOptResp") proto.RegisterType((*GetAllConversationMsgOptReq)(nil), "user.GetAllConversationMsgOptReq") proto.RegisterType((*GetAllConversationMsgOptResp)(nil), "user.GetAllConversationMsgOptResp") } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn // 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 // Client API for User service type UserClient interface { GetUserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResp, error) UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*CommonResp, error) DeleteUsers(ctx context.Context, in *DeleteUsersReq, opts ...grpc.CallOption) (*DeleteUsersResp, error) GetAllUsersUid(ctx context.Context, in *GetAllUsersUidReq, opts ...grpc.CallOption) (*GetAllUsersUidResp, error) SetReceiveMessageOpt(ctx context.Context, in *SetReceiveMessageOptReq, opts ...grpc.CallOption) (*SetReceiveMessageOptResp, error) GetReceiveMessageOpt(ctx context.Context, in *GetReceiveMessageOptReq, opts ...grpc.CallOption) (*GetReceiveMessageOptResp, error) GetAllConversationMsgOpt(ctx context.Context, in *GetAllConversationMsgOptReq, opts ...grpc.CallOption) (*GetAllConversationMsgOptResp, error) AccountCheck(ctx context.Context, in *AccountCheckReq, opts ...grpc.CallOption) (*AccountCheckResp, error) } type userClient struct { cc *grpc.ClientConn } func NewUserClient(cc *grpc.ClientConn) UserClient { return &userClient{cc} } func (c *userClient) GetUserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResp, error) { out := new(GetUserInfoResp) err := grpc.Invoke(ctx, "/user.user/getUserInfo", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } func (c *userClient) UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*CommonResp, error) { out := new(CommonResp) err := grpc.Invoke(ctx, "/user.user/UpdateUserInfo", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } func (c *userClient) DeleteUsers(ctx context.Context, in *DeleteUsersReq, opts ...grpc.CallOption) (*DeleteUsersResp, error) { out := new(DeleteUsersResp) err := grpc.Invoke(ctx, "/user.user/DeleteUsers", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } func (c *userClient) GetAllUsersUid(ctx context.Context, in *GetAllUsersUidReq, opts ...grpc.CallOption) (*GetAllUsersUidResp, error) { out := new(GetAllUsersUidResp) err := grpc.Invoke(ctx, "/user.user/GetAllUsersUid", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } func (c *userClient) SetReceiveMessageOpt(ctx context.Context, in *SetReceiveMessageOptReq, opts ...grpc.CallOption) (*SetReceiveMessageOptResp, error) { out := new(SetReceiveMessageOptResp) err := grpc.Invoke(ctx, "/user.user/SetReceiveMessageOpt", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } func (c *userClient) GetReceiveMessageOpt(ctx context.Context, in *GetReceiveMessageOptReq, opts ...grpc.CallOption) (*GetReceiveMessageOptResp, error) { out := new(GetReceiveMessageOptResp) err := grpc.Invoke(ctx, "/user.user/GetReceiveMessageOpt", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } func (c *userClient) GetAllConversationMsgOpt(ctx context.Context, in *GetAllConversationMsgOptReq, opts ...grpc.CallOption) (*GetAllConversationMsgOptResp, error) { out := new(GetAllConversationMsgOptResp) err := grpc.Invoke(ctx, "/user.user/GetAllConversationMsgOpt", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } func (c *userClient) AccountCheck(ctx context.Context, in *AccountCheckReq, opts ...grpc.CallOption) (*AccountCheckResp, error) { out := new(AccountCheckResp) err := grpc.Invoke(ctx, "/user.user/AccountCheck", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } // Server API for User service type UserServer interface { GetUserInfo(context.Context, *GetUserInfoReq) (*GetUserInfoResp, error) UpdateUserInfo(context.Context, *UpdateUserInfoReq) (*CommonResp, error) DeleteUsers(context.Context, *DeleteUsersReq) (*DeleteUsersResp, error) GetAllUsersUid(context.Context, *GetAllUsersUidReq) (*GetAllUsersUidResp, error) SetReceiveMessageOpt(context.Context, *SetReceiveMessageOptReq) (*SetReceiveMessageOptResp, error) GetReceiveMessageOpt(context.Context, *GetReceiveMessageOptReq) (*GetReceiveMessageOptResp, error) GetAllConversationMsgOpt(context.Context, *GetAllConversationMsgOptReq) (*GetAllConversationMsgOptResp, error) AccountCheck(context.Context, *AccountCheckReq) (*AccountCheckResp, error) } func RegisterUserServer(s *grpc.Server, srv UserServer) { s.RegisterService(&_User_serviceDesc, srv) } func _User_GetUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetUserInfoReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(UserServer).GetUserInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/user.user/GetUserInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(UserServer).GetUserInfo(ctx, req.(*GetUserInfoReq)) } return interceptor(ctx, in, info, handler) } func _User_UpdateUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateUserInfoReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(UserServer).UpdateUserInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/user.user/UpdateUserInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(UserServer).UpdateUserInfo(ctx, req.(*UpdateUserInfoReq)) } return interceptor(ctx, in, info, handler) } func _User_DeleteUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteUsersReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(UserServer).DeleteUsers(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/user.user/DeleteUsers", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(UserServer).DeleteUsers(ctx, req.(*DeleteUsersReq)) } return interceptor(ctx, in, info, handler) } func _User_GetAllUsersUid_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetAllUsersUidReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(UserServer).GetAllUsersUid(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/user.user/GetAllUsersUid", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(UserServer).GetAllUsersUid(ctx, req.(*GetAllUsersUidReq)) } return interceptor(ctx, in, info, handler) } func _User_SetReceiveMessageOpt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SetReceiveMessageOptReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(UserServer).SetReceiveMessageOpt(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/user.user/SetReceiveMessageOpt", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(UserServer).SetReceiveMessageOpt(ctx, req.(*SetReceiveMessageOptReq)) } return interceptor(ctx, in, info, handler) } func _User_GetReceiveMessageOpt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetReceiveMessageOptReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(UserServer).GetReceiveMessageOpt(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/user.user/GetReceiveMessageOpt", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(UserServer).GetReceiveMessageOpt(ctx, req.(*GetReceiveMessageOptReq)) } return interceptor(ctx, in, info, handler) } func _User_GetAllConversationMsgOpt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetAllConversationMsgOptReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(UserServer).GetAllConversationMsgOpt(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/user.user/GetAllConversationMsgOpt", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(UserServer).GetAllConversationMsgOpt(ctx, req.(*GetAllConversationMsgOptReq)) } return interceptor(ctx, in, info, handler) } func _User_AccountCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(AccountCheckReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(UserServer).AccountCheck(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/user.user/AccountCheck", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(UserServer).AccountCheck(ctx, req.(*AccountCheckReq)) } return interceptor(ctx, in, info, handler) } var _User_serviceDesc = grpc.ServiceDesc{ ServiceName: "user.user", HandlerType: (*UserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "getUserInfo", Handler: _User_GetUserInfo_Handler, }, { MethodName: "UpdateUserInfo", Handler: _User_UpdateUserInfo_Handler, }, { MethodName: "DeleteUsers", Handler: _User_DeleteUsers_Handler, }, { MethodName: "GetAllUsersUid", Handler: _User_GetAllUsersUid_Handler, }, { MethodName: "SetReceiveMessageOpt", Handler: _User_SetReceiveMessageOpt_Handler, }, { MethodName: "GetReceiveMessageOpt", Handler: _User_GetReceiveMessageOpt_Handler, }, { MethodName: "GetAllConversationMsgOpt", Handler: _User_GetAllConversationMsgOpt_Handler, }, { MethodName: "AccountCheck", Handler: _User_AccountCheck_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user/user.proto", } func init() { proto.RegisterFile("user/user.proto", fileDescriptor_user_04b52567a288fdb7) } var fileDescriptor_user_04b52567a288fdb7 = []byte{ // 896 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0xdd, 0x6e, 0xdb, 0x36, 0x14, 0x86, 0xfc, 0x17, 0xeb, 0x78, 0xb1, 0x1d, 0x22, 0x3f, 0x82, 0x96, 0x05, 0x1e, 0x31, 0x6c, 0xb9, 0x99, 0x37, 0x64, 0x77, 0x0b, 0x86, 0x21, 0xb5, 0x5b, 0xc3, 0x48, 0x02, 0xb7, 0x0a, 0x7c, 0xd3, 0xab, 0x2a, 0x12, 0xe3, 0x08, 0x91, 0x45, 0x45, 0x3f, 0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