message.pb.go 60 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.25.0
  4. // protoc v3.15.1
  5. // source: message.proto
  6. package message
  7. import (
  8. context "context"
  9. proto "github.com/golang/protobuf/proto"
  10. grpc "google.golang.org/grpc"
  11. codes "google.golang.org/grpc/codes"
  12. status "google.golang.org/grpc/status"
  13. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  14. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  15. reflect "reflect"
  16. sync "sync"
  17. )
  18. const (
  19. // Verify that this generated code is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  21. // Verify that runtime/protoimpl is sufficiently up-to-date.
  22. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  23. )
  24. // This is a compile-time assertion that a sufficiently up-to-date version
  25. // of the legacy proto package is being used.
  26. const _ = proto.ProtoPackageIsVersion4
  27. type SendMsgRequest struct {
  28. state protoimpl.MessageState
  29. sizeCache protoimpl.SizeCache
  30. unknownFields protoimpl.UnknownFields
  31. ReceiveUserId string `protobuf:"bytes,1,opt,name=receiveUserId,proto3" json:"receiveUserId,omitempty"` //接收方用户ID
  32. ReceiveName string `protobuf:"bytes,2,opt,name=receiveName,proto3" json:"receiveName,omitempty"` //接收方用户名
  33. SendUserId string `protobuf:"bytes,3,opt,name=sendUserId,proto3" json:"sendUserId,omitempty"` //发送方用户ID
  34. SendName string `protobuf:"bytes,4,opt,name=sendName,proto3" json:"sendName,omitempty"` //发送方用户名
  35. Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` //主题
  36. Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` //内容
  37. MsgType int64 `protobuf:"varint,7,opt,name=msgType,proto3" json:"msgType,omitempty"` //消息类型 1:客服 2:系统通知 3:营销 4:用户会话
  38. Link string `protobuf:"bytes,8,opt,name=link,proto3" json:"link,omitempty"` //跳转链接
  39. CiteId int64 `protobuf:"varint,9,opt,name=citeId,proto3" json:"citeId,omitempty"` //引用id
  40. Appid string `protobuf:"bytes,10,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  41. }
  42. func (x *SendMsgRequest) Reset() {
  43. *x = SendMsgRequest{}
  44. if protoimpl.UnsafeEnabled {
  45. mi := &file_message_proto_msgTypes[0]
  46. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  47. ms.StoreMessageInfo(mi)
  48. }
  49. }
  50. func (x *SendMsgRequest) String() string {
  51. return protoimpl.X.MessageStringOf(x)
  52. }
  53. func (*SendMsgRequest) ProtoMessage() {}
  54. func (x *SendMsgRequest) ProtoReflect() protoreflect.Message {
  55. mi := &file_message_proto_msgTypes[0]
  56. if protoimpl.UnsafeEnabled && x != nil {
  57. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  58. if ms.LoadMessageInfo() == nil {
  59. ms.StoreMessageInfo(mi)
  60. }
  61. return ms
  62. }
  63. return mi.MessageOf(x)
  64. }
  65. // Deprecated: Use SendMsgRequest.ProtoReflect.Descriptor instead.
  66. func (*SendMsgRequest) Descriptor() ([]byte, []int) {
  67. return file_message_proto_rawDescGZIP(), []int{0}
  68. }
  69. func (x *SendMsgRequest) GetReceiveUserId() string {
  70. if x != nil {
  71. return x.ReceiveUserId
  72. }
  73. return ""
  74. }
  75. func (x *SendMsgRequest) GetReceiveName() string {
  76. if x != nil {
  77. return x.ReceiveName
  78. }
  79. return ""
  80. }
  81. func (x *SendMsgRequest) GetSendUserId() string {
  82. if x != nil {
  83. return x.SendUserId
  84. }
  85. return ""
  86. }
  87. func (x *SendMsgRequest) GetSendName() string {
  88. if x != nil {
  89. return x.SendName
  90. }
  91. return ""
  92. }
  93. func (x *SendMsgRequest) GetTitle() string {
  94. if x != nil {
  95. return x.Title
  96. }
  97. return ""
  98. }
  99. func (x *SendMsgRequest) GetContent() string {
  100. if x != nil {
  101. return x.Content
  102. }
  103. return ""
  104. }
  105. func (x *SendMsgRequest) GetMsgType() int64 {
  106. if x != nil {
  107. return x.MsgType
  108. }
  109. return 0
  110. }
  111. func (x *SendMsgRequest) GetLink() string {
  112. if x != nil {
  113. return x.Link
  114. }
  115. return ""
  116. }
  117. func (x *SendMsgRequest) GetCiteId() int64 {
  118. if x != nil {
  119. return x.CiteId
  120. }
  121. return 0
  122. }
  123. func (x *SendMsgRequest) GetAppid() string {
  124. if x != nil {
  125. return x.Appid
  126. }
  127. return ""
  128. }
  129. type ChangeReadStatusRequest struct {
  130. state protoimpl.MessageState
  131. sizeCache protoimpl.SizeCache
  132. unknownFields protoimpl.UnknownFields
  133. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 消息id
  134. ReadStatus int64 `protobuf:"varint,2,opt,name=readStatus,proto3" json:"readStatus,omitempty"` // 阅读状态 0-未读 1-已读
  135. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  136. }
  137. func (x *ChangeReadStatusRequest) Reset() {
  138. *x = ChangeReadStatusRequest{}
  139. if protoimpl.UnsafeEnabled {
  140. mi := &file_message_proto_msgTypes[1]
  141. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  142. ms.StoreMessageInfo(mi)
  143. }
  144. }
  145. func (x *ChangeReadStatusRequest) String() string {
  146. return protoimpl.X.MessageStringOf(x)
  147. }
  148. func (*ChangeReadStatusRequest) ProtoMessage() {}
  149. func (x *ChangeReadStatusRequest) ProtoReflect() protoreflect.Message {
  150. mi := &file_message_proto_msgTypes[1]
  151. if protoimpl.UnsafeEnabled && x != nil {
  152. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  153. if ms.LoadMessageInfo() == nil {
  154. ms.StoreMessageInfo(mi)
  155. }
  156. return ms
  157. }
  158. return mi.MessageOf(x)
  159. }
  160. // Deprecated: Use ChangeReadStatusRequest.ProtoReflect.Descriptor instead.
  161. func (*ChangeReadStatusRequest) Descriptor() ([]byte, []int) {
  162. return file_message_proto_rawDescGZIP(), []int{1}
  163. }
  164. func (x *ChangeReadStatusRequest) GetId() int64 {
  165. if x != nil {
  166. return x.Id
  167. }
  168. return 0
  169. }
  170. func (x *ChangeReadStatusRequest) GetReadStatus() int64 {
  171. if x != nil {
  172. return x.ReadStatus
  173. }
  174. return 0
  175. }
  176. func (x *ChangeReadStatusRequest) GetAppid() string {
  177. if x != nil {
  178. return x.Appid
  179. }
  180. return ""
  181. }
  182. // 删除单一消息
  183. type DeleteSingleMessageRequest struct {
  184. state protoimpl.MessageState
  185. sizeCache protoimpl.SizeCache
  186. unknownFields protoimpl.UnknownFields
  187. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 消息id
  188. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  189. }
  190. func (x *DeleteSingleMessageRequest) Reset() {
  191. *x = DeleteSingleMessageRequest{}
  192. if protoimpl.UnsafeEnabled {
  193. mi := &file_message_proto_msgTypes[2]
  194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  195. ms.StoreMessageInfo(mi)
  196. }
  197. }
  198. func (x *DeleteSingleMessageRequest) String() string {
  199. return protoimpl.X.MessageStringOf(x)
  200. }
  201. func (*DeleteSingleMessageRequest) ProtoMessage() {}
  202. func (x *DeleteSingleMessageRequest) ProtoReflect() protoreflect.Message {
  203. mi := &file_message_proto_msgTypes[2]
  204. if protoimpl.UnsafeEnabled && x != nil {
  205. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  206. if ms.LoadMessageInfo() == nil {
  207. ms.StoreMessageInfo(mi)
  208. }
  209. return ms
  210. }
  211. return mi.MessageOf(x)
  212. }
  213. // Deprecated: Use DeleteSingleMessageRequest.ProtoReflect.Descriptor instead.
  214. func (*DeleteSingleMessageRequest) Descriptor() ([]byte, []int) {
  215. return file_message_proto_rawDescGZIP(), []int{2}
  216. }
  217. func (x *DeleteSingleMessageRequest) GetId() int64 {
  218. if x != nil {
  219. return x.Id
  220. }
  221. return 0
  222. }
  223. func (x *DeleteSingleMessageRequest) GetAppid() string {
  224. if x != nil {
  225. return x.Appid
  226. }
  227. return ""
  228. }
  229. // 批量删除消息
  230. type DeleteMultipleMessageRequest struct {
  231. state protoimpl.MessageState
  232. sizeCache protoimpl.SizeCache
  233. unknownFields protoimpl.UnknownFields
  234. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 多条消息id, 逗号分隔
  235. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  236. }
  237. func (x *DeleteMultipleMessageRequest) Reset() {
  238. *x = DeleteMultipleMessageRequest{}
  239. if protoimpl.UnsafeEnabled {
  240. mi := &file_message_proto_msgTypes[3]
  241. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  242. ms.StoreMessageInfo(mi)
  243. }
  244. }
  245. func (x *DeleteMultipleMessageRequest) String() string {
  246. return protoimpl.X.MessageStringOf(x)
  247. }
  248. func (*DeleteMultipleMessageRequest) ProtoMessage() {}
  249. func (x *DeleteMultipleMessageRequest) ProtoReflect() protoreflect.Message {
  250. mi := &file_message_proto_msgTypes[3]
  251. if protoimpl.UnsafeEnabled && x != nil {
  252. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  253. if ms.LoadMessageInfo() == nil {
  254. ms.StoreMessageInfo(mi)
  255. }
  256. return ms
  257. }
  258. return mi.MessageOf(x)
  259. }
  260. // Deprecated: Use DeleteMultipleMessageRequest.ProtoReflect.Descriptor instead.
  261. func (*DeleteMultipleMessageRequest) Descriptor() ([]byte, []int) {
  262. return file_message_proto_rawDescGZIP(), []int{3}
  263. }
  264. func (x *DeleteMultipleMessageRequest) GetId() string {
  265. if x != nil {
  266. return x.Id
  267. }
  268. return ""
  269. }
  270. func (x *DeleteMultipleMessageRequest) GetAppid() string {
  271. if x != nil {
  272. return x.Appid
  273. }
  274. return ""
  275. }
  276. // 查询指定用户未读消息合计
  277. type GetUnreadCountRequest struct {
  278. state protoimpl.MessageState
  279. sizeCache protoimpl.SizeCache
  280. unknownFields protoimpl.UnknownFields
  281. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
  282. Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  283. }
  284. func (x *GetUnreadCountRequest) Reset() {
  285. *x = GetUnreadCountRequest{}
  286. if protoimpl.UnsafeEnabled {
  287. mi := &file_message_proto_msgTypes[4]
  288. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  289. ms.StoreMessageInfo(mi)
  290. }
  291. }
  292. func (x *GetUnreadCountRequest) String() string {
  293. return protoimpl.X.MessageStringOf(x)
  294. }
  295. func (*GetUnreadCountRequest) ProtoMessage() {}
  296. func (x *GetUnreadCountRequest) ProtoReflect() protoreflect.Message {
  297. mi := &file_message_proto_msgTypes[4]
  298. if protoimpl.UnsafeEnabled && x != nil {
  299. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  300. if ms.LoadMessageInfo() == nil {
  301. ms.StoreMessageInfo(mi)
  302. }
  303. return ms
  304. }
  305. return mi.MessageOf(x)
  306. }
  307. // Deprecated: Use GetUnreadCountRequest.ProtoReflect.Descriptor instead.
  308. func (*GetUnreadCountRequest) Descriptor() ([]byte, []int) {
  309. return file_message_proto_rawDescGZIP(), []int{4}
  310. }
  311. func (x *GetUnreadCountRequest) GetUserId() string {
  312. if x != nil {
  313. return x.UserId
  314. }
  315. return ""
  316. }
  317. func (x *GetUnreadCountRequest) GetAppid() string {
  318. if x != nil {
  319. return x.Appid
  320. }
  321. return ""
  322. }
  323. type Response struct {
  324. state protoimpl.MessageState
  325. sizeCache protoimpl.SizeCache
  326. unknownFields protoimpl.UnknownFields
  327. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  328. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  329. }
  330. func (x *Response) Reset() {
  331. *x = Response{}
  332. if protoimpl.UnsafeEnabled {
  333. mi := &file_message_proto_msgTypes[5]
  334. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  335. ms.StoreMessageInfo(mi)
  336. }
  337. }
  338. func (x *Response) String() string {
  339. return protoimpl.X.MessageStringOf(x)
  340. }
  341. func (*Response) ProtoMessage() {}
  342. func (x *Response) ProtoReflect() protoreflect.Message {
  343. mi := &file_message_proto_msgTypes[5]
  344. if protoimpl.UnsafeEnabled && x != nil {
  345. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  346. if ms.LoadMessageInfo() == nil {
  347. ms.StoreMessageInfo(mi)
  348. }
  349. return ms
  350. }
  351. return mi.MessageOf(x)
  352. }
  353. // Deprecated: Use Response.ProtoReflect.Descriptor instead.
  354. func (*Response) Descriptor() ([]byte, []int) {
  355. return file_message_proto_rawDescGZIP(), []int{5}
  356. }
  357. func (x *Response) GetCode() int64 {
  358. if x != nil {
  359. return x.Code
  360. }
  361. return 0
  362. }
  363. func (x *Response) GetMessage() string {
  364. if x != nil {
  365. return x.Message
  366. }
  367. return ""
  368. }
  369. type GetUnreadCountResponse struct {
  370. state protoimpl.MessageState
  371. sizeCache protoimpl.SizeCache
  372. unknownFields protoimpl.UnknownFields
  373. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  374. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  375. Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` //
  376. }
  377. func (x *GetUnreadCountResponse) Reset() {
  378. *x = GetUnreadCountResponse{}
  379. if protoimpl.UnsafeEnabled {
  380. mi := &file_message_proto_msgTypes[6]
  381. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  382. ms.StoreMessageInfo(mi)
  383. }
  384. }
  385. func (x *GetUnreadCountResponse) String() string {
  386. return protoimpl.X.MessageStringOf(x)
  387. }
  388. func (*GetUnreadCountResponse) ProtoMessage() {}
  389. func (x *GetUnreadCountResponse) ProtoReflect() protoreflect.Message {
  390. mi := &file_message_proto_msgTypes[6]
  391. if protoimpl.UnsafeEnabled && x != nil {
  392. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  393. if ms.LoadMessageInfo() == nil {
  394. ms.StoreMessageInfo(mi)
  395. }
  396. return ms
  397. }
  398. return mi.MessageOf(x)
  399. }
  400. // Deprecated: Use GetUnreadCountResponse.ProtoReflect.Descriptor instead.
  401. func (*GetUnreadCountResponse) Descriptor() ([]byte, []int) {
  402. return file_message_proto_rawDescGZIP(), []int{6}
  403. }
  404. func (x *GetUnreadCountResponse) GetCode() int64 {
  405. if x != nil {
  406. return x.Code
  407. }
  408. return 0
  409. }
  410. func (x *GetUnreadCountResponse) GetMessage() string {
  411. if x != nil {
  412. return x.Message
  413. }
  414. return ""
  415. }
  416. func (x *GetUnreadCountResponse) GetCount() int64 {
  417. if x != nil {
  418. return x.Count
  419. }
  420. return 0
  421. }
  422. type FindUserMsgReq struct {
  423. state protoimpl.MessageState
  424. sizeCache protoimpl.SizeCache
  425. unknownFields protoimpl.UnknownFields
  426. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` //用户id
  427. ReceiveUserId string `protobuf:"bytes,2,opt,name=receiveUserId,proto3" json:"receiveUserId,omitempty"` //聊天方用户id
  428. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  429. OffSet int64 `protobuf:"varint,4,opt,name=offSet,proto3" json:"offSet,omitempty"` //当前
  430. PageSize int64 `protobuf:"varint,5,opt,name=pageSize,proto3" json:"pageSize,omitempty"` //大小
  431. MsgType int64 `protobuf:"varint,6,opt,name=msgType,proto3" json:"msgType,omitempty"` //是否区分类型
  432. Read int64 `protobuf:"varint,7,opt,name=read,proto3" json:"read,omitempty"` // 是否区分已读未读 -1 不区分已读未读 0 未读 1 已读
  433. }
  434. func (x *FindUserMsgReq) Reset() {
  435. *x = FindUserMsgReq{}
  436. if protoimpl.UnsafeEnabled {
  437. mi := &file_message_proto_msgTypes[7]
  438. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  439. ms.StoreMessageInfo(mi)
  440. }
  441. }
  442. func (x *FindUserMsgReq) String() string {
  443. return protoimpl.X.MessageStringOf(x)
  444. }
  445. func (*FindUserMsgReq) ProtoMessage() {}
  446. func (x *FindUserMsgReq) ProtoReflect() protoreflect.Message {
  447. mi := &file_message_proto_msgTypes[7]
  448. if protoimpl.UnsafeEnabled && x != nil {
  449. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  450. if ms.LoadMessageInfo() == nil {
  451. ms.StoreMessageInfo(mi)
  452. }
  453. return ms
  454. }
  455. return mi.MessageOf(x)
  456. }
  457. // Deprecated: Use FindUserMsgReq.ProtoReflect.Descriptor instead.
  458. func (*FindUserMsgReq) Descriptor() ([]byte, []int) {
  459. return file_message_proto_rawDescGZIP(), []int{7}
  460. }
  461. func (x *FindUserMsgReq) GetUserId() string {
  462. if x != nil {
  463. return x.UserId
  464. }
  465. return ""
  466. }
  467. func (x *FindUserMsgReq) GetReceiveUserId() string {
  468. if x != nil {
  469. return x.ReceiveUserId
  470. }
  471. return ""
  472. }
  473. func (x *FindUserMsgReq) GetAppid() string {
  474. if x != nil {
  475. return x.Appid
  476. }
  477. return ""
  478. }
  479. func (x *FindUserMsgReq) GetOffSet() int64 {
  480. if x != nil {
  481. return x.OffSet
  482. }
  483. return 0
  484. }
  485. func (x *FindUserMsgReq) GetPageSize() int64 {
  486. if x != nil {
  487. return x.PageSize
  488. }
  489. return 0
  490. }
  491. func (x *FindUserMsgReq) GetMsgType() int64 {
  492. if x != nil {
  493. return x.MsgType
  494. }
  495. return 0
  496. }
  497. func (x *FindUserMsgReq) GetRead() int64 {
  498. if x != nil {
  499. return x.Read
  500. }
  501. return 0
  502. }
  503. type Messages struct {
  504. state protoimpl.MessageState
  505. sizeCache protoimpl.SizeCache
  506. unknownFields protoimpl.UnknownFields
  507. ReceiveUserId string `protobuf:"bytes,1,opt,name=receiveUserId,proto3" json:"receiveUserId,omitempty"` //接收方用户ID
  508. ReceiveName string `protobuf:"bytes,2,opt,name=receiveName,proto3" json:"receiveName,omitempty"` //接收方用户名
  509. SendUserId string `protobuf:"bytes,3,opt,name=sendUserId,proto3" json:"sendUserId,omitempty"` //发送方用户ID
  510. SendName string `protobuf:"bytes,4,opt,name=sendName,proto3" json:"sendName,omitempty"` //发送方用户名
  511. Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` //主题
  512. Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` //内容
  513. MsgType int64 `protobuf:"varint,7,opt,name=msgType,proto3" json:"msgType,omitempty"` //消息类型 1:客服 2:系统通知 3:营销 4:用户会话
  514. Link string `protobuf:"bytes,8,opt,name=link,proto3" json:"link,omitempty"` //跳转链接
  515. CiteId int64 `protobuf:"varint,9,opt,name=citeId,proto3" json:"citeId,omitempty"` //引用id
  516. IsRead int64 `protobuf:"varint,10,opt,name=isRead,proto3" json:"isRead,omitempty"` //已读未读 0:未读 1:已读
  517. Createtime string `protobuf:"bytes,11,opt,name=createtime,proto3" json:"createtime,omitempty"`
  518. Appid string `protobuf:"bytes,12,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  519. }
  520. func (x *Messages) Reset() {
  521. *x = Messages{}
  522. if protoimpl.UnsafeEnabled {
  523. mi := &file_message_proto_msgTypes[8]
  524. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  525. ms.StoreMessageInfo(mi)
  526. }
  527. }
  528. func (x *Messages) String() string {
  529. return protoimpl.X.MessageStringOf(x)
  530. }
  531. func (*Messages) ProtoMessage() {}
  532. func (x *Messages) ProtoReflect() protoreflect.Message {
  533. mi := &file_message_proto_msgTypes[8]
  534. if protoimpl.UnsafeEnabled && x != nil {
  535. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  536. if ms.LoadMessageInfo() == nil {
  537. ms.StoreMessageInfo(mi)
  538. }
  539. return ms
  540. }
  541. return mi.MessageOf(x)
  542. }
  543. // Deprecated: Use Messages.ProtoReflect.Descriptor instead.
  544. func (*Messages) Descriptor() ([]byte, []int) {
  545. return file_message_proto_rawDescGZIP(), []int{8}
  546. }
  547. func (x *Messages) GetReceiveUserId() string {
  548. if x != nil {
  549. return x.ReceiveUserId
  550. }
  551. return ""
  552. }
  553. func (x *Messages) GetReceiveName() string {
  554. if x != nil {
  555. return x.ReceiveName
  556. }
  557. return ""
  558. }
  559. func (x *Messages) GetSendUserId() string {
  560. if x != nil {
  561. return x.SendUserId
  562. }
  563. return ""
  564. }
  565. func (x *Messages) GetSendName() string {
  566. if x != nil {
  567. return x.SendName
  568. }
  569. return ""
  570. }
  571. func (x *Messages) GetTitle() string {
  572. if x != nil {
  573. return x.Title
  574. }
  575. return ""
  576. }
  577. func (x *Messages) GetContent() string {
  578. if x != nil {
  579. return x.Content
  580. }
  581. return ""
  582. }
  583. func (x *Messages) GetMsgType() int64 {
  584. if x != nil {
  585. return x.MsgType
  586. }
  587. return 0
  588. }
  589. func (x *Messages) GetLink() string {
  590. if x != nil {
  591. return x.Link
  592. }
  593. return ""
  594. }
  595. func (x *Messages) GetCiteId() int64 {
  596. if x != nil {
  597. return x.CiteId
  598. }
  599. return 0
  600. }
  601. func (x *Messages) GetIsRead() int64 {
  602. if x != nil {
  603. return x.IsRead
  604. }
  605. return 0
  606. }
  607. func (x *Messages) GetCreatetime() string {
  608. if x != nil {
  609. return x.Createtime
  610. }
  611. return ""
  612. }
  613. func (x *Messages) GetAppid() string {
  614. if x != nil {
  615. return x.Appid
  616. }
  617. return ""
  618. }
  619. type FindUserMsgRes struct {
  620. state protoimpl.MessageState
  621. sizeCache protoimpl.SizeCache
  622. unknownFields protoimpl.UnknownFields
  623. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  624. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  625. Data []*Messages `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` //
  626. Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` //总数
  627. }
  628. func (x *FindUserMsgRes) Reset() {
  629. *x = FindUserMsgRes{}
  630. if protoimpl.UnsafeEnabled {
  631. mi := &file_message_proto_msgTypes[9]
  632. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  633. ms.StoreMessageInfo(mi)
  634. }
  635. }
  636. func (x *FindUserMsgRes) String() string {
  637. return protoimpl.X.MessageStringOf(x)
  638. }
  639. func (*FindUserMsgRes) ProtoMessage() {}
  640. func (x *FindUserMsgRes) ProtoReflect() protoreflect.Message {
  641. mi := &file_message_proto_msgTypes[9]
  642. if protoimpl.UnsafeEnabled && x != nil {
  643. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  644. if ms.LoadMessageInfo() == nil {
  645. ms.StoreMessageInfo(mi)
  646. }
  647. return ms
  648. }
  649. return mi.MessageOf(x)
  650. }
  651. // Deprecated: Use FindUserMsgRes.ProtoReflect.Descriptor instead.
  652. func (*FindUserMsgRes) Descriptor() ([]byte, []int) {
  653. return file_message_proto_rawDescGZIP(), []int{9}
  654. }
  655. func (x *FindUserMsgRes) GetCode() int64 {
  656. if x != nil {
  657. return x.Code
  658. }
  659. return 0
  660. }
  661. func (x *FindUserMsgRes) GetMessage() string {
  662. if x != nil {
  663. return x.Message
  664. }
  665. return ""
  666. }
  667. func (x *FindUserMsgRes) GetData() []*Messages {
  668. if x != nil {
  669. return x.Data
  670. }
  671. return nil
  672. }
  673. func (x *FindUserMsgRes) GetCount() int64 {
  674. if x != nil {
  675. return x.Count
  676. }
  677. return 0
  678. }
  679. type GetClassUnreadCountReq struct {
  680. state protoimpl.MessageState
  681. sizeCache protoimpl.SizeCache
  682. unknownFields protoimpl.UnknownFields
  683. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
  684. MsgType int64 `protobuf:"varint,2,opt,name=msgType,proto3" json:"msgType,omitempty"` //分类 1:客服 2:系统通知 3:营销 4:用户会话
  685. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  686. }
  687. func (x *GetClassUnreadCountReq) Reset() {
  688. *x = GetClassUnreadCountReq{}
  689. if protoimpl.UnsafeEnabled {
  690. mi := &file_message_proto_msgTypes[10]
  691. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  692. ms.StoreMessageInfo(mi)
  693. }
  694. }
  695. func (x *GetClassUnreadCountReq) String() string {
  696. return protoimpl.X.MessageStringOf(x)
  697. }
  698. func (*GetClassUnreadCountReq) ProtoMessage() {}
  699. func (x *GetClassUnreadCountReq) ProtoReflect() protoreflect.Message {
  700. mi := &file_message_proto_msgTypes[10]
  701. if protoimpl.UnsafeEnabled && x != nil {
  702. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  703. if ms.LoadMessageInfo() == nil {
  704. ms.StoreMessageInfo(mi)
  705. }
  706. return ms
  707. }
  708. return mi.MessageOf(x)
  709. }
  710. // Deprecated: Use GetClassUnreadCountReq.ProtoReflect.Descriptor instead.
  711. func (*GetClassUnreadCountReq) Descriptor() ([]byte, []int) {
  712. return file_message_proto_rawDescGZIP(), []int{10}
  713. }
  714. func (x *GetClassUnreadCountReq) GetUserId() string {
  715. if x != nil {
  716. return x.UserId
  717. }
  718. return ""
  719. }
  720. func (x *GetClassUnreadCountReq) GetMsgType() int64 {
  721. if x != nil {
  722. return x.MsgType
  723. }
  724. return 0
  725. }
  726. func (x *GetClassUnreadCountReq) GetAppid() string {
  727. if x != nil {
  728. return x.Appid
  729. }
  730. return ""
  731. }
  732. type GetLastMessageReq struct {
  733. state protoimpl.MessageState
  734. sizeCache protoimpl.SizeCache
  735. unknownFields protoimpl.UnknownFields
  736. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
  737. MsgType int64 `protobuf:"varint,2,opt,name=msgType,proto3" json:"msgType,omitempty"` //分类 1:客服 2:系统通知 3:营销 4:用户会话
  738. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  739. }
  740. func (x *GetLastMessageReq) Reset() {
  741. *x = GetLastMessageReq{}
  742. if protoimpl.UnsafeEnabled {
  743. mi := &file_message_proto_msgTypes[11]
  744. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  745. ms.StoreMessageInfo(mi)
  746. }
  747. }
  748. func (x *GetLastMessageReq) String() string {
  749. return protoimpl.X.MessageStringOf(x)
  750. }
  751. func (*GetLastMessageReq) ProtoMessage() {}
  752. func (x *GetLastMessageReq) ProtoReflect() protoreflect.Message {
  753. mi := &file_message_proto_msgTypes[11]
  754. if protoimpl.UnsafeEnabled && x != nil {
  755. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  756. if ms.LoadMessageInfo() == nil {
  757. ms.StoreMessageInfo(mi)
  758. }
  759. return ms
  760. }
  761. return mi.MessageOf(x)
  762. }
  763. // Deprecated: Use GetLastMessageReq.ProtoReflect.Descriptor instead.
  764. func (*GetLastMessageReq) Descriptor() ([]byte, []int) {
  765. return file_message_proto_rawDescGZIP(), []int{11}
  766. }
  767. func (x *GetLastMessageReq) GetUserId() string {
  768. if x != nil {
  769. return x.UserId
  770. }
  771. return ""
  772. }
  773. func (x *GetLastMessageReq) GetMsgType() int64 {
  774. if x != nil {
  775. return x.MsgType
  776. }
  777. return 0
  778. }
  779. func (x *GetLastMessageReq) GetAppid() string {
  780. if x != nil {
  781. return x.Appid
  782. }
  783. return ""
  784. }
  785. type GetLastMessageRes struct {
  786. state protoimpl.MessageState
  787. sizeCache protoimpl.SizeCache
  788. unknownFields protoimpl.UnknownFields
  789. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  790. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  791. Data *Messages `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` //
  792. }
  793. func (x *GetLastMessageRes) Reset() {
  794. *x = GetLastMessageRes{}
  795. if protoimpl.UnsafeEnabled {
  796. mi := &file_message_proto_msgTypes[12]
  797. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  798. ms.StoreMessageInfo(mi)
  799. }
  800. }
  801. func (x *GetLastMessageRes) String() string {
  802. return protoimpl.X.MessageStringOf(x)
  803. }
  804. func (*GetLastMessageRes) ProtoMessage() {}
  805. func (x *GetLastMessageRes) ProtoReflect() protoreflect.Message {
  806. mi := &file_message_proto_msgTypes[12]
  807. if protoimpl.UnsafeEnabled && x != nil {
  808. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  809. if ms.LoadMessageInfo() == nil {
  810. ms.StoreMessageInfo(mi)
  811. }
  812. return ms
  813. }
  814. return mi.MessageOf(x)
  815. }
  816. // Deprecated: Use GetLastMessageRes.ProtoReflect.Descriptor instead.
  817. func (*GetLastMessageRes) Descriptor() ([]byte, []int) {
  818. return file_message_proto_rawDescGZIP(), []int{12}
  819. }
  820. func (x *GetLastMessageRes) GetCode() int64 {
  821. if x != nil {
  822. return x.Code
  823. }
  824. return 0
  825. }
  826. func (x *GetLastMessageRes) GetMessage() string {
  827. if x != nil {
  828. return x.Message
  829. }
  830. return ""
  831. }
  832. func (x *GetLastMessageRes) GetData() *Messages {
  833. if x != nil {
  834. return x.Data
  835. }
  836. return nil
  837. }
  838. var File_message_proto protoreflect.FileDescriptor
  839. var file_message_proto_rawDesc = []byte{
  840. 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  841. 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xa0, 0x02, 0x0a, 0x0e, 0x53, 0x65, 0x6e,
  842. 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x72,
  843. 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  844. 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49,
  845. 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65,
  846. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e,
  847. 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49,
  848. 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65,
  849. 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18,
  850. 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  851. 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  852. 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
  853. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
  854. 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03,
  855. 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e,
  856. 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a,
  857. 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63,
  858. 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x0a,
  859. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x17, 0x43,
  860. 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
  861. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  862. 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x61, 0x64, 0x53, 0x74,
  863. 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x61, 0x64,
  864. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
  865. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x42, 0x0a, 0x1a,
  866. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73,
  867. 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  868. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70,
  869. 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64,
  870. 0x22, 0x44, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70,
  871. 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  872. 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
  873. 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  874. 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x45, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72,
  875. 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  876. 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  877. 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64,
  878. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x38, 0x0a,
  879. 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
  880. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a,
  881. 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  882. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x5c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x55, 0x6e,
  883. 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  884. 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  885. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  886. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
  887. 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
  888. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xc6, 0x01, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73,
  889. 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72,
  890. 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
  891. 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49,
  892. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  893. 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
  894. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06,
  895. 0x6f, 0x66, 0x66, 0x53, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66,
  896. 0x66, 0x53, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
  897. 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
  898. 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
  899. 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65,
  900. 0x61, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x72, 0x65, 0x61, 0x64, 0x22, 0xd2,
  901. 0x02, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x72,
  902. 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  903. 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49,
  904. 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65,
  905. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e,
  906. 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49,
  907. 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65,
  908. 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18,
  909. 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  910. 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  911. 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
  912. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
  913. 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03,
  914. 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e,
  915. 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a,
  916. 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63,
  917. 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18,
  918. 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1e, 0x0a,
  919. 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28,
  920. 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a,
  921. 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70,
  922. 0x70, 0x69, 0x64, 0x22, 0x7b, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d,
  923. 0x73, 0x67, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
  924. 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73,
  925. 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73,
  926. 0x61, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28,
  927. 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73,
  928. 0x61, 0x67, 0x65, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f,
  929. 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  930. 0x22, 0x60, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65,
  931. 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73,
  932. 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
  933. 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
  934. 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05,
  935. 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70,
  936. 0x69, 0x64, 0x22, 0x5b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73,
  937. 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
  938. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
  939. 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
  940. 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
  941. 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22,
  942. 0x68, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  943. 0x65, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
  944. 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73,
  945. 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
  946. 0x67, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
  947. 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
  948. 0x67, 0x65, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0xe6, 0x04, 0x0a, 0x07, 0x4d, 0x65,
  949. 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x47, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52,
  950. 0x65, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  951. 0x61, 0x67, 0x65, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x53, 0x74,
  952. 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65,
  953. 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39,
  954. 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x17, 0x2e,
  955. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52,
  956. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  957. 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x13, 0x44, 0x65, 0x6c,
  958. 0x65, 0x74, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  959. 0x12, 0x23, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
  960. 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
  961. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
  962. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65,
  963. 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  964. 0x65, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65,
  965. 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  966. 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  967. 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0e, 0x47,
  968. 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x2e,
  969. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61,
  970. 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e,
  971. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61,
  972. 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f,
  973. 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x17, 0x2e,
  974. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72,
  975. 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  976. 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x12,
  977. 0x57, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65, 0x61,
  978. 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  979. 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43,
  980. 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  981. 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  982. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4c,
  983. 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x2e, 0x6d, 0x65, 0x73,
  984. 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73,
  985. 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  986. 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
  987. 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  988. }
  989. var (
  990. file_message_proto_rawDescOnce sync.Once
  991. file_message_proto_rawDescData = file_message_proto_rawDesc
  992. )
  993. func file_message_proto_rawDescGZIP() []byte {
  994. file_message_proto_rawDescOnce.Do(func() {
  995. file_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_message_proto_rawDescData)
  996. })
  997. return file_message_proto_rawDescData
  998. }
  999. var file_message_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
  1000. var file_message_proto_goTypes = []interface{}{
  1001. (*SendMsgRequest)(nil), // 0: message.SendMsgRequest
  1002. (*ChangeReadStatusRequest)(nil), // 1: message.ChangeReadStatusRequest
  1003. (*DeleteSingleMessageRequest)(nil), // 2: message.DeleteSingleMessageRequest
  1004. (*DeleteMultipleMessageRequest)(nil), // 3: message.DeleteMultipleMessageRequest
  1005. (*GetUnreadCountRequest)(nil), // 4: message.GetUnreadCountRequest
  1006. (*Response)(nil), // 5: message.Response
  1007. (*GetUnreadCountResponse)(nil), // 6: message.GetUnreadCountResponse
  1008. (*FindUserMsgReq)(nil), // 7: message.FindUserMsgReq
  1009. (*Messages)(nil), // 8: message.Messages
  1010. (*FindUserMsgRes)(nil), // 9: message.FindUserMsgRes
  1011. (*GetClassUnreadCountReq)(nil), // 10: message.GetClassUnreadCountReq
  1012. (*GetLastMessageReq)(nil), // 11: message.GetLastMessageReq
  1013. (*GetLastMessageRes)(nil), // 12: message.GetLastMessageRes
  1014. }
  1015. var file_message_proto_depIdxs = []int32{
  1016. 8, // 0: message.FindUserMsgRes.data:type_name -> message.Messages
  1017. 8, // 1: message.GetLastMessageRes.data:type_name -> message.Messages
  1018. 1, // 2: message.Message.ChangeReadStatus:input_type -> message.ChangeReadStatusRequest
  1019. 0, // 3: message.Message.SendUserMsg:input_type -> message.SendMsgRequest
  1020. 2, // 4: message.Message.DeleteSingleMessage:input_type -> message.DeleteSingleMessageRequest
  1021. 3, // 5: message.Message.DeleteMultipleMessage:input_type -> message.DeleteMultipleMessageRequest
  1022. 4, // 6: message.Message.GetUnreadCount:input_type -> message.GetUnreadCountRequest
  1023. 7, // 7: message.Message.FindUserMsg:input_type -> message.FindUserMsgReq
  1024. 10, // 8: message.Message.GetClassUnreadCount:input_type -> message.GetClassUnreadCountReq
  1025. 11, // 9: message.Message.GetLastMessage:input_type -> message.GetLastMessageReq
  1026. 5, // 10: message.Message.ChangeReadStatus:output_type -> message.Response
  1027. 5, // 11: message.Message.SendUserMsg:output_type -> message.Response
  1028. 5, // 12: message.Message.DeleteSingleMessage:output_type -> message.Response
  1029. 5, // 13: message.Message.DeleteMultipleMessage:output_type -> message.Response
  1030. 6, // 14: message.Message.GetUnreadCount:output_type -> message.GetUnreadCountResponse
  1031. 9, // 15: message.Message.FindUserMsg:output_type -> message.FindUserMsgRes
  1032. 6, // 16: message.Message.GetClassUnreadCount:output_type -> message.GetUnreadCountResponse
  1033. 12, // 17: message.Message.GetLastMessage:output_type -> message.GetLastMessageRes
  1034. 10, // [10:18] is the sub-list for method output_type
  1035. 2, // [2:10] is the sub-list for method input_type
  1036. 2, // [2:2] is the sub-list for extension type_name
  1037. 2, // [2:2] is the sub-list for extension extendee
  1038. 0, // [0:2] is the sub-list for field type_name
  1039. }
  1040. func init() { file_message_proto_init() }
  1041. func file_message_proto_init() {
  1042. if File_message_proto != nil {
  1043. return
  1044. }
  1045. if !protoimpl.UnsafeEnabled {
  1046. file_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1047. switch v := v.(*SendMsgRequest); i {
  1048. case 0:
  1049. return &v.state
  1050. case 1:
  1051. return &v.sizeCache
  1052. case 2:
  1053. return &v.unknownFields
  1054. default:
  1055. return nil
  1056. }
  1057. }
  1058. file_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1059. switch v := v.(*ChangeReadStatusRequest); i {
  1060. case 0:
  1061. return &v.state
  1062. case 1:
  1063. return &v.sizeCache
  1064. case 2:
  1065. return &v.unknownFields
  1066. default:
  1067. return nil
  1068. }
  1069. }
  1070. file_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1071. switch v := v.(*DeleteSingleMessageRequest); i {
  1072. case 0:
  1073. return &v.state
  1074. case 1:
  1075. return &v.sizeCache
  1076. case 2:
  1077. return &v.unknownFields
  1078. default:
  1079. return nil
  1080. }
  1081. }
  1082. file_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1083. switch v := v.(*DeleteMultipleMessageRequest); i {
  1084. case 0:
  1085. return &v.state
  1086. case 1:
  1087. return &v.sizeCache
  1088. case 2:
  1089. return &v.unknownFields
  1090. default:
  1091. return nil
  1092. }
  1093. }
  1094. file_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1095. switch v := v.(*GetUnreadCountRequest); i {
  1096. case 0:
  1097. return &v.state
  1098. case 1:
  1099. return &v.sizeCache
  1100. case 2:
  1101. return &v.unknownFields
  1102. default:
  1103. return nil
  1104. }
  1105. }
  1106. file_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1107. switch v := v.(*Response); i {
  1108. case 0:
  1109. return &v.state
  1110. case 1:
  1111. return &v.sizeCache
  1112. case 2:
  1113. return &v.unknownFields
  1114. default:
  1115. return nil
  1116. }
  1117. }
  1118. file_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1119. switch v := v.(*GetUnreadCountResponse); i {
  1120. case 0:
  1121. return &v.state
  1122. case 1:
  1123. return &v.sizeCache
  1124. case 2:
  1125. return &v.unknownFields
  1126. default:
  1127. return nil
  1128. }
  1129. }
  1130. file_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1131. switch v := v.(*FindUserMsgReq); i {
  1132. case 0:
  1133. return &v.state
  1134. case 1:
  1135. return &v.sizeCache
  1136. case 2:
  1137. return &v.unknownFields
  1138. default:
  1139. return nil
  1140. }
  1141. }
  1142. file_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1143. switch v := v.(*Messages); i {
  1144. case 0:
  1145. return &v.state
  1146. case 1:
  1147. return &v.sizeCache
  1148. case 2:
  1149. return &v.unknownFields
  1150. default:
  1151. return nil
  1152. }
  1153. }
  1154. file_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1155. switch v := v.(*FindUserMsgRes); i {
  1156. case 0:
  1157. return &v.state
  1158. case 1:
  1159. return &v.sizeCache
  1160. case 2:
  1161. return &v.unknownFields
  1162. default:
  1163. return nil
  1164. }
  1165. }
  1166. file_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1167. switch v := v.(*GetClassUnreadCountReq); i {
  1168. case 0:
  1169. return &v.state
  1170. case 1:
  1171. return &v.sizeCache
  1172. case 2:
  1173. return &v.unknownFields
  1174. default:
  1175. return nil
  1176. }
  1177. }
  1178. file_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1179. switch v := v.(*GetLastMessageReq); i {
  1180. case 0:
  1181. return &v.state
  1182. case 1:
  1183. return &v.sizeCache
  1184. case 2:
  1185. return &v.unknownFields
  1186. default:
  1187. return nil
  1188. }
  1189. }
  1190. file_message_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1191. switch v := v.(*GetLastMessageRes); i {
  1192. case 0:
  1193. return &v.state
  1194. case 1:
  1195. return &v.sizeCache
  1196. case 2:
  1197. return &v.unknownFields
  1198. default:
  1199. return nil
  1200. }
  1201. }
  1202. }
  1203. type x struct{}
  1204. out := protoimpl.TypeBuilder{
  1205. File: protoimpl.DescBuilder{
  1206. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1207. RawDescriptor: file_message_proto_rawDesc,
  1208. NumEnums: 0,
  1209. NumMessages: 13,
  1210. NumExtensions: 0,
  1211. NumServices: 1,
  1212. },
  1213. GoTypes: file_message_proto_goTypes,
  1214. DependencyIndexes: file_message_proto_depIdxs,
  1215. MessageInfos: file_message_proto_msgTypes,
  1216. }.Build()
  1217. File_message_proto = out.File
  1218. file_message_proto_rawDesc = nil
  1219. file_message_proto_goTypes = nil
  1220. file_message_proto_depIdxs = nil
  1221. }
  1222. // Reference imports to suppress errors if they are not otherwise used.
  1223. var _ context.Context
  1224. var _ grpc.ClientConnInterface
  1225. // This is a compile-time assertion to ensure that this generated file
  1226. // is compatible with the grpc package it is being compiled against.
  1227. const _ = grpc.SupportPackageIsVersion6
  1228. // MessageClient is the client API for Message service.
  1229. //
  1230. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1231. type MessageClient interface {
  1232. // 修改消息阅读状态
  1233. ChangeReadStatus(ctx context.Context, in *ChangeReadStatusRequest, opts ...grpc.CallOption) (*Response, error)
  1234. //指定用户发消息
  1235. SendUserMsg(ctx context.Context, in *SendMsgRequest, opts ...grpc.CallOption) (*Response, error)
  1236. // 删除单一消息
  1237. DeleteSingleMessage(ctx context.Context, in *DeleteSingleMessageRequest, opts ...grpc.CallOption) (*Response, error)
  1238. // 删除多条消息
  1239. DeleteMultipleMessage(ctx context.Context, in *DeleteMultipleMessageRequest, opts ...grpc.CallOption) (*Response, error)
  1240. // 查询指定用户未读消息合计
  1241. GetUnreadCount(ctx context.Context, in *GetUnreadCountRequest, opts ...grpc.CallOption) (*GetUnreadCountResponse, error)
  1242. // 查询指定用户的历史消息记录
  1243. FindUserMsg(ctx context.Context, in *FindUserMsgReq, opts ...grpc.CallOption) (*FindUserMsgRes, error)
  1244. // 查询指定用户指定分类的未读消息合计
  1245. GetClassUnreadCount(ctx context.Context, in *GetClassUnreadCountReq, opts ...grpc.CallOption) (*GetUnreadCountResponse, error)
  1246. // 获取指定用户指定分类的最新一条未读消息
  1247. GetLastMessage(ctx context.Context, in *GetLastMessageReq, opts ...grpc.CallOption) (*GetLastMessageRes, error)
  1248. }
  1249. type messageClient struct {
  1250. cc grpc.ClientConnInterface
  1251. }
  1252. func NewMessageClient(cc grpc.ClientConnInterface) MessageClient {
  1253. return &messageClient{cc}
  1254. }
  1255. func (c *messageClient) ChangeReadStatus(ctx context.Context, in *ChangeReadStatusRequest, opts ...grpc.CallOption) (*Response, error) {
  1256. out := new(Response)
  1257. err := c.cc.Invoke(ctx, "/message.Message/ChangeReadStatus", in, out, opts...)
  1258. if err != nil {
  1259. return nil, err
  1260. }
  1261. return out, nil
  1262. }
  1263. func (c *messageClient) SendUserMsg(ctx context.Context, in *SendMsgRequest, opts ...grpc.CallOption) (*Response, error) {
  1264. out := new(Response)
  1265. err := c.cc.Invoke(ctx, "/message.Message/SendUserMsg", in, out, opts...)
  1266. if err != nil {
  1267. return nil, err
  1268. }
  1269. return out, nil
  1270. }
  1271. func (c *messageClient) DeleteSingleMessage(ctx context.Context, in *DeleteSingleMessageRequest, opts ...grpc.CallOption) (*Response, error) {
  1272. out := new(Response)
  1273. err := c.cc.Invoke(ctx, "/message.Message/DeleteSingleMessage", in, out, opts...)
  1274. if err != nil {
  1275. return nil, err
  1276. }
  1277. return out, nil
  1278. }
  1279. func (c *messageClient) DeleteMultipleMessage(ctx context.Context, in *DeleteMultipleMessageRequest, opts ...grpc.CallOption) (*Response, error) {
  1280. out := new(Response)
  1281. err := c.cc.Invoke(ctx, "/message.Message/DeleteMultipleMessage", in, out, opts...)
  1282. if err != nil {
  1283. return nil, err
  1284. }
  1285. return out, nil
  1286. }
  1287. func (c *messageClient) GetUnreadCount(ctx context.Context, in *GetUnreadCountRequest, opts ...grpc.CallOption) (*GetUnreadCountResponse, error) {
  1288. out := new(GetUnreadCountResponse)
  1289. err := c.cc.Invoke(ctx, "/message.Message/GetUnreadCount", in, out, opts...)
  1290. if err != nil {
  1291. return nil, err
  1292. }
  1293. return out, nil
  1294. }
  1295. func (c *messageClient) FindUserMsg(ctx context.Context, in *FindUserMsgReq, opts ...grpc.CallOption) (*FindUserMsgRes, error) {
  1296. out := new(FindUserMsgRes)
  1297. err := c.cc.Invoke(ctx, "/message.Message/FindUserMsg", in, out, opts...)
  1298. if err != nil {
  1299. return nil, err
  1300. }
  1301. return out, nil
  1302. }
  1303. func (c *messageClient) GetClassUnreadCount(ctx context.Context, in *GetClassUnreadCountReq, opts ...grpc.CallOption) (*GetUnreadCountResponse, error) {
  1304. out := new(GetUnreadCountResponse)
  1305. err := c.cc.Invoke(ctx, "/message.Message/GetClassUnreadCount", in, out, opts...)
  1306. if err != nil {
  1307. return nil, err
  1308. }
  1309. return out, nil
  1310. }
  1311. func (c *messageClient) GetLastMessage(ctx context.Context, in *GetLastMessageReq, opts ...grpc.CallOption) (*GetLastMessageRes, error) {
  1312. out := new(GetLastMessageRes)
  1313. err := c.cc.Invoke(ctx, "/message.Message/GetLastMessage", in, out, opts...)
  1314. if err != nil {
  1315. return nil, err
  1316. }
  1317. return out, nil
  1318. }
  1319. // MessageServer is the server API for Message service.
  1320. type MessageServer interface {
  1321. // 修改消息阅读状态
  1322. ChangeReadStatus(context.Context, *ChangeReadStatusRequest) (*Response, error)
  1323. //指定用户发消息
  1324. SendUserMsg(context.Context, *SendMsgRequest) (*Response, error)
  1325. // 删除单一消息
  1326. DeleteSingleMessage(context.Context, *DeleteSingleMessageRequest) (*Response, error)
  1327. // 删除多条消息
  1328. DeleteMultipleMessage(context.Context, *DeleteMultipleMessageRequest) (*Response, error)
  1329. // 查询指定用户未读消息合计
  1330. GetUnreadCount(context.Context, *GetUnreadCountRequest) (*GetUnreadCountResponse, error)
  1331. // 查询指定用户的历史消息记录
  1332. FindUserMsg(context.Context, *FindUserMsgReq) (*FindUserMsgRes, error)
  1333. // 查询指定用户指定分类的未读消息合计
  1334. GetClassUnreadCount(context.Context, *GetClassUnreadCountReq) (*GetUnreadCountResponse, error)
  1335. // 获取指定用户指定分类的最新一条未读消息
  1336. GetLastMessage(context.Context, *GetLastMessageReq) (*GetLastMessageRes, error)
  1337. }
  1338. // UnimplementedMessageServer can be embedded to have forward compatible implementations.
  1339. type UnimplementedMessageServer struct {
  1340. }
  1341. func (*UnimplementedMessageServer) ChangeReadStatus(context.Context, *ChangeReadStatusRequest) (*Response, error) {
  1342. return nil, status.Errorf(codes.Unimplemented, "method ChangeReadStatus not implemented")
  1343. }
  1344. func (*UnimplementedMessageServer) SendUserMsg(context.Context, *SendMsgRequest) (*Response, error) {
  1345. return nil, status.Errorf(codes.Unimplemented, "method SendUserMsg not implemented")
  1346. }
  1347. func (*UnimplementedMessageServer) DeleteSingleMessage(context.Context, *DeleteSingleMessageRequest) (*Response, error) {
  1348. return nil, status.Errorf(codes.Unimplemented, "method DeleteSingleMessage not implemented")
  1349. }
  1350. func (*UnimplementedMessageServer) DeleteMultipleMessage(context.Context, *DeleteMultipleMessageRequest) (*Response, error) {
  1351. return nil, status.Errorf(codes.Unimplemented, "method DeleteMultipleMessage not implemented")
  1352. }
  1353. func (*UnimplementedMessageServer) GetUnreadCount(context.Context, *GetUnreadCountRequest) (*GetUnreadCountResponse, error) {
  1354. return nil, status.Errorf(codes.Unimplemented, "method GetUnreadCount not implemented")
  1355. }
  1356. func (*UnimplementedMessageServer) FindUserMsg(context.Context, *FindUserMsgReq) (*FindUserMsgRes, error) {
  1357. return nil, status.Errorf(codes.Unimplemented, "method FindUserMsg not implemented")
  1358. }
  1359. func (*UnimplementedMessageServer) GetClassUnreadCount(context.Context, *GetClassUnreadCountReq) (*GetUnreadCountResponse, error) {
  1360. return nil, status.Errorf(codes.Unimplemented, "method GetClassUnreadCount not implemented")
  1361. }
  1362. func (*UnimplementedMessageServer) GetLastMessage(context.Context, *GetLastMessageReq) (*GetLastMessageRes, error) {
  1363. return nil, status.Errorf(codes.Unimplemented, "method GetLastMessage not implemented")
  1364. }
  1365. func RegisterMessageServer(s *grpc.Server, srv MessageServer) {
  1366. s.RegisterService(&_Message_serviceDesc, srv)
  1367. }
  1368. func _Message_ChangeReadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1369. in := new(ChangeReadStatusRequest)
  1370. if err := dec(in); err != nil {
  1371. return nil, err
  1372. }
  1373. if interceptor == nil {
  1374. return srv.(MessageServer).ChangeReadStatus(ctx, in)
  1375. }
  1376. info := &grpc.UnaryServerInfo{
  1377. Server: srv,
  1378. FullMethod: "/message.Message/ChangeReadStatus",
  1379. }
  1380. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1381. return srv.(MessageServer).ChangeReadStatus(ctx, req.(*ChangeReadStatusRequest))
  1382. }
  1383. return interceptor(ctx, in, info, handler)
  1384. }
  1385. func _Message_SendUserMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1386. in := new(SendMsgRequest)
  1387. if err := dec(in); err != nil {
  1388. return nil, err
  1389. }
  1390. if interceptor == nil {
  1391. return srv.(MessageServer).SendUserMsg(ctx, in)
  1392. }
  1393. info := &grpc.UnaryServerInfo{
  1394. Server: srv,
  1395. FullMethod: "/message.Message/SendUserMsg",
  1396. }
  1397. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1398. return srv.(MessageServer).SendUserMsg(ctx, req.(*SendMsgRequest))
  1399. }
  1400. return interceptor(ctx, in, info, handler)
  1401. }
  1402. func _Message_DeleteSingleMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1403. in := new(DeleteSingleMessageRequest)
  1404. if err := dec(in); err != nil {
  1405. return nil, err
  1406. }
  1407. if interceptor == nil {
  1408. return srv.(MessageServer).DeleteSingleMessage(ctx, in)
  1409. }
  1410. info := &grpc.UnaryServerInfo{
  1411. Server: srv,
  1412. FullMethod: "/message.Message/DeleteSingleMessage",
  1413. }
  1414. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1415. return srv.(MessageServer).DeleteSingleMessage(ctx, req.(*DeleteSingleMessageRequest))
  1416. }
  1417. return interceptor(ctx, in, info, handler)
  1418. }
  1419. func _Message_DeleteMultipleMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1420. in := new(DeleteMultipleMessageRequest)
  1421. if err := dec(in); err != nil {
  1422. return nil, err
  1423. }
  1424. if interceptor == nil {
  1425. return srv.(MessageServer).DeleteMultipleMessage(ctx, in)
  1426. }
  1427. info := &grpc.UnaryServerInfo{
  1428. Server: srv,
  1429. FullMethod: "/message.Message/DeleteMultipleMessage",
  1430. }
  1431. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1432. return srv.(MessageServer).DeleteMultipleMessage(ctx, req.(*DeleteMultipleMessageRequest))
  1433. }
  1434. return interceptor(ctx, in, info, handler)
  1435. }
  1436. func _Message_GetUnreadCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1437. in := new(GetUnreadCountRequest)
  1438. if err := dec(in); err != nil {
  1439. return nil, err
  1440. }
  1441. if interceptor == nil {
  1442. return srv.(MessageServer).GetUnreadCount(ctx, in)
  1443. }
  1444. info := &grpc.UnaryServerInfo{
  1445. Server: srv,
  1446. FullMethod: "/message.Message/GetUnreadCount",
  1447. }
  1448. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1449. return srv.(MessageServer).GetUnreadCount(ctx, req.(*GetUnreadCountRequest))
  1450. }
  1451. return interceptor(ctx, in, info, handler)
  1452. }
  1453. func _Message_FindUserMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1454. in := new(FindUserMsgReq)
  1455. if err := dec(in); err != nil {
  1456. return nil, err
  1457. }
  1458. if interceptor == nil {
  1459. return srv.(MessageServer).FindUserMsg(ctx, in)
  1460. }
  1461. info := &grpc.UnaryServerInfo{
  1462. Server: srv,
  1463. FullMethod: "/message.Message/FindUserMsg",
  1464. }
  1465. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1466. return srv.(MessageServer).FindUserMsg(ctx, req.(*FindUserMsgReq))
  1467. }
  1468. return interceptor(ctx, in, info, handler)
  1469. }
  1470. func _Message_GetClassUnreadCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1471. in := new(GetClassUnreadCountReq)
  1472. if err := dec(in); err != nil {
  1473. return nil, err
  1474. }
  1475. if interceptor == nil {
  1476. return srv.(MessageServer).GetClassUnreadCount(ctx, in)
  1477. }
  1478. info := &grpc.UnaryServerInfo{
  1479. Server: srv,
  1480. FullMethod: "/message.Message/GetClassUnreadCount",
  1481. }
  1482. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1483. return srv.(MessageServer).GetClassUnreadCount(ctx, req.(*GetClassUnreadCountReq))
  1484. }
  1485. return interceptor(ctx, in, info, handler)
  1486. }
  1487. func _Message_GetLastMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1488. in := new(GetLastMessageReq)
  1489. if err := dec(in); err != nil {
  1490. return nil, err
  1491. }
  1492. if interceptor == nil {
  1493. return srv.(MessageServer).GetLastMessage(ctx, in)
  1494. }
  1495. info := &grpc.UnaryServerInfo{
  1496. Server: srv,
  1497. FullMethod: "/message.Message/GetLastMessage",
  1498. }
  1499. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1500. return srv.(MessageServer).GetLastMessage(ctx, req.(*GetLastMessageReq))
  1501. }
  1502. return interceptor(ctx, in, info, handler)
  1503. }
  1504. var _Message_serviceDesc = grpc.ServiceDesc{
  1505. ServiceName: "message.Message",
  1506. HandlerType: (*MessageServer)(nil),
  1507. Methods: []grpc.MethodDesc{
  1508. {
  1509. MethodName: "ChangeReadStatus",
  1510. Handler: _Message_ChangeReadStatus_Handler,
  1511. },
  1512. {
  1513. MethodName: "SendUserMsg",
  1514. Handler: _Message_SendUserMsg_Handler,
  1515. },
  1516. {
  1517. MethodName: "DeleteSingleMessage",
  1518. Handler: _Message_DeleteSingleMessage_Handler,
  1519. },
  1520. {
  1521. MethodName: "DeleteMultipleMessage",
  1522. Handler: _Message_DeleteMultipleMessage_Handler,
  1523. },
  1524. {
  1525. MethodName: "GetUnreadCount",
  1526. Handler: _Message_GetUnreadCount_Handler,
  1527. },
  1528. {
  1529. MethodName: "FindUserMsg",
  1530. Handler: _Message_FindUserMsg_Handler,
  1531. },
  1532. {
  1533. MethodName: "GetClassUnreadCount",
  1534. Handler: _Message_GetClassUnreadCount_Handler,
  1535. },
  1536. {
  1537. MethodName: "GetLastMessage",
  1538. Handler: _Message_GetLastMessage_Handler,
  1539. },
  1540. },
  1541. Streams: []grpc.StreamDesc{},
  1542. Metadata: "message.proto",
  1543. }