|
@@ -25,10 +25,7 @@ type CountReq struct {
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- MsgType int64 `protobuf:"varint,1,opt,name=msgType,proto3" json:"msgType,omitempty"` // 消息类型 ;1:站内信消息 2:点对点消息 3:群消息 4:机器人消息 5:客服消息
|
|
|
UserType int64 `protobuf:"varint,2,opt,name=userType,proto3" json:"userType,omitempty"` //用户类型:2用户1客服
|
|
|
- SendId string `protobuf:"bytes,3,opt,name=sendId,proto3" json:"sendId,omitempty"` // 发送方id
|
|
|
- EntId int64 `protobuf:"varint,4,opt,name=entId,proto3" json:"entId,omitempty"` //企业标识
|
|
|
ReceiveId string `protobuf:"bytes,5,opt,name=receiveId,proto3" json:"receiveId,omitempty"` // 接收方id
|
|
|
}
|
|
|
|
|
@@ -64,13 +61,6 @@ func (*CountReq) Descriptor() ([]byte, []int) {
|
|
|
return file_messageCenter_proto_rawDescGZIP(), []int{0}
|
|
|
}
|
|
|
|
|
|
-func (x *CountReq) GetMsgType() int64 {
|
|
|
- if x != nil {
|
|
|
- return x.MsgType
|
|
|
- }
|
|
|
- return 0
|
|
|
-}
|
|
|
-
|
|
|
func (x *CountReq) GetUserType() int64 {
|
|
|
if x != nil {
|
|
|
return x.UserType
|
|
@@ -78,20 +68,6 @@ func (x *CountReq) GetUserType() int64 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *CountReq) GetSendId() string {
|
|
|
- if x != nil {
|
|
|
- return x.SendId
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *CountReq) GetEntId() int64 {
|
|
|
- if x != nil {
|
|
|
- return x.EntId
|
|
|
- }
|
|
|
- return 0
|
|
|
-}
|
|
|
-
|
|
|
func (x *CountReq) GetReceiveId() string {
|
|
|
if x != nil {
|
|
|
return x.ReceiveId
|
|
@@ -104,7 +80,9 @@ type CountResp struct {
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
|
+ Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
|
+ ErrorCode int64 `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` //响应代码
|
|
|
+ ErrorMsg string `protobuf:"bytes,3,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` //响应消息
|
|
|
}
|
|
|
|
|
|
func (x *CountResp) Reset() {
|
|
@@ -146,120 +124,16 @@ func (x *CountResp) GetCount() int64 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-type GetReq struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- MsgType int64 `protobuf:"varint,1,opt,name=msgType,proto3" json:"msgType,omitempty"` // 消息类型
|
|
|
- SendId string `protobuf:"bytes,2,opt,name=sendId,proto3" json:"sendId,omitempty"` // 发送方id
|
|
|
- ReceiveId string `protobuf:"bytes,3,opt,name=receiveId,proto3" json:"receiveId,omitempty"` // 接收方id
|
|
|
-}
|
|
|
-
|
|
|
-func (x *GetReq) Reset() {
|
|
|
- *x = GetReq{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_messageCenter_proto_msgTypes[2]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *GetReq) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*GetReq) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *GetReq) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_messageCenter_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 GetReq.ProtoReflect.Descriptor instead.
|
|
|
-func (*GetReq) Descriptor() ([]byte, []int) {
|
|
|
- return file_messageCenter_proto_rawDescGZIP(), []int{2}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *GetReq) GetMsgType() int64 {
|
|
|
+func (x *CountResp) GetErrorCode() int64 {
|
|
|
if x != nil {
|
|
|
- return x.MsgType
|
|
|
+ return x.ErrorCode
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *GetReq) GetSendId() string {
|
|
|
- if x != nil {
|
|
|
- return x.SendId
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *GetReq) GetReceiveId() string {
|
|
|
- if x != nil {
|
|
|
- return x.ReceiveId
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-type GetResp struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
|
|
- CreateTime string `protobuf:"bytes,2,opt,name=createTime,proto3" json:"createTime,omitempty"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *GetResp) Reset() {
|
|
|
- *x = GetResp{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_messageCenter_proto_msgTypes[3]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *GetResp) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*GetResp) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *GetResp) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_messageCenter_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 GetResp.ProtoReflect.Descriptor instead.
|
|
|
-func (*GetResp) Descriptor() ([]byte, []int) {
|
|
|
- return file_messageCenter_proto_rawDescGZIP(), []int{3}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *GetResp) GetContent() string {
|
|
|
+func (x *CountResp) GetErrorMsg() string {
|
|
|
if x != nil {
|
|
|
- return x.Content
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *GetResp) GetCreateTime() string {
|
|
|
- if x != nil {
|
|
|
- return x.CreateTime
|
|
|
+ return x.ErrorMsg
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
@@ -272,16 +146,14 @@ type UserReq struct {
|
|
|
Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
|
StartTime string `protobuf:"bytes,2,opt,name=startTime,proto3" json:"startTime,omitempty"`
|
|
|
EndTime string `protobuf:"bytes,3,opt,name=endTime,proto3" json:"endTime,omitempty"`
|
|
|
- CustomerServiceId string `protobuf:"bytes,4,opt,name=customer_service_id,json=customerServiceId,proto3" json:"customer_service_id,omitempty"`
|
|
|
- UserType int64 `protobuf:"varint,5,opt,name=userType,proto3" json:"userType,omitempty"` //用户类型:2用户1客服
|
|
|
- PageIndex int64 `protobuf:"varint,6,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"`
|
|
|
- PageSize int64 `protobuf:"varint,7,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
|
|
|
+ CustomerServiceId string `protobuf:"bytes,4,opt,name=customer_service_id,json=customerServiceId,proto3" json:"customer_service_id,omitempty"` //坐席标识
|
|
|
+ UserType int64 `protobuf:"varint,5,opt,name=userType,proto3" json:"userType,omitempty"` //用户类型:2用户1客服
|
|
|
}
|
|
|
|
|
|
func (x *UserReq) Reset() {
|
|
|
*x = UserReq{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_messageCenter_proto_msgTypes[4]
|
|
|
+ mi := &file_messageCenter_proto_msgTypes[2]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -294,7 +166,7 @@ func (x *UserReq) String() string {
|
|
|
func (*UserReq) ProtoMessage() {}
|
|
|
|
|
|
func (x *UserReq) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_messageCenter_proto_msgTypes[4]
|
|
|
+ mi := &file_messageCenter_proto_msgTypes[2]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -307,7 +179,7 @@ func (x *UserReq) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use UserReq.ProtoReflect.Descriptor instead.
|
|
|
func (*UserReq) Descriptor() ([]byte, []int) {
|
|
|
- return file_messageCenter_proto_rawDescGZIP(), []int{4}
|
|
|
+ return file_messageCenter_proto_rawDescGZIP(), []int{2}
|
|
|
}
|
|
|
|
|
|
func (x *UserReq) GetPhone() string {
|
|
@@ -345,32 +217,20 @@ func (x *UserReq) GetUserType() int64 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *UserReq) GetPageIndex() int64 {
|
|
|
- if x != nil {
|
|
|
- return x.PageIndex
|
|
|
- }
|
|
|
- return 0
|
|
|
-}
|
|
|
-
|
|
|
-func (x *UserReq) GetPageSize() int64 {
|
|
|
- if x != nil {
|
|
|
- return x.PageSize
|
|
|
- }
|
|
|
- return 0
|
|
|
-}
|
|
|
-
|
|
|
type UserResp struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- Data []*UserEntity `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
|
+ Data []*UserEntity `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
|
+ ErrorCode int64 `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` //响应代码
|
|
|
+ ErrorMsg string `protobuf:"bytes,3,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` //响应消息
|
|
|
}
|
|
|
|
|
|
func (x *UserResp) Reset() {
|
|
|
*x = UserResp{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_messageCenter_proto_msgTypes[5]
|
|
|
+ mi := &file_messageCenter_proto_msgTypes[3]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -383,7 +243,7 @@ func (x *UserResp) String() string {
|
|
|
func (*UserResp) ProtoMessage() {}
|
|
|
|
|
|
func (x *UserResp) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_messageCenter_proto_msgTypes[5]
|
|
|
+ mi := &file_messageCenter_proto_msgTypes[3]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -396,7 +256,7 @@ func (x *UserResp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use UserResp.ProtoReflect.Descriptor instead.
|
|
|
func (*UserResp) Descriptor() ([]byte, []int) {
|
|
|
- return file_messageCenter_proto_rawDescGZIP(), []int{5}
|
|
|
+ return file_messageCenter_proto_rawDescGZIP(), []int{3}
|
|
|
}
|
|
|
|
|
|
func (x *UserResp) GetData() []*UserEntity {
|
|
@@ -406,19 +266,41 @@ func (x *UserResp) GetData() []*UserEntity {
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
+func (x *UserResp) GetErrorCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ErrorCode
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserResp) GetErrorMsg() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ErrorMsg
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
type UserEntity struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
|
- NickName string `protobuf:"bytes,2,opt,name=nickName,proto3" json:"nickName,omitempty"`
|
|
|
+ UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
|
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
+ Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
|
|
|
+ Type int64 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
+ Link string `protobuf:"bytes,5,opt,name=link,proto3" json:"link,omitempty"`
|
|
|
+ Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
|
|
|
+ UserType int64 `protobuf:"varint,7,opt,name=userType,proto3" json:"userType,omitempty"`
|
|
|
+ CreateTime string `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
|
+ Number int64 `protobuf:"varint,9,opt,name=number,proto3" json:"number,omitempty"`
|
|
|
+ AllNumber int64 `protobuf:"varint,10,opt,name=AllNumber,proto3" json:"AllNumber,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (x *UserEntity) Reset() {
|
|
|
*x = UserEntity{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_messageCenter_proto_msgTypes[6]
|
|
|
+ mi := &file_messageCenter_proto_msgTypes[4]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -431,7 +313,7 @@ func (x *UserEntity) String() string {
|
|
|
func (*UserEntity) ProtoMessage() {}
|
|
|
|
|
|
func (x *UserEntity) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_messageCenter_proto_msgTypes[6]
|
|
|
+ mi := &file_messageCenter_proto_msgTypes[4]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -444,40 +326,96 @@ func (x *UserEntity) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use UserEntity.ProtoReflect.Descriptor instead.
|
|
|
func (*UserEntity) Descriptor() ([]byte, []int) {
|
|
|
- return file_messageCenter_proto_rawDescGZIP(), []int{6}
|
|
|
+ return file_messageCenter_proto_rawDescGZIP(), []int{4}
|
|
|
}
|
|
|
|
|
|
-func (x *UserEntity) GetUserId() string {
|
|
|
+func (x *UserEntity) GetUserId() int64 {
|
|
|
if x != nil {
|
|
|
return x.UserId
|
|
|
}
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserEntity) GetName() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Name
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserEntity) GetTitle() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Title
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserEntity) GetType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Type
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserEntity) GetLink() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Link
|
|
|
+ }
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *UserEntity) GetNickName() string {
|
|
|
+func (x *UserEntity) GetContent() string {
|
|
|
if x != nil {
|
|
|
- return x.NickName
|
|
|
+ return x.Content
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
+func (x *UserEntity) GetUserType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserEntity) GetCreateTime() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.CreateTime
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserEntity) GetNumber() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Number
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserEntity) GetAllNumber() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.AllNumber
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
type MessageReq struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- MsgType int64 `protobuf:"varint,1,opt,name=msgType,proto3" json:"msgType,omitempty"` // 消息类型 ;1:站内信消息 2:点对点消息 3:群消息 4:机器人消息 5:客服消息
|
|
|
- UserType int64 `protobuf:"varint,6,opt,name=userType,proto3" json:"userType,omitempty"` //用户类型:2用户1客服
|
|
|
- PageIndex int64 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"`
|
|
|
- PageSize int64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
|
|
|
- SendUserId string `protobuf:"bytes,4,opt,name=send_user_id,json=sendUserId,proto3" json:"send_user_id,omitempty"`
|
|
|
- OwnId string `protobuf:"bytes,5,opt,name=own_id,json=ownId,proto3" json:"own_id,omitempty"`
|
|
|
+ MsgType int64 `protobuf:"varint,1,opt,name=msgType,proto3" json:"msgType,omitempty"` // 消息类型 ;1:站内信消息 2:点对点消息 3:群消息 4:机器人消息 5:客服消息
|
|
|
+ UserType int64 `protobuf:"varint,6,opt,name=userType,proto3" json:"userType,omitempty"` //用户类型:2用户1客服
|
|
|
+ PageIndex int64 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"`
|
|
|
+ PageSize int64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
|
|
|
+ SendId string `protobuf:"bytes,4,opt,name=sendId,proto3" json:"sendId,omitempty"`
|
|
|
+ ReceiveId string `protobuf:"bytes,5,opt,name=receiveId,proto3" json:"receiveId,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (x *MessageReq) Reset() {
|
|
|
*x = MessageReq{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_messageCenter_proto_msgTypes[7]
|
|
|
+ mi := &file_messageCenter_proto_msgTypes[5]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -490,7 +428,7 @@ func (x *MessageReq) String() string {
|
|
|
func (*MessageReq) ProtoMessage() {}
|
|
|
|
|
|
func (x *MessageReq) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_messageCenter_proto_msgTypes[7]
|
|
|
+ mi := &file_messageCenter_proto_msgTypes[5]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -503,7 +441,7 @@ func (x *MessageReq) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use MessageReq.ProtoReflect.Descriptor instead.
|
|
|
func (*MessageReq) Descriptor() ([]byte, []int) {
|
|
|
- return file_messageCenter_proto_rawDescGZIP(), []int{7}
|
|
|
+ return file_messageCenter_proto_rawDescGZIP(), []int{5}
|
|
|
}
|
|
|
|
|
|
func (x *MessageReq) GetMsgType() int64 {
|
|
@@ -534,16 +472,16 @@ func (x *MessageReq) GetPageSize() int64 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *MessageReq) GetSendUserId() string {
|
|
|
+func (x *MessageReq) GetSendId() string {
|
|
|
if x != nil {
|
|
|
- return x.SendUserId
|
|
|
+ return x.SendId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *MessageReq) GetOwnId() string {
|
|
|
+func (x *MessageReq) GetReceiveId() string {
|
|
|
if x != nil {
|
|
|
- return x.OwnId
|
|
|
+ return x.ReceiveId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
@@ -562,7 +500,7 @@ type MessageResp struct {
|
|
|
func (x *MessageResp) Reset() {
|
|
|
*x = MessageResp{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_messageCenter_proto_msgTypes[8]
|
|
|
+ mi := &file_messageCenter_proto_msgTypes[6]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -575,7 +513,7 @@ func (x *MessageResp) String() string {
|
|
|
func (*MessageResp) ProtoMessage() {}
|
|
|
|
|
|
func (x *MessageResp) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_messageCenter_proto_msgTypes[8]
|
|
|
+ mi := &file_messageCenter_proto_msgTypes[6]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -588,7 +526,7 @@ func (x *MessageResp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use MessageResp.ProtoReflect.Descriptor instead.
|
|
|
func (*MessageResp) Descriptor() ([]byte, []int) {
|
|
|
- return file_messageCenter_proto_rawDescGZIP(), []int{8}
|
|
|
+ return file_messageCenter_proto_rawDescGZIP(), []int{6}
|
|
|
}
|
|
|
|
|
|
func (x *MessageResp) GetCount() int64 {
|
|
@@ -624,23 +562,24 @@ type MessageEntity struct {
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
|
|
|
- Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
|
|
- Item int64 `protobuf:"varint,3,opt,name=item,proto3" json:"item,omitempty"`
|
|
|
- Type int64 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
- Link string `protobuf:"bytes,5,opt,name=link,proto3" json:"link,omitempty"`
|
|
|
- CreateTime string `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
|
- Appid string `protobuf:"bytes,7,opt,name=appid,proto3" json:"appid,omitempty"`
|
|
|
- ItemType int64 `protobuf:"varint,8,opt,name=itemType,proto3" json:"itemType,omitempty"`
|
|
|
- SendUserId string `protobuf:"bytes,9,opt,name=send_user_id,json=sendUserId,proto3" json:"send_user_id,omitempty"`
|
|
|
- ReceiveUserId string `protobuf:"bytes,10,opt,name=receive_user_id,json=receiveUserId,proto3" json:"receive_user_id,omitempty"`
|
|
|
- OwnType int64 `protobuf:"varint,11,opt,name=own_type,json=ownType,proto3" json:"own_type,omitempty"` //拥有者类型;1:用户 2:会话
|
|
|
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
|
|
|
+ Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
|
|
+ Item int64 `protobuf:"varint,3,opt,name=item,proto3" json:"item,omitempty"`
|
|
|
+ Type int64 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
+ Link string `protobuf:"bytes,5,opt,name=link,proto3" json:"link,omitempty"`
|
|
|
+ CreateTime string `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
|
+ Appid string `protobuf:"bytes,7,opt,name=appid,proto3" json:"appid,omitempty"`
|
|
|
+ ItemType int64 `protobuf:"varint,8,opt,name=itemType,proto3" json:"itemType,omitempty"`
|
|
|
+ SendId string `protobuf:"bytes,9,opt,name=sendId,proto3" json:"sendId,omitempty"`
|
|
|
+ ReceiveId string `protobuf:"bytes,10,opt,name=receiveId,proto3" json:"receiveId,omitempty"`
|
|
|
+ OwnType int64 `protobuf:"varint,11,opt,name=own_type,json=ownType,proto3" json:"own_type,omitempty"` //拥有者类型;1:用户 2:会话
|
|
|
+ Fool int64 `protobuf:"varint,12,opt,name=fool,proto3" json:"fool,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (x *MessageEntity) Reset() {
|
|
|
*x = MessageEntity{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_messageCenter_proto_msgTypes[9]
|
|
|
+ mi := &file_messageCenter_proto_msgTypes[7]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -653,7 +592,7 @@ func (x *MessageEntity) String() string {
|
|
|
func (*MessageEntity) ProtoMessage() {}
|
|
|
|
|
|
func (x *MessageEntity) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_messageCenter_proto_msgTypes[9]
|
|
|
+ mi := &file_messageCenter_proto_msgTypes[7]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -666,7 +605,7 @@ func (x *MessageEntity) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use MessageEntity.ProtoReflect.Descriptor instead.
|
|
|
func (*MessageEntity) Descriptor() ([]byte, []int) {
|
|
|
- return file_messageCenter_proto_rawDescGZIP(), []int{9}
|
|
|
+ return file_messageCenter_proto_rawDescGZIP(), []int{7}
|
|
|
}
|
|
|
|
|
|
func (x *MessageEntity) GetTitle() string {
|
|
@@ -725,16 +664,16 @@ func (x *MessageEntity) GetItemType() int64 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *MessageEntity) GetSendUserId() string {
|
|
|
+func (x *MessageEntity) GetSendId() string {
|
|
|
if x != nil {
|
|
|
- return x.SendUserId
|
|
|
+ return x.SendId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *MessageEntity) GetReceiveUserId() string {
|
|
|
+func (x *MessageEntity) GetReceiveId() string {
|
|
|
if x != nil {
|
|
|
- return x.ReceiveUserId
|
|
|
+ return x.ReceiveId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
@@ -746,114 +685,122 @@ func (x *MessageEntity) GetOwnType() int64 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
+func (x *MessageEntity) GetFool() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Fool
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
var File_messageCenter_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_messageCenter_proto_rawDesc = []byte{
|
|
|
0x0a, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65,
|
|
|
- 0x6e, 0x74, 0x65, 0x72, 0x22, 0x8c, 0x01, 0x0a, 0x08, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65,
|
|
|
- 0x71, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
|
- 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75,
|
|
|
- 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x75,
|
|
|
- 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x49,
|
|
|
- 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12,
|
|
|
- 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
|
|
- 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
|
|
|
- 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76,
|
|
|
- 0x65, 0x49, 0x64, 0x22, 0x21, 0x0a, 0x09, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
|
|
|
- 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
- 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x58, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71,
|
|
|
- 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
- 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65,
|
|
|
- 0x6e, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64,
|
|
|
- 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x49, 0x64, 0x18,
|
|
|
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x49, 0x64,
|
|
|
- 0x22, 0x43, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x63,
|
|
|
- 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
|
|
|
- 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
|
|
|
- 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
|
|
|
- 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xdd, 0x01, 0x0a, 0x07, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
|
|
|
- 0x71, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
- 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74,
|
|
|
- 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72,
|
|
|
- 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,
|
|
|
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
|
|
|
- 0x2e, 0x0a, 0x13, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76,
|
|
|
- 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, 0x75,
|
|
|
- 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12,
|
|
|
- 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
|
- 0x03, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70,
|
|
|
- 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
|
|
|
- 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67,
|
|
|
- 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x67,
|
|
|
- 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x39, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73,
|
|
|
- 0x70, 0x12, 0x2d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
- 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
|
|
|
- 0x55, 0x73, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
|
|
|
- 0x22, 0x40, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x16,
|
|
|
- 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
|
|
- 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61,
|
|
|
- 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61,
|
|
|
- 0x6d, 0x65, 0x22, 0xb5, 0x01, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
|
|
|
- 0x71, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
|
- 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75,
|
|
|
- 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x75,
|
|
|
- 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49,
|
|
|
- 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65,
|
|
|
- 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a,
|
|
|
- 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a,
|
|
|
- 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
|
|
|
- 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65,
|
|
|
- 0x72, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x77, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20,
|
|
|
- 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x49, 0x64, 0x22, 0x91, 0x01, 0x0a, 0x0b, 0x4d,
|
|
|
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f,
|
|
|
- 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
- 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c,
|
|
|
- 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x4d,
|
|
|
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x04, 0x64, 0x61,
|
|
|
- 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65,
|
|
|
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64,
|
|
|
- 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x03,
|
|
|
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x22, 0xb3,
|
|
|
- 0x02, 0x0a, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
|
|
- 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
- 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
|
|
|
- 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
|
|
|
- 0x12, 0x12, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
|
|
- 0x69, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01,
|
|
|
- 0x28, 0x03, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b,
|
|
|
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x1f, 0x0a, 0x0b,
|
|
|
- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
|
- 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a,
|
|
|
- 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70,
|
|
|
- 0x70, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x18,
|
|
|
- 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12,
|
|
|
- 0x20, 0x0a, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
|
|
|
- 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
|
- 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x73, 0x65,
|
|
|
- 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65,
|
|
|
- 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e,
|
|
|
- 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6f, 0x77, 0x6e,
|
|
|
- 0x54, 0x79, 0x70, 0x65, 0x32, 0x97, 0x02, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
- 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
|
|
- 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
|
|
|
- 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
|
- 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65,
|
|
|
- 0x73, 0x70, 0x12, 0x3b, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16,
|
|
|
- 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x55,
|
|
|
- 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
- 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
|
- 0x44, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x19,
|
|
|
- 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x4d,
|
|
|
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
|
|
+ 0x6e, 0x74, 0x65, 0x72, 0x22, 0x44, 0x0a, 0x08, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71,
|
|
|
+ 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
|
+ 0x28, 0x03, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09,
|
|
|
+ 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x09, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x09, 0x43, 0x6f,
|
|
|
+ 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a,
|
|
|
+ 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09,
|
|
|
+ 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x22, 0xa3, 0x01, 0x0a, 0x07, 0x55, 0x73,
|
|
|
+ 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01,
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73,
|
|
|
+ 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
|
|
+ 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64,
|
|
|
+ 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54,
|
|
|
+ 0x69, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f,
|
|
|
+ 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
|
|
+ 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x18,
|
|
|
+ 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x22,
|
|
|
+ 0x75, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d, 0x0a, 0x04, 0x64,
|
|
|
+ 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6e,
|
|
|
+ 0x74, 0x69, 0x74, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72,
|
|
|
+ 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
|
|
|
+ 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72,
|
|
|
+ 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72,
|
|
|
+ 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x83, 0x02, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x45,
|
|
|
+ 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18,
|
|
|
+ 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a,
|
|
|
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
|
|
+ 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
|
|
|
+ 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c,
|
|
|
+ 0x69, 0x6e, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12,
|
|
|
+ 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65,
|
|
|
+ 0x72, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x75, 0x73, 0x65,
|
|
|
+ 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
|
|
|
+ 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61,
|
|
|
+ 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
|
|
|
+ 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1c,
|
|
|
+ 0x0a, 0x09, 0x41, 0x6c, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x09, 0x41, 0x6c, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xb2, 0x01, 0x0a,
|
|
|
+ 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x6d,
|
|
|
+ 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73,
|
|
|
+ 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70,
|
|
|
+ 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70,
|
|
|
+ 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02,
|
|
|
+ 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12,
|
|
|
+ 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73,
|
|
|
+ 0x65, 0x6e, 0x64, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e,
|
|
|
+ 0x64, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x49, 0x64,
|
|
|
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x49,
|
|
|
+ 0x64, 0x22, 0x91, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73,
|
|
|
+ 0x70, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
|
|
+ 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
|
|
|
+ 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63,
|
|
|
+ 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74,
|
|
|
+ 0x69, 0x74, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72,
|
|
|
+ 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65,
|
|
|
+ 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f,
|
|
|
+ 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72,
|
|
|
+ 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x22, 0xb3, 0x02, 0x0a, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
+ 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
|
|
|
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a,
|
|
|
+ 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
|
+ 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18,
|
|
|
+ 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x74,
|
|
|
+ 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
|
|
|
+ 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c,
|
|
|
+ 0x69, 0x6e, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
|
|
|
+ 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
|
+ 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x07, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x74,
|
|
|
+ 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x74,
|
|
|
+ 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x49, 0x64,
|
|
|
+ 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x1c,
|
|
|
+ 0x0a, 0x09, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
|
|
+ 0x09, 0x52, 0x09, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08,
|
|
|
+ 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
|
|
|
+ 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6f, 0x6f, 0x6c, 0x18,
|
|
|
+ 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x66, 0x6f, 0x6f, 0x6c, 0x32, 0x97, 0x02, 0x0a, 0x0d,
|
|
|
+ 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x3a, 0x0a,
|
|
|
+ 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a,
|
|
|
+ 0x18, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
|
|
|
+ 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3b, 0x0a, 0x08, 0x55, 0x73, 0x65,
|
|
|
+ 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63,
|
|
|
+ 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e,
|
|
|
+ 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x55, 0x73,
|
|
|
+ 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x44, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65,
|
|
|
+ 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63,
|
|
|
+ 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71,
|
|
|
+ 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
|
|
|
+ 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x47, 0x0a, 0x0b,
|
|
|
+ 0x53, 0x61, 0x76, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x2e, 0x6d, 0x65,
|
|
|
+ 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
|
|
0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
- 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x47, 0x0a, 0x0b, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x65, 0x73,
|
|
|
- 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65,
|
|
|
- 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x69,
|
|
|
- 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74,
|
|
|
- 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x42, 0x11,
|
|
|
- 0x5a, 0x0f, 0x2e, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65,
|
|
|
- 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x65, 0x52, 0x65, 0x73, 0x70, 0x42, 0x11, 0x5a, 0x0f, 0x2e, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
|
+ 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|
|
@@ -868,30 +815,28 @@ func file_messageCenter_proto_rawDescGZIP() []byte {
|
|
|
return file_messageCenter_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_messageCenter_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
|
+var file_messageCenter_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
|
var file_messageCenter_proto_goTypes = []interface{}{
|
|
|
(*CountReq)(nil), // 0: messagecenter.CountReq
|
|
|
(*CountResp)(nil), // 1: messagecenter.CountResp
|
|
|
- (*GetReq)(nil), // 2: messagecenter.GetReq
|
|
|
- (*GetResp)(nil), // 3: messagecenter.GetResp
|
|
|
- (*UserReq)(nil), // 4: messagecenter.UserReq
|
|
|
- (*UserResp)(nil), // 5: messagecenter.UserResp
|
|
|
- (*UserEntity)(nil), // 6: messagecenter.UserEntity
|
|
|
- (*MessageReq)(nil), // 7: messagecenter.MessageReq
|
|
|
- (*MessageResp)(nil), // 8: messagecenter.MessageResp
|
|
|
- (*MessageEntity)(nil), // 9: messagecenter.MessageEntity
|
|
|
+ (*UserReq)(nil), // 2: messagecenter.UserReq
|
|
|
+ (*UserResp)(nil), // 3: messagecenter.UserResp
|
|
|
+ (*UserEntity)(nil), // 4: messagecenter.UserEntity
|
|
|
+ (*MessageReq)(nil), // 5: messagecenter.MessageReq
|
|
|
+ (*MessageResp)(nil), // 6: messagecenter.MessageResp
|
|
|
+ (*MessageEntity)(nil), // 7: messagecenter.MessageEntity
|
|
|
}
|
|
|
var file_messageCenter_proto_depIdxs = []int32{
|
|
|
- 6, // 0: messagecenter.UserResp.data:type_name -> messagecenter.UserEntity
|
|
|
- 9, // 1: messagecenter.MessageResp.data:type_name -> messagecenter.MessageEntity
|
|
|
+ 4, // 0: messagecenter.UserResp.data:type_name -> messagecenter.UserEntity
|
|
|
+ 7, // 1: messagecenter.MessageResp.data:type_name -> messagecenter.MessageEntity
|
|
|
0, // 2: messagecenter.messageCenter.Count:input_type -> messagecenter.CountReq
|
|
|
- 4, // 3: messagecenter.messageCenter.UserList:input_type -> messagecenter.UserReq
|
|
|
- 7, // 4: messagecenter.messageCenter.FindMessage:input_type -> messagecenter.MessageReq
|
|
|
- 9, // 5: messagecenter.messageCenter.SaveMessage:input_type -> messagecenter.MessageEntity
|
|
|
+ 2, // 3: messagecenter.messageCenter.UserList:input_type -> messagecenter.UserReq
|
|
|
+ 5, // 4: messagecenter.messageCenter.FindMessage:input_type -> messagecenter.MessageReq
|
|
|
+ 7, // 5: messagecenter.messageCenter.SaveMessage:input_type -> messagecenter.MessageEntity
|
|
|
1, // 6: messagecenter.messageCenter.Count:output_type -> messagecenter.CountResp
|
|
|
- 5, // 7: messagecenter.messageCenter.UserList:output_type -> messagecenter.UserResp
|
|
|
- 8, // 8: messagecenter.messageCenter.FindMessage:output_type -> messagecenter.MessageResp
|
|
|
- 8, // 9: messagecenter.messageCenter.SaveMessage:output_type -> messagecenter.MessageResp
|
|
|
+ 3, // 7: messagecenter.messageCenter.UserList:output_type -> messagecenter.UserResp
|
|
|
+ 6, // 8: messagecenter.messageCenter.FindMessage:output_type -> messagecenter.MessageResp
|
|
|
+ 6, // 9: messagecenter.messageCenter.SaveMessage:output_type -> messagecenter.MessageResp
|
|
|
6, // [6:10] is the sub-list for method output_type
|
|
|
2, // [2:6] is the sub-list for method input_type
|
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
@@ -930,30 +875,6 @@ func file_messageCenter_proto_init() {
|
|
|
}
|
|
|
}
|
|
|
file_messageCenter_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*GetReq); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_messageCenter_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*GetResp); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_messageCenter_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*UserReq); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
@@ -965,7 +886,7 @@ func file_messageCenter_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
- file_messageCenter_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ file_messageCenter_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*UserResp); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
@@ -977,7 +898,7 @@ func file_messageCenter_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
- file_messageCenter_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ file_messageCenter_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*UserEntity); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
@@ -989,7 +910,7 @@ func file_messageCenter_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
- file_messageCenter_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ file_messageCenter_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*MessageReq); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
@@ -1001,7 +922,7 @@ func file_messageCenter_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
- file_messageCenter_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ file_messageCenter_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*MessageResp); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
@@ -1013,7 +934,7 @@ func file_messageCenter_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
- file_messageCenter_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ file_messageCenter_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*MessageEntity); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
@@ -1032,7 +953,7 @@ func file_messageCenter_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_messageCenter_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 10,
|
|
|
+ NumMessages: 8,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
|
},
|