|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// source: user/user.proto
|
|
|
|
|
|
|
|
|
|
package user // import "OpenIM/pkg/proto/user"
|
|
|
|
|
|
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
|
|
|
import fmt "fmt"
|
|
|
|
|
import math "math"
|
|
|
|
|
import conversation "OpenIM/pkg/proto/conversation"
|
|
|
|
|
import sdkws "OpenIM/pkg/proto/sdkws"
|
|
|
|
|
|
|
|
|
|
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 *sdkws.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_74bf7c7fd74a4bda, []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() *sdkws.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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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 []*AccountCheckRespSingleUserStatus `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_74bf7c7fd74a4bda, []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() []*AccountCheckRespSingleUserStatus {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Results
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AccountCheckRespSingleUserStatus 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 *AccountCheckRespSingleUserStatus) Reset() { *m = AccountCheckRespSingleUserStatus{} }
|
|
|
|
|
func (m *AccountCheckRespSingleUserStatus) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*AccountCheckRespSingleUserStatus) ProtoMessage() {}
|
|
|
|
|
func (*AccountCheckRespSingleUserStatus) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_user_74bf7c7fd74a4bda, []int{3, 0}
|
|
|
|
|
}
|
|
|
|
|
func (m *AccountCheckRespSingleUserStatus) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return xxx_messageInfo_AccountCheckRespSingleUserStatus.Unmarshal(m, b)
|
|
|
|
|
}
|
|
|
|
|
func (m *AccountCheckRespSingleUserStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
return xxx_messageInfo_AccountCheckRespSingleUserStatus.Marshal(b, m, deterministic)
|
|
|
|
|
}
|
|
|
|
|
func (dst *AccountCheckRespSingleUserStatus) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_AccountCheckRespSingleUserStatus.Merge(dst, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *AccountCheckRespSingleUserStatus) XXX_Size() int {
|
|
|
|
|
return xxx_messageInfo_AccountCheckRespSingleUserStatus.Size(m)
|
|
|
|
|
}
|
|
|
|
|
func (m *AccountCheckRespSingleUserStatus) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_AccountCheckRespSingleUserStatus.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_AccountCheckRespSingleUserStatus proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func (m *AccountCheckRespSingleUserStatus) GetUserID() string {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.UserID
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *AccountCheckRespSingleUserStatus) GetAccountStatus() string {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.AccountStatus
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GetDesignateUsersReq 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 *GetDesignateUsersReq) Reset() { *m = GetDesignateUsersReq{} }
|
|
|
|
|
func (m *GetDesignateUsersReq) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*GetDesignateUsersReq) ProtoMessage() {}
|
|
|
|
|
func (*GetDesignateUsersReq) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_user_74bf7c7fd74a4bda, []int{4}
|
|
|
|
|
}
|
|
|
|
|
func (m *GetDesignateUsersReq) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return xxx_messageInfo_GetDesignateUsersReq.Unmarshal(m, b)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetDesignateUsersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
return xxx_messageInfo_GetDesignateUsersReq.Marshal(b, m, deterministic)
|
|
|
|
|
}
|
|
|
|
|
func (dst *GetDesignateUsersReq) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_GetDesignateUsersReq.Merge(dst, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetDesignateUsersReq) XXX_Size() int {
|
|
|
|
|
return xxx_messageInfo_GetDesignateUsersReq.Size(m)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetDesignateUsersReq) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_GetDesignateUsersReq.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetDesignateUsersReq proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func (m *GetDesignateUsersReq) GetUserIDs() []string {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.UserIDs
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GetDesignateUsersResp struct {
|
|
|
|
|
UsersInfo []*sdkws.UserInfo `protobuf:"bytes,1,rep,name=usersInfo" json:"usersInfo,omitempty"`
|
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *GetDesignateUsersResp) Reset() { *m = GetDesignateUsersResp{} }
|
|
|
|
|
func (m *GetDesignateUsersResp) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*GetDesignateUsersResp) ProtoMessage() {}
|
|
|
|
|
func (*GetDesignateUsersResp) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_user_74bf7c7fd74a4bda, []int{5}
|
|
|
|
|
}
|
|
|
|
|
func (m *GetDesignateUsersResp) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return xxx_messageInfo_GetDesignateUsersResp.Unmarshal(m, b)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetDesignateUsersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
return xxx_messageInfo_GetDesignateUsersResp.Marshal(b, m, deterministic)
|
|
|
|
|
}
|
|
|
|
|
func (dst *GetDesignateUsersResp) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_GetDesignateUsersResp.Merge(dst, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetDesignateUsersResp) XXX_Size() int {
|
|
|
|
|
return xxx_messageInfo_GetDesignateUsersResp.Size(m)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetDesignateUsersResp) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_GetDesignateUsersResp.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetDesignateUsersResp proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func (m *GetDesignateUsersResp) GetUsersInfo() []*sdkws.UserInfo {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.UsersInfo
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type UpdateUserInfoReq struct {
|
|
|
|
|
UserInfo *sdkws.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_74bf7c7fd74a4bda, []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() *sdkws.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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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_74bf7c7fd74a4bda, []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 GetPaginationUsersReq struct {
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination" json:"pagination,omitempty"`
|
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *GetPaginationUsersReq) Reset() { *m = GetPaginationUsersReq{} }
|
|
|
|
|
func (m *GetPaginationUsersReq) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*GetPaginationUsersReq) ProtoMessage() {}
|
|
|
|
|
func (*GetPaginationUsersReq) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_user_74bf7c7fd74a4bda, []int{22}
|
|
|
|
|
}
|
|
|
|
|
func (m *GetPaginationUsersReq) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return xxx_messageInfo_GetPaginationUsersReq.Unmarshal(m, b)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetPaginationUsersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
return xxx_messageInfo_GetPaginationUsersReq.Marshal(b, m, deterministic)
|
|
|
|
|
}
|
|
|
|
|
func (dst *GetPaginationUsersReq) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_GetPaginationUsersReq.Merge(dst, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetPaginationUsersReq) XXX_Size() int {
|
|
|
|
|
return xxx_messageInfo_GetPaginationUsersReq.Size(m)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetPaginationUsersReq) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_GetPaginationUsersReq.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetPaginationUsersReq proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func (m *GetPaginationUsersReq) GetPagination() *sdkws.RequestPagination {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Pagination
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GetPaginationUsersResp struct {
|
|
|
|
|
Total int32 `protobuf:"varint,1,opt,name=total" json:"total,omitempty"`
|
|
|
|
|
Users []*sdkws.UserInfo `protobuf:"bytes,2,rep,name=users" json:"users,omitempty"`
|
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *GetPaginationUsersResp) Reset() { *m = GetPaginationUsersResp{} }
|
|
|
|
|
func (m *GetPaginationUsersResp) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*GetPaginationUsersResp) ProtoMessage() {}
|
|
|
|
|
func (*GetPaginationUsersResp) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_user_74bf7c7fd74a4bda, []int{23}
|
|
|
|
|
}
|
|
|
|
|
func (m *GetPaginationUsersResp) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return xxx_messageInfo_GetPaginationUsersResp.Unmarshal(m, b)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetPaginationUsersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
return xxx_messageInfo_GetPaginationUsersResp.Marshal(b, m, deterministic)
|
|
|
|
|
}
|
|
|
|
|
func (dst *GetPaginationUsersResp) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_GetPaginationUsersResp.Merge(dst, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetPaginationUsersResp) XXX_Size() int {
|
|
|
|
|
return xxx_messageInfo_GetPaginationUsersResp.Size(m)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetPaginationUsersResp) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_GetPaginationUsersResp.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetPaginationUsersResp proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func (m *GetPaginationUsersResp) GetTotal() int32 {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Total
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *GetPaginationUsersResp) GetUsers() []*sdkws.UserInfo {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Users
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type UserRegisterReq struct {
|
|
|
|
|
Users []*sdkws.UserInfo `protobuf:"bytes,1,rep,name=users" json:"users,omitempty"`
|
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *UserRegisterReq) Reset() { *m = UserRegisterReq{} }
|
|
|
|
|
func (m *UserRegisterReq) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*UserRegisterReq) ProtoMessage() {}
|
|
|
|
|
func (*UserRegisterReq) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_user_74bf7c7fd74a4bda, []int{24}
|
|
|
|
|
}
|
|
|
|
|
func (m *UserRegisterReq) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return xxx_messageInfo_UserRegisterReq.Unmarshal(m, b)
|
|
|
|
|
}
|
|
|
|
|
func (m *UserRegisterReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
return xxx_messageInfo_UserRegisterReq.Marshal(b, m, deterministic)
|
|
|
|
|
}
|
|
|
|
|
func (dst *UserRegisterReq) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_UserRegisterReq.Merge(dst, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *UserRegisterReq) XXX_Size() int {
|
|
|
|
|
return xxx_messageInfo_UserRegisterReq.Size(m)
|
|
|
|
|
}
|
|
|
|
|
func (m *UserRegisterReq) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_UserRegisterReq.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_UserRegisterReq proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func (m *UserRegisterReq) GetUsers() []*sdkws.UserInfo {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Users
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type UserRegisterResp struct {
|
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *UserRegisterResp) Reset() { *m = UserRegisterResp{} }
|
|
|
|
|
func (m *UserRegisterResp) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*UserRegisterResp) ProtoMessage() {}
|
|
|
|
|
func (*UserRegisterResp) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_user_74bf7c7fd74a4bda, []int{25}
|
|
|
|
|
}
|
|
|
|
|
func (m *UserRegisterResp) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return xxx_messageInfo_UserRegisterResp.Unmarshal(m, b)
|
|
|
|
|
}
|
|
|
|
|
func (m *UserRegisterResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
return xxx_messageInfo_UserRegisterResp.Marshal(b, m, deterministic)
|
|
|
|
|
}
|
|
|
|
|
func (dst *UserRegisterResp) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_UserRegisterResp.Merge(dst, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *UserRegisterResp) XXX_Size() int {
|
|
|
|
|
return xxx_messageInfo_UserRegisterResp.Size(m)
|
|
|
|
|
}
|
|
|
|
|
func (m *UserRegisterResp) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_UserRegisterResp.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_UserRegisterResp proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
type GetGlobalRecvMessageOptReq struct {
|
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *GetGlobalRecvMessageOptReq) Reset() { *m = GetGlobalRecvMessageOptReq{} }
|
|
|
|
|
func (m *GetGlobalRecvMessageOptReq) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*GetGlobalRecvMessageOptReq) ProtoMessage() {}
|
|
|
|
|
func (*GetGlobalRecvMessageOptReq) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_user_74bf7c7fd74a4bda, []int{26}
|
|
|
|
|
}
|
|
|
|
|
func (m *GetGlobalRecvMessageOptReq) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return xxx_messageInfo_GetGlobalRecvMessageOptReq.Unmarshal(m, b)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetGlobalRecvMessageOptReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
return xxx_messageInfo_GetGlobalRecvMessageOptReq.Marshal(b, m, deterministic)
|
|
|
|
|
}
|
|
|
|
|
func (dst *GetGlobalRecvMessageOptReq) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_GetGlobalRecvMessageOptReq.Merge(dst, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetGlobalRecvMessageOptReq) XXX_Size() int {
|
|
|
|
|
return xxx_messageInfo_GetGlobalRecvMessageOptReq.Size(m)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetGlobalRecvMessageOptReq) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_GetGlobalRecvMessageOptReq.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetGlobalRecvMessageOptReq proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func (m *GetGlobalRecvMessageOptReq) GetUserID() string {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.UserID
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GetGlobalRecvMessageOptResp struct {
|
|
|
|
|
GlobalRecvMsgOpt int32 `protobuf:"varint,1,opt,name=globalRecvMsgOpt" json:"globalRecvMsgOpt,omitempty"`
|
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *GetGlobalRecvMessageOptResp) Reset() { *m = GetGlobalRecvMessageOptResp{} }
|
|
|
|
|
func (m *GetGlobalRecvMessageOptResp) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*GetGlobalRecvMessageOptResp) ProtoMessage() {}
|
|
|
|
|
func (*GetGlobalRecvMessageOptResp) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_user_74bf7c7fd74a4bda, []int{27}
|
|
|
|
|
}
|
|
|
|
|
func (m *GetGlobalRecvMessageOptResp) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return xxx_messageInfo_GetGlobalRecvMessageOptResp.Unmarshal(m, b)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetGlobalRecvMessageOptResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
return xxx_messageInfo_GetGlobalRecvMessageOptResp.Marshal(b, m, deterministic)
|
|
|
|
|
}
|
|
|
|
|
func (dst *GetGlobalRecvMessageOptResp) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_GetGlobalRecvMessageOptResp.Merge(dst, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetGlobalRecvMessageOptResp) XXX_Size() int {
|
|
|
|
|
return xxx_messageInfo_GetGlobalRecvMessageOptResp.Size(m)
|
|
|
|
|
}
|
|
|
|
|
func (m *GetGlobalRecvMessageOptResp) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_GetGlobalRecvMessageOptResp.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetGlobalRecvMessageOptResp proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func (m *GetGlobalRecvMessageOptResp) GetGlobalRecvMsgOpt() int32 {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.GlobalRecvMsgOpt
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
|
proto.RegisterType((*GetAllUserIDReq)(nil), "OpenIMServer.user.getAllUserIDReq")
|
|
|
|
|
proto.RegisterType((*GetAllUserIDResp)(nil), "OpenIMServer.user.getAllUserIDResp")
|
|
|
|
|
proto.RegisterType((*AccountCheckReq)(nil), "OpenIMServer.user.accountCheckReq")
|
|
|
|
|
proto.RegisterType((*AccountCheckResp)(nil), "OpenIMServer.user.accountCheckResp")
|
|
|
|
|
proto.RegisterType((*AccountCheckRespSingleUserStatus)(nil), "OpenIMServer.user.accountCheckResp.singleUserStatus")
|
|
|
|
|
proto.RegisterType((*GetDesignateUsersReq)(nil), "OpenIMServer.user.getDesignateUsersReq")
|
|
|
|
|
proto.RegisterType((*GetDesignateUsersResp)(nil), "OpenIMServer.user.getDesignateUsersResp")
|
|
|
|
|
proto.RegisterType((*UpdateUserInfoReq)(nil), "OpenIMServer.user.updateUserInfoReq")
|
|
|
|
|
proto.RegisterType((*UpdateUserInfoResp)(nil), "OpenIMServer.user.updateUserInfoResp")
|
|
|
|
|
proto.RegisterType((*SetGlobalRecvMessageOptReq)(nil), "OpenIMServer.user.setGlobalRecvMessageOptReq")
|
|
|
|
|
proto.RegisterType((*SetGlobalRecvMessageOptResp)(nil), "OpenIMServer.user.setGlobalRecvMessageOptResp")
|
|
|
|
|
proto.RegisterType((*SetConversationReq)(nil), "OpenIMServer.user.setConversationReq")
|
|
|
|
|
proto.RegisterType((*SetConversationResp)(nil), "OpenIMServer.user.setConversationResp")
|
|
|
|
|
proto.RegisterType((*SetRecvMsgOptReq)(nil), "OpenIMServer.user.setRecvMsgOptReq")
|
|
|
|
|
proto.RegisterType((*SetRecvMsgOptResp)(nil), "OpenIMServer.user.setRecvMsgOptResp")
|
|
|
|
|
proto.RegisterType((*GetConversationReq)(nil), "OpenIMServer.user.getConversationReq")
|
|
|
|
|
proto.RegisterType((*GetConversationResp)(nil), "OpenIMServer.user.getConversationResp")
|
|
|
|
|
proto.RegisterType((*GetConversationsReq)(nil), "OpenIMServer.user.getConversationsReq")
|
|
|
|
|
proto.RegisterType((*GetConversationsResp)(nil), "OpenIMServer.user.getConversationsResp")
|
|
|
|
|
proto.RegisterType((*GetAllConversationsReq)(nil), "OpenIMServer.user.getAllConversationsReq")
|
|
|
|
|
proto.RegisterType((*GetAllConversationsResp)(nil), "OpenIMServer.user.getAllConversationsResp")
|
|
|
|
|
proto.RegisterType((*BatchSetConversationsReq)(nil), "OpenIMServer.user.batchSetConversationsReq")
|
|
|
|
|
proto.RegisterType((*BatchSetConversationsResp)(nil), "OpenIMServer.user.batchSetConversationsResp")
|
|
|
|
|
proto.RegisterType((*GetPaginationUsersReq)(nil), "OpenIMServer.user.getPaginationUsersReq")
|
|
|
|
|
proto.RegisterType((*GetPaginationUsersResp)(nil), "OpenIMServer.user.getPaginationUsersResp")
|
|
|
|
|
proto.RegisterType((*UserRegisterReq)(nil), "OpenIMServer.user.userRegisterReq")
|
|
|
|
|
proto.RegisterType((*UserRegisterResp)(nil), "OpenIMServer.user.userRegisterResp")
|
|
|
|
|
proto.RegisterType((*GetGlobalRecvMessageOptReq)(nil), "OpenIMServer.user.getGlobalRecvMessageOptReq")
|
|
|
|
|
proto.RegisterType((*GetGlobalRecvMessageOptResp)(nil), "OpenIMServer.user.getGlobalRecvMessageOptResp")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 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 {
|
|
|
|
|
// 获取指定的用户信息 全字段
|
|
|
|
|
GetDesignateUsers(ctx context.Context, in *GetDesignateUsersReq, opts ...grpc.CallOption) (*GetDesignateUsersResp, error)
|
|
|
|
|
// 更新用户信息
|
|
|
|
|
UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*UpdateUserInfoResp, error)
|
|
|
|
|
// 设置用户消息接收选项
|
|
|
|
|
SetGlobalRecvMessageOpt(ctx context.Context, in *SetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*SetGlobalRecvMessageOptResp, error)
|
|
|
|
|
// 获取用户消息接收选项 没找到不返回错误
|
|
|
|
|
GetGlobalRecvMessageOpt(ctx context.Context, in *GetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*GetGlobalRecvMessageOptResp, error)
|
|
|
|
|
// 检查userID是否存在
|
|
|
|
|
AccountCheck(ctx context.Context, in *AccountCheckReq, opts ...grpc.CallOption) (*AccountCheckResp, error)
|
|
|
|
|
// 翻页(或指定userID,昵称)拉取用户信息 全字段
|
|
|
|
|
GetPaginationUsers(ctx context.Context, in *GetPaginationUsersReq, opts ...grpc.CallOption) (*GetPaginationUsersResp, error)
|
|
|
|
|
// 用户注册
|
|
|
|
|
UserRegister(ctx context.Context, in *UserRegisterReq, opts ...grpc.CallOption) (*UserRegisterResp, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type userClient struct {
|
|
|
|
|
cc *grpc.ClientConn
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func NewUserClient(cc *grpc.ClientConn) UserClient {
|
|
|
|
|
return &userClient{cc}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *userClient) GetDesignateUsers(ctx context.Context, in *GetDesignateUsersReq, opts ...grpc.CallOption) (*GetDesignateUsersResp, error) {
|
|
|
|
|
out := new(GetDesignateUsersResp)
|
|
|
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.user.user/getDesignateUsers", 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, "/OpenIMServer.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, "/OpenIMServer.user.user/setGlobalRecvMessageOpt", in, out, c.cc, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *userClient) GetGlobalRecvMessageOpt(ctx context.Context, in *GetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*GetGlobalRecvMessageOptResp, error) {
|
|
|
|
|
out := new(GetGlobalRecvMessageOptResp)
|
|
|
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.user.user/getGlobalRecvMessageOpt", 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, "/OpenIMServer.user.user/accountCheck", in, out, c.cc, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *userClient) GetPaginationUsers(ctx context.Context, in *GetPaginationUsersReq, opts ...grpc.CallOption) (*GetPaginationUsersResp, error) {
|
|
|
|
|
out := new(GetPaginationUsersResp)
|
|
|
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.user.user/getPaginationUsers", in, out, c.cc, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *userClient) UserRegister(ctx context.Context, in *UserRegisterReq, opts ...grpc.CallOption) (*UserRegisterResp, error) {
|
|
|
|
|
out := new(UserRegisterResp)
|
|
|
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.user.user/userRegister", in, out, c.cc, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Server API for User service
|
|
|
|
|
|
|
|
|
|
type UserServer interface {
|
|
|
|
|
// 获取指定的用户信息 全字段
|
|
|
|
|
GetDesignateUsers(context.Context, *GetDesignateUsersReq) (*GetDesignateUsersResp, error)
|
|
|
|
|
// 更新用户信息
|
|
|
|
|
UpdateUserInfo(context.Context, *UpdateUserInfoReq) (*UpdateUserInfoResp, error)
|
|
|
|
|
// 设置用户消息接收选项
|
|
|
|
|
SetGlobalRecvMessageOpt(context.Context, *SetGlobalRecvMessageOptReq) (*SetGlobalRecvMessageOptResp, error)
|
|
|
|
|
// 获取用户消息接收选项 没找到不返回错误
|
|
|
|
|
GetGlobalRecvMessageOpt(context.Context, *GetGlobalRecvMessageOptReq) (*GetGlobalRecvMessageOptResp, error)
|
|
|
|
|
// 检查userID是否存在
|
|
|
|
|
AccountCheck(context.Context, *AccountCheckReq) (*AccountCheckResp, error)
|
|
|
|
|
// 翻页(或指定userID,昵称)拉取用户信息 全字段
|
|
|
|
|
GetPaginationUsers(context.Context, *GetPaginationUsersReq) (*GetPaginationUsersResp, error)
|
|
|
|
|
// 用户注册
|
|
|
|
|
UserRegister(context.Context, *UserRegisterReq) (*UserRegisterResp, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func RegisterUserServer(s *grpc.Server, srv UserServer) {
|
|
|
|
|
s.RegisterService(&_User_serviceDesc, srv)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _User_GetDesignateUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(GetDesignateUsersReq)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(UserServer).GetDesignateUsers(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/OpenIMServer.user.user/GetDesignateUsers",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(UserServer).GetDesignateUsers(ctx, req.(*GetDesignateUsersReq))
|
|
|
|
|
}
|
|
|
|
|
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: "/OpenIMServer.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: "/OpenIMServer.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_GetGlobalRecvMessageOpt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(GetGlobalRecvMessageOptReq)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(UserServer).GetGlobalRecvMessageOpt(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/OpenIMServer.user.user/GetGlobalRecvMessageOpt",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(UserServer).GetGlobalRecvMessageOpt(ctx, req.(*GetGlobalRecvMessageOptReq))
|
|
|
|
|
}
|
|
|
|
|
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: "/OpenIMServer.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_GetPaginationUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(GetPaginationUsersReq)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(UserServer).GetPaginationUsers(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/OpenIMServer.user.user/GetPaginationUsers",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(UserServer).GetPaginationUsers(ctx, req.(*GetPaginationUsersReq))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _User_UserRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UserRegisterReq)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(UserServer).UserRegister(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/OpenIMServer.user.user/UserRegister",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(UserServer).UserRegister(ctx, req.(*UserRegisterReq))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var _User_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
ServiceName: "OpenIMServer.user.user",
|
|
|
|
|
HandlerType: (*UserServer)(nil),
|
|
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
|
{
|
|
|
|
|
MethodName: "getDesignateUsers",
|
|
|
|
|
Handler: _User_GetDesignateUsers_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateUserInfo",
|
|
|
|
|
Handler: _User_UpdateUserInfo_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "setGlobalRecvMessageOpt",
|
|
|
|
|
Handler: _User_SetGlobalRecvMessageOpt_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "getGlobalRecvMessageOpt",
|
|
|
|
|
Handler: _User_GetGlobalRecvMessageOpt_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "accountCheck",
|
|
|
|
|
Handler: _User_AccountCheck_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "getPaginationUsers",
|
|
|
|
|
Handler: _User_GetPaginationUsers_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "userRegister",
|
|
|
|
|
Handler: _User_UserRegister_Handler,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
|
Metadata: "user/user.proto",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("user/user.proto", fileDescriptor_user_74bf7c7fd74a4bda) }
|
|
|
|
|
|
|
|
|
|
var fileDescriptor_user_74bf7c7fd74a4bda = []byte{
|
|
|
|
|
// 943 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x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