|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// source: user/user.proto
|
|
|
|
|
|
|
|
package user // import "./user"
|
|
|
|
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
|
|
|
import conversation "Open_IM/pkg/proto/conversation"
|
|
|
|
import sdk_ws "Open_IM/pkg/proto/sdk_ws"
|
|
|
|
|
|
|
|
import (
|
|
|
|
context "golang.org/x/net/context"
|
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
|
|
|
|
type CommonResp struct {
|
|
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CommonResp) Reset() { *m = CommonResp{} }
|
|
|
|
func (m *CommonResp) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CommonResp) ProtoMessage() {}
|
|
|
|
func (*CommonResp) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{0}
|
|
|
|
}
|
|
|
|
func (m *CommonResp) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CommonResp.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CommonResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CommonResp.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *CommonResp) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CommonResp.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *CommonResp) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CommonResp.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CommonResp) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CommonResp.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CommonResp proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *CommonResp) GetErrCode() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ErrCode
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CommonResp) GetErrMsg() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ErrMsg
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetAllUserIDReq struct {
|
|
|
|
OpUserID string `protobuf:"bytes,1,opt,name=opUserID" json:"opUserID,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 *GetAllUserIDReq) Reset() { *m = GetAllUserIDReq{} }
|
|
|
|
func (m *GetAllUserIDReq) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetAllUserIDReq) ProtoMessage() {}
|
|
|
|
func (*GetAllUserIDReq) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{1}
|
|
|
|
}
|
|
|
|
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) GetOpUserID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OpUserID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetAllUserIDReq) GetOperationID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OperationID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetAllUserIDResp struct {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,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_c4f084a95477a0bd, []int{2}
|
|
|
|
}
|
|
|
|
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) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetAllUserIDResp) GetUserIDList() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserIDList
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type AccountCheckReq struct {
|
|
|
|
CheckUserIDList []string `protobuf:"bytes,1,rep,name=CheckUserIDList" json:"CheckUserIDList,omitempty"`
|
|
|
|
OpUserID string `protobuf:"bytes,2,opt,name=OpUserID" json:"OpUserID,omitempty"`
|
|
|
|
OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AccountCheckReq) Reset() { *m = AccountCheckReq{} }
|
|
|
|
func (m *AccountCheckReq) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*AccountCheckReq) ProtoMessage() {}
|
|
|
|
func (*AccountCheckReq) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{3}
|
|
|
|
}
|
|
|
|
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) GetCheckUserIDList() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.CheckUserIDList
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AccountCheckReq) GetOpUserID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OpUserID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AccountCheckReq) GetOperationID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OperationID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type AccountCheckResp struct {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
|
|
ResultList []*AccountCheckResp_SingleUserStatus `protobuf:"bytes,2,rep,name=ResultList" json:"ResultList,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_c4f084a95477a0bd, []int{4}
|
|
|
|
}
|
|
|
|
func (m *AccountCheckResp) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_AccountCheckResp.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *AccountCheckResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_AccountCheckResp.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *AccountCheckResp) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_AccountCheckResp.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *AccountCheckResp) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_AccountCheckResp.Size(m)
|
|
|
|
}
|
|
|
|
func (m *AccountCheckResp) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_AccountCheckResp.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_AccountCheckResp proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *AccountCheckResp) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AccountCheckResp) GetResultList() []*AccountCheckResp_SingleUserStatus {
|
|
|
|
if m != nil {
|
|
|
|
return m.ResultList
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type AccountCheckResp_SingleUserStatus struct {
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
|
|
AccountStatus string `protobuf:"bytes,2,opt,name=accountStatus" json:"accountStatus,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AccountCheckResp_SingleUserStatus) Reset() { *m = AccountCheckResp_SingleUserStatus{} }
|
|
|
|
func (m *AccountCheckResp_SingleUserStatus) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*AccountCheckResp_SingleUserStatus) ProtoMessage() {}
|
|
|
|
func (*AccountCheckResp_SingleUserStatus) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{4, 0}
|
|
|
|
}
|
|
|
|
func (m *AccountCheckResp_SingleUserStatus) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_AccountCheckResp_SingleUserStatus.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *AccountCheckResp_SingleUserStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_AccountCheckResp_SingleUserStatus.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *AccountCheckResp_SingleUserStatus) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_AccountCheckResp_SingleUserStatus.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *AccountCheckResp_SingleUserStatus) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_AccountCheckResp_SingleUserStatus.Size(m)
|
|
|
|
}
|
|
|
|
func (m *AccountCheckResp_SingleUserStatus) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_AccountCheckResp_SingleUserStatus.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_AccountCheckResp_SingleUserStatus proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *AccountCheckResp_SingleUserStatus) GetUserID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AccountCheckResp_SingleUserStatus) GetAccountStatus() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.AccountStatus
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetUserInfoReq struct {
|
|
|
|
UserIDList []string `protobuf:"bytes,1,rep,name=userIDList" json:"userIDList,omitempty"`
|
|
|
|
OpUserID string `protobuf:"bytes,2,opt,name=OpUserID" json:"OpUserID,omitempty"`
|
|
|
|
OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetUserInfoReq) Reset() { *m = GetUserInfoReq{} }
|
|
|
|
func (m *GetUserInfoReq) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetUserInfoReq) ProtoMessage() {}
|
|
|
|
func (*GetUserInfoReq) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{5}
|
|
|
|
}
|
|
|
|
func (m *GetUserInfoReq) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetUserInfoReq.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetUserInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetUserInfoReq.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *GetUserInfoReq) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetUserInfoReq.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *GetUserInfoReq) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetUserInfoReq.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetUserInfoReq) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetUserInfoReq.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetUserInfoReq proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetUserInfoReq) GetUserIDList() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserIDList
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetUserInfoReq) GetOpUserID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OpUserID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetUserInfoReq) GetOperationID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OperationID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetUserInfoResp struct {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
|
|
UserInfoList []*sdk_ws.UserInfo `protobuf:"bytes,3,rep,name=UserInfoList" json:"UserInfoList,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetUserInfoResp) Reset() { *m = GetUserInfoResp{} }
|
|
|
|
func (m *GetUserInfoResp) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetUserInfoResp) ProtoMessage() {}
|
|
|
|
func (*GetUserInfoResp) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{6}
|
|
|
|
}
|
|
|
|
func (m *GetUserInfoResp) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetUserInfoResp.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetUserInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetUserInfoResp.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *GetUserInfoResp) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetUserInfoResp.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *GetUserInfoResp) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetUserInfoResp.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetUserInfoResp) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetUserInfoResp.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetUserInfoResp proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetUserInfoResp) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetUserInfoResp) GetUserInfoList() []*sdk_ws.UserInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserInfoList
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type UpdateUserInfoReq struct {
|
|
|
|
UserInfo *sdk_ws.UserInfo `protobuf:"bytes,1,opt,name=UserInfo" json:"UserInfo,omitempty"`
|
|
|
|
OpUserID string `protobuf:"bytes,2,opt,name=OpUserID" json:"OpUserID,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 *UpdateUserInfoReq) Reset() { *m = UpdateUserInfoReq{} }
|
|
|
|
func (m *UpdateUserInfoReq) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UpdateUserInfoReq) ProtoMessage() {}
|
|
|
|
func (*UpdateUserInfoReq) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{7}
|
|
|
|
}
|
|
|
|
func (m *UpdateUserInfoReq) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UpdateUserInfoReq.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *UpdateUserInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UpdateUserInfoReq.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *UpdateUserInfoReq) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UpdateUserInfoReq.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *UpdateUserInfoReq) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UpdateUserInfoReq.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UpdateUserInfoReq) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UpdateUserInfoReq.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UpdateUserInfoReq proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UpdateUserInfoReq) GetUserInfo() *sdk_ws.UserInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserInfo
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UpdateUserInfoReq) GetOpUserID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OpUserID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UpdateUserInfoReq) GetOperationID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OperationID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type UpdateUserInfoResp struct {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
|
|
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_c4f084a95477a0bd, []int{8}
|
|
|
|
}
|
|
|
|
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
|
|
|
|
|
|
|
|
func (m *UpdateUserInfoResp) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SetGlobalRecvMessageOptReq struct {
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,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_c4f084a95477a0bd, []int{9}
|
|
|
|
}
|
|
|
|
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) GetOperationID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OperationID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SetGlobalRecvMessageOptReq) GetGlobalRecvMsgOpt() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.GlobalRecvMsgOpt
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type SetGlobalRecvMessageOptResp struct {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
|
|
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_c4f084a95477a0bd, []int{10}
|
|
|
|
}
|
|
|
|
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
|
|
|
|
|
|
|
|
func (m *SetGlobalRecvMessageOptResp) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
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_c4f084a95477a0bd, []int{11}
|
|
|
|
}
|
|
|
|
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 {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
|
|
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_c4f084a95477a0bd, []int{12}
|
|
|
|
}
|
|
|
|
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
|
|
|
|
|
|
|
|
func (m *SetConversationResp) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
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_c4f084a95477a0bd, []int{13}
|
|
|
|
}
|
|
|
|
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 {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
|
|
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_c4f084a95477a0bd, []int{14}
|
|
|
|
}
|
|
|
|
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
|
|
|
|
|
|
|
|
func (m *SetRecvMsgOptResp) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
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_c4f084a95477a0bd, []int{15}
|
|
|
|
}
|
|
|
|
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 {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
|
|
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_c4f084a95477a0bd, []int{16}
|
|
|
|
}
|
|
|
|
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) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
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_c4f084a95477a0bd, []int{17}
|
|
|
|
}
|
|
|
|
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 {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
|
|
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_c4f084a95477a0bd, []int{18}
|
|
|
|
}
|
|
|
|
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) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
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_c4f084a95477a0bd, []int{19}
|
|
|
|
}
|
|
|
|
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 {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
|
|
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_c4f084a95477a0bd, []int{20}
|
|
|
|
}
|
|
|
|
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) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
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_c4f084a95477a0bd, []int{21}
|
|
|
|
}
|
|
|
|
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 {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
|
|
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_c4f084a95477a0bd, []int{22}
|
|
|
|
}
|
|
|
|
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) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BatchSetConversationsResp) GetSuccess() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Success
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BatchSetConversationsResp) GetFailed() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Failed
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetUsersReq struct {
|
|
|
|
OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"`
|
|
|
|
Pagination *sdk_ws.RequestPagination `protobuf:"bytes,2,opt,name=pagination" json:"pagination,omitempty"`
|
|
|
|
UserName string `protobuf:"bytes,3,opt,name=userName" json:"userName,omitempty"`
|
|
|
|
UserID string `protobuf:"bytes,4,opt,name=userID" json:"userID,omitempty"`
|
|
|
|
Content string `protobuf:"bytes,5,opt,name=content" json:"content,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetUsersReq) Reset() { *m = GetUsersReq{} }
|
|
|
|
func (m *GetUsersReq) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetUsersReq) ProtoMessage() {}
|
|
|
|
func (*GetUsersReq) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{23}
|
|
|
|
}
|
|
|
|
func (m *GetUsersReq) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetUsersReq.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetUsersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetUsersReq.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *GetUsersReq) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetUsersReq.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *GetUsersReq) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetUsersReq.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetUsersReq) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetUsersReq.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetUsersReq proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetUsersReq) GetOperationID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OperationID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetUsersReq) GetPagination() *sdk_ws.RequestPagination {
|
|
|
|
if m != nil {
|
|
|
|
return m.Pagination
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetUsersReq) GetUserName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetUsersReq) GetUserID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetUsersReq) GetContent() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Content
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type CmsUser struct {
|
|
|
|
User *sdk_ws.UserInfo `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"`
|
|
|
|
IsBlock bool `protobuf:"varint,2,opt,name=isBlock" json:"isBlock,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CmsUser) Reset() { *m = CmsUser{} }
|
|
|
|
func (m *CmsUser) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CmsUser) ProtoMessage() {}
|
|
|
|
func (*CmsUser) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{24}
|
|
|
|
}
|
|
|
|
func (m *CmsUser) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CmsUser.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CmsUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CmsUser.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *CmsUser) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CmsUser.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *CmsUser) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CmsUser.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CmsUser) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CmsUser.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CmsUser proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *CmsUser) GetUser() *sdk_ws.UserInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.User
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CmsUser) GetIsBlock() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.IsBlock
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetUsersResp struct {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
|
|
UserList []*CmsUser `protobuf:"bytes,2,rep,name=userList" json:"userList,omitempty"`
|
|
|
|
Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,3,opt,name=Pagination" json:"Pagination,omitempty"`
|
|
|
|
TotalNums int32 `protobuf:"varint,4,opt,name=totalNums" json:"totalNums,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetUsersResp) Reset() { *m = GetUsersResp{} }
|
|
|
|
func (m *GetUsersResp) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetUsersResp) ProtoMessage() {}
|
|
|
|
func (*GetUsersResp) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{25}
|
|
|
|
}
|
|
|
|
func (m *GetUsersResp) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetUsersResp.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetUsersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetUsersResp.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *GetUsersResp) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetUsersResp.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *GetUsersResp) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetUsersResp.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetUsersResp) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetUsersResp.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetUsersResp proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetUsersResp) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetUsersResp) GetUserList() []*CmsUser {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserList
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetUsersResp) GetPagination() *sdk_ws.ResponsePagination {
|
|
|
|
if m != nil {
|
|
|
|
return m.Pagination
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetUsersResp) GetTotalNums() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalNums
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type AddUserReq struct {
|
|
|
|
UserInfo *sdk_ws.UserInfo `protobuf:"bytes,1,opt,name=userInfo" json:"userInfo,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 *AddUserReq) Reset() { *m = AddUserReq{} }
|
|
|
|
func (m *AddUserReq) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*AddUserReq) ProtoMessage() {}
|
|
|
|
func (*AddUserReq) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{26}
|
|
|
|
}
|
|
|
|
func (m *AddUserReq) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_AddUserReq.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *AddUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_AddUserReq.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *AddUserReq) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_AddUserReq.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *AddUserReq) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_AddUserReq.Size(m)
|
|
|
|
}
|
|
|
|
func (m *AddUserReq) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_AddUserReq.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_AddUserReq proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *AddUserReq) GetUserInfo() *sdk_ws.UserInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserInfo
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AddUserReq) GetOperationID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OperationID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type AddUserResp struct {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AddUserResp) Reset() { *m = AddUserResp{} }
|
|
|
|
func (m *AddUserResp) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*AddUserResp) ProtoMessage() {}
|
|
|
|
func (*AddUserResp) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{27}
|
|
|
|
}
|
|
|
|
func (m *AddUserResp) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_AddUserResp.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *AddUserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_AddUserResp.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *AddUserResp) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_AddUserResp.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *AddUserResp) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_AddUserResp.Size(m)
|
|
|
|
}
|
|
|
|
func (m *AddUserResp) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_AddUserResp.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_AddUserResp proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *AddUserResp) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type BlockUserReq struct {
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
|
|
EndDisableTime string `protobuf:"bytes,2,opt,name=endDisableTime" json:"endDisableTime,omitempty"`
|
|
|
|
OperationID string `protobuf:"bytes,3,opt,name=operationID" json:"operationID,omitempty"`
|
|
|
|
OpUserID string `protobuf:"bytes,4,opt,name=opUserID" json:"opUserID,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BlockUserReq) Reset() { *m = BlockUserReq{} }
|
|
|
|
func (m *BlockUserReq) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BlockUserReq) ProtoMessage() {}
|
|
|
|
func (*BlockUserReq) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{28}
|
|
|
|
}
|
|
|
|
func (m *BlockUserReq) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BlockUserReq.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BlockUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BlockUserReq.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *BlockUserReq) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BlockUserReq.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *BlockUserReq) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BlockUserReq.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BlockUserReq) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BlockUserReq.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BlockUserReq proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *BlockUserReq) GetUserID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BlockUserReq) GetEndDisableTime() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.EndDisableTime
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BlockUserReq) GetOperationID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OperationID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BlockUserReq) GetOpUserID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OpUserID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type BlockUserResp struct {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BlockUserResp) Reset() { *m = BlockUserResp{} }
|
|
|
|
func (m *BlockUserResp) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BlockUserResp) ProtoMessage() {}
|
|
|
|
func (*BlockUserResp) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{29}
|
|
|
|
}
|
|
|
|
func (m *BlockUserResp) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BlockUserResp.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BlockUserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BlockUserResp.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *BlockUserResp) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BlockUserResp.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *BlockUserResp) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BlockUserResp.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BlockUserResp) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BlockUserResp.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BlockUserResp proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *BlockUserResp) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type UnBlockUserReq struct {
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
|
|
OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnBlockUserReq) Reset() { *m = UnBlockUserReq{} }
|
|
|
|
func (m *UnBlockUserReq) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UnBlockUserReq) ProtoMessage() {}
|
|
|
|
func (*UnBlockUserReq) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{30}
|
|
|
|
}
|
|
|
|
func (m *UnBlockUserReq) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UnBlockUserReq.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *UnBlockUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UnBlockUserReq.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *UnBlockUserReq) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UnBlockUserReq.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *UnBlockUserReq) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UnBlockUserReq.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UnBlockUserReq) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UnBlockUserReq.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UnBlockUserReq proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UnBlockUserReq) GetUserID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnBlockUserReq) GetOperationID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OperationID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnBlockUserReq) GetOpUserID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OpUserID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type UnBlockUserResp struct {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnBlockUserResp) Reset() { *m = UnBlockUserResp{} }
|
|
|
|
func (m *UnBlockUserResp) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UnBlockUserResp) ProtoMessage() {}
|
|
|
|
func (*UnBlockUserResp) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{31}
|
|
|
|
}
|
|
|
|
func (m *UnBlockUserResp) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UnBlockUserResp.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *UnBlockUserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UnBlockUserResp.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *UnBlockUserResp) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UnBlockUserResp.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *UnBlockUserResp) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UnBlockUserResp.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UnBlockUserResp) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UnBlockUserResp.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UnBlockUserResp proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UnBlockUserResp) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetBlockUsersReq struct {
|
|
|
|
Pagination *sdk_ws.RequestPagination `protobuf:"bytes,1,opt,name=pagination" json:"pagination,omitempty"`
|
|
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
|
|
UserID string `protobuf:"bytes,3,opt,name=userID" json:"userID,omitempty"`
|
|
|
|
TotalBlockUserNum int32 `protobuf:"varint,4,opt,name=totalBlockUserNum" json:"totalBlockUserNum,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetBlockUsersReq) Reset() { *m = GetBlockUsersReq{} }
|
|
|
|
func (m *GetBlockUsersReq) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetBlockUsersReq) ProtoMessage() {}
|
|
|
|
func (*GetBlockUsersReq) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{32}
|
|
|
|
}
|
|
|
|
func (m *GetBlockUsersReq) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetBlockUsersReq.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetBlockUsersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetBlockUsersReq.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *GetBlockUsersReq) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetBlockUsersReq.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *GetBlockUsersReq) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetBlockUsersReq.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetBlockUsersReq) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetBlockUsersReq.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetBlockUsersReq proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetBlockUsersReq) GetPagination() *sdk_ws.RequestPagination {
|
|
|
|
if m != nil {
|
|
|
|
return m.Pagination
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetBlockUsersReq) GetOperationID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OperationID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetBlockUsersReq) GetUserID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetBlockUsersReq) GetTotalBlockUserNum() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalBlockUserNum
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type BlockUser struct {
|
|
|
|
UserInfo *sdk_ws.UserInfo `protobuf:"bytes,1,opt,name=UserInfo" json:"UserInfo,omitempty"`
|
|
|
|
BeginDisableTime string `protobuf:"bytes,2,opt,name=BeginDisableTime" json:"BeginDisableTime,omitempty"`
|
|
|
|
EndDisableTime string `protobuf:"bytes,3,opt,name=EndDisableTime" json:"EndDisableTime,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BlockUser) Reset() { *m = BlockUser{} }
|
|
|
|
func (m *BlockUser) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BlockUser) ProtoMessage() {}
|
|
|
|
func (*BlockUser) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{33}
|
|
|
|
}
|
|
|
|
func (m *BlockUser) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BlockUser.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BlockUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BlockUser.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *BlockUser) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BlockUser.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *BlockUser) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BlockUser.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BlockUser) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BlockUser.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BlockUser proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *BlockUser) GetUserInfo() *sdk_ws.UserInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserInfo
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BlockUser) GetBeginDisableTime() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.BeginDisableTime
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BlockUser) GetEndDisableTime() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.EndDisableTime
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetBlockUsersResp struct {
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"`
|
|
|
|
BlockUsers []*BlockUser `protobuf:"bytes,2,rep,name=BlockUsers" json:"BlockUsers,omitempty"`
|
|
|
|
Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,3,opt,name=Pagination" json:"Pagination,omitempty"`
|
|
|
|
UserNums int32 `protobuf:"varint,4,opt,name=UserNums" json:"UserNums,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetBlockUsersResp) Reset() { *m = GetBlockUsersResp{} }
|
|
|
|
func (m *GetBlockUsersResp) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetBlockUsersResp) ProtoMessage() {}
|
|
|
|
func (*GetBlockUsersResp) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_user_c4f084a95477a0bd, []int{34}
|
|
|
|
}
|
|
|
|
func (m *GetBlockUsersResp) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetBlockUsersResp.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetBlockUsersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetBlockUsersResp.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *GetBlockUsersResp) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetBlockUsersResp.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *GetBlockUsersResp) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetBlockUsersResp.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetBlockUsersResp) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetBlockUsersResp.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetBlockUsersResp proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetBlockUsersResp) GetCommonResp() *CommonResp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommonResp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetBlockUsersResp) GetBlockUsers() []*BlockUser {
|
|
|
|
if m != nil {
|
|
|
|
return m.BlockUsers
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetBlockUsersResp) GetPagination() *sdk_ws.ResponsePagination {
|
|
|
|
if m != nil {
|
|
|
|
return m.Pagination
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetBlockUsersResp) GetUserNums() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserNums
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*CommonResp)(nil), "user.CommonResp")
|
|
|
|
proto.RegisterType((*GetAllUserIDReq)(nil), "user.GetAllUserIDReq")
|
|
|
|
proto.RegisterType((*GetAllUserIDResp)(nil), "user.GetAllUserIDResp")
|
|
|
|
proto.RegisterType((*AccountCheckReq)(nil), "user.AccountCheckReq")
|
|
|
|
proto.RegisterType((*AccountCheckResp)(nil), "user.AccountCheckResp")
|
|
|
|
proto.RegisterType((*AccountCheckResp_SingleUserStatus)(nil), "user.AccountCheckResp.SingleUserStatus")
|
|
|
|
proto.RegisterType((*GetUserInfoReq)(nil), "user.GetUserInfoReq")
|
|
|
|
proto.RegisterType((*GetUserInfoResp)(nil), "user.GetUserInfoResp")
|
|
|
|
proto.RegisterType((*UpdateUserInfoReq)(nil), "user.UpdateUserInfoReq")
|
|
|
|
proto.RegisterType((*UpdateUserInfoResp)(nil), "user.UpdateUserInfoResp")
|
|
|
|
proto.RegisterType((*SetGlobalRecvMessageOptReq)(nil), "user.SetGlobalRecvMessageOptReq")
|
|
|
|
proto.RegisterType((*SetGlobalRecvMessageOptResp)(nil), "user.SetGlobalRecvMessageOptResp")
|
|
|
|
proto.RegisterType((*SetConversationReq)(nil), "user.SetConversationReq")
|
|
|
|
proto.RegisterType((*SetConversationResp)(nil), "user.SetConversationResp")
|
|
|
|
proto.RegisterType((*SetRecvMsgOptReq)(nil), "user.SetRecvMsgOptReq")
|
|
|
|
proto.RegisterType((*SetRecvMsgOptResp)(nil), "user.SetRecvMsgOptResp")
|
|
|
|
proto.RegisterType((*GetConversationReq)(nil), "user.GetConversationReq")
|
|
|
|
proto.RegisterType((*GetConversationResp)(nil), "user.GetConversationResp")
|
|
|
|
proto.RegisterType((*GetConversationsReq)(nil), "user.GetConversationsReq")
|
|
|
|
proto.RegisterType((*GetConversationsResp)(nil), "user.GetConversationsResp")
|
|
|
|
proto.RegisterType((*GetAllConversationsReq)(nil), "user.GetAllConversationsReq")
|
|
|
|
proto.RegisterType((*GetAllConversationsResp)(nil), "user.GetAllConversationsResp")
|
|
|
|
proto.RegisterType((*BatchSetConversationsReq)(nil), "user.BatchSetConversationsReq")
|
|
|
|
proto.RegisterType((*BatchSetConversationsResp)(nil), "user.BatchSetConversationsResp")
|
|
|
|
proto.RegisterType((*GetUsersReq)(nil), "user.GetUsersReq")
|
|
|
|
proto.RegisterType((*CmsUser)(nil), "user.CmsUser")
|
|
|
|
proto.RegisterType((*GetUsersResp)(nil), "user.GetUsersResp")
|
|
|
|
proto.RegisterType((*AddUserReq)(nil), "user.AddUserReq")
|
|
|
|
proto.RegisterType((*AddUserResp)(nil), "user.AddUserResp")
|
|
|
|
proto.RegisterType((*BlockUserReq)(nil), "user.BlockUserReq")
|
|
|
|
proto.RegisterType((*BlockUserResp)(nil), "user.BlockUserResp")
|
|
|
|
proto.RegisterType((*UnBlockUserReq)(nil), "user.UnBlockUserReq")
|
|
|
|
proto.RegisterType((*UnBlockUserResp)(nil), "user.UnBlockUserResp")
|
|
|
|
proto.RegisterType((*GetBlockUsersReq)(nil), "user.GetBlockUsersReq")
|
|
|
|
proto.RegisterType((*BlockUser)(nil), "user.BlockUser")
|
|
|
|
proto.RegisterType((*GetBlockUsersResp)(nil), "user.GetBlockUsersResp")
|
|
|
|
}
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ context.Context
|
|
|
|
var _ grpc.ClientConn
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the grpc package it is being compiled against.
|
|
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
|
|
|
|
// Client API for User service
|
|
|
|
|
|
|
|
type UserClient interface {
|
|
|
|
GetUserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResp, error)
|
|
|
|
UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*UpdateUserInfoResp, error)
|
|
|
|
SetGlobalRecvMessageOpt(ctx context.Context, in *SetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*SetGlobalRecvMessageOptResp, error)
|
|
|
|
GetAllUserID(ctx context.Context, in *GetAllUserIDReq, opts ...grpc.CallOption) (*GetAllUserIDResp, error)
|
|
|
|
AccountCheck(ctx context.Context, in *AccountCheckReq, opts ...grpc.CallOption) (*AccountCheckResp, error)
|
|
|
|
GetConversation(ctx context.Context, in *GetConversationReq, opts ...grpc.CallOption) (*GetConversationResp, error)
|
|
|
|
GetAllConversations(ctx context.Context, in *GetAllConversationsReq, opts ...grpc.CallOption) (*GetAllConversationsResp, error)
|
|
|
|
GetConversations(ctx context.Context, in *GetConversationsReq, opts ...grpc.CallOption) (*GetConversationsResp, error)
|
|
|
|
BatchSetConversations(ctx context.Context, in *BatchSetConversationsReq, opts ...grpc.CallOption) (*BatchSetConversationsResp, error)
|
|
|
|
SetConversation(ctx context.Context, in *SetConversationReq, opts ...grpc.CallOption) (*SetConversationResp, error)
|
|
|
|
SetRecvMsgOpt(ctx context.Context, in *SetRecvMsgOptReq, opts ...grpc.CallOption) (*SetRecvMsgOptResp, error)
|
|
|
|
GetUsers(ctx context.Context, in *GetUsersReq, opts ...grpc.CallOption) (*GetUsersResp, error)
|
|
|
|
AddUser(ctx context.Context, in *AddUserReq, opts ...grpc.CallOption) (*AddUserResp, error)
|
|
|
|
BlockUser(ctx context.Context, in *BlockUserReq, opts ...grpc.CallOption) (*BlockUserResp, error)
|
|
|
|
UnBlockUser(ctx context.Context, in *UnBlockUserReq, opts ...grpc.CallOption) (*UnBlockUserResp, error)
|
|
|
|
GetBlockUsers(ctx context.Context, in *GetBlockUsersReq, opts ...grpc.CallOption) (*GetBlockUsersResp, error)
|
|
|
|
}
|
|
|
|
|
|
|
|
type userClient struct {
|
|
|
|
cc *grpc.ClientConn
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewUserClient(cc *grpc.ClientConn) UserClient {
|
|
|
|
return &userClient{cc}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) GetUserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResp, error) {
|
|
|
|
out := new(GetUserInfoResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/GetUserInfo", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*UpdateUserInfoResp, error) {
|
|
|
|
out := new(UpdateUserInfoResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/UpdateUserInfo", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) SetGlobalRecvMessageOpt(ctx context.Context, in *SetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*SetGlobalRecvMessageOptResp, error) {
|
|
|
|
out := new(SetGlobalRecvMessageOptResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/SetGlobalRecvMessageOpt", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) GetAllUserID(ctx context.Context, in *GetAllUserIDReq, opts ...grpc.CallOption) (*GetAllUserIDResp, error) {
|
|
|
|
out := new(GetAllUserIDResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/GetAllUserID", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) AccountCheck(ctx context.Context, in *AccountCheckReq, opts ...grpc.CallOption) (*AccountCheckResp, error) {
|
|
|
|
out := new(AccountCheckResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/AccountCheck", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) GetConversation(ctx context.Context, in *GetConversationReq, opts ...grpc.CallOption) (*GetConversationResp, error) {
|
|
|
|
out := new(GetConversationResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/GetConversation", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) GetAllConversations(ctx context.Context, in *GetAllConversationsReq, opts ...grpc.CallOption) (*GetAllConversationsResp, error) {
|
|
|
|
out := new(GetAllConversationsResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/GetAllConversations", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) GetConversations(ctx context.Context, in *GetConversationsReq, opts ...grpc.CallOption) (*GetConversationsResp, error) {
|
|
|
|
out := new(GetConversationsResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/GetConversations", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) BatchSetConversations(ctx context.Context, in *BatchSetConversationsReq, opts ...grpc.CallOption) (*BatchSetConversationsResp, error) {
|
|
|
|
out := new(BatchSetConversationsResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/BatchSetConversations", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) SetConversation(ctx context.Context, in *SetConversationReq, opts ...grpc.CallOption) (*SetConversationResp, error) {
|
|
|
|
out := new(SetConversationResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/SetConversation", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) SetRecvMsgOpt(ctx context.Context, in *SetRecvMsgOptReq, opts ...grpc.CallOption) (*SetRecvMsgOptResp, error) {
|
|
|
|
out := new(SetRecvMsgOptResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/SetRecvMsgOpt", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) GetUsers(ctx context.Context, in *GetUsersReq, opts ...grpc.CallOption) (*GetUsersResp, error) {
|
|
|
|
out := new(GetUsersResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/GetUsers", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) AddUser(ctx context.Context, in *AddUserReq, opts ...grpc.CallOption) (*AddUserResp, error) {
|
|
|
|
out := new(AddUserResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/AddUser", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) BlockUser(ctx context.Context, in *BlockUserReq, opts ...grpc.CallOption) (*BlockUserResp, error) {
|
|
|
|
out := new(BlockUserResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/BlockUser", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) UnBlockUser(ctx context.Context, in *UnBlockUserReq, opts ...grpc.CallOption) (*UnBlockUserResp, error) {
|
|
|
|
out := new(UnBlockUserResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/UnBlockUser", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *userClient) GetBlockUsers(ctx context.Context, in *GetBlockUsersReq, opts ...grpc.CallOption) (*GetBlockUsersResp, error) {
|
|
|
|
out := new(GetBlockUsersResp)
|
|
|
|
err := grpc.Invoke(ctx, "/user.user/GetBlockUsers", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Server API for User service
|
|
|
|
|
|
|
|
type UserServer interface {
|
|
|
|
GetUserInfo(context.Context, *GetUserInfoReq) (*GetUserInfoResp, error)
|
|
|
|
UpdateUserInfo(context.Context, *UpdateUserInfoReq) (*UpdateUserInfoResp, error)
|
|
|
|
SetGlobalRecvMessageOpt(context.Context, *SetGlobalRecvMessageOptReq) (*SetGlobalRecvMessageOptResp, error)
|
|
|
|
GetAllUserID(context.Context, *GetAllUserIDReq) (*GetAllUserIDResp, error)
|
|
|
|
AccountCheck(context.Context, *AccountCheckReq) (*AccountCheckResp, error)
|
|
|
|
GetConversation(context.Context, *GetConversationReq) (*GetConversationResp, error)
|
|
|
|
GetAllConversations(context.Context, *GetAllConversationsReq) (*GetAllConversationsResp, error)
|
|
|
|
GetConversations(context.Context, *GetConversationsReq) (*GetConversationsResp, error)
|
|
|
|
BatchSetConversations(context.Context, *BatchSetConversationsReq) (*BatchSetConversationsResp, error)
|
|
|
|
SetConversation(context.Context, *SetConversationReq) (*SetConversationResp, error)
|
|
|
|
SetRecvMsgOpt(context.Context, *SetRecvMsgOptReq) (*SetRecvMsgOptResp, error)
|
|
|
|
GetUsers(context.Context, *GetUsersReq) (*GetUsersResp, error)
|
|
|
|
AddUser(context.Context, *AddUserReq) (*AddUserResp, error)
|
|
|
|
BlockUser(context.Context, *BlockUserReq) (*BlockUserResp, error)
|
|
|
|
UnBlockUser(context.Context, *UnBlockUserReq) (*UnBlockUserResp, error)
|
|
|
|
GetBlockUsers(context.Context, *GetBlockUsersReq) (*GetBlockUsersResp, error)
|
|
|
|
}
|
|
|
|
|
|
|
|
func RegisterUserServer(s *grpc.Server, srv UserServer) {
|
|
|
|
s.RegisterService(&_User_serviceDesc, srv)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_GetUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetUserInfoReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).GetUserInfo(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/GetUserInfo",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).GetUserInfo(ctx, req.(*GetUserInfoReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_UpdateUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(UpdateUserInfoReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).UpdateUserInfo(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/UpdateUserInfo",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).UpdateUserInfo(ctx, req.(*UpdateUserInfoReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_SetGlobalRecvMessageOpt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SetGlobalRecvMessageOptReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).SetGlobalRecvMessageOpt(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/SetGlobalRecvMessageOpt",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).SetGlobalRecvMessageOpt(ctx, req.(*SetGlobalRecvMessageOptReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_GetAllUserID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetAllUserIDReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).GetAllUserID(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/GetAllUserID",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).GetAllUserID(ctx, req.(*GetAllUserIDReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_AccountCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(AccountCheckReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).AccountCheck(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/AccountCheck",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).AccountCheck(ctx, req.(*AccountCheckReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_GetConversation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetConversationReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).GetConversation(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/GetConversation",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).GetConversation(ctx, req.(*GetConversationReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_GetAllConversations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetAllConversationsReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).GetAllConversations(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/GetAllConversations",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).GetAllConversations(ctx, req.(*GetAllConversationsReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_GetConversations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetConversationsReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).GetConversations(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/GetConversations",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).GetConversations(ctx, req.(*GetConversationsReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_BatchSetConversations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(BatchSetConversationsReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).BatchSetConversations(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/BatchSetConversations",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).BatchSetConversations(ctx, req.(*BatchSetConversationsReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_SetConversation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SetConversationReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).SetConversation(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/SetConversation",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).SetConversation(ctx, req.(*SetConversationReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_SetRecvMsgOpt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SetRecvMsgOptReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).SetRecvMsgOpt(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/SetRecvMsgOpt",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).SetRecvMsgOpt(ctx, req.(*SetRecvMsgOptReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_GetUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetUsersReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).GetUsers(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/GetUsers",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).GetUsers(ctx, req.(*GetUsersReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_AddUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(AddUserReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).AddUser(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/AddUser",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).AddUser(ctx, req.(*AddUserReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_BlockUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(BlockUserReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).BlockUser(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/BlockUser",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).BlockUser(ctx, req.(*BlockUserReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_UnBlockUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(UnBlockUserReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).UnBlockUser(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/UnBlockUser",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).UnBlockUser(ctx, req.(*UnBlockUserReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _User_GetBlockUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetBlockUsersReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(UserServer).GetBlockUsers(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/user.user/GetBlockUsers",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(UserServer).GetBlockUsers(ctx, req.(*GetBlockUsersReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
var _User_serviceDesc = grpc.ServiceDesc{
|
|
|
|
ServiceName: "user.user",
|
|
|
|
HandlerType: (*UserServer)(nil),
|
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
{
|
|
|
|
MethodName: "GetUserInfo",
|
|
|
|
Handler: _User_GetUserInfo_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "UpdateUserInfo",
|
|
|
|
Handler: _User_UpdateUserInfo_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "SetGlobalRecvMessageOpt",
|
|
|
|
Handler: _User_SetGlobalRecvMessageOpt_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetAllUserID",
|
|
|
|
Handler: _User_GetAllUserID_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "AccountCheck",
|
|
|
|
Handler: _User_AccountCheck_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetConversation",
|
|
|
|
Handler: _User_GetConversation_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetAllConversations",
|
|
|
|
Handler: _User_GetAllConversations_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetConversations",
|
|
|
|
Handler: _User_GetConversations_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "BatchSetConversations",
|
|
|
|
Handler: _User_BatchSetConversations_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "SetConversation",
|
|
|
|
Handler: _User_SetConversation_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "SetRecvMsgOpt",
|
|
|
|
Handler: _User_SetRecvMsgOpt_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetUsers",
|
|
|
|
Handler: _User_GetUsers_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "AddUser",
|
|
|
|
Handler: _User_AddUser_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "BlockUser",
|
|
|
|
Handler: _User_BlockUser_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "UnBlockUser",
|
|
|
|
Handler: _User_UnBlockUser_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetBlockUsers",
|
|
|
|
Handler: _User_GetBlockUsers_Handler,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
Metadata: "user/user.proto",
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("user/user.proto", fileDescriptor_user_c4f084a95477a0bd) }
|
|
|
|
|
|
|
|
var fileDescriptor_user_c4f084a95477a0bd = []byte{
|
|
|
|
// 1409 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcf, 0x6f, 0x1b, 0xc5,
|
|
|
|
0x17, 0xd7, 0xc4, 0x49, 0x13, 0x3f, 0xc7, 0xb1, 0x3d, 0x6d, 0x13, 0x77, 0xdb, 0x6f, 0xbf, 0xe9,
|
|
|
|
0xaa, 0x94, 0x50, 0x21, 0x9b, 0x06, 0x24, 0x24, 0x10, 0x6d, 0x13, 0xa7, 0xb5, 0x22, 0xd1, 0xba,
|
|
|
|
0x5a, 0xb7, 0x12, 0x42, 0x88, 0x68, 0xb3, 0x9e, 0xb8, 0xab, 0xd8, 0xbb, 0x93, 0x9d, 0x75, 0xa2,
|
|
|
|
0x9e, 0x40, 0x80, 0x84, 0x54, 0xc1, 0x9d, 0x33, 0x7f, 0x09, 0x12, 0x07, 0x24, 0xc4, 0x81, 0x2b,
|
|
|
|
0x27, 0xfe, 0x15, 0xb4, 0xb3, 0xbf, 0x66, 0x76, 0xd6, 0xb1, 0xb3, 0x54, 0xe2, 0x62, 0x79, 0xde,
|
|
|
|
0xcc, 0xbc, 0x79, 0x9f, 0xcf, 0xbe, 0x79, 0x3f, 0x06, 0x6a, 0x13, 0x46, 0xbc, 0x76, 0xf0, 0xd3,
|
|
|
|
0xa2, 0x9e, 0xeb, 0xbb, 0x78, 0x31, 0xf8, 0xaf, 0xdd, 0xea, 0x51, 0xe2, 0x1c, 0xec, 0x3f, 0x69,
|
|
|
|
0xd3, 0xe3, 0x61, 0x9b, 0x4f, 0xb4, 0xd9, 0xe0, 0xf8, 0xe0, 0x8c, 0xb5, 0xcf, 0x58, 0xb8, 0x50,
|
|
|
|
0xbb, 0xa7, 0x2e, 0xb1, 0x5c, 0xe7, 0x94, 0x78, 0xcc, 0xf4, 0x6d, 0xd7, 0x91, 0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