|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
// source: user/user.proto
|
|
|
|
|
|
package user // import "Open_IM/pkg/proto/user"
|
|
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
|
import fmt "fmt"
|
|
|
import math "math"
|
|
|
import conversation "Open_IM/pkg/proto/conversation"
|
|
|
import sdk_ws "Open_IM/pkg/proto/sdk_ws"
|
|
|
|
|
|
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 GetAllUserIDReq struct {
|
|
|
Pagination *sdk_ws.RequestPagination `protobuf:"bytes,1,opt,name=pagination" json:"pagination,omitempty"`
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *GetAllUserIDReq) Reset() { *m = GetAllUserIDReq{} }
|
|
|
func (m *GetAllUserIDReq) String() string { return proto.CompactTextString(m) }
|
|
|
func (*GetAllUserIDReq) ProtoMessage() {}
|
|
|
func (*GetAllUserIDReq) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{0}
|
|
|
}
|
|
|
func (m *GetAllUserIDReq) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_GetAllUserIDReq.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *GetAllUserIDReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_GetAllUserIDReq.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *GetAllUserIDReq) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_GetAllUserIDReq.Merge(dst, src)
|
|
|
}
|
|
|
func (m *GetAllUserIDReq) XXX_Size() int {
|
|
|
return xxx_messageInfo_GetAllUserIDReq.Size(m)
|
|
|
}
|
|
|
func (m *GetAllUserIDReq) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_GetAllUserIDReq.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_GetAllUserIDReq proto.InternalMessageInfo
|
|
|
|
|
|
func (m *GetAllUserIDReq) GetPagination() *sdk_ws.RequestPagination {
|
|
|
if m != nil {
|
|
|
return m.Pagination
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
type GetAllUserIDResp struct {
|
|
|
Total int32 `protobuf:"varint,1,opt,name=total" json:"total,omitempty"`
|
|
|
UserIDList []string `protobuf:"bytes,2,rep,name=UserIDList" json:"UserIDList,omitempty"`
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *GetAllUserIDResp) Reset() { *m = GetAllUserIDResp{} }
|
|
|
func (m *GetAllUserIDResp) String() string { return proto.CompactTextString(m) }
|
|
|
func (*GetAllUserIDResp) ProtoMessage() {}
|
|
|
func (*GetAllUserIDResp) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{1}
|
|
|
}
|
|
|
func (m *GetAllUserIDResp) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_GetAllUserIDResp.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *GetAllUserIDResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_GetAllUserIDResp.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *GetAllUserIDResp) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_GetAllUserIDResp.Merge(dst, src)
|
|
|
}
|
|
|
func (m *GetAllUserIDResp) XXX_Size() int {
|
|
|
return xxx_messageInfo_GetAllUserIDResp.Size(m)
|
|
|
}
|
|
|
func (m *GetAllUserIDResp) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_GetAllUserIDResp.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_GetAllUserIDResp proto.InternalMessageInfo
|
|
|
|
|
|
func (m *GetAllUserIDResp) GetTotal() int32 {
|
|
|
if m != nil {
|
|
|
return m.Total
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (m *GetAllUserIDResp) GetUserIDList() []string {
|
|
|
if m != nil {
|
|
|
return m.UserIDList
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
type AccountCheckReq struct {
|
|
|
CheckUserIDs []string `protobuf:"bytes,1,rep,name=checkUserIDs" json:"checkUserIDs,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_d0f4cea05d456d6d, []int{2}
|
|
|
}
|
|
|
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) GetCheckUserIDs() []string {
|
|
|
if m != nil {
|
|
|
return m.CheckUserIDs
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
type AccountCheckResp struct {
|
|
|
Results []*AccountCheckResp_SingleUserStatus `protobuf:"bytes,1,rep,name=results" json:"results,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_d0f4cea05d456d6d, []int{3}
|
|
|
}
|
|
|
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) GetResults() []*AccountCheckResp_SingleUserStatus {
|
|
|
if m != nil {
|
|
|
return m.Results
|
|
|
}
|
|
|
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_d0f4cea05d456d6d, []int{3, 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 GetUsersInfoReq struct {
|
|
|
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs" json:"userIDs,omitempty"`
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *GetUsersInfoReq) Reset() { *m = GetUsersInfoReq{} }
|
|
|
func (m *GetUsersInfoReq) String() string { return proto.CompactTextString(m) }
|
|
|
func (*GetUsersInfoReq) ProtoMessage() {}
|
|
|
func (*GetUsersInfoReq) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{4}
|
|
|
}
|
|
|
func (m *GetUsersInfoReq) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_GetUsersInfoReq.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *GetUsersInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_GetUsersInfoReq.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *GetUsersInfoReq) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_GetUsersInfoReq.Merge(dst, src)
|
|
|
}
|
|
|
func (m *GetUsersInfoReq) XXX_Size() int {
|
|
|
return xxx_messageInfo_GetUsersInfoReq.Size(m)
|
|
|
}
|
|
|
func (m *GetUsersInfoReq) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_GetUsersInfoReq.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_GetUsersInfoReq proto.InternalMessageInfo
|
|
|
|
|
|
func (m *GetUsersInfoReq) GetUserIDs() []string {
|
|
|
if m != nil {
|
|
|
return m.UserIDs
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
type GetUsersInfoResp struct {
|
|
|
UsersInfo []*sdk_ws.UserInfo `protobuf:"bytes,1,rep,name=usersInfo" json:"usersInfo,omitempty"`
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *GetUsersInfoResp) Reset() { *m = GetUsersInfoResp{} }
|
|
|
func (m *GetUsersInfoResp) String() string { return proto.CompactTextString(m) }
|
|
|
func (*GetUsersInfoResp) ProtoMessage() {}
|
|
|
func (*GetUsersInfoResp) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{5}
|
|
|
}
|
|
|
func (m *GetUsersInfoResp) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_GetUsersInfoResp.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *GetUsersInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_GetUsersInfoResp.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *GetUsersInfoResp) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_GetUsersInfoResp.Merge(dst, src)
|
|
|
}
|
|
|
func (m *GetUsersInfoResp) XXX_Size() int {
|
|
|
return xxx_messageInfo_GetUsersInfoResp.Size(m)
|
|
|
}
|
|
|
func (m *GetUsersInfoResp) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_GetUsersInfoResp.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_GetUsersInfoResp proto.InternalMessageInfo
|
|
|
|
|
|
func (m *GetUsersInfoResp) GetUsersInfo() []*sdk_ws.UserInfo {
|
|
|
if m != nil {
|
|
|
return m.UsersInfo
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
type UpdateUserInfoReq struct {
|
|
|
UserInfo *sdk_ws.UserInfo `protobuf:"bytes,1,opt,name=userInfo" json:"userInfo,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_d0f4cea05d456d6d, []int{6}
|
|
|
}
|
|
|
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) GetUserInfo() *sdk_ws.UserInfo {
|
|
|
if m != nil {
|
|
|
return m.UserInfo
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
type UpdateUserInfoResp struct {
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *UpdateUserInfoResp) Reset() { *m = UpdateUserInfoResp{} }
|
|
|
func (m *UpdateUserInfoResp) String() string { return proto.CompactTextString(m) }
|
|
|
func (*UpdateUserInfoResp) ProtoMessage() {}
|
|
|
func (*UpdateUserInfoResp) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{7}
|
|
|
}
|
|
|
func (m *UpdateUserInfoResp) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_UpdateUserInfoResp.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *UpdateUserInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_UpdateUserInfoResp.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *UpdateUserInfoResp) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_UpdateUserInfoResp.Merge(dst, src)
|
|
|
}
|
|
|
func (m *UpdateUserInfoResp) XXX_Size() int {
|
|
|
return xxx_messageInfo_UpdateUserInfoResp.Size(m)
|
|
|
}
|
|
|
func (m *UpdateUserInfoResp) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_UpdateUserInfoResp.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_UpdateUserInfoResp proto.InternalMessageInfo
|
|
|
|
|
|
type SetGlobalRecvMessageOptReq struct {
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
|
GlobalRecvMsgOpt int32 `protobuf:"varint,3,opt,name=globalRecvMsgOpt" json:"globalRecvMsgOpt,omitempty"`
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *SetGlobalRecvMessageOptReq) Reset() { *m = SetGlobalRecvMessageOptReq{} }
|
|
|
func (m *SetGlobalRecvMessageOptReq) String() string { return proto.CompactTextString(m) }
|
|
|
func (*SetGlobalRecvMessageOptReq) ProtoMessage() {}
|
|
|
func (*SetGlobalRecvMessageOptReq) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{8}
|
|
|
}
|
|
|
func (m *SetGlobalRecvMessageOptReq) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_SetGlobalRecvMessageOptReq.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *SetGlobalRecvMessageOptReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_SetGlobalRecvMessageOptReq.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *SetGlobalRecvMessageOptReq) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_SetGlobalRecvMessageOptReq.Merge(dst, src)
|
|
|
}
|
|
|
func (m *SetGlobalRecvMessageOptReq) XXX_Size() int {
|
|
|
return xxx_messageInfo_SetGlobalRecvMessageOptReq.Size(m)
|
|
|
}
|
|
|
func (m *SetGlobalRecvMessageOptReq) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_SetGlobalRecvMessageOptReq.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_SetGlobalRecvMessageOptReq proto.InternalMessageInfo
|
|
|
|
|
|
func (m *SetGlobalRecvMessageOptReq) GetUserID() string {
|
|
|
if m != nil {
|
|
|
return m.UserID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (m *SetGlobalRecvMessageOptReq) GetGlobalRecvMsgOpt() int32 {
|
|
|
if m != nil {
|
|
|
return m.GlobalRecvMsgOpt
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
type SetGlobalRecvMessageOptResp struct {
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *SetGlobalRecvMessageOptResp) Reset() { *m = SetGlobalRecvMessageOptResp{} }
|
|
|
func (m *SetGlobalRecvMessageOptResp) String() string { return proto.CompactTextString(m) }
|
|
|
func (*SetGlobalRecvMessageOptResp) ProtoMessage() {}
|
|
|
func (*SetGlobalRecvMessageOptResp) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{9}
|
|
|
}
|
|
|
func (m *SetGlobalRecvMessageOptResp) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_SetGlobalRecvMessageOptResp.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *SetGlobalRecvMessageOptResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_SetGlobalRecvMessageOptResp.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *SetGlobalRecvMessageOptResp) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_SetGlobalRecvMessageOptResp.Merge(dst, src)
|
|
|
}
|
|
|
func (m *SetGlobalRecvMessageOptResp) XXX_Size() int {
|
|
|
return xxx_messageInfo_SetGlobalRecvMessageOptResp.Size(m)
|
|
|
}
|
|
|
func (m *SetGlobalRecvMessageOptResp) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_SetGlobalRecvMessageOptResp.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_SetGlobalRecvMessageOptResp proto.InternalMessageInfo
|
|
|
|
|
|
type SetConversationReq struct {
|
|
|
Conversation *conversation.Conversation `protobuf:"bytes,1,opt,name=Conversation" json:"Conversation,omitempty"`
|
|
|
NotificationType int32 `protobuf:"varint,2,opt,name=notificationType" json:"notificationType,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 *SetConversationReq) Reset() { *m = SetConversationReq{} }
|
|
|
func (m *SetConversationReq) String() string { return proto.CompactTextString(m) }
|
|
|
func (*SetConversationReq) ProtoMessage() {}
|
|
|
func (*SetConversationReq) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{10}
|
|
|
}
|
|
|
func (m *SetConversationReq) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_SetConversationReq.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *SetConversationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_SetConversationReq.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *SetConversationReq) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_SetConversationReq.Merge(dst, src)
|
|
|
}
|
|
|
func (m *SetConversationReq) XXX_Size() int {
|
|
|
return xxx_messageInfo_SetConversationReq.Size(m)
|
|
|
}
|
|
|
func (m *SetConversationReq) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_SetConversationReq.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_SetConversationReq proto.InternalMessageInfo
|
|
|
|
|
|
func (m *SetConversationReq) GetConversation() *conversation.Conversation {
|
|
|
if m != nil {
|
|
|
return m.Conversation
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
func (m *SetConversationReq) GetNotificationType() int32 {
|
|
|
if m != nil {
|
|
|
return m.NotificationType
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (m *SetConversationReq) GetOperationID() string {
|
|
|
if m != nil {
|
|
|
return m.OperationID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
type SetConversationResp struct {
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *SetConversationResp) Reset() { *m = SetConversationResp{} }
|
|
|
func (m *SetConversationResp) String() string { return proto.CompactTextString(m) }
|
|
|
func (*SetConversationResp) ProtoMessage() {}
|
|
|
func (*SetConversationResp) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{11}
|
|
|
}
|
|
|
func (m *SetConversationResp) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_SetConversationResp.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *SetConversationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_SetConversationResp.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *SetConversationResp) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_SetConversationResp.Merge(dst, src)
|
|
|
}
|
|
|
func (m *SetConversationResp) XXX_Size() int {
|
|
|
return xxx_messageInfo_SetConversationResp.Size(m)
|
|
|
}
|
|
|
func (m *SetConversationResp) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_SetConversationResp.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_SetConversationResp proto.InternalMessageInfo
|
|
|
|
|
|
type SetRecvMsgOptReq struct {
|
|
|
OwnerUserID string `protobuf:"bytes,1,opt,name=OwnerUserID" json:"OwnerUserID,omitempty"`
|
|
|
ConversationID string `protobuf:"bytes,2,opt,name=ConversationID" json:"ConversationID,omitempty"`
|
|
|
RecvMsgOpt int32 `protobuf:"varint,3,opt,name=RecvMsgOpt" json:"RecvMsgOpt,omitempty"`
|
|
|
NotificationType int32 `protobuf:"varint,4,opt,name=notificationType" json:"notificationType,omitempty"`
|
|
|
OperationID string `protobuf:"bytes,5,opt,name=OperationID" json:"OperationID,omitempty"`
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *SetRecvMsgOptReq) Reset() { *m = SetRecvMsgOptReq{} }
|
|
|
func (m *SetRecvMsgOptReq) String() string { return proto.CompactTextString(m) }
|
|
|
func (*SetRecvMsgOptReq) ProtoMessage() {}
|
|
|
func (*SetRecvMsgOptReq) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{12}
|
|
|
}
|
|
|
func (m *SetRecvMsgOptReq) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_SetRecvMsgOptReq.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *SetRecvMsgOptReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_SetRecvMsgOptReq.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *SetRecvMsgOptReq) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_SetRecvMsgOptReq.Merge(dst, src)
|
|
|
}
|
|
|
func (m *SetRecvMsgOptReq) XXX_Size() int {
|
|
|
return xxx_messageInfo_SetRecvMsgOptReq.Size(m)
|
|
|
}
|
|
|
func (m *SetRecvMsgOptReq) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_SetRecvMsgOptReq.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_SetRecvMsgOptReq proto.InternalMessageInfo
|
|
|
|
|
|
func (m *SetRecvMsgOptReq) GetOwnerUserID() string {
|
|
|
if m != nil {
|
|
|
return m.OwnerUserID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (m *SetRecvMsgOptReq) GetConversationID() string {
|
|
|
if m != nil {
|
|
|
return m.ConversationID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (m *SetRecvMsgOptReq) GetRecvMsgOpt() int32 {
|
|
|
if m != nil {
|
|
|
return m.RecvMsgOpt
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (m *SetRecvMsgOptReq) GetNotificationType() int32 {
|
|
|
if m != nil {
|
|
|
return m.NotificationType
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (m *SetRecvMsgOptReq) GetOperationID() string {
|
|
|
if m != nil {
|
|
|
return m.OperationID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
type SetRecvMsgOptResp struct {
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *SetRecvMsgOptResp) Reset() { *m = SetRecvMsgOptResp{} }
|
|
|
func (m *SetRecvMsgOptResp) String() string { return proto.CompactTextString(m) }
|
|
|
func (*SetRecvMsgOptResp) ProtoMessage() {}
|
|
|
func (*SetRecvMsgOptResp) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{13}
|
|
|
}
|
|
|
func (m *SetRecvMsgOptResp) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_SetRecvMsgOptResp.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *SetRecvMsgOptResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_SetRecvMsgOptResp.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *SetRecvMsgOptResp) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_SetRecvMsgOptResp.Merge(dst, src)
|
|
|
}
|
|
|
func (m *SetRecvMsgOptResp) XXX_Size() int {
|
|
|
return xxx_messageInfo_SetRecvMsgOptResp.Size(m)
|
|
|
}
|
|
|
func (m *SetRecvMsgOptResp) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_SetRecvMsgOptResp.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_SetRecvMsgOptResp proto.InternalMessageInfo
|
|
|
|
|
|
type GetConversationReq struct {
|
|
|
ConversationID string `protobuf:"bytes,1,opt,name=ConversationID" json:"ConversationID,omitempty"`
|
|
|
OwnerUserID string `protobuf:"bytes,2,opt,name=OwnerUserID" json:"OwnerUserID,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 *GetConversationReq) Reset() { *m = GetConversationReq{} }
|
|
|
func (m *GetConversationReq) String() string { return proto.CompactTextString(m) }
|
|
|
func (*GetConversationReq) ProtoMessage() {}
|
|
|
func (*GetConversationReq) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{14}
|
|
|
}
|
|
|
func (m *GetConversationReq) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_GetConversationReq.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *GetConversationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_GetConversationReq.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *GetConversationReq) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_GetConversationReq.Merge(dst, src)
|
|
|
}
|
|
|
func (m *GetConversationReq) XXX_Size() int {
|
|
|
return xxx_messageInfo_GetConversationReq.Size(m)
|
|
|
}
|
|
|
func (m *GetConversationReq) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_GetConversationReq.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_GetConversationReq proto.InternalMessageInfo
|
|
|
|
|
|
func (m *GetConversationReq) GetConversationID() string {
|
|
|
if m != nil {
|
|
|
return m.ConversationID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (m *GetConversationReq) GetOwnerUserID() string {
|
|
|
if m != nil {
|
|
|
return m.OwnerUserID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (m *GetConversationReq) GetOperationID() string {
|
|
|
if m != nil {
|
|
|
return m.OperationID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
type GetConversationResp struct {
|
|
|
Conversation *conversation.Conversation `protobuf:"bytes,2,opt,name=Conversation" json:"Conversation,omitempty"`
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *GetConversationResp) Reset() { *m = GetConversationResp{} }
|
|
|
func (m *GetConversationResp) String() string { return proto.CompactTextString(m) }
|
|
|
func (*GetConversationResp) ProtoMessage() {}
|
|
|
func (*GetConversationResp) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{15}
|
|
|
}
|
|
|
func (m *GetConversationResp) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_GetConversationResp.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *GetConversationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_GetConversationResp.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *GetConversationResp) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_GetConversationResp.Merge(dst, src)
|
|
|
}
|
|
|
func (m *GetConversationResp) XXX_Size() int {
|
|
|
return xxx_messageInfo_GetConversationResp.Size(m)
|
|
|
}
|
|
|
func (m *GetConversationResp) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_GetConversationResp.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_GetConversationResp proto.InternalMessageInfo
|
|
|
|
|
|
func (m *GetConversationResp) GetConversation() *conversation.Conversation {
|
|
|
if m != nil {
|
|
|
return m.Conversation
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
type GetConversationsReq struct {
|
|
|
OwnerUserID string `protobuf:"bytes,1,opt,name=OwnerUserID" json:"OwnerUserID,omitempty"`
|
|
|
ConversationIDs []string `protobuf:"bytes,2,rep,name=ConversationIDs" json:"ConversationIDs,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 *GetConversationsReq) Reset() { *m = GetConversationsReq{} }
|
|
|
func (m *GetConversationsReq) String() string { return proto.CompactTextString(m) }
|
|
|
func (*GetConversationsReq) ProtoMessage() {}
|
|
|
func (*GetConversationsReq) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{16}
|
|
|
}
|
|
|
func (m *GetConversationsReq) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_GetConversationsReq.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *GetConversationsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_GetConversationsReq.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *GetConversationsReq) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_GetConversationsReq.Merge(dst, src)
|
|
|
}
|
|
|
func (m *GetConversationsReq) XXX_Size() int {
|
|
|
return xxx_messageInfo_GetConversationsReq.Size(m)
|
|
|
}
|
|
|
func (m *GetConversationsReq) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_GetConversationsReq.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_GetConversationsReq proto.InternalMessageInfo
|
|
|
|
|
|
func (m *GetConversationsReq) GetOwnerUserID() string {
|
|
|
if m != nil {
|
|
|
return m.OwnerUserID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (m *GetConversationsReq) GetConversationIDs() []string {
|
|
|
if m != nil {
|
|
|
return m.ConversationIDs
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
func (m *GetConversationsReq) GetOperationID() string {
|
|
|
if m != nil {
|
|
|
return m.OperationID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
type GetConversationsResp struct {
|
|
|
Conversations []*conversation.Conversation `protobuf:"bytes,2,rep,name=Conversations" json:"Conversations,omitempty"`
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *GetConversationsResp) Reset() { *m = GetConversationsResp{} }
|
|
|
func (m *GetConversationsResp) String() string { return proto.CompactTextString(m) }
|
|
|
func (*GetConversationsResp) ProtoMessage() {}
|
|
|
func (*GetConversationsResp) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{17}
|
|
|
}
|
|
|
func (m *GetConversationsResp) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_GetConversationsResp.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *GetConversationsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_GetConversationsResp.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *GetConversationsResp) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_GetConversationsResp.Merge(dst, src)
|
|
|
}
|
|
|
func (m *GetConversationsResp) XXX_Size() int {
|
|
|
return xxx_messageInfo_GetConversationsResp.Size(m)
|
|
|
}
|
|
|
func (m *GetConversationsResp) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_GetConversationsResp.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_GetConversationsResp proto.InternalMessageInfo
|
|
|
|
|
|
func (m *GetConversationsResp) GetConversations() []*conversation.Conversation {
|
|
|
if m != nil {
|
|
|
return m.Conversations
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
type GetAllConversationsReq struct {
|
|
|
OwnerUserID string `protobuf:"bytes,1,opt,name=OwnerUserID" json:"OwnerUserID,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 *GetAllConversationsReq) Reset() { *m = GetAllConversationsReq{} }
|
|
|
func (m *GetAllConversationsReq) String() string { return proto.CompactTextString(m) }
|
|
|
func (*GetAllConversationsReq) ProtoMessage() {}
|
|
|
func (*GetAllConversationsReq) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{18}
|
|
|
}
|
|
|
func (m *GetAllConversationsReq) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_GetAllConversationsReq.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *GetAllConversationsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_GetAllConversationsReq.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *GetAllConversationsReq) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_GetAllConversationsReq.Merge(dst, src)
|
|
|
}
|
|
|
func (m *GetAllConversationsReq) XXX_Size() int {
|
|
|
return xxx_messageInfo_GetAllConversationsReq.Size(m)
|
|
|
}
|
|
|
func (m *GetAllConversationsReq) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_GetAllConversationsReq.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_GetAllConversationsReq proto.InternalMessageInfo
|
|
|
|
|
|
func (m *GetAllConversationsReq) GetOwnerUserID() string {
|
|
|
if m != nil {
|
|
|
return m.OwnerUserID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (m *GetAllConversationsReq) GetOperationID() string {
|
|
|
if m != nil {
|
|
|
return m.OperationID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
type GetAllConversationsResp struct {
|
|
|
Conversations []*conversation.Conversation `protobuf:"bytes,2,rep,name=Conversations" json:"Conversations,omitempty"`
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *GetAllConversationsResp) Reset() { *m = GetAllConversationsResp{} }
|
|
|
func (m *GetAllConversationsResp) String() string { return proto.CompactTextString(m) }
|
|
|
func (*GetAllConversationsResp) ProtoMessage() {}
|
|
|
func (*GetAllConversationsResp) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{19}
|
|
|
}
|
|
|
func (m *GetAllConversationsResp) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_GetAllConversationsResp.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *GetAllConversationsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_GetAllConversationsResp.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *GetAllConversationsResp) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_GetAllConversationsResp.Merge(dst, src)
|
|
|
}
|
|
|
func (m *GetAllConversationsResp) XXX_Size() int {
|
|
|
return xxx_messageInfo_GetAllConversationsResp.Size(m)
|
|
|
}
|
|
|
func (m *GetAllConversationsResp) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_GetAllConversationsResp.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_GetAllConversationsResp proto.InternalMessageInfo
|
|
|
|
|
|
func (m *GetAllConversationsResp) GetConversations() []*conversation.Conversation {
|
|
|
if m != nil {
|
|
|
return m.Conversations
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
type BatchSetConversationsReq struct {
|
|
|
Conversations []*conversation.Conversation `protobuf:"bytes,1,rep,name=Conversations" json:"Conversations,omitempty"`
|
|
|
OwnerUserID string `protobuf:"bytes,2,opt,name=OwnerUserID" json:"OwnerUserID,omitempty"`
|
|
|
NotificationType int32 `protobuf:"varint,3,opt,name=notificationType" json:"notificationType,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 *BatchSetConversationsReq) Reset() { *m = BatchSetConversationsReq{} }
|
|
|
func (m *BatchSetConversationsReq) String() string { return proto.CompactTextString(m) }
|
|
|
func (*BatchSetConversationsReq) ProtoMessage() {}
|
|
|
func (*BatchSetConversationsReq) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{20}
|
|
|
}
|
|
|
func (m *BatchSetConversationsReq) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_BatchSetConversationsReq.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *BatchSetConversationsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_BatchSetConversationsReq.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *BatchSetConversationsReq) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_BatchSetConversationsReq.Merge(dst, src)
|
|
|
}
|
|
|
func (m *BatchSetConversationsReq) XXX_Size() int {
|
|
|
return xxx_messageInfo_BatchSetConversationsReq.Size(m)
|
|
|
}
|
|
|
func (m *BatchSetConversationsReq) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_BatchSetConversationsReq.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_BatchSetConversationsReq proto.InternalMessageInfo
|
|
|
|
|
|
func (m *BatchSetConversationsReq) GetConversations() []*conversation.Conversation {
|
|
|
if m != nil {
|
|
|
return m.Conversations
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
func (m *BatchSetConversationsReq) GetOwnerUserID() string {
|
|
|
if m != nil {
|
|
|
return m.OwnerUserID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (m *BatchSetConversationsReq) GetNotificationType() int32 {
|
|
|
if m != nil {
|
|
|
return m.NotificationType
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (m *BatchSetConversationsReq) GetOperationID() string {
|
|
|
if m != nil {
|
|
|
return m.OperationID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
type BatchSetConversationsResp struct {
|
|
|
Success []string `protobuf:"bytes,2,rep,name=Success" json:"Success,omitempty"`
|
|
|
Failed []string `protobuf:"bytes,3,rep,name=Failed" json:"Failed,omitempty"`
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *BatchSetConversationsResp) Reset() { *m = BatchSetConversationsResp{} }
|
|
|
func (m *BatchSetConversationsResp) String() string { return proto.CompactTextString(m) }
|
|
|
func (*BatchSetConversationsResp) ProtoMessage() {}
|
|
|
func (*BatchSetConversationsResp) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{21}
|
|
|
}
|
|
|
func (m *BatchSetConversationsResp) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_BatchSetConversationsResp.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *BatchSetConversationsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_BatchSetConversationsResp.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *BatchSetConversationsResp) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_BatchSetConversationsResp.Merge(dst, src)
|
|
|
}
|
|
|
func (m *BatchSetConversationsResp) XXX_Size() int {
|
|
|
return xxx_messageInfo_BatchSetConversationsResp.Size(m)
|
|
|
}
|
|
|
func (m *BatchSetConversationsResp) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_BatchSetConversationsResp.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_BatchSetConversationsResp proto.InternalMessageInfo
|
|
|
|
|
|
func (m *BatchSetConversationsResp) GetSuccess() []string {
|
|
|
if m != nil {
|
|
|
return m.Success
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
func (m *BatchSetConversationsResp) GetFailed() []string {
|
|
|
if m != nil {
|
|
|
return m.Failed
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
type GetUsersReq struct {
|
|
|
Pagination *sdk_ws.RequestPagination `protobuf:"bytes,2,opt,name=pagination" json:"pagination,omitempty"`
|
|
|
UserName string `protobuf:"bytes,3,opt,name=userName" json:"userName,omitempty"`
|
|
|
UserID string `protobuf:"bytes,4,opt,name=userID" json:"userID,omitempty"`
|
|
|
Content string `protobuf:"bytes,5,opt,name=content" json:"content,omitempty"`
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *GetUsersReq) Reset() { *m = GetUsersReq{} }
|
|
|
func (m *GetUsersReq) String() string { return proto.CompactTextString(m) }
|
|
|
func (*GetUsersReq) ProtoMessage() {}
|
|
|
func (*GetUsersReq) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{22}
|
|
|
}
|
|
|
func (m *GetUsersReq) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_GetUsersReq.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *GetUsersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_GetUsersReq.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *GetUsersReq) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_GetUsersReq.Merge(dst, src)
|
|
|
}
|
|
|
func (m *GetUsersReq) XXX_Size() int {
|
|
|
return xxx_messageInfo_GetUsersReq.Size(m)
|
|
|
}
|
|
|
func (m *GetUsersReq) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_GetUsersReq.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_GetUsersReq proto.InternalMessageInfo
|
|
|
|
|
|
func (m *GetUsersReq) GetPagination() *sdk_ws.RequestPagination {
|
|
|
if m != nil {
|
|
|
return m.Pagination
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
func (m *GetUsersReq) GetUserName() string {
|
|
|
if m != nil {
|
|
|
return m.UserName
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (m *GetUsersReq) GetUserID() string {
|
|
|
if m != nil {
|
|
|
return m.UserID
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (m *GetUsersReq) GetContent() string {
|
|
|
if m != nil {
|
|
|
return m.Content
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
type GetUsersResp struct {
|
|
|
Total int32 `protobuf:"varint,1,opt,name=total" json:"total,omitempty"`
|
|
|
Users []*sdk_ws.UserInfo `protobuf:"bytes,2,rep,name=users" json:"users,omitempty"`
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
}
|
|
|
|
|
|
func (m *GetUsersResp) Reset() { *m = GetUsersResp{} }
|
|
|
func (m *GetUsersResp) String() string { return proto.CompactTextString(m) }
|
|
|
func (*GetUsersResp) ProtoMessage() {}
|
|
|
func (*GetUsersResp) Descriptor() ([]byte, []int) {
|
|
|
return fileDescriptor_user_d0f4cea05d456d6d, []int{23}
|
|
|
}
|
|
|
func (m *GetUsersResp) XXX_Unmarshal(b []byte) error {
|
|
|
return xxx_messageInfo_GetUsersResp.Unmarshal(m, b)
|
|
|
}
|
|
|
func (m *GetUsersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
return xxx_messageInfo_GetUsersResp.Marshal(b, m, deterministic)
|
|
|
}
|
|
|
func (dst *GetUsersResp) XXX_Merge(src proto.Message) {
|
|
|
xxx_messageInfo_GetUsersResp.Merge(dst, src)
|
|
|
}
|
|
|
func (m *GetUsersResp) XXX_Size() int {
|
|
|
return xxx_messageInfo_GetUsersResp.Size(m)
|
|
|
}
|
|
|
func (m *GetUsersResp) XXX_DiscardUnknown() {
|
|
|
xxx_messageInfo_GetUsersResp.DiscardUnknown(m)
|
|
|
}
|
|
|
|
|
|
var xxx_messageInfo_GetUsersResp proto.InternalMessageInfo
|
|
|
|
|
|
func (m *GetUsersResp) GetTotal() int32 {
|
|
|
if m != nil {
|
|
|
return m.Total
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (m *GetUsersResp) GetUsers() []*sdk_ws.UserInfo {
|
|
|
if m != nil {
|
|
|
return m.Users
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
func init() {
|
|
|
proto.RegisterType((*GetAllUserIDReq)(nil), "user.GetAllUserIDReq")
|
|
|
proto.RegisterType((*GetAllUserIDResp)(nil), "user.GetAllUserIDResp")
|
|
|
proto.RegisterType((*AccountCheckReq)(nil), "user.AccountCheckReq")
|
|
|
proto.RegisterType((*AccountCheckResp)(nil), "user.AccountCheckResp")
|
|
|
proto.RegisterType((*AccountCheckResp_SingleUserStatus)(nil), "user.AccountCheckResp.SingleUserStatus")
|
|
|
proto.RegisterType((*GetUsersInfoReq)(nil), "user.GetUsersInfoReq")
|
|
|
proto.RegisterType((*GetUsersInfoResp)(nil), "user.GetUsersInfoResp")
|
|
|
proto.RegisterType((*UpdateUserInfoReq)(nil), "user.UpdateUserInfoReq")
|
|
|
proto.RegisterType((*UpdateUserInfoResp)(nil), "user.UpdateUserInfoResp")
|
|
|
proto.RegisterType((*SetGlobalRecvMessageOptReq)(nil), "user.SetGlobalRecvMessageOptReq")
|
|
|
proto.RegisterType((*SetGlobalRecvMessageOptResp)(nil), "user.SetGlobalRecvMessageOptResp")
|
|
|
proto.RegisterType((*SetConversationReq)(nil), "user.SetConversationReq")
|
|
|
proto.RegisterType((*SetConversationResp)(nil), "user.SetConversationResp")
|
|
|
proto.RegisterType((*SetRecvMsgOptReq)(nil), "user.SetRecvMsgOptReq")
|
|
|
proto.RegisterType((*SetRecvMsgOptResp)(nil), "user.SetRecvMsgOptResp")
|
|
|
proto.RegisterType((*GetConversationReq)(nil), "user.GetConversationReq")
|
|
|
proto.RegisterType((*GetConversationResp)(nil), "user.GetConversationResp")
|
|
|
proto.RegisterType((*GetConversationsReq)(nil), "user.GetConversationsReq")
|
|
|
proto.RegisterType((*GetConversationsResp)(nil), "user.GetConversationsResp")
|
|
|
proto.RegisterType((*GetAllConversationsReq)(nil), "user.GetAllConversationsReq")
|
|
|
proto.RegisterType((*GetAllConversationsResp)(nil), "user.GetAllConversationsResp")
|
|
|
proto.RegisterType((*BatchSetConversationsReq)(nil), "user.BatchSetConversationsReq")
|
|
|
proto.RegisterType((*BatchSetConversationsResp)(nil), "user.BatchSetConversationsResp")
|
|
|
proto.RegisterType((*GetUsersReq)(nil), "user.GetUsersReq")
|
|
|
proto.RegisterType((*GetUsersResp)(nil), "user.GetUsersResp")
|
|
|
}
|
|
|
|
|
|
// 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 {
|
|
|
// 获取指定的用户信息 全字段
|
|
|
GetUsersInfo(ctx context.Context, in *GetUsersInfoReq, opts ...grpc.CallOption) (*GetUsersInfoResp, error)
|
|
|
// 更新用户信息
|
|
|
UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*UpdateUserInfoResp, error)
|
|
|
// 设置用户消息接收选项
|
|
|
SetGlobalRecvMessageOpt(ctx context.Context, in *SetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*SetGlobalRecvMessageOptResp, error)
|
|
|
// 检查userID是否存在
|
|
|
AccountCheck(ctx context.Context, in *AccountCheckReq, opts ...grpc.CallOption) (*AccountCheckResp, error)
|
|
|
// 翻页(或指定userID,昵称)拉取用户信息 全字段
|
|
|
GetUsers(ctx context.Context, in *GetUsersReq, opts ...grpc.CallOption) (*GetUsersResp, error)
|
|
|
}
|
|
|
|
|
|
type userClient struct {
|
|
|
cc *grpc.ClientConn
|
|
|
}
|
|
|
|
|
|
func NewUserClient(cc *grpc.ClientConn) UserClient {
|
|
|
return &userClient{cc}
|
|
|
}
|
|
|
|
|
|
func (c *userClient) GetUsersInfo(ctx context.Context, in *GetUsersInfoReq, opts ...grpc.CallOption) (*GetUsersInfoResp, error) {
|
|
|
out := new(GetUsersInfoResp)
|
|
|
err := grpc.Invoke(ctx, "/user.user/GetUsersInfo", 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) (*UpdateUserInfoResp, error) {
|
|
|
out := new(UpdateUserInfoResp)
|
|
|
err := grpc.Invoke(ctx, "/user.user/UpdateUserInfo", in, out, c.cc, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
func (c *userClient) SetGlobalRecvMessageOpt(ctx context.Context, in *SetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*SetGlobalRecvMessageOptResp, error) {
|
|
|
out := new(SetGlobalRecvMessageOptResp)
|
|
|
err := grpc.Invoke(ctx, "/user.user/SetGlobalRecvMessageOpt", 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
|
|
|
}
|
|
|
|
|
|
func (c *userClient) GetUsers(ctx context.Context, in *GetUsersReq, opts ...grpc.CallOption) (*GetUsersResp, error) {
|
|
|
out := new(GetUsersResp)
|
|
|
err := grpc.Invoke(ctx, "/user.user/GetUsers", in, out, c.cc, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
// Server API for User service
|
|
|
|
|
|
type UserServer interface {
|
|
|
// 获取指定的用户信息 全字段
|
|
|
GetUsersInfo(context.Context, *GetUsersInfoReq) (*GetUsersInfoResp, error)
|
|
|
// 更新用户信息
|
|
|
UpdateUserInfo(context.Context, *UpdateUserInfoReq) (*UpdateUserInfoResp, error)
|
|
|
// 设置用户消息接收选项
|
|
|
SetGlobalRecvMessageOpt(context.Context, *SetGlobalRecvMessageOptReq) (*SetGlobalRecvMessageOptResp, error)
|
|
|
// 检查userID是否存在
|
|
|
AccountCheck(context.Context, *AccountCheckReq) (*AccountCheckResp, error)
|
|
|
// 翻页(或指定userID,昵称)拉取用户信息 全字段
|
|
|
GetUsers(context.Context, *GetUsersReq) (*GetUsersResp, error)
|
|
|
}
|
|
|
|
|
|
func RegisterUserServer(s *grpc.Server, srv UserServer) {
|
|
|
s.RegisterService(&_User_serviceDesc, srv)
|
|
|
}
|
|
|
|
|
|
func _User_GetUsersInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(GetUsersInfoReq)
|
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
if interceptor == nil {
|
|
|
return srv.(UserServer).GetUsersInfo(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/user.user/GetUsersInfo",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserServer).GetUsersInfo(ctx, req.(*GetUsersInfoReq))
|
|
|
}
|
|
|
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_SetGlobalRecvMessageOpt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(SetGlobalRecvMessageOptReq)
|
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
if interceptor == nil {
|
|
|
return srv.(UserServer).SetGlobalRecvMessageOpt(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/user.user/SetGlobalRecvMessageOpt",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserServer).SetGlobalRecvMessageOpt(ctx, req.(*SetGlobalRecvMessageOptReq))
|
|
|
}
|
|
|
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)
|
|
|
}
|
|
|
|
|
|
func _User_GetUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(GetUsersReq)
|
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
if interceptor == nil {
|
|
|
return srv.(UserServer).GetUsers(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/user.user/GetUsers",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserServer).GetUsers(ctx, req.(*GetUsersReq))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
var _User_serviceDesc = grpc.ServiceDesc{
|
|
|
ServiceName: "user.user",
|
|
|
HandlerType: (*UserServer)(nil),
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
{
|
|
|
MethodName: "GetUsersInfo",
|
|
|
Handler: _User_GetUsersInfo_Handler,
|
|
|
},
|
|
|
{
|
|
|
MethodName: "UpdateUserInfo",
|
|
|
Handler: _User_UpdateUserInfo_Handler,
|
|
|
},
|
|
|
{
|
|
|
MethodName: "SetGlobalRecvMessageOpt",
|
|
|
Handler: _User_SetGlobalRecvMessageOpt_Handler,
|
|
|
},
|
|
|
{
|
|
|
MethodName: "AccountCheck",
|
|
|
Handler: _User_AccountCheck_Handler,
|
|
|
},
|
|
|
{
|
|
|
MethodName: "GetUsers",
|
|
|
Handler: _User_GetUsers_Handler,
|
|
|
},
|
|
|
},
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
Metadata: "user/user.proto",
|
|
|
}
|
|
|
|
|
|
func init() { proto.RegisterFile("user/user.proto", fileDescriptor_user_d0f4cea05d456d6d) }
|
|
|
|
|
|
var fileDescriptor_user_d0f4cea05d456d6d = []byte{
|
|
|
// 887 bytes of a gzipped FileDescriptorProto
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xe1, 0x6e, 0xdc, 0x44,
|
|
|
0x10, 0x96, 0x2f, 0xb9, 0xa6, 0x99, 0xa4, 0xcd, 0x65, 0x93, 0x26, 0xc6, 0x51, 0xd1, 0xb1, 0xaa,
|
|
|
0xe0, 0x04, 0xea, 0x9d, 0x1a, 0x84, 0x00, 0x21, 0x10, 0x69, 0x4e, 0x1c, 0x27, 0xf5, 0xb8, 0xca,
|
|
|
0xe6, 0x54, 0x04, 0x88, 0xc3, 0x75, 0xb6, 0x57, 0x2b, 0xae, 0xbd, 0xf1, 0xac, 0x13, 0xf1, 0x0f,
|
|
|
0x89, 0x27, 0x81, 0x3f, 0xbc, 0x0b, 0xe2, 0x11, 0x78, 0x18, 0xb4, 0x6b, 0xfb, 0xce, 0xf6, 0xfa,
|
|
|
0xd2, 0x6b, 0xd4, 0x3f, 0x96, 0xe7, 0xdb, 0x99, 0xd9, 0xf9, 0x66, 0x67, 0x77, 0x06, 0x76, 0x12,
|
|
|
0x64, 0x71, 0x4f, 0x7e, 0xba, 0x3c, 0x8e, 0x44, 0x44, 0xd6, 0xe5, 0xbf, 0xd5, 0x19, 0x73, 0x16,
|
|
|
0x3e, 0x1c, 0x8e, 0x1e, 0x3a, 0x2c, 0xbe, 0x64, 0x71, 0x8f, 0x9f, 0xcf, 0x7a, 0x6a, 0xbd, 0x87,
|
|
|
0x67, 0xe7, 0xd3, 0x2b, 0xec, 0x5d, 0x61, 0xaa, 0x6f, 0x7d, 0xb6, 0x54, 0xd3, 0x8b, 0xc2, 0x4b,
|
|
|
0x16, 0xa3, 0x2b, 0xfc, 0x28, 0x2c, 0x09, 0xa9, 0x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