|
@@ -0,0 +1,2765 @@
|
|
|
+// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
+// versions:
|
|
|
+// protoc-gen-go v1.28.0
|
|
|
+// protoc v3.19.4
|
|
|
+// source: message.proto
|
|
|
+
|
|
|
+package message
|
|
|
+
|
|
|
+import (
|
|
|
+ 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 SendMsgRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ ReceiveUserId string `protobuf:"bytes,1,opt,name=receiveUserId,proto3" json:"receiveUserId,omitempty"` //接收方用户ID
|
|
|
+ ReceiveName string `protobuf:"bytes,2,opt,name=receiveName,proto3" json:"receiveName,omitempty"` //接收方用户名
|
|
|
+ SendUserId string `protobuf:"bytes,3,opt,name=sendUserId,proto3" json:"sendUserId,omitempty"` //发送方用户ID
|
|
|
+ SendName string `protobuf:"bytes,4,opt,name=sendName,proto3" json:"sendName,omitempty"` //发送方用户名
|
|
|
+ Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` //主题
|
|
|
+ Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` //内容
|
|
|
+ MsgType int64 `protobuf:"varint,7,opt,name=msgType,proto3" json:"msgType,omitempty"` //消息类型 1:客服 2:系统通知 3:营销 4:用户会话
|
|
|
+ Link string `protobuf:"bytes,8,opt,name=link,proto3" json:"link,omitempty"` //跳转链接
|
|
|
+ CiteId int64 `protobuf:"varint,9,opt,name=citeId,proto3" json:"citeId,omitempty"` //引用id
|
|
|
+ Appid string `protobuf:"bytes,10,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SendMsgRequest) Reset() {
|
|
|
+ *x = SendMsgRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[0]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SendMsgRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*SendMsgRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *SendMsgRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 SendMsgRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*SendMsgRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{0}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SendMsgRequest) GetReceiveUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ReceiveUserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SendMsgRequest) GetReceiveName() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ReceiveName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SendMsgRequest) GetSendUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.SendUserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SendMsgRequest) GetSendName() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.SendName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SendMsgRequest) GetTitle() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Title
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SendMsgRequest) GetContent() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Content
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SendMsgRequest) GetMsgType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.MsgType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SendMsgRequest) GetLink() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Link
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SendMsgRequest) GetCiteId() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.CiteId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SendMsgRequest) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type ChangeReadStatusRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 消息id
|
|
|
+ ReadStatus int64 `protobuf:"varint,2,opt,name=readStatus,proto3" json:"readStatus,omitempty"` // 阅读状态 0-未读 1-已读
|
|
|
+ Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ChangeReadStatusRequest) Reset() {
|
|
|
+ *x = ChangeReadStatusRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[1]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ChangeReadStatusRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ChangeReadStatusRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ChangeReadStatusRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 ChangeReadStatusRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*ChangeReadStatusRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{1}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ChangeReadStatusRequest) GetId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ChangeReadStatusRequest) GetReadStatus() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ReadStatus
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ChangeReadStatusRequest) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type ResCount struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ MsgType int64 `protobuf:"varint,1,opt,name=msgType,proto3" json:"msgType,omitempty"` // 类型及未读数量
|
|
|
+ Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // 类型及未读数量
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ResCount) Reset() {
|
|
|
+ *x = ResCount{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[2]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ResCount) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ResCount) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ResCount) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 ResCount.ProtoReflect.Descriptor instead.
|
|
|
+func (*ResCount) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{2}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ResCount) GetMsgType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.MsgType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ResCount) GetCount() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Count
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+// 删除单一消息
|
|
|
+type DeleteSingleMessageRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 消息id
|
|
|
+ Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteSingleMessageRequest) Reset() {
|
|
|
+ *x = DeleteSingleMessageRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[3]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteSingleMessageRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*DeleteSingleMessageRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *DeleteSingleMessageRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 DeleteSingleMessageRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*DeleteSingleMessageRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{3}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteSingleMessageRequest) GetId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteSingleMessageRequest) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+// 批量删除消息
|
|
|
+type DeleteMultipleMessageRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 多条消息id, 逗号分隔
|
|
|
+ Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteMultipleMessageRequest) Reset() {
|
|
|
+ *x = DeleteMultipleMessageRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[4]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteMultipleMessageRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*DeleteMultipleMessageRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *DeleteMultipleMessageRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 DeleteMultipleMessageRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*DeleteMultipleMessageRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{4}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteMultipleMessageRequest) GetId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteMultipleMessageRequest) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+// 查询指定用户未读消息合计
|
|
|
+type GetUnreadCountRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
|
|
|
+ Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadCountRequest) Reset() {
|
|
|
+ *x = GetUnreadCountRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[5]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadCountRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetUnreadCountRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetUnreadCountRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 GetUnreadCountRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetUnreadCountRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{5}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadCountRequest) GetUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadCountRequest) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type Response struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
|
|
|
+ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Response) Reset() {
|
|
|
+ *x = Response{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[6]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Response) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*Response) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *Response) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 Response.ProtoReflect.Descriptor instead.
|
|
|
+func (*Response) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{6}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Response) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Response) GetMessage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Message
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type GetUnreadCountResponse struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
|
|
|
+ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
|
|
|
+ Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` //
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadCountResponse) Reset() {
|
|
|
+ *x = GetUnreadCountResponse{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[7]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadCountResponse) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetUnreadCountResponse) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetUnreadCountResponse) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 GetUnreadCountResponse.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetUnreadCountResponse) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{7}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadCountResponse) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadCountResponse) GetMessage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Message
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadCountResponse) GetCount() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Count
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type FindUserMsgReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` //用户id
|
|
|
+ ReceiveUserId string `protobuf:"bytes,2,opt,name=receiveUserId,proto3" json:"receiveUserId,omitempty"` //聊天方用户id
|
|
|
+ Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
+ OffSet int64 `protobuf:"varint,4,opt,name=offSet,proto3" json:"offSet,omitempty"` //当前
|
|
|
+ PageSize int64 `protobuf:"varint,5,opt,name=pageSize,proto3" json:"pageSize,omitempty"` //大小
|
|
|
+ MsgType int64 `protobuf:"varint,6,opt,name=msgType,proto3" json:"msgType,omitempty"` //是否区分类型
|
|
|
+ Read int64 `protobuf:"varint,7,opt,name=read,proto3" json:"read,omitempty"` // 是否区分已读未读 -1 不区分已读未读 0 未读 1 已读
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgReq) Reset() {
|
|
|
+ *x = FindUserMsgReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[8]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*FindUserMsgReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *FindUserMsgReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 FindUserMsgReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*FindUserMsgReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{8}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgReq) GetUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgReq) GetReceiveUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ReceiveUserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgReq) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgReq) GetOffSet() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.OffSet
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgReq) GetPageSize() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.PageSize
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgReq) GetMsgType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.MsgType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgReq) GetRead() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Read
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type Messages struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ ReceiveUserId string `protobuf:"bytes,1,opt,name=receiveUserId,proto3" json:"receiveUserId,omitempty"` //接收方用户ID
|
|
|
+ ReceiveName string `protobuf:"bytes,2,opt,name=receiveName,proto3" json:"receiveName,omitempty"` //接收方用户名
|
|
|
+ SendUserId string `protobuf:"bytes,3,opt,name=sendUserId,proto3" json:"sendUserId,omitempty"` //发送方用户ID
|
|
|
+ SendName string `protobuf:"bytes,4,opt,name=sendName,proto3" json:"sendName,omitempty"` //发送方用户名
|
|
|
+ Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` //主题
|
|
|
+ Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` //内容
|
|
|
+ MsgType int64 `protobuf:"varint,7,opt,name=msgType,proto3" json:"msgType,omitempty"` //消息类型 1:客服 2:系统通知 3:营销 4:用户会话
|
|
|
+ Link string `protobuf:"bytes,8,opt,name=link,proto3" json:"link,omitempty"` //跳转链接
|
|
|
+ CiteId int64 `protobuf:"varint,9,opt,name=citeId,proto3" json:"citeId,omitempty"` //引用id
|
|
|
+ IsRead int64 `protobuf:"varint,10,opt,name=isRead,proto3" json:"isRead,omitempty"` //已读未读 0:未读 1:已读
|
|
|
+ Createtime string `protobuf:"bytes,11,opt,name=createtime,proto3" json:"createtime,omitempty"`
|
|
|
+ Appid string `protobuf:"bytes,12,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
+ Id string `protobuf:"bytes,13,opt,name=id,proto3" json:"id,omitempty"` //消息id
|
|
|
+ MsgLogId int64 `protobuf:"varint,14,opt,name=msgLogId,proto3" json:"msgLogId,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) Reset() {
|
|
|
+ *x = Messages{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[9]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*Messages) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *Messages) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 Messages.ProtoReflect.Descriptor instead.
|
|
|
+func (*Messages) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{9}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) GetReceiveUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ReceiveUserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) GetReceiveName() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ReceiveName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) GetSendUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.SendUserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) GetSendName() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.SendName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) GetTitle() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Title
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) GetContent() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Content
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) GetMsgType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.MsgType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) GetLink() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Link
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) GetCiteId() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.CiteId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) GetIsRead() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.IsRead
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) GetCreatetime() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Createtime
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) GetId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Messages) GetMsgLogId() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.MsgLogId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type FindUserMsgRes struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
|
|
|
+ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
|
|
|
+ Data []*Messages `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` //
|
|
|
+ Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` //总数
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgRes) Reset() {
|
|
|
+ *x = FindUserMsgRes{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[10]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgRes) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*FindUserMsgRes) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *FindUserMsgRes) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 FindUserMsgRes.ProtoReflect.Descriptor instead.
|
|
|
+func (*FindUserMsgRes) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{10}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgRes) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgRes) GetMessage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Message
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgRes) GetData() []*Messages {
|
|
|
+ if x != nil {
|
|
|
+ return x.Data
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserMsgRes) GetCount() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Count
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type GetClassUnreadCountReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
|
|
|
+ MsgType int64 `protobuf:"varint,2,opt,name=msgType,proto3" json:"msgType,omitempty"` //分类 1:客服 2:系统通知 3:营销 4:用户会话
|
|
|
+ Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetClassUnreadCountReq) Reset() {
|
|
|
+ *x = GetClassUnreadCountReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[11]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetClassUnreadCountReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetClassUnreadCountReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetClassUnreadCountReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 GetClassUnreadCountReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetClassUnreadCountReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{11}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetClassUnreadCountReq) GetUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetClassUnreadCountReq) GetMsgType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.MsgType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetClassUnreadCountReq) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+//查看消息内容
|
|
|
+type MessageDetailReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //消息id
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MessageDetailReq) Reset() {
|
|
|
+ *x = MessageDetailReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[12]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MessageDetailReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*MessageDetailReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *MessageDetailReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 MessageDetailReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*MessageDetailReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{12}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MessageDetailReq) GetId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type MessageDetailResp struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
|
|
|
+ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
|
|
|
+ Data *Messages `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` //
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MessageDetailResp) Reset() {
|
|
|
+ *x = MessageDetailResp{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[13]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MessageDetailResp) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*MessageDetailResp) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *MessageDetailResp) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 MessageDetailResp.ProtoReflect.Descriptor instead.
|
|
|
+func (*MessageDetailResp) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{13}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MessageDetailResp) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MessageDetailResp) GetMessage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Message
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MessageDetailResp) GetData() *Messages {
|
|
|
+ if x != nil {
|
|
|
+ return x.Data
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type GetLastMessageReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
|
|
|
+ MsgType int64 `protobuf:"varint,2,opt,name=msgType,proto3" json:"msgType,omitempty"` //分类 1:客服 2:系统通知 3:营销 4:用户会话
|
|
|
+ Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
+ IsRead int64 `protobuf:"varint,4,opt,name=isRead,proto3" json:"isRead,omitempty"` // 0:未读 1:已读 -1 不区分
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetLastMessageReq) Reset() {
|
|
|
+ *x = GetLastMessageReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[14]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetLastMessageReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetLastMessageReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetLastMessageReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 GetLastMessageReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetLastMessageReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{14}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetLastMessageReq) GetUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetLastMessageReq) GetMsgType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.MsgType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetLastMessageReq) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetLastMessageReq) GetIsRead() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.IsRead
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type GetLastMessageRes struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
|
|
|
+ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
|
|
|
+ Data *Messages `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` //
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetLastMessageRes) Reset() {
|
|
|
+ *x = GetLastMessageRes{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[15]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetLastMessageRes) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetLastMessageRes) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetLastMessageRes) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 GetLastMessageRes.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetLastMessageRes) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{15}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetLastMessageRes) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetLastMessageRes) GetMessage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Message
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetLastMessageRes) GetData() *Messages {
|
|
|
+ if x != nil {
|
|
|
+ return x.Data
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+// 获取用户分类的的未读消息分类及数量 及分类下最新的消息
|
|
|
+type GetUnreadClassCountReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
|
|
|
+ Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
+ NeedMsg bool `protobuf:"varint,3,opt,name=needMsg,proto3" json:"needMsg,omitempty"` //是否需要分类下的最新一条消息
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadClassCountReq) Reset() {
|
|
|
+ *x = GetUnreadClassCountReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[16]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadClassCountReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetUnreadClassCountReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetUnreadClassCountReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 GetUnreadClassCountReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetUnreadClassCountReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{16}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadClassCountReq) GetUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadClassCountReq) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadClassCountReq) GetNeedMsg() bool {
|
|
|
+ if x != nil {
|
|
|
+ return x.NeedMsg
|
|
|
+ }
|
|
|
+ return false
|
|
|
+}
|
|
|
+
|
|
|
+type GetUnreadClassCountRes struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
|
|
|
+ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
|
|
|
+ Data []*ResCount `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` //
|
|
|
+ Info []*Messages `protobuf:"bytes,4,rep,name=info,proto3" json:"info,omitempty"` // 每个类型最新消息列表
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadClassCountRes) Reset() {
|
|
|
+ *x = GetUnreadClassCountRes{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[17]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadClassCountRes) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetUnreadClassCountRes) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetUnreadClassCountRes) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 GetUnreadClassCountRes.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetUnreadClassCountRes) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{17}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadClassCountRes) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadClassCountRes) GetMessage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Message
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadClassCountRes) GetData() []*ResCount {
|
|
|
+ if x != nil {
|
|
|
+ return x.Data
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetUnreadClassCountRes) GetInfo() []*Messages {
|
|
|
+ if x != nil {
|
|
|
+ return x.Info
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type GetMsgTypeReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
|
|
|
+ Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMsgTypeReq) Reset() {
|
|
|
+ *x = GetMsgTypeReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[18]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMsgTypeReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetMsgTypeReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetMsgTypeReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 GetMsgTypeReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetMsgTypeReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{18}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMsgTypeReq) GetUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMsgTypeReq) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type GetMsgTypeRes struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
|
|
|
+ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
|
|
|
+ Data []int64 `protobuf:"varint,3,rep,packed,name=data,proto3" json:"data,omitempty"` //
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMsgTypeRes) Reset() {
|
|
|
+ *x = GetMsgTypeRes{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[19]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMsgTypeRes) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetMsgTypeRes) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetMsgTypeRes) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 GetMsgTypeRes.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetMsgTypeRes) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{19}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMsgTypeRes) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMsgTypeRes) GetMessage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Message
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMsgTypeRes) GetData() []int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Data
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+//更新分类下消息状态 已读、未读
|
|
|
+type UpdateMessageReadReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ MsgType int64 `protobuf:"varint,1,opt,name=msgType,proto3" json:"msgType,omitempty"`
|
|
|
+ ReceiveUserid string `protobuf:"bytes,2,opt,name=receiveUserid,proto3" json:"receiveUserid,omitempty"`
|
|
|
+ AppId string `protobuf:"bytes,3,opt,name=appId,proto3" json:"appId,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateMessageReadReq) Reset() {
|
|
|
+ *x = UpdateMessageReadReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[20]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateMessageReadReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*UpdateMessageReadReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *UpdateMessageReadReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 UpdateMessageReadReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*UpdateMessageReadReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{20}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateMessageReadReq) GetMsgType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.MsgType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateMessageReadReq) GetReceiveUserid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ReceiveUserid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateMessageReadReq) GetAppId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.AppId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type UpdateMessageReadResp struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
|
|
|
+ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
|
|
|
+ Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateMessageReadResp) Reset() {
|
|
|
+ *x = UpdateMessageReadResp{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[21]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateMessageReadResp) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*UpdateMessageReadResp) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *UpdateMessageReadResp) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 UpdateMessageReadResp.ProtoReflect.Descriptor instead.
|
|
|
+func (*UpdateMessageReadResp) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{21}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateMessageReadResp) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateMessageReadResp) GetMessage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Message
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateMessageReadResp) GetStatus() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Status
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type User struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
|
+ UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *User) Reset() {
|
|
|
+ *x = User{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[22]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *User) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*User) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *User) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 User.ProtoReflect.Descriptor instead.
|
|
|
+func (*User) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{22}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *User) GetUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *User) GetUserName() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type MultipleSaveMsgReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ UserIds string `protobuf:"bytes,1,opt,name=userIds,proto3" json:"userIds,omitempty"`
|
|
|
+ UserNames string `protobuf:"bytes,2,opt,name=userNames,proto3" json:"userNames,omitempty"`
|
|
|
+ SendUserId string `protobuf:"bytes,3,opt,name=sendUserId,proto3" json:"sendUserId,omitempty"` //发送方用户ID
|
|
|
+ SendName string `protobuf:"bytes,4,opt,name=sendName,proto3" json:"sendName,omitempty"` //发送方用户名
|
|
|
+ Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` //主题
|
|
|
+ Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` //内容
|
|
|
+ MsgType int64 `protobuf:"varint,7,opt,name=msgType,proto3" json:"msgType,omitempty"` //消息类型 1:客服 2:系统通知 3:营销 4:用户会话
|
|
|
+ Link string `protobuf:"bytes,8,opt,name=link,proto3" json:"link,omitempty"` //跳转链接
|
|
|
+ CiteId int64 `protobuf:"varint,9,opt,name=citeId,proto3" json:"citeId,omitempty"` //引用id
|
|
|
+ Appid string `protobuf:"bytes,10,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
+ MsgLogId int64 `protobuf:"varint,11,opt,name=msgLogId,proto3" json:"msgLogId,omitempty"` //消息记录表id
|
|
|
+ ShowBuoy int64 `protobuf:"varint,12,opt,name=showBuoy,proto3" json:"showBuoy,omitempty"` //是否展示为浮标
|
|
|
+ ShowContent string `protobuf:"bytes,13,opt,name=showContent,proto3" json:"showContent,omitempty"` //展示文案
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) Reset() {
|
|
|
+ *x = MultipleSaveMsgReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[23]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*MultipleSaveMsgReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 MultipleSaveMsgReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*MultipleSaveMsgReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{23}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetUserIds() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserIds
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetUserNames() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserNames
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetSendUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.SendUserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetSendName() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.SendName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetTitle() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Title
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetContent() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Content
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetMsgType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.MsgType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetLink() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Link
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetCiteId() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.CiteId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetMsgLogId() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.MsgLogId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetShowBuoy() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ShowBuoy
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetShowContent() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ShowContent
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type MultipleSaveMsgResp struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
|
|
|
+ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
|
|
|
+ ErrCount int64 `protobuf:"varint,3,opt,name=errCount,proto3" json:"errCount,omitempty"` // 保存出错数量
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgResp) Reset() {
|
|
|
+ *x = MultipleSaveMsgResp{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[24]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgResp) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*MultipleSaveMsgResp) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgResp) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 MultipleSaveMsgResp.ProtoReflect.Descriptor instead.
|
|
|
+func (*MultipleSaveMsgResp) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{24}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgResp) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgResp) GetMessage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Message
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgResp) GetErrCount() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ErrCount
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type FindUserBuoyMsgReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` //用户id
|
|
|
+ Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
+ PageSize int64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` //大小
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserBuoyMsgReq) Reset() {
|
|
|
+ *x = FindUserBuoyMsgReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[25]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserBuoyMsgReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*FindUserBuoyMsgReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *FindUserBuoyMsgReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 FindUserBuoyMsgReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*FindUserBuoyMsgReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{25}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserBuoyMsgReq) GetUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserBuoyMsgReq) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserBuoyMsgReq) GetPageSize() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.PageSize
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type FindUserBuoyMsgRes struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
|
|
|
+ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
|
|
|
+ Data []*BuoyMessages `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` //
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserBuoyMsgRes) Reset() {
|
|
|
+ *x = FindUserBuoyMsgRes{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[26]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserBuoyMsgRes) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*FindUserBuoyMsgRes) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *FindUserBuoyMsgRes) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 FindUserBuoyMsgRes.ProtoReflect.Descriptor instead.
|
|
|
+func (*FindUserBuoyMsgRes) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{26}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserBuoyMsgRes) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserBuoyMsgRes) GetMessage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Message
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *FindUserBuoyMsgRes) GetData() []*BuoyMessages {
|
|
|
+ if x != nil {
|
|
|
+ return x.Data
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type BuoyMessages struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //消息id
|
|
|
+ BuoyDetail string `protobuf:"bytes,2,opt,name=buoy_detail,json=buoyDetail,proto3" json:"buoy_detail,omitempty"` //浮标内容
|
|
|
+ PcUrl string `protobuf:"bytes,3,opt,name=pcUrl,proto3" json:"pcUrl,omitempty"`
|
|
|
+ AndroidUrl string `protobuf:"bytes,4,opt,name=androidUrl,proto3" json:"androidUrl,omitempty"`
|
|
|
+ IosUrl string `protobuf:"bytes,5,opt,name=iosUrl,proto3" json:"iosUrl,omitempty"`
|
|
|
+ WeChatUrl string `protobuf:"bytes,6,opt,name=weChatUrl,proto3" json:"weChatUrl,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *BuoyMessages) Reset() {
|
|
|
+ *x = BuoyMessages{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[27]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *BuoyMessages) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*BuoyMessages) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *BuoyMessages) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_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 BuoyMessages.ProtoReflect.Descriptor instead.
|
|
|
+func (*BuoyMessages) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{27}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *BuoyMessages) GetId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *BuoyMessages) GetBuoyDetail() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.BuoyDetail
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *BuoyMessages) GetPcUrl() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.PcUrl
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *BuoyMessages) GetAndroidUrl() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.AndroidUrl
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *BuoyMessages) GetIosUrl() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.IosUrl
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *BuoyMessages) GetWeChatUrl() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.WeChatUrl
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+var File_message_proto protoreflect.FileDescriptor
|
|
|
+
|
|
|
+var file_message_proto_rawDesc = []byte{
|
|
|
+ 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
|
|
+ 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xa0, 0x02, 0x0a, 0x0e, 0x53, 0x65, 0x6e,
|
|
|
+ 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x72,
|
|
|
+ 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
|
+ 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65,
|
|
|
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e,
|
|
|
+ 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
|
+ 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65,
|
|
|
+ 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18,
|
|
|
+ 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
|
+ 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
|
+ 0x74, 0x69, 0x74, 0x6c, 0x65, 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,
|
|
|
+ 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03,
|
|
|
+ 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e,
|
|
|
+ 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a,
|
|
|
+ 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63,
|
|
|
+ 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x0a,
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x17, 0x43,
|
|
|
+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
|
|
|
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x61, 0x64, 0x53, 0x74,
|
|
|
+ 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x61, 0x64,
|
|
|
+ 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
|
|
|
+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x3a, 0x0a, 0x08,
|
|
|
+ 0x52, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 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, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x42, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65,
|
|
|
+ 0x74, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
|
|
|
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
|
|
|
+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x1c,
|
|
|
+ 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65,
|
|
|
+ 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
|
|
|
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05,
|
|
|
+ 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70,
|
|
|
+ 0x69, 0x64, 0x22, 0x45, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43,
|
|
|
+ 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x38, 0x0a, 0x08, 0x52, 0x65, 0x73,
|
|
|
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
|
|
|
+ 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73,
|
|
|
+ 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x22, 0x5c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64,
|
|
|
+ 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
|
|
|
+ 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64,
|
|
|
+ 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63,
|
|
|
+ 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e,
|
|
|
+ 0x74, 0x22, 0xc6, 0x01, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73,
|
|
|
+ 0x67, 0x52, 0x65, 0x71, 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, 0x24, 0x0a, 0x0d,
|
|
|
+ 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72,
|
|
|
+ 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
+ 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x53,
|
|
|
+ 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x53, 0x65, 0x74,
|
|
|
+ 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01,
|
|
|
+ 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07,
|
|
|
+ 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d,
|
|
|
+ 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x61, 0x64, 0x18, 0x07,
|
|
|
+ 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x72, 0x65, 0x61, 0x64, 0x22, 0xfe, 0x02, 0x0a, 0x08, 0x4d,
|
|
|
+ 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69,
|
|
|
+ 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
|
|
|
+ 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a,
|
|
|
+ 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
|
+ 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
|
|
|
+ 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
+ 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74,
|
|
|
+ 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c,
|
|
|
+ 0x65, 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, 0x18, 0x0a, 0x07, 0x6d,
|
|
|
+ 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73,
|
|
|
+ 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x08, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x69, 0x74,
|
|
|
+ 0x65, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x69, 0x74, 0x65, 0x49,
|
|
|
+ 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65,
|
|
|
+ 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63,
|
|
|
+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
|
|
|
+ 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12,
|
|
|
+ 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
|
|
|
+ 0x1a, 0x0a, 0x08, 0x6d, 0x73, 0x67, 0x4c, 0x6f, 0x67, 0x49, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x08, 0x6d, 0x73, 0x67, 0x4c, 0x6f, 0x67, 0x49, 0x64, 0x22, 0x7b, 0x0a, 0x0e, 0x46,
|
|
|
+ 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a,
|
|
|
+ 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64,
|
|
|
+ 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x64,
|
|
|
+ 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x04, 0x64, 0x61,
|
|
|
+ 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x60, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43,
|
|
|
+ 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52,
|
|
|
+ 0x65, 0x71, 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, 0x18, 0x0a, 0x07, 0x6d, 0x73,
|
|
|
+ 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67,
|
|
|
+ 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x22, 0x0a, 0x10, 0x4d, 0x65,
|
|
|
+ 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x0e,
|
|
|
+ 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x68,
|
|
|
+ 0x0a, 0x11, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52,
|
|
|
+ 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
|
+ 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
+ 0x65, 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
+ 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
+ 0x65, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x73, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4c,
|
|
|
+ 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 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, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65,
|
|
|
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12,
|
|
|
+ 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
|
+ 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18,
|
|
|
+ 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x22, 0x68, 0x0a,
|
|
|
+ 0x11, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
|
|
|
+ 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
|
|
+ 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
+ 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11,
|
|
|
+ 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x60, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x55, 0x6e,
|
|
|
+ 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65,
|
|
|
+ 0x71, 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, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
|
|
|
+ 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12,
|
|
|
+ 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x65, 0x64, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
|
|
|
+ 0x52, 0x07, 0x6e, 0x65, 0x65, 0x64, 0x4d, 0x73, 0x67, 0x22, 0x94, 0x01, 0x0a, 0x16, 0x47, 0x65,
|
|
|
+ 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e,
|
|
|
+ 0x74, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
|
+ 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
|
+ 0x67, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
|
|
|
+ 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x43, 0x6f,
|
|
|
+ 0x75, 0x6e, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x04, 0x69, 0x6e, 0x66,
|
|
|
+ 0x6f, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
+ 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f,
|
|
|
+ 0x22, 0x3d, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65,
|
|
|
+ 0x71, 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, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
|
|
|
+ 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22,
|
|
|
+ 0x51, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73,
|
|
|
+ 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
|
|
+ 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,
|
|
|
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12,
|
|
|
+ 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x04, 0x64, 0x61,
|
|
|
+ 0x74, 0x61, 0x22, 0x6c, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 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, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55,
|
|
|
+ 0x73, 0x65, 0x72, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63,
|
|
|
+ 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70,
|
|
|
+ 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64,
|
|
|
+ 0x22, 0x5d, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
+ 0x65, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
|
|
|
+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a,
|
|
|
+ 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
|
+ 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
|
|
|
+ 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22,
|
|
|
+ 0x3a, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 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, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
+ 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xee, 0x02, 0x0a, 0x12,
|
|
|
+ 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x73, 0x67, 0x52,
|
|
|
+ 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09,
|
|
|
+ 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x09, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65,
|
|
|
+ 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
|
|
+ 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65,
|
|
|
+ 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65,
|
|
|
+ 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18,
|
|
|
+ 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 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, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70,
|
|
|
+ 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65,
|
|
|
+ 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
|
+ 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x09,
|
|
|
+ 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05,
|
|
|
+ 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70,
|
|
|
+ 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x73, 0x67, 0x4c, 0x6f, 0x67, 0x49, 0x64, 0x18, 0x0b,
|
|
|
+ 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x73, 0x67, 0x4c, 0x6f, 0x67, 0x49, 0x64, 0x12, 0x1a,
|
|
|
+ 0x0a, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x42, 0x75, 0x6f, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03,
|
|
|
+ 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x42, 0x75, 0x6f, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x68,
|
|
|
+ 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x5f, 0x0a, 0x13,
|
|
|
+ 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x73, 0x67, 0x52,
|
|
|
+ 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
|
+ 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
+ 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20,
|
|
|
+ 0x01, 0x28, 0x03, 0x52, 0x08, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x5e, 0x0a,
|
|
|
+ 0x12, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x42, 0x75, 0x6f, 0x79, 0x4d, 0x73, 0x67,
|
|
|
+ 0x52, 0x65, 0x71, 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, 0x14, 0x0a, 0x05, 0x61,
|
|
|
+ 0x70, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69,
|
|
|
+ 0x64, 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, 0x22, 0x6d, 0x0a,
|
|
|
+ 0x12, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x42, 0x75, 0x6f, 0x79, 0x4d, 0x73, 0x67,
|
|
|
+ 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
|
+ 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
+ 0x65, 0x12, 0x29, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
+ 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x75, 0x6f, 0x79, 0x4d, 0x65,
|
|
|
+ 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xab, 0x01, 0x0a,
|
|
|
+ 0x0c, 0x42, 0x75, 0x6f, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x0e, 0x0a,
|
|
|
+ 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1f, 0x0a,
|
|
|
+ 0x0b, 0x62, 0x75, 0x6f, 0x79, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x0a, 0x62, 0x75, 0x6f, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x14,
|
|
|
+ 0x0a, 0x05, 0x70, 0x63, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70,
|
|
|
+ 0x63, 0x55, 0x72, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x55,
|
|
|
+ 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69,
|
|
|
+ 0x64, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6f, 0x73, 0x55, 0x72, 0x6c, 0x18, 0x05,
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x6f, 0x73, 0x55, 0x72, 0x6c, 0x12, 0x1c, 0x0a, 0x09,
|
|
|
+ 0x77, 0x65, 0x43, 0x68, 0x61, 0x74, 0x55, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x09, 0x77, 0x65, 0x43, 0x68, 0x61, 0x74, 0x55, 0x72, 0x6c, 0x32, 0xb8, 0x08, 0x0a, 0x07, 0x4d,
|
|
|
+ 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x4c, 0x0a, 0x0f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70,
|
|
|
+ 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x1b, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65,
|
|
|
+ 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x73, 0x67,
|
|
|
+ 0x52, 0x65, 0x73, 0x70, 0x12, 0x47, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65,
|
|
|
+ 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
|
+ 0x67, 0x65, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61,
|
|
|
+ 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73,
|
|
|
+ 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a,
|
|
|
+ 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x17, 0x2e, 0x6d,
|
|
|
+ 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65,
|
|
|
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
|
|
|
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65,
|
|
|
+ 0x74, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
|
|
|
+ 0x23, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
|
|
+ 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71,
|
|
|
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52,
|
|
|
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
|
|
+ 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
|
|
+ 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
+ 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0e, 0x47, 0x65,
|
|
|
+ 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x2e, 0x6d,
|
|
|
+ 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64,
|
|
|
+ 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d,
|
|
|
+ 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64,
|
|
|
+ 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a,
|
|
|
+ 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x17, 0x2e, 0x6d,
|
|
|
+ 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d,
|
|
|
+ 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
|
|
|
+ 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x12, 0x57,
|
|
|
+ 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64,
|
|
|
+ 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
|
|
|
+ 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f,
|
|
|
+ 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52,
|
|
|
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4c, 0x61,
|
|
|
+ 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
|
|
+ 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
|
|
|
+ 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
|
|
|
+ 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65,
|
|
|
+ 0x71, 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x57, 0x0a,
|
|
|
+ 0x13, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43,
|
|
|
+ 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47,
|
|
|
+ 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75,
|
|
|
+ 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
|
|
|
+ 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f,
|
|
|
+ 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67,
|
|
|
+ 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47,
|
|
|
+ 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x6d,
|
|
|
+ 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70,
|
|
|
+ 0x65, 0x52, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65,
|
|
|
+ 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1d, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
+ 0x65, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
|
+ 0x67, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4b, 0x0a, 0x0f, 0x46, 0x69, 0x6e, 0x64,
|
|
|
+ 0x55, 0x73, 0x65, 0x72, 0x42, 0x75, 0x6f, 0x79, 0x4d, 0x73, 0x67, 0x12, 0x1b, 0x2e, 0x6d, 0x65,
|
|
|
+ 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x42, 0x75,
|
|
|
+ 0x6f, 0x79, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x1b, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
|
+ 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x42, 0x75, 0x6f, 0x79, 0x4d,
|
|
|
+ 0x73, 0x67, 0x52, 0x65, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+}
|
|
|
+
|
|
|
+var (
|
|
|
+ file_message_proto_rawDescOnce sync.Once
|
|
|
+ file_message_proto_rawDescData = file_message_proto_rawDesc
|
|
|
+)
|
|
|
+
|
|
|
+func file_message_proto_rawDescGZIP() []byte {
|
|
|
+ file_message_proto_rawDescOnce.Do(func() {
|
|
|
+ file_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_message_proto_rawDescData)
|
|
|
+ })
|
|
|
+ return file_message_proto_rawDescData
|
|
|
+}
|
|
|
+
|
|
|
+var file_message_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
|
|
|
+var file_message_proto_goTypes = []interface{}{
|
|
|
+ (*SendMsgRequest)(nil), // 0: message.SendMsgRequest
|
|
|
+ (*ChangeReadStatusRequest)(nil), // 1: message.ChangeReadStatusRequest
|
|
|
+ (*ResCount)(nil), // 2: message.ResCount
|
|
|
+ (*DeleteSingleMessageRequest)(nil), // 3: message.DeleteSingleMessageRequest
|
|
|
+ (*DeleteMultipleMessageRequest)(nil), // 4: message.DeleteMultipleMessageRequest
|
|
|
+ (*GetUnreadCountRequest)(nil), // 5: message.GetUnreadCountRequest
|
|
|
+ (*Response)(nil), // 6: message.Response
|
|
|
+ (*GetUnreadCountResponse)(nil), // 7: message.GetUnreadCountResponse
|
|
|
+ (*FindUserMsgReq)(nil), // 8: message.FindUserMsgReq
|
|
|
+ (*Messages)(nil), // 9: message.Messages
|
|
|
+ (*FindUserMsgRes)(nil), // 10: message.FindUserMsgRes
|
|
|
+ (*GetClassUnreadCountReq)(nil), // 11: message.GetClassUnreadCountReq
|
|
|
+ (*MessageDetailReq)(nil), // 12: message.MessageDetailReq
|
|
|
+ (*MessageDetailResp)(nil), // 13: message.MessageDetailResp
|
|
|
+ (*GetLastMessageReq)(nil), // 14: message.GetLastMessageReq
|
|
|
+ (*GetLastMessageRes)(nil), // 15: message.GetLastMessageRes
|
|
|
+ (*GetUnreadClassCountReq)(nil), // 16: message.GetUnreadClassCountReq
|
|
|
+ (*GetUnreadClassCountRes)(nil), // 17: message.GetUnreadClassCountRes
|
|
|
+ (*GetMsgTypeReq)(nil), // 18: message.GetMsgTypeReq
|
|
|
+ (*GetMsgTypeRes)(nil), // 19: message.GetMsgTypeRes
|
|
|
+ (*UpdateMessageReadReq)(nil), // 20: message.UpdateMessageReadReq
|
|
|
+ (*UpdateMessageReadResp)(nil), // 21: message.UpdateMessageReadResp
|
|
|
+ (*User)(nil), // 22: message.user
|
|
|
+ (*MultipleSaveMsgReq)(nil), // 23: message.multipleSaveMsgReq
|
|
|
+ (*MultipleSaveMsgResp)(nil), // 24: message.multipleSaveMsgResp
|
|
|
+ (*FindUserBuoyMsgReq)(nil), // 25: message.FindUserBuoyMsgReq
|
|
|
+ (*FindUserBuoyMsgRes)(nil), // 26: message.FindUserBuoyMsgRes
|
|
|
+ (*BuoyMessages)(nil), // 27: message.BuoyMessages
|
|
|
+}
|
|
|
+var file_message_proto_depIdxs = []int32{
|
|
|
+ 9, // 0: message.FindUserMsgRes.data:type_name -> message.Messages
|
|
|
+ 9, // 1: message.MessageDetailResp.data:type_name -> message.Messages
|
|
|
+ 9, // 2: message.GetLastMessageRes.data:type_name -> message.Messages
|
|
|
+ 2, // 3: message.GetUnreadClassCountRes.data:type_name -> message.ResCount
|
|
|
+ 9, // 4: message.GetUnreadClassCountRes.info:type_name -> message.Messages
|
|
|
+ 27, // 5: message.FindUserBuoyMsgRes.data:type_name -> message.BuoyMessages
|
|
|
+ 23, // 6: message.Message.multipleSaveMsg:input_type -> message.multipleSaveMsgReq
|
|
|
+ 1, // 7: message.Message.ChangeReadStatus:input_type -> message.ChangeReadStatusRequest
|
|
|
+ 0, // 8: message.Message.SendUserMsg:input_type -> message.SendMsgRequest
|
|
|
+ 3, // 9: message.Message.DeleteSingleMessage:input_type -> message.DeleteSingleMessageRequest
|
|
|
+ 4, // 10: message.Message.DeleteMultipleMessage:input_type -> message.DeleteMultipleMessageRequest
|
|
|
+ 5, // 11: message.Message.GetUnreadCount:input_type -> message.GetUnreadCountRequest
|
|
|
+ 8, // 12: message.Message.FindUserMsg:input_type -> message.FindUserMsgReq
|
|
|
+ 11, // 13: message.Message.GetClassUnreadCount:input_type -> message.GetClassUnreadCountReq
|
|
|
+ 14, // 14: message.Message.GetLastMessage:input_type -> message.GetLastMessageReq
|
|
|
+ 12, // 15: message.Message.FindMessageDetail:input_type -> message.MessageDetailReq
|
|
|
+ 16, // 16: message.Message.GetUnreadClassCount:input_type -> message.GetUnreadClassCountReq
|
|
|
+ 18, // 17: message.Message.GetMsgType:input_type -> message.GetMsgTypeReq
|
|
|
+ 20, // 18: message.Message.UpdateMessageRead:input_type -> message.UpdateMessageReadReq
|
|
|
+ 25, // 19: message.Message.FindUserBuoyMsg:input_type -> message.FindUserBuoyMsgReq
|
|
|
+ 24, // 20: message.Message.multipleSaveMsg:output_type -> message.multipleSaveMsgResp
|
|
|
+ 6, // 21: message.Message.ChangeReadStatus:output_type -> message.Response
|
|
|
+ 6, // 22: message.Message.SendUserMsg:output_type -> message.Response
|
|
|
+ 6, // 23: message.Message.DeleteSingleMessage:output_type -> message.Response
|
|
|
+ 6, // 24: message.Message.DeleteMultipleMessage:output_type -> message.Response
|
|
|
+ 7, // 25: message.Message.GetUnreadCount:output_type -> message.GetUnreadCountResponse
|
|
|
+ 10, // 26: message.Message.FindUserMsg:output_type -> message.FindUserMsgRes
|
|
|
+ 7, // 27: message.Message.GetClassUnreadCount:output_type -> message.GetUnreadCountResponse
|
|
|
+ 15, // 28: message.Message.GetLastMessage:output_type -> message.GetLastMessageRes
|
|
|
+ 13, // 29: message.Message.FindMessageDetail:output_type -> message.MessageDetailResp
|
|
|
+ 17, // 30: message.Message.GetUnreadClassCount:output_type -> message.GetUnreadClassCountRes
|
|
|
+ 19, // 31: message.Message.GetMsgType:output_type -> message.GetMsgTypeRes
|
|
|
+ 21, // 32: message.Message.UpdateMessageRead:output_type -> message.UpdateMessageReadResp
|
|
|
+ 26, // 33: message.Message.FindUserBuoyMsg:output_type -> message.FindUserBuoyMsgRes
|
|
|
+ 20, // [20:34] is the sub-list for method output_type
|
|
|
+ 6, // [6:20] is the sub-list for method input_type
|
|
|
+ 6, // [6:6] is the sub-list for extension type_name
|
|
|
+ 6, // [6:6] is the sub-list for extension extendee
|
|
|
+ 0, // [0:6] is the sub-list for field type_name
|
|
|
+}
|
|
|
+
|
|
|
+func init() { file_message_proto_init() }
|
|
|
+func file_message_proto_init() {
|
|
|
+ if File_message_proto != nil {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if !protoimpl.UnsafeEnabled {
|
|
|
+ file_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*SendMsgRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*ChangeReadStatusRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*ResCount); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*DeleteSingleMessageRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*DeleteMultipleMessageRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetUnreadCountRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*Response); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetUnreadCountResponse); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*FindUserMsgReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*Messages); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*FindUserMsgRes); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetClassUnreadCountReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*MessageDetailReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*MessageDetailResp); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetLastMessageReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetLastMessageRes); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetUnreadClassCountReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetUnreadClassCountRes); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetMsgTypeReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetMsgTypeRes); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*UpdateMessageReadReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*UpdateMessageReadResp); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*User); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*MultipleSaveMsgReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*MultipleSaveMsgResp); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*FindUserBuoyMsgReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*FindUserBuoyMsgRes); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*BuoyMessages); 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_message_proto_rawDesc,
|
|
|
+ NumEnums: 0,
|
|
|
+ NumMessages: 28,
|
|
|
+ NumExtensions: 0,
|
|
|
+ NumServices: 1,
|
|
|
+ },
|
|
|
+ GoTypes: file_message_proto_goTypes,
|
|
|
+ DependencyIndexes: file_message_proto_depIdxs,
|
|
|
+ MessageInfos: file_message_proto_msgTypes,
|
|
|
+ }.Build()
|
|
|
+ File_message_proto = out.File
|
|
|
+ file_message_proto_rawDesc = nil
|
|
|
+ file_message_proto_goTypes = nil
|
|
|
+ file_message_proto_depIdxs = nil
|
|
|
+}
|