Files
open-im-server/pkg/proto/user/user.pb.go
T

1621 lines
63 KiB
Go
Raw Normal View History

2021-05-26 19:44:49 +08:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: user/user.proto
2023-02-23 19:15:30 +08:00
package user // import "OpenIM/pkg/proto/user"
2023-01-29 15:03:39 +08:00
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
2023-02-23 19:15:30 +08:00
import conversation "OpenIM/pkg/proto/conversation"
import sdkws "OpenIM/pkg/proto/sdkws"
2021-05-26 19:44:49 +08:00
import (
2023-01-29 15:03:39 +08:00
context "golang.org/x/net/context"
2021-05-26 19:44:49 +08:00
grpc "google.golang.org/grpc"
2022-09-27 16:59:56 +08:00
)
2022-01-24 01:40:49 +08:00
2023-01-29 15:03:39 +08:00
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
// 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
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
type GetAllUserIDReq struct {
2023-02-09 20:36:34 +08:00
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination" json:"pagination,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetAllUserIDReq) Reset() { *m = GetAllUserIDReq{} }
func (m *GetAllUserIDReq) String() string { return proto.CompactTextString(m) }
func (*GetAllUserIDReq) ProtoMessage() {}
func (*GetAllUserIDReq) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{0}
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetAllUserIDReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetAllUserIDReq.Unmarshal(m, b)
2021-05-26 19:44:49 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetAllUserIDReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetAllUserIDReq.Marshal(b, m, deterministic)
2021-05-26 19:44:49 +08:00
}
2023-01-29 15:03:39 +08:00
func (dst *GetAllUserIDReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetAllUserIDReq.Merge(dst, src)
2022-03-31 14:50:02 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetAllUserIDReq) XXX_Size() int {
return xxx_messageInfo_GetAllUserIDReq.Size(m)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetAllUserIDReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetAllUserIDReq.DiscardUnknown(m)
2022-08-19 21:37:39 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_GetAllUserIDReq proto.InternalMessageInfo
2022-09-27 16:59:56 +08:00
2023-02-09 20:36:34 +08:00
func (m *GetAllUserIDReq) GetPagination() *sdkws.RequestPagination {
2023-01-29 15:03:39 +08:00
if m != nil {
return m.Pagination
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
return nil
2022-08-07 22:37:27 +08:00
}
2022-03-31 14:50:02 +08:00
2023-01-29 15:03:39 +08:00
type GetAllUserIDResp struct {
Total int32 `protobuf:"varint,1,opt,name=total" json:"total,omitempty"`
2023-01-31 20:33:33 +08:00
UserIDList []string `protobuf:"bytes,2,rep,name=userIDList" json:"userIDList,omitempty"`
2023-01-29 15:03:39 +08:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-09-27 16:59:56 +08:00
}
2022-08-19 21:37:39 +08:00
2023-01-29 15:03:39 +08:00
func (m *GetAllUserIDResp) Reset() { *m = GetAllUserIDResp{} }
func (m *GetAllUserIDResp) String() string { return proto.CompactTextString(m) }
func (*GetAllUserIDResp) ProtoMessage() {}
func (*GetAllUserIDResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{1}
2021-09-22 20:10:38 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetAllUserIDResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetAllUserIDResp.Unmarshal(m, b)
2021-09-22 20:10:38 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetAllUserIDResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetAllUserIDResp.Marshal(b, m, deterministic)
2022-03-31 14:50:02 +08:00
}
2023-01-29 15:03:39 +08:00
func (dst *GetAllUserIDResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetAllUserIDResp.Merge(dst, src)
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetAllUserIDResp) XXX_Size() int {
return xxx_messageInfo_GetAllUserIDResp.Size(m)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetAllUserIDResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetAllUserIDResp.DiscardUnknown(m)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_GetAllUserIDResp proto.InternalMessageInfo
2022-01-24 01:40:49 +08:00
2023-01-29 15:03:39 +08:00
func (m *GetAllUserIDResp) GetTotal() int32 {
if m != nil {
return m.Total
2022-01-24 01:40:49 +08:00
}
2023-01-29 15:03:39 +08:00
return 0
2021-12-27 16:48:05 +08:00
}
2022-01-24 01:40:49 +08:00
2023-01-29 15:03:39 +08:00
func (m *GetAllUserIDResp) GetUserIDList() []string {
if m != nil {
return m.UserIDList
2022-01-24 01:40:49 +08:00
}
return nil
2021-12-27 16:48:05 +08:00
}
2022-01-24 01:40:49 +08:00
type AccountCheckReq struct {
2023-01-29 15:03:39 +08:00
CheckUserIDs []string `protobuf:"bytes,1,rep,name=checkUserIDs" json:"checkUserIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-03-31 14:50:02 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func (m *AccountCheckReq) Reset() { *m = AccountCheckReq{} }
func (m *AccountCheckReq) String() string { return proto.CompactTextString(m) }
func (*AccountCheckReq) ProtoMessage() {}
func (*AccountCheckReq) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{2}
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *AccountCheckReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AccountCheckReq.Unmarshal(m, b)
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *AccountCheckReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AccountCheckReq.Marshal(b, m, deterministic)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (dst *AccountCheckReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_AccountCheckReq.Merge(dst, src)
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *AccountCheckReq) XXX_Size() int {
return xxx_messageInfo_AccountCheckReq.Size(m)
2021-12-27 16:48:05 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *AccountCheckReq) XXX_DiscardUnknown() {
xxx_messageInfo_AccountCheckReq.DiscardUnknown(m)
2021-09-22 20:10:38 +08:00
}
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_AccountCheckReq proto.InternalMessageInfo
func (m *AccountCheckReq) GetCheckUserIDs() []string {
if m != nil {
return m.CheckUserIDs
2022-01-24 01:40:49 +08:00
}
2023-01-29 15:03:39 +08:00
return nil
2022-01-24 01:40:49 +08:00
}
type AccountCheckResp struct {
2023-01-31 20:33:33 +08:00
Results []*AccountCheckRespSingleUserStatus `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-01-24 01:40:49 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func (m *AccountCheckResp) Reset() { *m = AccountCheckResp{} }
func (m *AccountCheckResp) String() string { return proto.CompactTextString(m) }
func (*AccountCheckResp) ProtoMessage() {}
func (*AccountCheckResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{3}
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *AccountCheckResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AccountCheckResp.Unmarshal(m, b)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *AccountCheckResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AccountCheckResp.Marshal(b, m, deterministic)
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (dst *AccountCheckResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_AccountCheckResp.Merge(dst, src)
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *AccountCheckResp) XXX_Size() int {
return xxx_messageInfo_AccountCheckResp.Size(m)
}
func (m *AccountCheckResp) XXX_DiscardUnknown() {
xxx_messageInfo_AccountCheckResp.DiscardUnknown(m)
2021-09-22 20:10:38 +08:00
}
2022-01-24 01:40:49 +08:00
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_AccountCheckResp proto.InternalMessageInfo
2023-01-31 20:33:33 +08:00
func (m *AccountCheckResp) GetResults() []*AccountCheckRespSingleUserStatus {
2023-01-29 15:03:39 +08:00
if m != nil {
return m.Results
2022-01-24 01:40:49 +08:00
}
return nil
}
2023-01-31 20:33:33 +08:00
type AccountCheckRespSingleUserStatus struct {
2023-01-29 15:03:39 +08:00
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:"-"`
2022-08-19 21:37:39 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *AccountCheckRespSingleUserStatus) Reset() { *m = AccountCheckRespSingleUserStatus{} }
func (m *AccountCheckRespSingleUserStatus) String() string { return proto.CompactTextString(m) }
func (*AccountCheckRespSingleUserStatus) ProtoMessage() {}
func (*AccountCheckRespSingleUserStatus) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{3, 0}
2021-09-22 20:10:38 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *AccountCheckRespSingleUserStatus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AccountCheckRespSingleUserStatus.Unmarshal(m, b)
2021-09-22 20:10:38 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *AccountCheckRespSingleUserStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AccountCheckRespSingleUserStatus.Marshal(b, m, deterministic)
2021-09-22 20:10:38 +08:00
}
2023-01-31 20:33:33 +08:00
func (dst *AccountCheckRespSingleUserStatus) XXX_Merge(src proto.Message) {
xxx_messageInfo_AccountCheckRespSingleUserStatus.Merge(dst, src)
2022-08-19 21:37:39 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *AccountCheckRespSingleUserStatus) XXX_Size() int {
return xxx_messageInfo_AccountCheckRespSingleUserStatus.Size(m)
2023-01-29 15:03:39 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *AccountCheckRespSingleUserStatus) XXX_DiscardUnknown() {
xxx_messageInfo_AccountCheckRespSingleUserStatus.DiscardUnknown(m)
2022-01-24 01:40:49 +08:00
}
2021-09-22 20:10:38 +08:00
2023-01-31 20:33:33 +08:00
var xxx_messageInfo_AccountCheckRespSingleUserStatus proto.InternalMessageInfo
2023-01-29 15:03:39 +08:00
2023-01-31 20:33:33 +08:00
func (m *AccountCheckRespSingleUserStatus) GetUserID() string {
2023-01-29 15:03:39 +08:00
if m != nil {
return m.UserID
2021-09-22 20:10:38 +08:00
}
return ""
}
2023-01-31 20:33:33 +08:00
func (m *AccountCheckRespSingleUserStatus) GetAccountStatus() string {
2023-01-29 15:03:39 +08:00
if m != nil {
return m.AccountStatus
2021-09-22 20:10:38 +08:00
}
return ""
}
2023-02-07 20:39:12 +08:00
type GetDesignateUsersReq struct {
2023-01-29 15:03:39 +08:00
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs" json:"userIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-03-31 14:50:02 +08:00
}
2022-09-27 16:59:56 +08:00
2023-02-07 20:39:12 +08:00
func (m *GetDesignateUsersReq) Reset() { *m = GetDesignateUsersReq{} }
func (m *GetDesignateUsersReq) String() string { return proto.CompactTextString(m) }
func (*GetDesignateUsersReq) ProtoMessage() {}
func (*GetDesignateUsersReq) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{4}
2022-08-19 21:37:39 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetDesignateUsersReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetDesignateUsersReq.Unmarshal(m, b)
2022-08-07 22:37:27 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetDesignateUsersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetDesignateUsersReq.Marshal(b, m, deterministic)
2022-08-19 21:37:39 +08:00
}
2023-02-07 20:39:12 +08:00
func (dst *GetDesignateUsersReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetDesignateUsersReq.Merge(dst, src)
2022-09-27 16:59:56 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetDesignateUsersReq) XXX_Size() int {
return xxx_messageInfo_GetDesignateUsersReq.Size(m)
2023-01-29 15:03:39 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetDesignateUsersReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetDesignateUsersReq.DiscardUnknown(m)
2021-09-22 20:10:38 +08:00
}
2022-01-24 01:40:49 +08:00
2023-02-07 20:39:12 +08:00
var xxx_messageInfo_GetDesignateUsersReq proto.InternalMessageInfo
2023-01-29 15:03:39 +08:00
2023-02-07 20:39:12 +08:00
func (m *GetDesignateUsersReq) GetUserIDs() []string {
2023-01-29 15:03:39 +08:00
if m != nil {
return m.UserIDs
2022-01-24 01:40:49 +08:00
}
return nil
2021-09-22 20:10:38 +08:00
}
2023-02-07 20:39:12 +08:00
type GetDesignateUsersResp struct {
2023-02-09 20:36:34 +08:00
UsersInfo []*sdkws.UserInfo `protobuf:"bytes,1,rep,name=usersInfo" json:"usersInfo,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-01-24 01:40:49 +08:00
}
2022-09-27 16:59:56 +08:00
2023-02-07 20:39:12 +08:00
func (m *GetDesignateUsersResp) Reset() { *m = GetDesignateUsersResp{} }
func (m *GetDesignateUsersResp) String() string { return proto.CompactTextString(m) }
func (*GetDesignateUsersResp) ProtoMessage() {}
func (*GetDesignateUsersResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{5}
2022-08-19 21:37:39 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetDesignateUsersResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetDesignateUsersResp.Unmarshal(m, b)
2022-08-19 21:37:39 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetDesignateUsersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetDesignateUsersResp.Marshal(b, m, deterministic)
2022-08-07 22:37:27 +08:00
}
2023-02-07 20:39:12 +08:00
func (dst *GetDesignateUsersResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetDesignateUsersResp.Merge(dst, src)
2023-01-29 15:03:39 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetDesignateUsersResp) XXX_Size() int {
return xxx_messageInfo_GetDesignateUsersResp.Size(m)
2023-01-29 15:03:39 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetDesignateUsersResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetDesignateUsersResp.DiscardUnknown(m)
2022-09-27 16:59:56 +08:00
}
2022-08-19 21:37:39 +08:00
2023-02-07 20:39:12 +08:00
var xxx_messageInfo_GetDesignateUsersResp proto.InternalMessageInfo
2023-01-29 15:03:39 +08:00
2023-02-09 20:36:34 +08:00
func (m *GetDesignateUsersResp) GetUsersInfo() []*sdkws.UserInfo {
2023-01-29 15:03:39 +08:00
if m != nil {
return m.UsersInfo
2021-09-22 20:10:38 +08:00
}
return nil
}
2023-01-29 15:03:39 +08:00
type UpdateUserInfoReq struct {
2023-02-09 20:36:34 +08:00
UserInfo *sdkws.UserInfo `protobuf:"bytes,1,opt,name=userInfo" json:"userInfo,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2021-12-17 14:28:43 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *UpdateUserInfoReq) Reset() { *m = UpdateUserInfoReq{} }
func (m *UpdateUserInfoReq) String() string { return proto.CompactTextString(m) }
func (*UpdateUserInfoReq) ProtoMessage() {}
func (*UpdateUserInfoReq) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{6}
2021-12-17 14:28:43 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *UpdateUserInfoReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateUserInfoReq.Unmarshal(m, b)
2022-03-31 14:50:02 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *UpdateUserInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateUserInfoReq.Marshal(b, m, deterministic)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (dst *UpdateUserInfoReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateUserInfoReq.Merge(dst, src)
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *UpdateUserInfoReq) XXX_Size() int {
return xxx_messageInfo_UpdateUserInfoReq.Size(m)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *UpdateUserInfoReq) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateUserInfoReq.DiscardUnknown(m)
2022-09-27 16:59:56 +08:00
}
2022-01-24 01:40:49 +08:00
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_UpdateUserInfoReq proto.InternalMessageInfo
2023-02-09 20:36:34 +08:00
func (m *UpdateUserInfoReq) GetUserInfo() *sdkws.UserInfo {
2023-01-29 15:03:39 +08:00
if m != nil {
return m.UserInfo
2022-01-24 01:40:49 +08:00
}
return nil
}
2023-01-29 15:03:39 +08:00
type UpdateUserInfoResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-06-16 19:09:13 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func (m *UpdateUserInfoResp) Reset() { *m = UpdateUserInfoResp{} }
func (m *UpdateUserInfoResp) String() string { return proto.CompactTextString(m) }
func (*UpdateUserInfoResp) ProtoMessage() {}
func (*UpdateUserInfoResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{7}
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
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)
2022-08-19 21:37:39 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_UpdateUserInfoResp proto.InternalMessageInfo
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
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:"-"`
2022-08-07 22:37:27 +08:00
}
2022-06-16 19:09:13 +08:00
2023-01-29 15:03:39 +08:00
func (m *SetGlobalRecvMessageOptReq) Reset() { *m = SetGlobalRecvMessageOptReq{} }
func (m *SetGlobalRecvMessageOptReq) String() string { return proto.CompactTextString(m) }
func (*SetGlobalRecvMessageOptReq) ProtoMessage() {}
2022-09-27 16:59:56 +08:00
func (*SetGlobalRecvMessageOptReq) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{8}
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
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)
2022-06-16 19:09:13 +08:00
}
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_SetGlobalRecvMessageOptReq proto.InternalMessageInfo
func (m *SetGlobalRecvMessageOptReq) GetUserID() string {
if m != nil {
return m.UserID
2022-06-16 19:09:13 +08:00
}
return ""
}
2023-01-29 15:03:39 +08:00
func (m *SetGlobalRecvMessageOptReq) GetGlobalRecvMsgOpt() int32 {
if m != nil {
return m.GlobalRecvMsgOpt
2022-06-16 19:09:13 +08:00
}
return 0
}
type SetGlobalRecvMessageOptResp struct {
2023-01-29 15:03:39 +08:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-06-16 19:09:13 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func (m *SetGlobalRecvMessageOptResp) Reset() { *m = SetGlobalRecvMessageOptResp{} }
func (m *SetGlobalRecvMessageOptResp) String() string { return proto.CompactTextString(m) }
func (*SetGlobalRecvMessageOptResp) ProtoMessage() {}
func (*SetGlobalRecvMessageOptResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{9}
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetGlobalRecvMessageOptResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetGlobalRecvMessageOptResp.Unmarshal(m, b)
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetGlobalRecvMessageOptResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetGlobalRecvMessageOptResp.Marshal(b, m, deterministic)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (dst *SetGlobalRecvMessageOptResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetGlobalRecvMessageOptResp.Merge(dst, src)
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetGlobalRecvMessageOptResp) XXX_Size() int {
return xxx_messageInfo_SetGlobalRecvMessageOptResp.Size(m)
}
func (m *SetGlobalRecvMessageOptResp) XXX_DiscardUnknown() {
xxx_messageInfo_SetGlobalRecvMessageOptResp.DiscardUnknown(m)
2022-06-16 19:09:13 +08:00
}
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_SetGlobalRecvMessageOptResp proto.InternalMessageInfo
2022-08-07 22:37:27 +08:00
2023-01-29 15:03:39 +08:00
type SetConversationReq struct {
2023-01-31 20:33:33 +08:00
Conversation *conversation.Conversation `protobuf:"bytes,1,opt,name=conversation" json:"conversation,omitempty"`
2023-01-29 15:03:39 +08:00
NotificationType int32 `protobuf:"varint,2,opt,name=notificationType" json:"notificationType,omitempty"`
2023-01-31 20:33:33 +08:00
OperationID string `protobuf:"bytes,3,opt,name=operationID" json:"operationID,omitempty"`
2023-01-29 15:03:39 +08:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-03-31 14:50:02 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func (m *SetConversationReq) Reset() { *m = SetConversationReq{} }
func (m *SetConversationReq) String() string { return proto.CompactTextString(m) }
func (*SetConversationReq) ProtoMessage() {}
func (*SetConversationReq) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{10}
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetConversationReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetConversationReq.Unmarshal(m, b)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetConversationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetConversationReq.Marshal(b, m, deterministic)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
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)
2022-09-27 16:59:56 +08:00
}
2022-01-24 01:40:49 +08:00
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_SetConversationReq proto.InternalMessageInfo
func (m *SetConversationReq) GetConversation() *conversation.Conversation {
if m != nil {
return m.Conversation
2022-01-24 01:40:49 +08:00
}
2022-03-31 14:50:02 +08:00
return nil
2021-12-17 14:28:43 +08:00
}
2022-01-24 01:40:49 +08:00
2023-01-29 15:03:39 +08:00
func (m *SetConversationReq) GetNotificationType() int32 {
if m != nil {
return m.NotificationType
2022-01-24 01:40:49 +08:00
}
2022-03-31 14:50:02 +08:00
return 0
2021-12-17 14:28:43 +08:00
}
2022-01-24 01:40:49 +08:00
2023-01-29 15:03:39 +08:00
func (m *SetConversationReq) GetOperationID() string {
if m != nil {
return m.OperationID
2022-01-24 01:40:49 +08:00
}
2022-03-11 17:37:01 +08:00
return ""
2021-12-17 14:28:43 +08:00
}
2022-03-11 17:37:01 +08:00
type SetConversationResp struct {
2023-01-29 15:03:39 +08:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-01-24 01:40:49 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func (m *SetConversationResp) Reset() { *m = SetConversationResp{} }
func (m *SetConversationResp) String() string { return proto.CompactTextString(m) }
func (*SetConversationResp) ProtoMessage() {}
func (*SetConversationResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{11}
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetConversationResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetConversationResp.Unmarshal(m, b)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetConversationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetConversationResp.Marshal(b, m, deterministic)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (dst *SetConversationResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetConversationResp.Merge(dst, src)
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetConversationResp) XXX_Size() int {
return xxx_messageInfo_SetConversationResp.Size(m)
}
func (m *SetConversationResp) XXX_DiscardUnknown() {
xxx_messageInfo_SetConversationResp.DiscardUnknown(m)
2021-12-17 14:28:43 +08:00
}
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_SetConversationResp proto.InternalMessageInfo
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
type SetRecvMsgOptReq struct {
2023-01-31 20:33:33 +08:00
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"`
2023-01-29 15:03:39 +08:00
NotificationType int32 `protobuf:"varint,4,opt,name=notificationType" json:"notificationType,omitempty"`
2023-01-31 20:33:33 +08:00
OperationID string `protobuf:"bytes,5,opt,name=operationID" json:"operationID,omitempty"`
2023-01-29 15:03:39 +08:00
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) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{12}
2022-03-31 14:50:02 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetRecvMsgOptReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetRecvMsgOptReq.Unmarshal(m, b)
2022-03-16 18:02:26 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetRecvMsgOptReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetRecvMsgOptReq.Marshal(b, m, deterministic)
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (dst *SetRecvMsgOptReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetRecvMsgOptReq.Merge(dst, src)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetRecvMsgOptReq) XXX_Size() int {
return xxx_messageInfo_SetRecvMsgOptReq.Size(m)
}
func (m *SetRecvMsgOptReq) XXX_DiscardUnknown() {
xxx_messageInfo_SetRecvMsgOptReq.DiscardUnknown(m)
2022-09-27 16:59:56 +08:00
}
2022-03-16 18:02:26 +08:00
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_SetRecvMsgOptReq proto.InternalMessageInfo
func (m *SetRecvMsgOptReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
2022-03-16 18:02:26 +08:00
}
2022-03-31 14:50:02 +08:00
return ""
2022-03-16 18:02:26 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetRecvMsgOptReq) GetConversationID() string {
if m != nil {
return m.ConversationID
2022-03-16 18:02:26 +08:00
}
return ""
}
2023-01-29 15:03:39 +08:00
func (m *SetRecvMsgOptReq) GetRecvMsgOpt() int32 {
if m != nil {
return m.RecvMsgOpt
2022-03-16 18:02:26 +08:00
}
2022-03-31 14:50:02 +08:00
return 0
2022-03-16 18:02:26 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetRecvMsgOptReq) GetNotificationType() int32 {
if m != nil {
return m.NotificationType
2022-03-16 18:02:26 +08:00
}
return 0
}
2023-01-29 15:03:39 +08:00
func (m *SetRecvMsgOptReq) GetOperationID() string {
if m != nil {
return m.OperationID
2022-03-16 18:02:26 +08:00
}
return ""
}
type SetRecvMsgOptResp struct {
2023-01-29 15:03:39 +08:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-03-16 18:02:26 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func (m *SetRecvMsgOptResp) Reset() { *m = SetRecvMsgOptResp{} }
func (m *SetRecvMsgOptResp) String() string { return proto.CompactTextString(m) }
func (*SetRecvMsgOptResp) ProtoMessage() {}
func (*SetRecvMsgOptResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{13}
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetRecvMsgOptResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetRecvMsgOptResp.Unmarshal(m, b)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetRecvMsgOptResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetRecvMsgOptResp.Marshal(b, m, deterministic)
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (dst *SetRecvMsgOptResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetRecvMsgOptResp.Merge(dst, src)
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *SetRecvMsgOptResp) XXX_Size() int {
return xxx_messageInfo_SetRecvMsgOptResp.Size(m)
}
func (m *SetRecvMsgOptResp) XXX_DiscardUnknown() {
xxx_messageInfo_SetRecvMsgOptResp.DiscardUnknown(m)
2022-03-16 18:02:26 +08:00
}
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_SetRecvMsgOptResp proto.InternalMessageInfo
2022-08-07 22:37:27 +08:00
2023-01-29 15:03:39 +08:00
type GetConversationReq struct {
2023-01-31 20:33:33 +08:00
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"`
2023-01-29 15:03:39 +08:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-03-31 14:50:02 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func (m *GetConversationReq) Reset() { *m = GetConversationReq{} }
func (m *GetConversationReq) String() string { return proto.CompactTextString(m) }
func (*GetConversationReq) ProtoMessage() {}
func (*GetConversationReq) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{14}
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetConversationReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetConversationReq.Unmarshal(m, b)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetConversationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetConversationReq.Marshal(b, m, deterministic)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
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)
2022-09-27 16:59:56 +08:00
}
2022-03-31 14:50:02 +08:00
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_GetConversationReq proto.InternalMessageInfo
func (m *GetConversationReq) GetConversationID() string {
if m != nil {
return m.ConversationID
2022-01-24 01:40:49 +08:00
}
return ""
2021-12-17 14:28:43 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetConversationReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
2021-12-17 14:28:43 +08:00
}
return ""
}
2023-01-29 15:03:39 +08:00
func (m *GetConversationReq) GetOperationID() string {
if m != nil {
return m.OperationID
2021-12-17 14:28:43 +08:00
}
return ""
}
2022-03-11 17:37:01 +08:00
type GetConversationResp struct {
2023-01-31 20:33:33 +08:00
Conversation *conversation.Conversation `protobuf:"bytes,2,opt,name=conversation" json:"conversation,omitempty"`
2023-01-29 15:03:39 +08:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-03-31 14:50:02 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func (m *GetConversationResp) Reset() { *m = GetConversationResp{} }
func (m *GetConversationResp) String() string { return proto.CompactTextString(m) }
func (*GetConversationResp) ProtoMessage() {}
func (*GetConversationResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{15}
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetConversationResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetConversationResp.Unmarshal(m, b)
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetConversationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetConversationResp.Marshal(b, m, deterministic)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (dst *GetConversationResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetConversationResp.Merge(dst, src)
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetConversationResp) XXX_Size() int {
return xxx_messageInfo_GetConversationResp.Size(m)
}
func (m *GetConversationResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetConversationResp.DiscardUnknown(m)
2021-05-26 19:44:49 +08:00
}
2022-01-24 01:40:49 +08:00
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_GetConversationResp proto.InternalMessageInfo
func (m *GetConversationResp) GetConversation() *conversation.Conversation {
if m != nil {
return m.Conversation
2022-01-24 01:40:49 +08:00
}
return nil
2021-05-26 19:44:49 +08:00
}
2022-03-11 17:37:01 +08:00
type GetConversationsReq struct {
2023-01-31 20:33:33 +08:00
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"`
2023-01-29 15:03:39 +08:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-03-31 14:50:02 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func (m *GetConversationsReq) Reset() { *m = GetConversationsReq{} }
func (m *GetConversationsReq) String() string { return proto.CompactTextString(m) }
func (*GetConversationsReq) ProtoMessage() {}
func (*GetConversationsReq) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{16}
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetConversationsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetConversationsReq.Unmarshal(m, b)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetConversationsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetConversationsReq.Marshal(b, m, deterministic)
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
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)
2022-09-27 16:59:56 +08:00
}
2022-08-19 21:37:39 +08:00
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_GetConversationsReq proto.InternalMessageInfo
func (m *GetConversationsReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
2021-05-26 19:44:49 +08:00
}
return ""
}
2023-01-29 15:03:39 +08:00
func (m *GetConversationsReq) GetConversationIDs() []string {
if m != nil {
return m.ConversationIDs
2022-01-24 01:40:49 +08:00
}
2022-03-11 17:37:01 +08:00
return nil
2021-05-26 19:44:49 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetConversationsReq) GetOperationID() string {
if m != nil {
return m.OperationID
2022-01-24 01:40:49 +08:00
}
return ""
2021-05-26 19:44:49 +08:00
}
2022-01-24 01:40:49 +08:00
2022-03-11 17:37:01 +08:00
type GetConversationsResp struct {
2023-01-31 20:33:33 +08:00
Conversations []*conversation.Conversation `protobuf:"bytes,2,rep,name=conversations" json:"conversations,omitempty"`
2023-01-29 15:03:39 +08:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-03-31 14:50:02 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func (m *GetConversationsResp) Reset() { *m = GetConversationsResp{} }
func (m *GetConversationsResp) String() string { return proto.CompactTextString(m) }
func (*GetConversationsResp) ProtoMessage() {}
func (*GetConversationsResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{17}
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetConversationsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetConversationsResp.Unmarshal(m, b)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetConversationsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetConversationsResp.Marshal(b, m, deterministic)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (dst *GetConversationsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetConversationsResp.Merge(dst, src)
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetConversationsResp) XXX_Size() int {
return xxx_messageInfo_GetConversationsResp.Size(m)
}
func (m *GetConversationsResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetConversationsResp.DiscardUnknown(m)
2022-03-11 17:37:01 +08:00
}
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_GetConversationsResp proto.InternalMessageInfo
func (m *GetConversationsResp) GetConversations() []*conversation.Conversation {
if m != nil {
return m.Conversations
2022-03-11 17:37:01 +08:00
}
return nil
}
type GetAllConversationsReq struct {
2023-01-31 20:33:33 +08:00
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID" json:"ownerUserID,omitempty"`
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
2023-01-29 15:03:39 +08:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-03-31 14:50:02 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func (m *GetAllConversationsReq) Reset() { *m = GetAllConversationsReq{} }
func (m *GetAllConversationsReq) String() string { return proto.CompactTextString(m) }
func (*GetAllConversationsReq) ProtoMessage() {}
func (*GetAllConversationsReq) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{18}
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetAllConversationsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetAllConversationsReq.Unmarshal(m, b)
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetAllConversationsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetAllConversationsReq.Marshal(b, m, deterministic)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
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)
2022-09-27 16:59:56 +08:00
}
2022-03-11 17:37:01 +08:00
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_GetAllConversationsReq proto.InternalMessageInfo
func (m *GetAllConversationsReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
2022-03-11 17:37:01 +08:00
}
return ""
}
2023-01-29 15:03:39 +08:00
func (m *GetAllConversationsReq) GetOperationID() string {
if m != nil {
return m.OperationID
2022-03-11 17:37:01 +08:00
}
return ""
}
type GetAllConversationsResp struct {
2023-01-31 20:33:33 +08:00
Conversations []*conversation.Conversation `protobuf:"bytes,2,rep,name=conversations" json:"conversations,omitempty"`
2023-01-29 15:03:39 +08:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-03-31 14:50:02 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func (m *GetAllConversationsResp) Reset() { *m = GetAllConversationsResp{} }
func (m *GetAllConversationsResp) String() string { return proto.CompactTextString(m) }
func (*GetAllConversationsResp) ProtoMessage() {}
func (*GetAllConversationsResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{19}
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetAllConversationsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetAllConversationsResp.Unmarshal(m, b)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetAllConversationsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetAllConversationsResp.Marshal(b, m, deterministic)
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (dst *GetAllConversationsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetAllConversationsResp.Merge(dst, src)
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *GetAllConversationsResp) XXX_Size() int {
return xxx_messageInfo_GetAllConversationsResp.Size(m)
}
func (m *GetAllConversationsResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetAllConversationsResp.DiscardUnknown(m)
2022-03-11 17:37:01 +08:00
}
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_GetAllConversationsResp proto.InternalMessageInfo
func (m *GetAllConversationsResp) GetConversations() []*conversation.Conversation {
if m != nil {
return m.Conversations
2022-03-11 17:37:01 +08:00
}
return nil
}
type BatchSetConversationsReq struct {
2023-01-31 20:33:33 +08:00
Conversations []*conversation.Conversation `protobuf:"bytes,1,rep,name=conversations" json:"conversations,omitempty"`
2023-01-29 15:03:39 +08:00
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) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{20}
2022-03-31 14:50:02 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *BatchSetConversationsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchSetConversationsReq.Unmarshal(m, b)
2022-03-11 17:37:01 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *BatchSetConversationsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchSetConversationsReq.Marshal(b, m, deterministic)
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (dst *BatchSetConversationsReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchSetConversationsReq.Merge(dst, src)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *BatchSetConversationsReq) XXX_Size() int {
return xxx_messageInfo_BatchSetConversationsReq.Size(m)
}
func (m *BatchSetConversationsReq) XXX_DiscardUnknown() {
xxx_messageInfo_BatchSetConversationsReq.DiscardUnknown(m)
2022-09-27 16:59:56 +08:00
}
2022-03-31 14:50:02 +08:00
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_BatchSetConversationsReq proto.InternalMessageInfo
func (m *BatchSetConversationsReq) GetConversations() []*conversation.Conversation {
if m != nil {
return m.Conversations
2022-03-11 17:37:01 +08:00
}
return nil
}
2023-01-29 15:03:39 +08:00
func (m *BatchSetConversationsReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
2022-03-11 17:37:01 +08:00
}
return ""
}
2023-01-29 15:03:39 +08:00
func (m *BatchSetConversationsReq) GetNotificationType() int32 {
if m != nil {
return m.NotificationType
2022-03-31 14:50:02 +08:00
}
return 0
}
2023-01-29 15:03:39 +08:00
func (m *BatchSetConversationsReq) GetOperationID() string {
if m != nil {
return m.OperationID
2022-03-11 17:37:01 +08:00
}
return ""
}
type BatchSetConversationsResp struct {
2023-01-29 15:03:39 +08:00
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:"-"`
2022-03-31 14:50:02 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func (m *BatchSetConversationsResp) Reset() { *m = BatchSetConversationsResp{} }
func (m *BatchSetConversationsResp) String() string { return proto.CompactTextString(m) }
func (*BatchSetConversationsResp) ProtoMessage() {}
func (*BatchSetConversationsResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{21}
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *BatchSetConversationsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchSetConversationsResp.Unmarshal(m, b)
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *BatchSetConversationsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchSetConversationsResp.Marshal(b, m, deterministic)
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
func (dst *BatchSetConversationsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchSetConversationsResp.Merge(dst, src)
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
func (m *BatchSetConversationsResp) XXX_Size() int {
return xxx_messageInfo_BatchSetConversationsResp.Size(m)
}
func (m *BatchSetConversationsResp) XXX_DiscardUnknown() {
xxx_messageInfo_BatchSetConversationsResp.DiscardUnknown(m)
2021-05-26 19:44:49 +08:00
}
2023-01-29 15:03:39 +08:00
var xxx_messageInfo_BatchSetConversationsResp proto.InternalMessageInfo
func (m *BatchSetConversationsResp) GetSuccess() []string {
if m != nil {
return m.Success
2022-03-11 17:37:01 +08:00
}
return nil
}
2023-01-29 15:03:39 +08:00
func (m *BatchSetConversationsResp) GetFailed() []string {
if m != nil {
return m.Failed
2021-05-26 19:44:49 +08:00
}
2021-12-27 16:48:05 +08:00
return nil
2021-05-26 19:44:49 +08:00
}
2023-02-07 20:39:12 +08:00
type GetPaginationUsersReq struct {
2023-02-09 20:36:34 +08:00
Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination" json:"pagination,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2023-01-29 15:03:39 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetPaginationUsersReq) Reset() { *m = GetPaginationUsersReq{} }
func (m *GetPaginationUsersReq) String() string { return proto.CompactTextString(m) }
func (*GetPaginationUsersReq) ProtoMessage() {}
func (*GetPaginationUsersReq) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{22}
2022-03-31 14:50:02 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetPaginationUsersReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPaginationUsersReq.Unmarshal(m, b)
2022-08-19 21:37:39 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetPaginationUsersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPaginationUsersReq.Marshal(b, m, deterministic)
2022-08-07 22:37:27 +08:00
}
2023-02-07 20:39:12 +08:00
func (dst *GetPaginationUsersReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPaginationUsersReq.Merge(dst, src)
2022-08-19 21:37:39 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetPaginationUsersReq) XXX_Size() int {
return xxx_messageInfo_GetPaginationUsersReq.Size(m)
2022-09-27 16:59:56 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetPaginationUsersReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetPaginationUsersReq.DiscardUnknown(m)
2021-05-26 19:44:49 +08:00
}
2022-01-24 01:40:49 +08:00
2023-02-07 20:39:12 +08:00
var xxx_messageInfo_GetPaginationUsersReq proto.InternalMessageInfo
2023-01-29 15:03:39 +08:00
2023-02-09 20:36:34 +08:00
func (m *GetPaginationUsersReq) GetPagination() *sdkws.RequestPagination {
2023-01-29 15:03:39 +08:00
if m != nil {
return m.Pagination
2022-01-24 01:40:49 +08:00
}
2022-08-26 17:51:01 +08:00
return nil
2022-01-24 01:40:49 +08:00
}
2022-08-07 22:37:27 +08:00
2023-02-07 20:39:12 +08:00
type GetPaginationUsersResp struct {
2023-02-09 20:36:34 +08:00
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:"-"`
2022-08-19 21:37:39 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetPaginationUsersResp) Reset() { *m = GetPaginationUsersResp{} }
func (m *GetPaginationUsersResp) String() string { return proto.CompactTextString(m) }
func (*GetPaginationUsersResp) ProtoMessage() {}
func (*GetPaginationUsersResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{23}
2022-09-27 16:59:56 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetPaginationUsersResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPaginationUsersResp.Unmarshal(m, b)
2021-05-26 19:44:49 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetPaginationUsersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPaginationUsersResp.Marshal(b, m, deterministic)
2021-05-26 19:44:49 +08:00
}
2023-02-07 20:39:12 +08:00
func (dst *GetPaginationUsersResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPaginationUsersResp.Merge(dst, src)
2022-08-07 22:37:27 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetPaginationUsersResp) XXX_Size() int {
return xxx_messageInfo_GetPaginationUsersResp.Size(m)
2022-08-07 22:37:27 +08:00
}
2023-02-07 20:39:12 +08:00
func (m *GetPaginationUsersResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetPaginationUsersResp.DiscardUnknown(m)
2021-05-26 19:44:49 +08:00
}
2022-09-27 16:59:56 +08:00
2023-02-07 20:39:12 +08:00
var xxx_messageInfo_GetPaginationUsersResp proto.InternalMessageInfo
2022-09-27 16:59:56 +08:00
2023-02-07 20:39:12 +08:00
func (m *GetPaginationUsersResp) GetTotal() int32 {
2023-01-29 15:03:39 +08:00
if m != nil {
return m.Total
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
return 0
2022-09-27 16:59:56 +08:00
}
2022-08-07 22:37:27 +08:00
2023-02-09 20:36:34 +08:00
func (m *GetPaginationUsersResp) GetUsers() []*sdkws.UserInfo {
2023-01-29 15:03:39 +08:00
if m != nil {
return m.Users
2022-08-07 22:37:27 +08:00
}
2022-08-26 17:51:01 +08:00
return nil
2021-05-26 19:44:49 +08:00
}
2022-08-07 22:37:27 +08:00
2023-01-31 20:33:33 +08:00
type UserRegisterReq struct {
2023-02-09 20:36:34 +08:00
Users []*sdkws.UserInfo `protobuf:"bytes,1,rep,name=users" json:"users,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2023-01-31 20:33:33 +08:00
}
func (m *UserRegisterReq) Reset() { *m = UserRegisterReq{} }
func (m *UserRegisterReq) String() string { return proto.CompactTextString(m) }
func (*UserRegisterReq) ProtoMessage() {}
func (*UserRegisterReq) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{24}
2023-01-31 20:33:33 +08:00
}
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
2023-02-09 20:36:34 +08:00
func (m *UserRegisterReq) GetUsers() []*sdkws.UserInfo {
2023-01-31 20:33:33 +08:00
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) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{25}
2023-01-31 20:33:33 +08:00
}
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
2023-02-16 17:30:15 +08:00
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) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{26}
2023-02-16 17:30:15 +08:00
}
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) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_user_2b6c497a7ff2fabe, []int{27}
2023-02-16 17:30:15 +08:00
}
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
}
2023-01-29 15:03:39 +08:00
func init() {
2023-01-31 20:33:33 +08:00
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((*AccountCheckRespSingleUserStatus)(nil), "user.accountCheckResp.singleUserStatus")
2023-02-07 20:39:12 +08:00
proto.RegisterType((*GetDesignateUsersReq)(nil), "user.getDesignateUsersReq")
proto.RegisterType((*GetDesignateUsersResp)(nil), "user.getDesignateUsersResp")
2023-01-31 20:33:33 +08:00
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")
2023-02-07 20:39:12 +08:00
proto.RegisterType((*GetPaginationUsersReq)(nil), "user.getPaginationUsersReq")
proto.RegisterType((*GetPaginationUsersResp)(nil), "user.getPaginationUsersResp")
2023-01-31 20:33:33 +08:00
proto.RegisterType((*UserRegisterReq)(nil), "user.userRegisterReq")
proto.RegisterType((*UserRegisterResp)(nil), "user.userRegisterResp")
2023-02-16 17:30:15 +08:00
proto.RegisterType((*GetGlobalRecvMessageOptReq)(nil), "user.getGlobalRecvMessageOptReq")
proto.RegisterType((*GetGlobalRecvMessageOptResp)(nil), "user.getGlobalRecvMessageOptResp")
2021-05-26 19:44:49 +08:00
}
2022-08-07 22:37:27 +08:00
2023-01-29 15:03:39 +08:00
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
2022-08-07 22:37:27 +08:00
2023-01-29 15:03:39 +08:00
// 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
2022-03-31 14:50:02 +08:00
2023-01-29 15:03:39 +08:00
// Client API for User service
2022-01-24 01:40:49 +08:00
2023-01-29 15:03:39 +08:00
type UserClient interface {
// 获取指定的用户信息 全字段
2023-02-07 20:39:12 +08:00
GetDesignateUsers(ctx context.Context, in *GetDesignateUsersReq, opts ...grpc.CallOption) (*GetDesignateUsersResp, error)
2023-01-29 15:03:39 +08:00
// 更新用户信息
UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*UpdateUserInfoResp, error)
// 设置用户消息接收选项
SetGlobalRecvMessageOpt(ctx context.Context, in *SetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*SetGlobalRecvMessageOptResp, error)
2023-02-16 17:30:15 +08:00
// 获取用户消息接收选项 没找到不返回错误
GetGlobalRecvMessageOpt(ctx context.Context, in *GetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*GetGlobalRecvMessageOptResp, error)
2023-01-29 15:03:39 +08:00
// 检查userID是否存在
AccountCheck(ctx context.Context, in *AccountCheckReq, opts ...grpc.CallOption) (*AccountCheckResp, error)
// 翻页(或指定userID,昵称)拉取用户信息 全字段
2023-02-07 20:39:12 +08:00
GetPaginationUsers(ctx context.Context, in *GetPaginationUsersReq, opts ...grpc.CallOption) (*GetPaginationUsersResp, error)
2023-01-31 20:33:33 +08:00
// 用户注册
UserRegister(ctx context.Context, in *UserRegisterReq, opts ...grpc.CallOption) (*UserRegisterResp, error)
2022-01-24 01:40:49 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
type userClient struct {
cc *grpc.ClientConn
2021-09-22 20:10:38 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-29 15:03:39 +08:00
func NewUserClient(cc *grpc.ClientConn) UserClient {
return &userClient{cc}
2022-01-25 19:18:04 +08:00
}
2022-09-27 16:59:56 +08:00
2023-02-07 20:39:12 +08:00
func (c *userClient) GetDesignateUsers(ctx context.Context, in *GetDesignateUsersReq, opts ...grpc.CallOption) (*GetDesignateUsersResp, error) {
out := new(GetDesignateUsersResp)
err := grpc.Invoke(ctx, "/user.user/getDesignateUsers", in, out, c.cc, opts...)
2023-01-29 15:03:39 +08:00
if err != nil {
return nil, err
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
return out, nil
2022-09-27 16:59:56 +08:00
}
2022-08-07 22:37:27 +08:00
2023-01-29 15:03:39 +08:00
func (c *userClient) UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*UpdateUserInfoResp, error) {
out := new(UpdateUserInfoResp)
2023-01-31 20:33:33 +08:00
err := grpc.Invoke(ctx, "/user.user/updateUserInfo", in, out, c.cc, opts...)
2023-01-29 15:03:39 +08:00
if err != nil {
return nil, err
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
return out, nil
2021-12-07 14:28:07 +08:00
}
2022-08-07 22:37:27 +08:00
2023-01-29 15:03:39 +08:00
func (c *userClient) SetGlobalRecvMessageOpt(ctx context.Context, in *SetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*SetGlobalRecvMessageOptResp, error) {
out := new(SetGlobalRecvMessageOptResp)
2023-01-31 20:33:33 +08:00
err := grpc.Invoke(ctx, "/user.user/setGlobalRecvMessageOpt", in, out, c.cc, opts...)
2023-01-29 15:03:39 +08:00
if err != nil {
return nil, err
2022-08-07 22:37:27 +08:00
}
2023-01-29 15:03:39 +08:00
return out, nil
2022-08-19 21:37:39 +08:00
}
2022-09-27 16:59:56 +08:00
2023-02-16 17:30:15 +08:00
func (c *userClient) GetGlobalRecvMessageOpt(ctx context.Context, in *GetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*GetGlobalRecvMessageOptResp, error) {
out := new(GetGlobalRecvMessageOptResp)
err := grpc.Invoke(ctx, "/user.user/getGlobalRecvMessageOpt", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2023-01-29 15:03:39 +08:00
func (c *userClient) AccountCheck(ctx context.Context, in *AccountCheckReq, opts ...grpc.CallOption) (*AccountCheckResp, error) {
out := new(AccountCheckResp)
2023-01-31 20:33:33 +08:00
err := grpc.Invoke(ctx, "/user.user/accountCheck", in, out, c.cc, opts...)
2023-01-29 15:03:39 +08:00
if err != nil {
return nil, err
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
return out, nil
2022-08-19 21:37:39 +08:00
}
2022-09-27 16:59:56 +08:00
2023-02-07 20:39:12 +08:00
func (c *userClient) GetPaginationUsers(ctx context.Context, in *GetPaginationUsersReq, opts ...grpc.CallOption) (*GetPaginationUsersResp, error) {
out := new(GetPaginationUsersResp)
err := grpc.Invoke(ctx, "/user.user/getPaginationUsers", in, out, c.cc, opts...)
2023-01-31 20:33:33 +08:00
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, "/user.user/userRegister", in, out, c.cc, opts...)
2023-01-29 15:03:39 +08:00
if err != nil {
return nil, err
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
return out, nil
2022-08-19 21:37:39 +08:00
}
2023-01-29 15:03:39 +08:00
// Server API for User service
2022-01-24 01:40:49 +08:00
2023-01-29 15:03:39 +08:00
type UserServer interface {
// 获取指定的用户信息 全字段
2023-02-07 20:39:12 +08:00
GetDesignateUsers(context.Context, *GetDesignateUsersReq) (*GetDesignateUsersResp, error)
2023-01-29 15:03:39 +08:00
// 更新用户信息
UpdateUserInfo(context.Context, *UpdateUserInfoReq) (*UpdateUserInfoResp, error)
// 设置用户消息接收选项
SetGlobalRecvMessageOpt(context.Context, *SetGlobalRecvMessageOptReq) (*SetGlobalRecvMessageOptResp, error)
2023-02-16 17:30:15 +08:00
// 获取用户消息接收选项 没找到不返回错误
GetGlobalRecvMessageOpt(context.Context, *GetGlobalRecvMessageOptReq) (*GetGlobalRecvMessageOptResp, error)
2023-01-29 15:03:39 +08:00
// 检查userID是否存在
AccountCheck(context.Context, *AccountCheckReq) (*AccountCheckResp, error)
// 翻页(或指定userID,昵称)拉取用户信息 全字段
2023-02-07 20:39:12 +08:00
GetPaginationUsers(context.Context, *GetPaginationUsersReq) (*GetPaginationUsersResp, error)
2023-01-31 20:33:33 +08:00
// 用户注册
UserRegister(context.Context, *UserRegisterReq) (*UserRegisterResp, error)
2022-01-24 18:22:47 +08:00
}
2023-01-29 15:03:39 +08:00
func RegisterUserServer(s *grpc.Server, srv UserServer) {
s.RegisterService(&_User_serviceDesc, srv)
2022-02-08 20:24:59 +08:00
}
2022-09-27 16:59:56 +08:00
2023-02-07 20:39:12 +08:00
func _User_GetDesignateUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetDesignateUsersReq)
2023-01-29 15:03:39 +08:00
if err := dec(in); err != nil {
return nil, err
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
if interceptor == nil {
2023-02-07 20:39:12 +08:00
return srv.(UserServer).GetDesignateUsers(ctx, in)
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
info := &grpc.UnaryServerInfo{
Server: srv,
2023-02-07 20:39:12 +08:00
FullMethod: "/user.user/GetDesignateUsers",
2022-01-24 01:40:49 +08:00
}
2023-01-29 15:03:39 +08:00
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2023-02-07 20:39:12 +08:00
return srv.(UserServer).GetDesignateUsers(ctx, req.(*GetDesignateUsersReq))
2022-01-24 18:22:47 +08:00
}
2023-01-29 15:03:39 +08:00
return interceptor(ctx, in, info, handler)
2022-01-24 18:22:47 +08:00
}
2023-01-29 15:03:39 +08:00
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
2022-01-24 01:40:49 +08:00
}
2023-01-29 15:03:39 +08:00
if interceptor == nil {
return srv.(UserServer).UpdateUserInfo(ctx, in)
2022-02-17 19:35:17 +08:00
}
2023-01-29 15:03:39 +08:00
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/user.user/UpdateUserInfo",
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UserServer).UpdateUserInfo(ctx, req.(*UpdateUserInfoReq))
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
return interceptor(ctx, in, info, handler)
2022-09-27 16:59:56 +08:00
}
2022-08-19 21:37:39 +08:00
2023-01-29 15:03:39 +08:00
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
2022-01-24 18:22:47 +08:00
}
2023-01-29 15:03:39 +08:00
if interceptor == nil {
return srv.(UserServer).SetGlobalRecvMessageOpt(ctx, in)
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/user.user/SetGlobalRecvMessageOpt",
2022-09-27 16:59:56 +08:00
}
2023-01-29 15:03:39 +08:00
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UserServer).SetGlobalRecvMessageOpt(ctx, req.(*SetGlobalRecvMessageOptReq))
2021-12-07 14:28:07 +08:00
}
2023-01-29 15:03:39 +08:00
return interceptor(ctx, in, info, handler)
2021-09-22 20:10:38 +08:00
}
2023-02-16 17:30:15 +08:00
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: "/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)
}
2022-03-11 17:37:01 +08:00
func _User_AccountCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AccountCheckReq)
2021-12-07 14:28:07 +08:00
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
2022-03-11 17:37:01 +08:00
return srv.(UserServer).AccountCheck(ctx, in)
2021-12-07 14:28:07 +08:00
}
info := &grpc.UnaryServerInfo{
Server: srv,
2022-03-11 17:37:01 +08:00
FullMethod: "/user.user/AccountCheck",
2021-12-07 14:28:07 +08:00
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2022-03-11 17:37:01 +08:00
return srv.(UserServer).AccountCheck(ctx, req.(*AccountCheckReq))
2021-12-07 14:28:07 +08:00
}
return interceptor(ctx, in, info, handler)
}
2023-02-07 20:39:12 +08:00
func _User_GetPaginationUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetPaginationUsersReq)
2022-01-24 01:40:49 +08:00
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
2023-02-07 20:39:12 +08:00
return srv.(UserServer).GetPaginationUsers(ctx, in)
2022-01-24 01:40:49 +08:00
}
info := &grpc.UnaryServerInfo{
Server: srv,
2023-02-07 20:39:12 +08:00
FullMethod: "/user.user/GetPaginationUsers",
2022-01-24 01:40:49 +08:00
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2023-02-07 20:39:12 +08:00
return srv.(UserServer).GetPaginationUsers(ctx, req.(*GetPaginationUsersReq))
2022-01-24 01:40:49 +08:00
}
return interceptor(ctx, in, info, handler)
}
2023-01-31 20:33:33 +08:00
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: "/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)
}
2021-05-26 19:44:49 +08:00
var _User_serviceDesc = grpc.ServiceDesc{
ServiceName: "user.user",
HandlerType: (*UserServer)(nil),
Methods: []grpc.MethodDesc{
{
2023-02-07 20:39:12 +08:00
MethodName: "getDesignateUsers",
Handler: _User_GetDesignateUsers_Handler,
2021-05-26 19:44:49 +08:00
},
{
2023-01-31 20:33:33 +08:00
MethodName: "updateUserInfo",
2021-05-26 19:44:49 +08:00
Handler: _User_UpdateUserInfo_Handler,
},
2022-06-16 19:09:13 +08:00
{
2023-01-31 20:33:33 +08:00
MethodName: "setGlobalRecvMessageOpt",
2022-06-16 19:09:13 +08:00
Handler: _User_SetGlobalRecvMessageOpt_Handler,
},
2023-02-16 17:30:15 +08:00
{
MethodName: "getGlobalRecvMessageOpt",
Handler: _User_GetGlobalRecvMessageOpt_Handler,
},
2021-12-07 14:28:07 +08:00
{
2023-01-31 20:33:33 +08:00
MethodName: "accountCheck",
2022-03-11 17:37:01 +08:00
Handler: _User_AccountCheck_Handler,
2021-12-07 14:28:07 +08:00
},
2022-01-24 01:40:49 +08:00
{
2023-02-07 20:39:12 +08:00
MethodName: "getPaginationUsers",
Handler: _User_GetPaginationUsers_Handler,
2022-01-24 01:40:49 +08:00
},
2023-01-31 20:33:33 +08:00
{
MethodName: "userRegister",
Handler: _User_UserRegister_Handler,
},
2021-05-26 19:44:49 +08:00
},
Streams: []grpc.StreamDesc{},
Metadata: "user/user.proto",
}
2023-01-29 15:03:39 +08:00
2023-02-28 17:17:21 +08:00
func init() { proto.RegisterFile("user/user.proto", fileDescriptor_user_2b6c497a7ff2fabe) }
2023-02-16 17:30:15 +08:00
2023-02-28 17:17:21 +08:00
var fileDescriptor_user_2b6c497a7ff2fabe = []byte{
// 925 bytes of a gzipped FileDescriptorProto
2023-02-16 17:30:15 +08:00
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x6d, 0x6f, 0xe4, 0x34,
2023-02-28 17:17:21 +08:00
0x10, 0x56, 0xb6, 0xdd, 0x3b, 0x3a, 0xed, 0xdd, 0x6e, 0xdd, 0xb7, 0x90, 0x1e, 0xa8, 0x58, 0xc0,
2023-02-16 17:30:15 +08:00
0x55, 0xa0, 0xee, 0xa2, 0x02, 0x52, 0x25, 0x04, 0xba, 0xa3, 0xd5, 0xc1, 0x8a, 0xab, 0xf6, 0x48,
2023-02-28 17:17:21 +08:00
0xa9, 0x84, 0x00, 0x21, 0xd2, 0xd4, 0xcd, 0x45, 0x8d, 0x12, 0x6f, 0xc6, 0x69, 0xc5, 0x37, 0x24,
0xfe, 0x09, 0x5f, 0xe0, 0xb7, 0x20, 0x7e, 0x14, 0xb2, 0x9d, 0xed, 0x3a, 0x71, 0xd2, 0x76, 0x11,
0x5f, 0x76, 0xe3, 0x79, 0x79, 0x3c, 0xcf, 0x78, 0xec, 0x19, 0xe8, 0x15, 0xc8, 0xf2, 0xa1, 0xfc,
0x19, 0xf0, 0x3c, 0x13, 0x19, 0x59, 0x94, 0xdf, 0xde, 0xd3, 0x31, 0x67, 0xe9, 0xde, 0xe8, 0x78,
0xef, 0x84, 0xe5, 0x57, 0x2c, 0x1f, 0xf2, 0xcb, 0x68, 0xa8, 0xf4, 0x43, 0x3c, 0xbf, 0xbc, 0xc6,
0xe1, 0x35, 0x6a, 0x73, 0xef, 0xa0, 0xd5, 0x30, 0xcc, 0xd2, 0x2b, 0x96, 0x63, 0x20, 0xe2, 0x2c,
0xad, 0x2c, 0xb4, 0x27, 0xfd, 0x06, 0x7a, 0x11, 0x13, 0xcf, 0x93, 0xe4, 0x14, 0x59, 0x3e, 0x3a,
0xf2, 0xd9, 0x84, 0x1c, 0x00, 0xf0, 0x20, 0x8a, 0x53, 0x65, 0xe6, 0x3a, 0x3b, 0xce, 0xee, 0xf2,
0xbe, 0x3b, 0x50, 0x3b, 0x0e, 0x7c, 0x36, 0x29, 0x18, 0x8a, 0x57, 0x37, 0x7a, 0xdf, 0xb0, 0xa5,
0x5f, 0x43, 0xbf, 0x0a, 0x86, 0x9c, 0xac, 0x43, 0x57, 0x64, 0x22, 0x48, 0x14, 0x50, 0xd7, 0xd7,
0x0b, 0xf2, 0x36, 0x40, 0xa1, 0x6c, 0x5e, 0xc6, 0x28, 0xdc, 0xce, 0xce, 0xc2, 0xee, 0x92, 0x6f,
0x48, 0xe8, 0xa7, 0xd0, 0x0b, 0xc2, 0x30, 0x2b, 0x52, 0x71, 0xf8, 0x9a, 0x85, 0x97, 0x32, 0x2c,
0x0a, 0x2b, 0xa1, 0xfc, 0xd6, 0xd8, 0xe8, 0x3a, 0xca, 0xa9, 0x22, 0xa3, 0x7f, 0x3a, 0xd0, 0xaf,
0xfa, 0x21, 0x27, 0xcf, 0xe1, 0x61, 0xce, 0xb0, 0x48, 0x84, 0xf6, 0x59, 0xde, 0x7f, 0x3a, 0x50,
0x99, 0xae, 0x1b, 0x0e, 0x30, 0x4e, 0xa3, 0x84, 0x49, 0xac, 0x13, 0x11, 0x88, 0x02, 0xfd, 0xa9,
0x9f, 0xf7, 0x0a, 0xfa, 0x75, 0x25, 0xd9, 0x84, 0x07, 0x3a, 0x60, 0xc5, 0x6c, 0xc9, 0x2f, 0x57,
0xe4, 0x5d, 0x78, 0x54, 0x22, 0x6b, 0x43, 0xb7, 0xa3, 0xd4, 0x55, 0x21, 0xfd, 0x08, 0xd6, 0x23,
0x26, 0x8e, 0x18, 0xc6, 0x51, 0x1a, 0x08, 0x85, 0x8b, 0x92, 0xa5, 0x0b, 0x0f, 0x8b, 0x0a, 0xc1,
0xe9, 0x92, 0xbe, 0x80, 0x8d, 0x06, 0x0f, 0xe4, 0x64, 0x0f, 0x96, 0xa4, 0x0d, 0x8e, 0xd2, 0x8b,
0xac, 0x64, 0xd8, 0x2b, 0x8f, 0x4b, 0xe5, 0x25, 0xbd, 0xc8, 0xfc, 0x99, 0x05, 0x7d, 0x06, 0xab,
0x05, 0x3f, 0x2f, 0x11, 0x94, 0x92, 0x4d, 0xc8, 0x87, 0xf0, 0x46, 0x51, 0x2e, 0xcb, 0x13, 0xb7,
0x20, 0x6e, 0x0c, 0xe8, 0x3a, 0x90, 0x3a, 0x02, 0x72, 0xfa, 0x0b, 0x78, 0xc8, 0xc4, 0x57, 0x49,
0x76, 0x16, 0x24, 0x3e, 0x0b, 0xaf, 0x8e, 0x19, 0x62, 0x10, 0xb1, 0x31, 0x17, 0x72, 0x83, 0xb6,
0x6c, 0x7d, 0x00, 0xfd, 0x68, 0xe6, 0x82, 0xd1, 0x98, 0x0b, 0x77, 0x41, 0x55, 0x8a, 0x25, 0xa7,
0x6f, 0xc1, 0x76, 0xeb, 0x0e, 0xc8, 0xe9, 0x1f, 0x0e, 0x10, 0x64, 0xe2, 0xd0, 0x28, 0x72, 0xb9,
0xf3, 0x17, 0xb0, 0x62, 0xd6, 0x7d, 0x49, 0xcf, 0x1b, 0x54, 0x2e, 0x43, 0xc5, 0xa9, 0x62, 0x2f,
0x23, 0x4c, 0x33, 0x11, 0x5f, 0xc4, 0xa1, 0x5a, 0x7f, 0xf7, 0x2b, 0x67, 0xea, 0x48, 0xbb, 0xbe,
0x25, 0x27, 0x3b, 0xb0, 0x9c, 0x71, 0x96, 0x2b, 0xc1, 0xe8, 0x48, 0x11, 0x59, 0xf2, 0x4d, 0x11,
0xdd, 0x80, 0x35, 0x2b, 0x46, 0xe4, 0xf4, 0x6f, 0x07, 0xfa, 0xc8, 0xc4, 0x8c, 0xac, 0x8c, 0x5c,
0xa2, 0x5d, 0xa7, 0x2c, 0x3f, 0x35, 0x13, 0x67, 0x8a, 0xc8, 0xfb, 0xf0, 0xd8, 0x8c, 0x75, 0x74,
0x54, 0x16, 0x5b, 0x4d, 0x2a, 0xaf, 0x5b, 0x5e, 0xcf, 0xaf, 0x21, 0x69, 0xe4, 0xb8, 0x78, 0x3f,
0x8e, 0x5d, 0x9b, 0xe3, 0x1a, 0xac, 0xd6, 0xb8, 0x20, 0xa7, 0xbf, 0x39, 0x40, 0x22, 0xfb, 0x74,
0x6c, 0x06, 0x4e, 0x23, 0x83, 0x5a, 0x2e, 0x3a, 0x76, 0x2e, 0xee, 0xce, 0xfd, 0x29, 0xac, 0x45,
0x76, 0xee, 0xad, 0x02, 0xe9, 0xcc, 0x57, 0x20, 0xf4, 0x77, 0xc7, 0xc2, 0xc5, 0xfb, 0x1d, 0xdf,
0x2e, 0xf4, 0xaa, 0x34, 0xb1, 0x7c, 0x0a, 0xeb, 0xe2, 0x7b, 0x90, 0xfb, 0x5e, 0x3d, 0x28, 0xb5,
0x20, 0x90, 0x93, 0x67, 0xf0, 0xc8, 0x04, 0xd3, 0x3b, 0xdc, 0x4e, 0xaf, 0xea, 0x40, 0x7f, 0x82,
0x4d, 0xfd, 0xaa, 0xff, 0x07, 0x86, 0xb5, 0xb8, 0x3b, 0x76, 0xdc, 0x3f, 0xc2, 0x56, 0x23, 0xfa,
0xff, 0x12, 0xfa, 0x3f, 0x0e, 0xb8, 0x67, 0x81, 0x08, 0x5f, 0x9f, 0x34, 0x9c, 0x8f, 0x05, 0xef,
0xcc, 0x09, 0x2f, 0xd9, 0x8d, 0xed, 0xa2, 0x34, 0x44, 0x8d, 0x17, 0x6b, 0xa1, 0xfd, 0x62, 0x8d,
0x8d, 0x5c, 0x2d, 0x96, 0x68, 0x46, 0xae, 0x8e, 0xe1, 0xcd, 0x16, 0x36, 0xc8, 0x65, 0xe7, 0x38,
0x29, 0xc2, 0x90, 0xe1, 0xb4, 0x88, 0xa6, 0x4b, 0xf9, 0xf6, 0xbe, 0x08, 0xe2, 0x84, 0x9d, 0xbb,
0x0b, 0x4a, 0x51, 0xae, 0xe8, 0xb7, 0xaa, 0xa3, 0xcc, 0x7a, 0xf9, 0x4d, 0x13, 0xaa, 0x4e, 0x00,
0x9d, 0x39, 0x26, 0x80, 0x53, 0x55, 0x2b, 0x16, 0x64, 0xeb, 0x1c, 0xf0, 0x1e, 0x74, 0x55, 0x67,
0x2a, 0x8f, 0xd6, 0x6a, 0x3a, 0x5a, 0x4b, 0x0f, 0xf4, 0x84, 0xe4, 0xb3, 0x28, 0x46, 0x21, 0xff,
0x27, 0x33, 0x4f, 0xe7, 0x56, 0x4f, 0x02, 0xfd, 0xaa, 0x27, 0x72, 0xfa, 0x09, 0x78, 0xd1, 0xdc,
0x9d, 0x8a, 0x8e, 0x60, 0x3b, 0x6a, 0xef, 0x3e, 0x8d, 0x8d, 0xcc, 0x69, 0x6e, 0x64, 0xfb, 0x7f,
0x2d, 0x82, 0x1a, 0xf0, 0xc8, 0x4b, 0x58, 0xb5, 0x7a, 0x3a, 0xf1, 0xf4, 0x78, 0xd2, 0x34, 0x1e,
0x78, 0xdb, 0xad, 0x3a, 0xe4, 0xe4, 0x10, 0x1e, 0x57, 0xfb, 0x32, 0xd9, 0xd2, 0xe6, 0x56, 0xbf,
0xf7, 0xdc, 0x66, 0x05, 0x72, 0xf2, 0x33, 0x6c, 0xb5, 0x34, 0x59, 0xb2, 0xa3, 0x9d, 0xda, 0xbb,
0xbc, 0xf7, 0xce, 0x1d, 0x16, 0x1a, 0x3f, 0xba, 0x1d, 0x3f, 0xba, 0x13, 0xff, 0xb6, 0x73, 0xf8,
0x1c, 0x56, 0xcc, 0xc1, 0x8e, 0x6c, 0x34, 0x0d, 0x7b, 0x13, 0x6f, 0xb3, 0x79, 0x06, 0x24, 0x63,
0xd5, 0xa5, 0x6a, 0x05, 0x4c, 0x66, 0x69, 0xb7, 0x6f, 0x8b, 0xf7, 0xa4, 0x5d, 0xa9, 0xe3, 0x31,
0x0b, 0x70, 0x1a, 0x4f, 0xad, 0x9c, 0xa7, 0xf1, 0xd4, 0x6b, 0xf5, 0xcb, 0x27, 0x3f, 0x78, 0x72,
0xb6, 0x1f, 0x1d, 0x1b, 0x33, 0xbd, 0x34, 0xfa, 0x4c, 0xfe, 0x9c, 0x3d, 0x50, 0x82, 0x8f, 0xff,
0x0d, 0x00, 0x00, 0xff, 0xff, 0xb0, 0x5c, 0x8a, 0x8c, 0x40, 0x0c, 0x00, 0x00,
2023-01-29 15:03:39 +08:00
}