You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3734 lines
132 KiB
3734 lines
132 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.27.1
|
|
// protoc v3.15.5
|
|
// source: user/user.proto
|
|
|
|
package user
|
|
|
|
import (
|
|
conversation "Open_IM/pkg/proto/conversation"
|
|
sdk_ws "Open_IM/pkg/proto/sdk_ws"
|
|
context "context"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type CommonResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
|
|
}
|
|
|
|
func (x *CommonResp) Reset() {
|
|
*x = CommonResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CommonResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CommonResp) ProtoMessage() {}
|
|
|
|
func (x *CommonResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CommonResp.ProtoReflect.Descriptor instead.
|
|
func (*CommonResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CommonResp) GetErrCode() int32 {
|
|
if x != nil {
|
|
return x.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CommonResp) GetErrMsg() string {
|
|
if x != nil {
|
|
return x.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetAllUserIDReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OpUserID string `protobuf:"bytes,1,opt,name=opUserID,proto3" json:"opUserID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
|
}
|
|
|
|
func (x *GetAllUserIDReq) Reset() {
|
|
*x = GetAllUserIDReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetAllUserIDReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAllUserIDReq) ProtoMessage() {}
|
|
|
|
func (x *GetAllUserIDReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAllUserIDReq.ProtoReflect.Descriptor instead.
|
|
func (*GetAllUserIDReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GetAllUserIDReq) GetOpUserID() string {
|
|
if x != nil {
|
|
return x.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetAllUserIDReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetAllUserIDResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"`
|
|
UserIDList []string `protobuf:"bytes,2,rep,name=UserIDList,proto3" json:"UserIDList,omitempty"`
|
|
}
|
|
|
|
func (x *GetAllUserIDResp) Reset() {
|
|
*x = GetAllUserIDResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetAllUserIDResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAllUserIDResp) ProtoMessage() {}
|
|
|
|
func (x *GetAllUserIDResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAllUserIDResp.ProtoReflect.Descriptor instead.
|
|
func (*GetAllUserIDResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GetAllUserIDResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetAllUserIDResp) GetUserIDList() []string {
|
|
if x != nil {
|
|
return x.UserIDList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AccountCheckReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CheckUserIDList []string `protobuf:"bytes,1,rep,name=CheckUserIDList,proto3" json:"CheckUserIDList,omitempty"`
|
|
OpUserID string `protobuf:"bytes,2,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"`
|
|
OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
|
|
}
|
|
|
|
func (x *AccountCheckReq) Reset() {
|
|
*x = AccountCheckReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AccountCheckReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccountCheckReq) ProtoMessage() {}
|
|
|
|
func (x *AccountCheckReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccountCheckReq.ProtoReflect.Descriptor instead.
|
|
func (*AccountCheckReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *AccountCheckReq) GetCheckUserIDList() []string {
|
|
if x != nil {
|
|
return x.CheckUserIDList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountCheckReq) GetOpUserID() string {
|
|
if x != nil {
|
|
return x.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountCheckReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AccountCheckResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
ResultList []*AccountCheckResp_SingleUserStatus `protobuf:"bytes,2,rep,name=ResultList,proto3" json:"ResultList,omitempty"`
|
|
}
|
|
|
|
func (x *AccountCheckResp) Reset() {
|
|
*x = AccountCheckResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AccountCheckResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccountCheckResp) ProtoMessage() {}
|
|
|
|
func (x *AccountCheckResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccountCheckResp.ProtoReflect.Descriptor instead.
|
|
func (*AccountCheckResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *AccountCheckResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountCheckResp) GetResultList() []*AccountCheckResp_SingleUserStatus {
|
|
if x != nil {
|
|
return x.ResultList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUserInfoReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserIDList []string `protobuf:"bytes,1,rep,name=userIDList,proto3" json:"userIDList,omitempty"`
|
|
OpUserID string `protobuf:"bytes,2,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"`
|
|
OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
|
|
}
|
|
|
|
func (x *GetUserInfoReq) Reset() {
|
|
*x = GetUserInfoReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetUserInfoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserInfoReq) ProtoMessage() {}
|
|
|
|
func (x *GetUserInfoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUserInfoReq.ProtoReflect.Descriptor instead.
|
|
func (*GetUserInfoReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GetUserInfoReq) GetUserIDList() []string {
|
|
if x != nil {
|
|
return x.UserIDList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetUserInfoReq) GetOpUserID() string {
|
|
if x != nil {
|
|
return x.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetUserInfoReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetUserInfoResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
UserInfoList []*sdk_ws.UserInfo `protobuf:"bytes,3,rep,name=UserInfoList,proto3" json:"UserInfoList,omitempty"`
|
|
}
|
|
|
|
func (x *GetUserInfoResp) Reset() {
|
|
*x = GetUserInfoResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetUserInfoResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserInfoResp) ProtoMessage() {}
|
|
|
|
func (x *GetUserInfoResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUserInfoResp.ProtoReflect.Descriptor instead.
|
|
func (*GetUserInfoResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GetUserInfoResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetUserInfoResp) GetUserInfoList() []*sdk_ws.UserInfo {
|
|
if x != nil {
|
|
return x.UserInfoList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateUserInfoReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserInfo *sdk_ws.UserInfo `protobuf:"bytes,1,opt,name=UserInfo,proto3" json:"UserInfo,omitempty"`
|
|
OpUserID string `protobuf:"bytes,2,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"`
|
|
OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateUserInfoReq) Reset() {
|
|
*x = UpdateUserInfoReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateUserInfoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateUserInfoReq) ProtoMessage() {}
|
|
|
|
func (x *UpdateUserInfoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateUserInfoReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdateUserInfoReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *UpdateUserInfoReq) GetUserInfo() *sdk_ws.UserInfo {
|
|
if x != nil {
|
|
return x.UserInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateUserInfoReq) GetOpUserID() string {
|
|
if x != nil {
|
|
return x.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateUserInfoReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateUserInfoResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateUserInfoResp) Reset() {
|
|
*x = UpdateUserInfoResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateUserInfoResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateUserInfoResp) ProtoMessage() {}
|
|
|
|
func (x *UpdateUserInfoResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateUserInfoResp.ProtoReflect.Descriptor instead.
|
|
func (*UpdateUserInfoResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *UpdateUserInfoResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetGlobalRecvMessageOptReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
|
GlobalRecvMsgOpt int32 `protobuf:"varint,3,opt,name=globalRecvMsgOpt,proto3" json:"globalRecvMsgOpt,omitempty"`
|
|
}
|
|
|
|
func (x *SetGlobalRecvMessageOptReq) Reset() {
|
|
*x = SetGlobalRecvMessageOptReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SetGlobalRecvMessageOptReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetGlobalRecvMessageOptReq) ProtoMessage() {}
|
|
|
|
func (x *SetGlobalRecvMessageOptReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetGlobalRecvMessageOptReq.ProtoReflect.Descriptor instead.
|
|
func (*SetGlobalRecvMessageOptReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *SetGlobalRecvMessageOptReq) GetUserID() string {
|
|
if x != nil {
|
|
return x.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetGlobalRecvMessageOptReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetGlobalRecvMessageOptReq) GetGlobalRecvMsgOpt() int32 {
|
|
if x != nil {
|
|
return x.GlobalRecvMsgOpt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SetGlobalRecvMessageOptResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
}
|
|
|
|
func (x *SetGlobalRecvMessageOptResp) Reset() {
|
|
*x = SetGlobalRecvMessageOptResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SetGlobalRecvMessageOptResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetGlobalRecvMessageOptResp) ProtoMessage() {}
|
|
|
|
func (x *SetGlobalRecvMessageOptResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetGlobalRecvMessageOptResp.ProtoReflect.Descriptor instead.
|
|
func (*SetGlobalRecvMessageOptResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *SetGlobalRecvMessageOptResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetConversationReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Conversation *conversation.Conversation `protobuf:"bytes,1,opt,name=Conversation,proto3" json:"Conversation,omitempty"`
|
|
NotificationType int32 `protobuf:"varint,2,opt,name=notificationType,proto3" json:"notificationType,omitempty"`
|
|
OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
|
|
}
|
|
|
|
func (x *SetConversationReq) Reset() {
|
|
*x = SetConversationReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SetConversationReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetConversationReq) ProtoMessage() {}
|
|
|
|
func (x *SetConversationReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[11]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetConversationReq.ProtoReflect.Descriptor instead.
|
|
func (*SetConversationReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *SetConversationReq) GetConversation() *conversation.Conversation {
|
|
if x != nil {
|
|
return x.Conversation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetConversationReq) GetNotificationType() int32 {
|
|
if x != nil {
|
|
return x.NotificationType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetConversationReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetConversationResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
}
|
|
|
|
func (x *SetConversationResp) Reset() {
|
|
*x = SetConversationResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SetConversationResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetConversationResp) ProtoMessage() {}
|
|
|
|
func (x *SetConversationResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[12]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetConversationResp.ProtoReflect.Descriptor instead.
|
|
func (*SetConversationResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *SetConversationResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetRecvMsgOptReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OwnerUserID string `protobuf:"bytes,1,opt,name=OwnerUserID,proto3" json:"OwnerUserID,omitempty"`
|
|
ConversationID string `protobuf:"bytes,2,opt,name=ConversationID,proto3" json:"ConversationID,omitempty"`
|
|
RecvMsgOpt int32 `protobuf:"varint,3,opt,name=RecvMsgOpt,proto3" json:"RecvMsgOpt,omitempty"`
|
|
NotificationType int32 `protobuf:"varint,4,opt,name=notificationType,proto3" json:"notificationType,omitempty"`
|
|
OperationID string `protobuf:"bytes,5,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
|
|
}
|
|
|
|
func (x *SetRecvMsgOptReq) Reset() {
|
|
*x = SetRecvMsgOptReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SetRecvMsgOptReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetRecvMsgOptReq) ProtoMessage() {}
|
|
|
|
func (x *SetRecvMsgOptReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[13]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetRecvMsgOptReq.ProtoReflect.Descriptor instead.
|
|
func (*SetRecvMsgOptReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *SetRecvMsgOptReq) GetOwnerUserID() string {
|
|
if x != nil {
|
|
return x.OwnerUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetRecvMsgOptReq) GetConversationID() string {
|
|
if x != nil {
|
|
return x.ConversationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetRecvMsgOptReq) GetRecvMsgOpt() int32 {
|
|
if x != nil {
|
|
return x.RecvMsgOpt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetRecvMsgOptReq) GetNotificationType() int32 {
|
|
if x != nil {
|
|
return x.NotificationType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetRecvMsgOptReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetRecvMsgOptResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
}
|
|
|
|
func (x *SetRecvMsgOptResp) Reset() {
|
|
*x = SetRecvMsgOptResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SetRecvMsgOptResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetRecvMsgOptResp) ProtoMessage() {}
|
|
|
|
func (x *SetRecvMsgOptResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[14]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetRecvMsgOptResp.ProtoReflect.Descriptor instead.
|
|
func (*SetRecvMsgOptResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *SetRecvMsgOptResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetConversationReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ConversationID string `protobuf:"bytes,1,opt,name=ConversationID,proto3" json:"ConversationID,omitempty"`
|
|
OwnerUserID string `protobuf:"bytes,2,opt,name=OwnerUserID,proto3" json:"OwnerUserID,omitempty"`
|
|
OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
|
|
}
|
|
|
|
func (x *GetConversationReq) Reset() {
|
|
*x = GetConversationReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetConversationReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetConversationReq) ProtoMessage() {}
|
|
|
|
func (x *GetConversationReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[15]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetConversationReq.ProtoReflect.Descriptor instead.
|
|
func (*GetConversationReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *GetConversationReq) GetConversationID() string {
|
|
if x != nil {
|
|
return x.ConversationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetConversationReq) GetOwnerUserID() string {
|
|
if x != nil {
|
|
return x.OwnerUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetConversationReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetConversationResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
Conversation *conversation.Conversation `protobuf:"bytes,2,opt,name=Conversation,proto3" json:"Conversation,omitempty"`
|
|
}
|
|
|
|
func (x *GetConversationResp) Reset() {
|
|
*x = GetConversationResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetConversationResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetConversationResp) ProtoMessage() {}
|
|
|
|
func (x *GetConversationResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[16]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetConversationResp.ProtoReflect.Descriptor instead.
|
|
func (*GetConversationResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *GetConversationResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetConversationResp) GetConversation() *conversation.Conversation {
|
|
if x != nil {
|
|
return x.Conversation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetConversationsReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OwnerUserID string `protobuf:"bytes,1,opt,name=OwnerUserID,proto3" json:"OwnerUserID,omitempty"`
|
|
ConversationIDs []string `protobuf:"bytes,2,rep,name=ConversationIDs,proto3" json:"ConversationIDs,omitempty"`
|
|
OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
|
|
}
|
|
|
|
func (x *GetConversationsReq) Reset() {
|
|
*x = GetConversationsReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetConversationsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetConversationsReq) ProtoMessage() {}
|
|
|
|
func (x *GetConversationsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[17]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetConversationsReq.ProtoReflect.Descriptor instead.
|
|
func (*GetConversationsReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *GetConversationsReq) GetOwnerUserID() string {
|
|
if x != nil {
|
|
return x.OwnerUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetConversationsReq) GetConversationIDs() []string {
|
|
if x != nil {
|
|
return x.ConversationIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetConversationsReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetConversationsResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
Conversations []*conversation.Conversation `protobuf:"bytes,2,rep,name=Conversations,proto3" json:"Conversations,omitempty"`
|
|
}
|
|
|
|
func (x *GetConversationsResp) Reset() {
|
|
*x = GetConversationsResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetConversationsResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetConversationsResp) ProtoMessage() {}
|
|
|
|
func (x *GetConversationsResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[18]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetConversationsResp.ProtoReflect.Descriptor instead.
|
|
func (*GetConversationsResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *GetConversationsResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetConversationsResp) GetConversations() []*conversation.Conversation {
|
|
if x != nil {
|
|
return x.Conversations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetAllConversationsReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OwnerUserID string `protobuf:"bytes,1,opt,name=OwnerUserID,proto3" json:"OwnerUserID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
|
|
}
|
|
|
|
func (x *GetAllConversationsReq) Reset() {
|
|
*x = GetAllConversationsReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetAllConversationsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAllConversationsReq) ProtoMessage() {}
|
|
|
|
func (x *GetAllConversationsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[19]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAllConversationsReq.ProtoReflect.Descriptor instead.
|
|
func (*GetAllConversationsReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *GetAllConversationsReq) GetOwnerUserID() string {
|
|
if x != nil {
|
|
return x.OwnerUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetAllConversationsReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetAllConversationsResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
Conversations []*conversation.Conversation `protobuf:"bytes,2,rep,name=Conversations,proto3" json:"Conversations,omitempty"`
|
|
}
|
|
|
|
func (x *GetAllConversationsResp) Reset() {
|
|
*x = GetAllConversationsResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetAllConversationsResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAllConversationsResp) ProtoMessage() {}
|
|
|
|
func (x *GetAllConversationsResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[20]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAllConversationsResp.ProtoReflect.Descriptor instead.
|
|
func (*GetAllConversationsResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *GetAllConversationsResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetAllConversationsResp) GetConversations() []*conversation.Conversation {
|
|
if x != nil {
|
|
return x.Conversations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BatchSetConversationsReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Conversations []*conversation.Conversation `protobuf:"bytes,1,rep,name=Conversations,proto3" json:"Conversations,omitempty"`
|
|
OwnerUserID string `protobuf:"bytes,2,opt,name=OwnerUserID,proto3" json:"OwnerUserID,omitempty"`
|
|
NotificationType int32 `protobuf:"varint,3,opt,name=notificationType,proto3" json:"notificationType,omitempty"`
|
|
OperationID string `protobuf:"bytes,4,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
|
|
}
|
|
|
|
func (x *BatchSetConversationsReq) Reset() {
|
|
*x = BatchSetConversationsReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchSetConversationsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchSetConversationsReq) ProtoMessage() {}
|
|
|
|
func (x *BatchSetConversationsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[21]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BatchSetConversationsReq.ProtoReflect.Descriptor instead.
|
|
func (*BatchSetConversationsReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *BatchSetConversationsReq) GetConversations() []*conversation.Conversation {
|
|
if x != nil {
|
|
return x.Conversations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BatchSetConversationsReq) GetOwnerUserID() string {
|
|
if x != nil {
|
|
return x.OwnerUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BatchSetConversationsReq) GetNotificationType() int32 {
|
|
if x != nil {
|
|
return x.NotificationType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BatchSetConversationsReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BatchSetConversationsResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
Success []string `protobuf:"bytes,2,rep,name=Success,proto3" json:"Success,omitempty"`
|
|
Failed []string `protobuf:"bytes,3,rep,name=Failed,proto3" json:"Failed,omitempty"`
|
|
}
|
|
|
|
func (x *BatchSetConversationsResp) Reset() {
|
|
*x = BatchSetConversationsResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchSetConversationsResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchSetConversationsResp) ProtoMessage() {}
|
|
|
|
func (x *BatchSetConversationsResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[22]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BatchSetConversationsResp.ProtoReflect.Descriptor instead.
|
|
func (*BatchSetConversationsResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *BatchSetConversationsResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BatchSetConversationsResp) GetSuccess() []string {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BatchSetConversationsResp) GetFailed() []string {
|
|
if x != nil {
|
|
return x.Failed
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUsersReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OperationID string `protobuf:"bytes,1,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
|
Pagination *sdk_ws.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName,omitempty"`
|
|
UserID string `protobuf:"bytes,4,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
|
|
}
|
|
|
|
func (x *GetUsersReq) Reset() {
|
|
*x = GetUsersReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetUsersReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUsersReq) ProtoMessage() {}
|
|
|
|
func (x *GetUsersReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[23]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUsersReq.ProtoReflect.Descriptor instead.
|
|
func (*GetUsersReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *GetUsersReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetUsersReq) GetPagination() *sdk_ws.RequestPagination {
|
|
if x != nil {
|
|
return x.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetUsersReq) GetUserName() string {
|
|
if x != nil {
|
|
return x.UserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetUsersReq) GetUserID() string {
|
|
if x != nil {
|
|
return x.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetUsersReq) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CmsUser struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
User *sdk_ws.UserInfo `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
|
IsBlock bool `protobuf:"varint,2,opt,name=isBlock,proto3" json:"isBlock,omitempty"`
|
|
}
|
|
|
|
func (x *CmsUser) Reset() {
|
|
*x = CmsUser{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CmsUser) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CmsUser) ProtoMessage() {}
|
|
|
|
func (x *CmsUser) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[24]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CmsUser.ProtoReflect.Descriptor instead.
|
|
func (*CmsUser) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *CmsUser) GetUser() *sdk_ws.UserInfo {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CmsUser) GetIsBlock() bool {
|
|
if x != nil {
|
|
return x.IsBlock
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetUsersResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
UserList []*CmsUser `protobuf:"bytes,2,rep,name=userList,proto3" json:"userList,omitempty"`
|
|
Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,3,opt,name=Pagination,proto3" json:"Pagination,omitempty"`
|
|
TotalNums int32 `protobuf:"varint,4,opt,name=totalNums,proto3" json:"totalNums,omitempty"`
|
|
}
|
|
|
|
func (x *GetUsersResp) Reset() {
|
|
*x = GetUsersResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetUsersResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUsersResp) ProtoMessage() {}
|
|
|
|
func (x *GetUsersResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[25]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUsersResp.ProtoReflect.Descriptor instead.
|
|
func (*GetUsersResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *GetUsersResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetUsersResp) GetUserList() []*CmsUser {
|
|
if x != nil {
|
|
return x.UserList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetUsersResp) GetPagination() *sdk_ws.ResponsePagination {
|
|
if x != nil {
|
|
return x.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetUsersResp) GetTotalNums() int32 {
|
|
if x != nil {
|
|
return x.TotalNums
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AddUserReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserInfo *sdk_ws.UserInfo `protobuf:"bytes,1,opt,name=userInfo,proto3" json:"userInfo,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
|
}
|
|
|
|
func (x *AddUserReq) Reset() {
|
|
*x = AddUserReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AddUserReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddUserReq) ProtoMessage() {}
|
|
|
|
func (x *AddUserReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[26]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddUserReq.ProtoReflect.Descriptor instead.
|
|
func (*AddUserReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *AddUserReq) GetUserInfo() *sdk_ws.UserInfo {
|
|
if x != nil {
|
|
return x.UserInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddUserReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddUserResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"`
|
|
}
|
|
|
|
func (x *AddUserResp) Reset() {
|
|
*x = AddUserResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AddUserResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddUserResp) ProtoMessage() {}
|
|
|
|
func (x *AddUserResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[27]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddUserResp.ProtoReflect.Descriptor instead.
|
|
func (*AddUserResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *AddUserResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BlockUserReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
EndDisableTime string `protobuf:"bytes,2,opt,name=endDisableTime,proto3" json:"endDisableTime,omitempty"`
|
|
OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
|
OpUserID string `protobuf:"bytes,4,opt,name=opUserID,proto3" json:"opUserID,omitempty"`
|
|
}
|
|
|
|
func (x *BlockUserReq) Reset() {
|
|
*x = BlockUserReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BlockUserReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlockUserReq) ProtoMessage() {}
|
|
|
|
func (x *BlockUserReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[28]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BlockUserReq.ProtoReflect.Descriptor instead.
|
|
func (*BlockUserReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *BlockUserReq) GetUserID() string {
|
|
if x != nil {
|
|
return x.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlockUserReq) GetEndDisableTime() string {
|
|
if x != nil {
|
|
return x.EndDisableTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlockUserReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlockUserReq) GetOpUserID() string {
|
|
if x != nil {
|
|
return x.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BlockUserResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"`
|
|
}
|
|
|
|
func (x *BlockUserResp) Reset() {
|
|
*x = BlockUserResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BlockUserResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlockUserResp) ProtoMessage() {}
|
|
|
|
func (x *BlockUserResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[29]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BlockUserResp.ProtoReflect.Descriptor instead.
|
|
func (*BlockUserResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *BlockUserResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UnBlockUserReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
|
OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"`
|
|
}
|
|
|
|
func (x *UnBlockUserReq) Reset() {
|
|
*x = UnBlockUserReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UnBlockUserReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UnBlockUserReq) ProtoMessage() {}
|
|
|
|
func (x *UnBlockUserReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[30]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UnBlockUserReq.ProtoReflect.Descriptor instead.
|
|
func (*UnBlockUserReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *UnBlockUserReq) GetUserID() string {
|
|
if x != nil {
|
|
return x.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UnBlockUserReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UnBlockUserReq) GetOpUserID() string {
|
|
if x != nil {
|
|
return x.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UnBlockUserResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"`
|
|
}
|
|
|
|
func (x *UnBlockUserResp) Reset() {
|
|
*x = UnBlockUserResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UnBlockUserResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UnBlockUserResp) ProtoMessage() {}
|
|
|
|
func (x *UnBlockUserResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[31]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UnBlockUserResp.ProtoReflect.Descriptor instead.
|
|
func (*UnBlockUserResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *UnBlockUserResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetBlockUsersReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Pagination *sdk_ws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
|
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
TotalBlockUserNum int32 `protobuf:"varint,4,opt,name=totalBlockUserNum,proto3" json:"totalBlockUserNum,omitempty"`
|
|
}
|
|
|
|
func (x *GetBlockUsersReq) Reset() {
|
|
*x = GetBlockUsersReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetBlockUsersReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBlockUsersReq) ProtoMessage() {}
|
|
|
|
func (x *GetBlockUsersReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[32]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetBlockUsersReq.ProtoReflect.Descriptor instead.
|
|
func (*GetBlockUsersReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *GetBlockUsersReq) GetPagination() *sdk_ws.RequestPagination {
|
|
if x != nil {
|
|
return x.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetBlockUsersReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetBlockUsersReq) GetUserID() string {
|
|
if x != nil {
|
|
return x.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetBlockUsersReq) GetTotalBlockUserNum() int32 {
|
|
if x != nil {
|
|
return x.TotalBlockUserNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type BlockUser struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserInfo *sdk_ws.UserInfo `protobuf:"bytes,1,opt,name=UserInfo,proto3" json:"UserInfo,omitempty"`
|
|
BeginDisableTime string `protobuf:"bytes,2,opt,name=BeginDisableTime,proto3" json:"BeginDisableTime,omitempty"`
|
|
EndDisableTime string `protobuf:"bytes,3,opt,name=EndDisableTime,proto3" json:"EndDisableTime,omitempty"`
|
|
}
|
|
|
|
func (x *BlockUser) Reset() {
|
|
*x = BlockUser{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BlockUser) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlockUser) ProtoMessage() {}
|
|
|
|
func (x *BlockUser) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[33]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BlockUser.ProtoReflect.Descriptor instead.
|
|
func (*BlockUser) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *BlockUser) GetUserInfo() *sdk_ws.UserInfo {
|
|
if x != nil {
|
|
return x.UserInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BlockUser) GetBeginDisableTime() string {
|
|
if x != nil {
|
|
return x.BeginDisableTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlockUser) GetEndDisableTime() string {
|
|
if x != nil {
|
|
return x.EndDisableTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetBlockUsersResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"`
|
|
BlockUsers []*BlockUser `protobuf:"bytes,2,rep,name=BlockUsers,proto3" json:"BlockUsers,omitempty"`
|
|
Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,3,opt,name=Pagination,proto3" json:"Pagination,omitempty"`
|
|
UserNums int32 `protobuf:"varint,4,opt,name=UserNums,proto3" json:"UserNums,omitempty"`
|
|
}
|
|
|
|
func (x *GetBlockUsersResp) Reset() {
|
|
*x = GetBlockUsersResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetBlockUsersResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBlockUsersResp) ProtoMessage() {}
|
|
|
|
func (x *GetBlockUsersResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[34]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetBlockUsersResp.ProtoReflect.Descriptor instead.
|
|
func (*GetBlockUsersResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *GetBlockUsersResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetBlockUsersResp) GetBlockUsers() []*BlockUser {
|
|
if x != nil {
|
|
return x.BlockUsers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetBlockUsersResp) GetPagination() *sdk_ws.ResponsePagination {
|
|
if x != nil {
|
|
return x.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetBlockUsersResp) GetUserNums() int32 {
|
|
if x != nil {
|
|
return x.UserNums
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AccountCheckResp_SingleUserStatus struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
AccountStatus string `protobuf:"bytes,2,opt,name=accountStatus,proto3" json:"accountStatus,omitempty"`
|
|
}
|
|
|
|
func (x *AccountCheckResp_SingleUserStatus) Reset() {
|
|
*x = AccountCheckResp_SingleUserStatus{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_user_user_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AccountCheckResp_SingleUserStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccountCheckResp_SingleUserStatus) ProtoMessage() {}
|
|
|
|
func (x *AccountCheckResp_SingleUserStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[35]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccountCheckResp_SingleUserStatus.ProtoReflect.Descriptor instead.
|
|
func (*AccountCheckResp_SingleUserStatus) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{4, 0}
|
|
}
|
|
|
|
func (x *AccountCheckResp_SingleUserStatus) GetUserID() string {
|
|
if x != nil {
|
|
return x.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountCheckResp_SingleUserStatus) GetAccountStatus() string {
|
|
if x != nil {
|
|
return x.AccountStatus
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_user_user_proto protoreflect.FileDescriptor
|
|
|
|
var file_user_user_proto_rawDesc = []byte{
|
|
0x0a, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x12, 0x04, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x28, 0x4f, 0x70, 0x65, 0x6e, 0x2d, 0x49, 0x4d,
|
|
0x2d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x5f, 0x77, 0x73, 0x2f, 0x77, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x1a, 0x38, 0x4f, 0x70, 0x65, 0x6e, 0x2d, 0x49, 0x4d, 0x2d, 0x53, 0x65, 0x72, 0x76, 0x65,
|
|
0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x76,
|
|
0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x0a, 0x43,
|
|
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72,
|
|
0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43,
|
|
0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x4f, 0x0a, 0x0f, 0x47,
|
|
0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x52, 0x65, 0x71, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70,
|
|
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x64, 0x0a, 0x10,
|
|
0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x30, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d,
|
|
0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65,
|
|
0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74,
|
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69,
|
|
0x73, 0x74, 0x22, 0x79, 0x0a, 0x0f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x65,
|
|
0x63, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x28, 0x0a, 0x0f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73,
|
|
0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f,
|
|
0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12,
|
|
0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f,
|
|
0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0xdf, 0x01,
|
|
0x0a, 0x10, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65,
|
|
0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f,
|
|
0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
|
|
0x52, 0x65, 0x73, 0x70, 0x12, 0x47, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4c, 0x69,
|
|
0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
|
|
0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70,
|
|
0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x52, 0x0a, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x50, 0x0a,
|
|
0x10, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x63, 0x63,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22,
|
|
0x6e, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
|
|
0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18,
|
|
0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73,
|
|
0x74, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a,
|
|
0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22,
|
|
0x84, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
|
0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73,
|
|
0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43,
|
|
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
|
|
0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3f, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66,
|
|
0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x65,
|
|
0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e,
|
|
0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e,
|
|
0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x8a, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x37, 0x0a, 0x08,
|
|
0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b,
|
|
0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61,
|
|
0x6d, 0x73, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x55, 0x73, 0x65,
|
|
0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x49, 0x44, 0x22, 0x46, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
|
|
0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x63, 0x6f, 0x6d,
|
|
0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
|
|
0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52,
|
|
0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x82, 0x01, 0x0a, 0x1a,
|
|
0x53, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x65, 0x73,
|
|
0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73,
|
|
0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
|
|
0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49,
|
|
0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x49, 0x44, 0x12, 0x2a, 0x0a, 0x10, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65,
|
|
0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10,
|
|
0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74,
|
|
0x22, 0x4f, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x63,
|
|
0x76, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
0x30, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
|
|
0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73,
|
|
0x70, 0x22, 0xa2, 0x01, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x3e, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x76,
|
|
0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
|
|
0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f,
|
|
0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x43, 0x6f, 0x6e, 0x76,
|
|
0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x10, 0x6e, 0x6f, 0x74, 0x69,
|
|
0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x10, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x47, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e,
|
|
0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a,
|
|
0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52,
|
|
0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22,
|
|
0xca, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, 0x70,
|
|
0x74, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65,
|
|
0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72,
|
|
0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72,
|
|
0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
|
|
0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1e,
|
|
0x0a, 0x0a, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x0a, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x12, 0x2a,
|
|
0x0a, 0x10, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
|
|
0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69,
|
|
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70,
|
|
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x45, 0x0a, 0x11,
|
|
0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x73,
|
|
0x70, 0x12, 0x30, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d,
|
|
0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52,
|
|
0x65, 0x73, 0x70, 0x22, 0x80, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65,
|
|
0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x6f,
|
|
0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73,
|
|
0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x87, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6f,
|
|
0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30,
|
|
0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
|
|
0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x3e, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x52, 0x0c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x22, 0x83, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x77, 0x6e, 0x65,
|
|
0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f,
|
|
0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x28, 0x0a, 0x0f, 0x43, 0x6f,
|
|
0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x18, 0x02, 0x20,
|
|
0x03, 0x28, 0x09, 0x52, 0x0f, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x49, 0x44, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x8a, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x6f,
|
|
0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
0x30, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
|
|
0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73,
|
|
0x70, 0x12, 0x40, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65,
|
|
0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x73, 0x22, 0x5c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e,
|
|
0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a,
|
|
0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12,
|
|
0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49,
|
|
0x44, 0x22, 0x8d, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x76,
|
|
0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a,
|
|
0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52,
|
|
0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
0x40, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x52, 0x0d, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x73, 0x22, 0xcc, 0x01, 0x0a, 0x18, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x74, 0x43, 0x6f,
|
|
0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x12, 0x40,
|
|
0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
|
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x52, 0x0d, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
|
0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72,
|
|
0x49, 0x44, 0x12, 0x2a, 0x0a, 0x10, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x6e, 0x6f,
|
|
0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20,
|
|
0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
|
|
0x22, 0x7f, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76,
|
|
0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a,
|
|
0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52,
|
|
0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
0x18, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
|
|
0x52, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x46, 0x61, 0x69,
|
|
0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x46, 0x61, 0x69, 0x6c, 0x65,
|
|
0x64, 0x22, 0xc3, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65,
|
|
0x71, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x49, 0x44, 0x12, 0x44, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
|
|
0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70,
|
|
0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65,
|
|
0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65,
|
|
0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x18, 0x0a,
|
|
0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x54, 0x0a, 0x07, 0x43, 0x6d, 0x73, 0x55, 0x73,
|
|
0x65, 0x72, 0x12, 0x2f, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x1b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61,
|
|
0x72, 0x61, 0x6d, 0x73, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x75,
|
|
0x73, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0xd0, 0x01,
|
|
0x0a, 0x0c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30,
|
|
0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
|
|
0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x29, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6d, 0x73, 0x55, 0x73, 0x65,
|
|
0x72, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x0a, 0x50,
|
|
0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72,
|
|
0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x67, 0x69,
|
|
0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x73, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x73,
|
|
0x22, 0x67, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x37,
|
|
0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x1b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61,
|
|
0x72, 0x61, 0x6d, 0x73, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x75,
|
|
0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70,
|
|
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x3f, 0x0a, 0x0b, 0x41, 0x64, 0x64,
|
|
0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d,
|
|
0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75,
|
|
0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a,
|
|
0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x8c, 0x01, 0x0a, 0x0c, 0x42,
|
|
0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75,
|
|
0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65,
|
|
0x72, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x6e, 0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c,
|
|
0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x6e, 0x64,
|
|
0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6f,
|
|
0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a,
|
|
0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x41, 0x0a, 0x0d, 0x42, 0x6c, 0x6f,
|
|
0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x43, 0x6f,
|
|
0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10,
|
|
0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
|
|
0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x66, 0x0a, 0x0e,
|
|
0x55, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16,
|
|
0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
|
0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65,
|
|
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73,
|
|
0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73,
|
|
0x65, 0x72, 0x49, 0x44, 0x22, 0x43, 0x0a, 0x0f, 0x55, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55,
|
|
0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
|
|
0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73,
|
|
0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43,
|
|
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0xc0, 0x01, 0x0a, 0x10, 0x47, 0x65,
|
|
0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x44,
|
|
0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f,
|
|
0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61,
|
|
0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x2c,
|
|
0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72,
|
|
0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c,
|
|
0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x22, 0x98, 0x01, 0x0a,
|
|
0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x08, 0x55, 0x73,
|
|
0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73,
|
|
0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
|
0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x0a, 0x10, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x44, 0x69, 0x73, 0x61,
|
|
0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x42,
|
|
0x65, 0x67, 0x69, 0x6e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
|
|
0x26, 0x0a, 0x0e, 0x45, 0x6e, 0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d,
|
|
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x45, 0x6e, 0x64, 0x44, 0x69, 0x73, 0x61,
|
|
0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xd9, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42,
|
|
0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a,
|
|
0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52,
|
|
0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
0x2f, 0x0a, 0x0a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
|
|
0x55, 0x73, 0x65, 0x72, 0x52, 0x0a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73,
|
|
0x12, 0x45, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70,
|
|
0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x50, 0x61, 0x67,
|
|
0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4e,
|
|
0x75, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4e,
|
|
0x75, 0x6d, 0x73, 0x32, 0xc7, 0x08, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x0b,
|
|
0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x2e, 0x75, 0x73,
|
|
0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
|
|
0x71, 0x1a, 0x15, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x43, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61,
|
|
0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x2e, 0x75, 0x73, 0x65,
|
|
0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5e, 0x0a,
|
|
0x17, 0x53, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x65,
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x12, 0x20, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
|
|
0x53, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x65, 0x73,
|
|
0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x21, 0x2e, 0x75, 0x73, 0x65,
|
|
0x72, 0x2e, 0x53, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x63, 0x76, 0x4d,
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3d, 0x0a,
|
|
0x0c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x15, 0x2e,
|
|
0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
0x44, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x41,
|
|
0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3d, 0x0a, 0x0c,
|
|
0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x15, 0x2e, 0x75,
|
|
0x73, 0x65, 0x72, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
|
0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x0f, 0x47,
|
|
0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18,
|
|
0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
|
|
0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
|
|
0x65, 0x73, 0x70, 0x12, 0x52, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e,
|
|
0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x2e, 0x75, 0x73, 0x65,
|
|
0x72, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
|
|
0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x49, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x6f,
|
|
0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x19, 0x2e, 0x75, 0x73,
|
|
0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65,
|
|
0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,
|
|
0x73, 0x70, 0x12, 0x58, 0x0a, 0x15, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x74, 0x43, 0x6f,
|
|
0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x2e, 0x75, 0x73,
|
|
0x65, 0x72, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65,
|
|
0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x75, 0x73,
|
|
0x65, 0x72, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65,
|
|
0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x0f,
|
|
0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
|
0x18, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72,
|
|
0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x75, 0x73, 0x65, 0x72,
|
|
0x2e, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x52, 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x76, 0x4d,
|
|
0x73, 0x67, 0x4f, 0x70, 0x74, 0x12, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x74,
|
|
0x52, 0x65, 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e,
|
|
0x75, 0x73, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f,
|
|
0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
|
|
0x72, 0x73, 0x12, 0x11, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
|
|
0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74,
|
|
0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2e, 0x0a, 0x07, 0x41, 0x64, 0x64,
|
|
0x55, 0x73, 0x65, 0x72, 0x12, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x55,
|
|
0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x64,
|
|
0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x34, 0x0a, 0x09, 0x42, 0x6c, 0x6f,
|
|
0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x12, 0x12, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x42, 0x6c,
|
|
0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x75, 0x73, 0x65,
|
|
0x72, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
0x3a, 0x0a, 0x0b, 0x55, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x12, 0x14,
|
|
0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65,
|
|
0x72, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x6e, 0x42, 0x6c,
|
|
0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0d, 0x47,
|
|
0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x75,
|
|
0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72,
|
|
0x73, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x42,
|
|
0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x1d, 0x5a,
|
|
0x1b, 0x4f, 0x70, 0x65, 0x6e, 0x5f, 0x49, 0x4d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_user_user_proto_rawDescOnce sync.Once
|
|
file_user_user_proto_rawDescData = file_user_user_proto_rawDesc
|
|
)
|
|
|
|
func file_user_user_proto_rawDescGZIP() []byte {
|
|
file_user_user_proto_rawDescOnce.Do(func() {
|
|
file_user_user_proto_rawDescData = protoimpl.X.CompressGZIP(file_user_user_proto_rawDescData)
|
|
})
|
|
return file_user_user_proto_rawDescData
|
|
}
|
|
|
|
var file_user_user_proto_msgTypes = make([]protoimpl.MessageInfo, 36)
|
|
var file_user_user_proto_goTypes = []interface{}{
|
|
(*CommonResp)(nil), // 0: user.CommonResp
|
|
(*GetAllUserIDReq)(nil), // 1: user.GetAllUserIDReq
|
|
(*GetAllUserIDResp)(nil), // 2: user.GetAllUserIDResp
|
|
(*AccountCheckReq)(nil), // 3: user.AccountCheckReq
|
|
(*AccountCheckResp)(nil), // 4: user.AccountCheckResp
|
|
(*GetUserInfoReq)(nil), // 5: user.GetUserInfoReq
|
|
(*GetUserInfoResp)(nil), // 6: user.GetUserInfoResp
|
|
(*UpdateUserInfoReq)(nil), // 7: user.UpdateUserInfoReq
|
|
(*UpdateUserInfoResp)(nil), // 8: user.UpdateUserInfoResp
|
|
(*SetGlobalRecvMessageOptReq)(nil), // 9: user.SetGlobalRecvMessageOptReq
|
|
(*SetGlobalRecvMessageOptResp)(nil), // 10: user.SetGlobalRecvMessageOptResp
|
|
(*SetConversationReq)(nil), // 11: user.SetConversationReq
|
|
(*SetConversationResp)(nil), // 12: user.SetConversationResp
|
|
(*SetRecvMsgOptReq)(nil), // 13: user.SetRecvMsgOptReq
|
|
(*SetRecvMsgOptResp)(nil), // 14: user.SetRecvMsgOptResp
|
|
(*GetConversationReq)(nil), // 15: user.GetConversationReq
|
|
(*GetConversationResp)(nil), // 16: user.GetConversationResp
|
|
(*GetConversationsReq)(nil), // 17: user.GetConversationsReq
|
|
(*GetConversationsResp)(nil), // 18: user.GetConversationsResp
|
|
(*GetAllConversationsReq)(nil), // 19: user.GetAllConversationsReq
|
|
(*GetAllConversationsResp)(nil), // 20: user.GetAllConversationsResp
|
|
(*BatchSetConversationsReq)(nil), // 21: user.BatchSetConversationsReq
|
|
(*BatchSetConversationsResp)(nil), // 22: user.BatchSetConversationsResp
|
|
(*GetUsersReq)(nil), // 23: user.GetUsersReq
|
|
(*CmsUser)(nil), // 24: user.CmsUser
|
|
(*GetUsersResp)(nil), // 25: user.GetUsersResp
|
|
(*AddUserReq)(nil), // 26: user.AddUserReq
|
|
(*AddUserResp)(nil), // 27: user.AddUserResp
|
|
(*BlockUserReq)(nil), // 28: user.BlockUserReq
|
|
(*BlockUserResp)(nil), // 29: user.BlockUserResp
|
|
(*UnBlockUserReq)(nil), // 30: user.UnBlockUserReq
|
|
(*UnBlockUserResp)(nil), // 31: user.UnBlockUserResp
|
|
(*GetBlockUsersReq)(nil), // 32: user.GetBlockUsersReq
|
|
(*BlockUser)(nil), // 33: user.BlockUser
|
|
(*GetBlockUsersResp)(nil), // 34: user.GetBlockUsersResp
|
|
(*AccountCheckResp_SingleUserStatus)(nil), // 35: user.AccountCheckResp.SingleUserStatus
|
|
(*sdk_ws.UserInfo)(nil), // 36: server_api_params.UserInfo
|
|
(*conversation.Conversation)(nil), // 37: conversation.Conversation
|
|
(*sdk_ws.RequestPagination)(nil), // 38: server_api_params.RequestPagination
|
|
(*sdk_ws.ResponsePagination)(nil), // 39: server_api_params.ResponsePagination
|
|
}
|
|
var file_user_user_proto_depIdxs = []int32{
|
|
0, // 0: user.GetAllUserIDResp.CommonResp:type_name -> user.CommonResp
|
|
0, // 1: user.AccountCheckResp.commonResp:type_name -> user.CommonResp
|
|
35, // 2: user.AccountCheckResp.ResultList:type_name -> user.AccountCheckResp.SingleUserStatus
|
|
0, // 3: user.GetUserInfoResp.commonResp:type_name -> user.CommonResp
|
|
36, // 4: user.GetUserInfoResp.UserInfoList:type_name -> server_api_params.UserInfo
|
|
36, // 5: user.UpdateUserInfoReq.UserInfo:type_name -> server_api_params.UserInfo
|
|
0, // 6: user.UpdateUserInfoResp.commonResp:type_name -> user.CommonResp
|
|
0, // 7: user.SetGlobalRecvMessageOptResp.commonResp:type_name -> user.CommonResp
|
|
37, // 8: user.SetConversationReq.Conversation:type_name -> conversation.Conversation
|
|
0, // 9: user.SetConversationResp.commonResp:type_name -> user.CommonResp
|
|
0, // 10: user.SetRecvMsgOptResp.commonResp:type_name -> user.CommonResp
|
|
0, // 11: user.GetConversationResp.commonResp:type_name -> user.CommonResp
|
|
37, // 12: user.GetConversationResp.Conversation:type_name -> conversation.Conversation
|
|
0, // 13: user.GetConversationsResp.commonResp:type_name -> user.CommonResp
|
|
37, // 14: user.GetConversationsResp.Conversations:type_name -> conversation.Conversation
|
|
0, // 15: user.GetAllConversationsResp.commonResp:type_name -> user.CommonResp
|
|
37, // 16: user.GetAllConversationsResp.Conversations:type_name -> conversation.Conversation
|
|
37, // 17: user.BatchSetConversationsReq.Conversations:type_name -> conversation.Conversation
|
|
0, // 18: user.BatchSetConversationsResp.commonResp:type_name -> user.CommonResp
|
|
38, // 19: user.GetUsersReq.pagination:type_name -> server_api_params.RequestPagination
|
|
36, // 20: user.CmsUser.user:type_name -> server_api_params.UserInfo
|
|
0, // 21: user.GetUsersResp.commonResp:type_name -> user.CommonResp
|
|
24, // 22: user.GetUsersResp.userList:type_name -> user.CmsUser
|
|
39, // 23: user.GetUsersResp.Pagination:type_name -> server_api_params.ResponsePagination
|
|
36, // 24: user.AddUserReq.userInfo:type_name -> server_api_params.UserInfo
|
|
0, // 25: user.AddUserResp.CommonResp:type_name -> user.CommonResp
|
|
0, // 26: user.BlockUserResp.CommonResp:type_name -> user.CommonResp
|
|
0, // 27: user.UnBlockUserResp.CommonResp:type_name -> user.CommonResp
|
|
38, // 28: user.GetBlockUsersReq.pagination:type_name -> server_api_params.RequestPagination
|
|
36, // 29: user.BlockUser.UserInfo:type_name -> server_api_params.UserInfo
|
|
0, // 30: user.GetBlockUsersResp.CommonResp:type_name -> user.CommonResp
|
|
33, // 31: user.GetBlockUsersResp.BlockUsers:type_name -> user.BlockUser
|
|
39, // 32: user.GetBlockUsersResp.Pagination:type_name -> server_api_params.ResponsePagination
|
|
5, // 33: user.user.GetUserInfo:input_type -> user.GetUserInfoReq
|
|
7, // 34: user.user.UpdateUserInfo:input_type -> user.UpdateUserInfoReq
|
|
9, // 35: user.user.SetGlobalRecvMessageOpt:input_type -> user.SetGlobalRecvMessageOptReq
|
|
1, // 36: user.user.GetAllUserID:input_type -> user.GetAllUserIDReq
|
|
3, // 37: user.user.AccountCheck:input_type -> user.AccountCheckReq
|
|
15, // 38: user.user.GetConversation:input_type -> user.GetConversationReq
|
|
19, // 39: user.user.GetAllConversations:input_type -> user.GetAllConversationsReq
|
|
17, // 40: user.user.GetConversations:input_type -> user.GetConversationsReq
|
|
21, // 41: user.user.BatchSetConversations:input_type -> user.BatchSetConversationsReq
|
|
11, // 42: user.user.SetConversation:input_type -> user.SetConversationReq
|
|
13, // 43: user.user.SetRecvMsgOpt:input_type -> user.SetRecvMsgOptReq
|
|
23, // 44: user.user.GetUsers:input_type -> user.GetUsersReq
|
|
26, // 45: user.user.AddUser:input_type -> user.AddUserReq
|
|
28, // 46: user.user.BlockUser:input_type -> user.BlockUserReq
|
|
30, // 47: user.user.UnBlockUser:input_type -> user.UnBlockUserReq
|
|
32, // 48: user.user.GetBlockUsers:input_type -> user.GetBlockUsersReq
|
|
6, // 49: user.user.GetUserInfo:output_type -> user.GetUserInfoResp
|
|
8, // 50: user.user.UpdateUserInfo:output_type -> user.UpdateUserInfoResp
|
|
10, // 51: user.user.SetGlobalRecvMessageOpt:output_type -> user.SetGlobalRecvMessageOptResp
|
|
2, // 52: user.user.GetAllUserID:output_type -> user.GetAllUserIDResp
|
|
4, // 53: user.user.AccountCheck:output_type -> user.AccountCheckResp
|
|
16, // 54: user.user.GetConversation:output_type -> user.GetConversationResp
|
|
20, // 55: user.user.GetAllConversations:output_type -> user.GetAllConversationsResp
|
|
18, // 56: user.user.GetConversations:output_type -> user.GetConversationsResp
|
|
22, // 57: user.user.BatchSetConversations:output_type -> user.BatchSetConversationsResp
|
|
12, // 58: user.user.SetConversation:output_type -> user.SetConversationResp
|
|
14, // 59: user.user.SetRecvMsgOpt:output_type -> user.SetRecvMsgOptResp
|
|
25, // 60: user.user.GetUsers:output_type -> user.GetUsersResp
|
|
27, // 61: user.user.AddUser:output_type -> user.AddUserResp
|
|
29, // 62: user.user.BlockUser:output_type -> user.BlockUserResp
|
|
31, // 63: user.user.UnBlockUser:output_type -> user.UnBlockUserResp
|
|
34, // 64: user.user.GetBlockUsers:output_type -> user.GetBlockUsersResp
|
|
49, // [49:65] is the sub-list for method output_type
|
|
33, // [33:49] is the sub-list for method input_type
|
|
33, // [33:33] is the sub-list for extension type_name
|
|
33, // [33:33] is the sub-list for extension extendee
|
|
0, // [0:33] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_user_user_proto_init() }
|
|
func file_user_user_proto_init() {
|
|
if File_user_user_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_user_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CommonResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetAllUserIDReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetAllUserIDResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AccountCheckReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AccountCheckResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetUserInfoReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetUserInfoResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateUserInfoReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateUserInfoResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SetGlobalRecvMessageOptReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SetGlobalRecvMessageOptResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SetConversationReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SetConversationResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SetRecvMsgOptReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SetRecvMsgOptResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetConversationReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetConversationResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetConversationsReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetConversationsResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetAllConversationsReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetAllConversationsResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchSetConversationsReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchSetConversationsResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetUsersReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CmsUser); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetUsersResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AddUserReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AddUserResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BlockUserReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BlockUserResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UnBlockUserReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UnBlockUserResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetBlockUsersReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BlockUser); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetBlockUsersResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_user_user_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AccountCheckResp_SingleUserStatus); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_user_user_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 36,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_user_user_proto_goTypes,
|
|
DependencyIndexes: file_user_user_proto_depIdxs,
|
|
MessageInfos: file_user_user_proto_msgTypes,
|
|
}.Build()
|
|
File_user_user_proto = out.File
|
|
file_user_user_proto_rawDesc = nil
|
|
file_user_user_proto_goTypes = nil
|
|
file_user_user_proto_depIdxs = nil
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConnInterface
|
|
|
|
// 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.SupportPackageIsVersion6
|
|
|
|
// UserClient is the client API for User service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
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.ClientConnInterface
|
|
}
|
|
|
|
func NewUserClient(cc grpc.ClientConnInterface) UserClient {
|
|
return &userClient{cc}
|
|
}
|
|
|
|
func (c *userClient) GetUserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResp, error) {
|
|
out := new(GetUserInfoResp)
|
|
err := c.cc.Invoke(ctx, "/user.user/GetUserInfo", in, out, 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 := c.cc.Invoke(ctx, "/user.user/UpdateUserInfo", in, out, 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 := c.cc.Invoke(ctx, "/user.user/SetGlobalRecvMessageOpt", in, out, 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 := c.cc.Invoke(ctx, "/user.user/GetAllUserID", in, out, 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 := c.cc.Invoke(ctx, "/user.user/AccountCheck", in, out, 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 := c.cc.Invoke(ctx, "/user.user/GetConversation", in, out, 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 := c.cc.Invoke(ctx, "/user.user/GetAllConversations", in, out, 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 := c.cc.Invoke(ctx, "/user.user/GetConversations", in, out, 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 := c.cc.Invoke(ctx, "/user.user/BatchSetConversations", in, out, 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 := c.cc.Invoke(ctx, "/user.user/SetConversation", in, out, 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 := c.cc.Invoke(ctx, "/user.user/SetRecvMsgOpt", in, out, 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 := c.cc.Invoke(ctx, "/user.user/GetUsers", in, out, 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 := c.cc.Invoke(ctx, "/user.user/AddUser", in, out, 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 := c.cc.Invoke(ctx, "/user.user/BlockUser", in, out, 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 := c.cc.Invoke(ctx, "/user.user/UnBlockUser", in, out, 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 := c.cc.Invoke(ctx, "/user.user/GetBlockUsers", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// UserServer is the 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)
|
|
}
|
|
|
|
// UnimplementedUserServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedUserServer struct {
|
|
}
|
|
|
|
func (*UnimplementedUserServer) GetUserInfo(context.Context, *GetUserInfoReq) (*GetUserInfoResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetUserInfo not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) UpdateUserInfo(context.Context, *UpdateUserInfoReq) (*UpdateUserInfoResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateUserInfo not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) SetGlobalRecvMessageOpt(context.Context, *SetGlobalRecvMessageOptReq) (*SetGlobalRecvMessageOptResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method SetGlobalRecvMessageOpt not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) GetAllUserID(context.Context, *GetAllUserIDReq) (*GetAllUserIDResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetAllUserID not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) AccountCheck(context.Context, *AccountCheckReq) (*AccountCheckResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AccountCheck not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) GetConversation(context.Context, *GetConversationReq) (*GetConversationResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetConversation not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) GetAllConversations(context.Context, *GetAllConversationsReq) (*GetAllConversationsResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetAllConversations not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) GetConversations(context.Context, *GetConversationsReq) (*GetConversationsResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetConversations not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) BatchSetConversations(context.Context, *BatchSetConversationsReq) (*BatchSetConversationsResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method BatchSetConversations not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) SetConversation(context.Context, *SetConversationReq) (*SetConversationResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method SetConversation not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) SetRecvMsgOpt(context.Context, *SetRecvMsgOptReq) (*SetRecvMsgOptResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method SetRecvMsgOpt not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) GetUsers(context.Context, *GetUsersReq) (*GetUsersResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetUsers not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) AddUser(context.Context, *AddUserReq) (*AddUserResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AddUser not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) BlockUser(context.Context, *BlockUserReq) (*BlockUserResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method BlockUser not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) UnBlockUser(context.Context, *UnBlockUserReq) (*UnBlockUserResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UnBlockUser not implemented")
|
|
}
|
|
func (*UnimplementedUserServer) GetBlockUsers(context.Context, *GetBlockUsersReq) (*GetBlockUsersResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetBlockUsers not implemented")
|
|
}
|
|
|
|
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",
|
|
}
|