message.pb.go 104 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.19.4
  5. // source: message.proto
  6. package message
  7. import (
  8. context "context"
  9. grpc "google.golang.org/grpc"
  10. codes "google.golang.org/grpc/codes"
  11. status "google.golang.org/grpc/status"
  12. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  13. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  14. reflect "reflect"
  15. sync "sync"
  16. )
  17. const (
  18. // Verify that this generated code is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  20. // Verify that runtime/protoimpl is sufficiently up-to-date.
  21. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  22. )
  23. type SendMsgRequest struct {
  24. state protoimpl.MessageState
  25. sizeCache protoimpl.SizeCache
  26. unknownFields protoimpl.UnknownFields
  27. ReceiveUserId string `protobuf:"bytes,1,opt,name=receiveUserId,proto3" json:"receiveUserId,omitempty"` //接收方用户ID
  28. ReceiveName string `protobuf:"bytes,2,opt,name=receiveName,proto3" json:"receiveName,omitempty"` //接收方用户名
  29. SendUserId string `protobuf:"bytes,3,opt,name=sendUserId,proto3" json:"sendUserId,omitempty"` //发送方用户ID
  30. SendName string `protobuf:"bytes,4,opt,name=sendName,proto3" json:"sendName,omitempty"` //发送方用户名
  31. Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` //主题
  32. Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` //内容
  33. MsgType int64 `protobuf:"varint,7,opt,name=msgType,proto3" json:"msgType,omitempty"` //消息类型 1:客服 2:系统通知 3:营销 4:用户会话
  34. Link string `protobuf:"bytes,8,opt,name=link,proto3" json:"link,omitempty"` //跳转链接
  35. CiteId int64 `protobuf:"varint,9,opt,name=citeId,proto3" json:"citeId,omitempty"` //引用id
  36. Appid string `protobuf:"bytes,10,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  37. }
  38. func (x *SendMsgRequest) Reset() {
  39. *x = SendMsgRequest{}
  40. if protoimpl.UnsafeEnabled {
  41. mi := &file_message_proto_msgTypes[0]
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. ms.StoreMessageInfo(mi)
  44. }
  45. }
  46. func (x *SendMsgRequest) String() string {
  47. return protoimpl.X.MessageStringOf(x)
  48. }
  49. func (*SendMsgRequest) ProtoMessage() {}
  50. func (x *SendMsgRequest) ProtoReflect() protoreflect.Message {
  51. mi := &file_message_proto_msgTypes[0]
  52. if protoimpl.UnsafeEnabled && x != nil {
  53. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  54. if ms.LoadMessageInfo() == nil {
  55. ms.StoreMessageInfo(mi)
  56. }
  57. return ms
  58. }
  59. return mi.MessageOf(x)
  60. }
  61. // Deprecated: Use SendMsgRequest.ProtoReflect.Descriptor instead.
  62. func (*SendMsgRequest) Descriptor() ([]byte, []int) {
  63. return file_message_proto_rawDescGZIP(), []int{0}
  64. }
  65. func (x *SendMsgRequest) GetReceiveUserId() string {
  66. if x != nil {
  67. return x.ReceiveUserId
  68. }
  69. return ""
  70. }
  71. func (x *SendMsgRequest) GetReceiveName() string {
  72. if x != nil {
  73. return x.ReceiveName
  74. }
  75. return ""
  76. }
  77. func (x *SendMsgRequest) GetSendUserId() string {
  78. if x != nil {
  79. return x.SendUserId
  80. }
  81. return ""
  82. }
  83. func (x *SendMsgRequest) GetSendName() string {
  84. if x != nil {
  85. return x.SendName
  86. }
  87. return ""
  88. }
  89. func (x *SendMsgRequest) GetTitle() string {
  90. if x != nil {
  91. return x.Title
  92. }
  93. return ""
  94. }
  95. func (x *SendMsgRequest) GetContent() string {
  96. if x != nil {
  97. return x.Content
  98. }
  99. return ""
  100. }
  101. func (x *SendMsgRequest) GetMsgType() int64 {
  102. if x != nil {
  103. return x.MsgType
  104. }
  105. return 0
  106. }
  107. func (x *SendMsgRequest) GetLink() string {
  108. if x != nil {
  109. return x.Link
  110. }
  111. return ""
  112. }
  113. func (x *SendMsgRequest) GetCiteId() int64 {
  114. if x != nil {
  115. return x.CiteId
  116. }
  117. return 0
  118. }
  119. func (x *SendMsgRequest) GetAppid() string {
  120. if x != nil {
  121. return x.Appid
  122. }
  123. return ""
  124. }
  125. type ChangeReadStatusRequest struct {
  126. state protoimpl.MessageState
  127. sizeCache protoimpl.SizeCache
  128. unknownFields protoimpl.UnknownFields
  129. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 消息id
  130. ReadStatus int64 `protobuf:"varint,2,opt,name=readStatus,proto3" json:"readStatus,omitempty"` // 阅读状态 0-未读 1-已读
  131. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  132. }
  133. func (x *ChangeReadStatusRequest) Reset() {
  134. *x = ChangeReadStatusRequest{}
  135. if protoimpl.UnsafeEnabled {
  136. mi := &file_message_proto_msgTypes[1]
  137. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  138. ms.StoreMessageInfo(mi)
  139. }
  140. }
  141. func (x *ChangeReadStatusRequest) String() string {
  142. return protoimpl.X.MessageStringOf(x)
  143. }
  144. func (*ChangeReadStatusRequest) ProtoMessage() {}
  145. func (x *ChangeReadStatusRequest) ProtoReflect() protoreflect.Message {
  146. mi := &file_message_proto_msgTypes[1]
  147. if protoimpl.UnsafeEnabled && x != nil {
  148. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  149. if ms.LoadMessageInfo() == nil {
  150. ms.StoreMessageInfo(mi)
  151. }
  152. return ms
  153. }
  154. return mi.MessageOf(x)
  155. }
  156. // Deprecated: Use ChangeReadStatusRequest.ProtoReflect.Descriptor instead.
  157. func (*ChangeReadStatusRequest) Descriptor() ([]byte, []int) {
  158. return file_message_proto_rawDescGZIP(), []int{1}
  159. }
  160. func (x *ChangeReadStatusRequest) GetId() string {
  161. if x != nil {
  162. return x.Id
  163. }
  164. return ""
  165. }
  166. func (x *ChangeReadStatusRequest) GetReadStatus() int64 {
  167. if x != nil {
  168. return x.ReadStatus
  169. }
  170. return 0
  171. }
  172. func (x *ChangeReadStatusRequest) GetAppid() string {
  173. if x != nil {
  174. return x.Appid
  175. }
  176. return ""
  177. }
  178. type ResCount struct {
  179. state protoimpl.MessageState
  180. sizeCache protoimpl.SizeCache
  181. unknownFields protoimpl.UnknownFields
  182. MsgType int64 `protobuf:"varint,1,opt,name=msgType,proto3" json:"msgType,omitempty"` // 类型及未读数量
  183. Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // 类型及未读数量
  184. }
  185. func (x *ResCount) Reset() {
  186. *x = ResCount{}
  187. if protoimpl.UnsafeEnabled {
  188. mi := &file_message_proto_msgTypes[2]
  189. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  190. ms.StoreMessageInfo(mi)
  191. }
  192. }
  193. func (x *ResCount) String() string {
  194. return protoimpl.X.MessageStringOf(x)
  195. }
  196. func (*ResCount) ProtoMessage() {}
  197. func (x *ResCount) ProtoReflect() protoreflect.Message {
  198. mi := &file_message_proto_msgTypes[2]
  199. if protoimpl.UnsafeEnabled && x != nil {
  200. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  201. if ms.LoadMessageInfo() == nil {
  202. ms.StoreMessageInfo(mi)
  203. }
  204. return ms
  205. }
  206. return mi.MessageOf(x)
  207. }
  208. // Deprecated: Use ResCount.ProtoReflect.Descriptor instead.
  209. func (*ResCount) Descriptor() ([]byte, []int) {
  210. return file_message_proto_rawDescGZIP(), []int{2}
  211. }
  212. func (x *ResCount) GetMsgType() int64 {
  213. if x != nil {
  214. return x.MsgType
  215. }
  216. return 0
  217. }
  218. func (x *ResCount) GetCount() int64 {
  219. if x != nil {
  220. return x.Count
  221. }
  222. return 0
  223. }
  224. // 删除单一消息
  225. type DeleteSingleMessageRequest struct {
  226. state protoimpl.MessageState
  227. sizeCache protoimpl.SizeCache
  228. unknownFields protoimpl.UnknownFields
  229. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 消息id
  230. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  231. }
  232. func (x *DeleteSingleMessageRequest) Reset() {
  233. *x = DeleteSingleMessageRequest{}
  234. if protoimpl.UnsafeEnabled {
  235. mi := &file_message_proto_msgTypes[3]
  236. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  237. ms.StoreMessageInfo(mi)
  238. }
  239. }
  240. func (x *DeleteSingleMessageRequest) String() string {
  241. return protoimpl.X.MessageStringOf(x)
  242. }
  243. func (*DeleteSingleMessageRequest) ProtoMessage() {}
  244. func (x *DeleteSingleMessageRequest) ProtoReflect() protoreflect.Message {
  245. mi := &file_message_proto_msgTypes[3]
  246. if protoimpl.UnsafeEnabled && x != nil {
  247. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  248. if ms.LoadMessageInfo() == nil {
  249. ms.StoreMessageInfo(mi)
  250. }
  251. return ms
  252. }
  253. return mi.MessageOf(x)
  254. }
  255. // Deprecated: Use DeleteSingleMessageRequest.ProtoReflect.Descriptor instead.
  256. func (*DeleteSingleMessageRequest) Descriptor() ([]byte, []int) {
  257. return file_message_proto_rawDescGZIP(), []int{3}
  258. }
  259. func (x *DeleteSingleMessageRequest) GetId() string {
  260. if x != nil {
  261. return x.Id
  262. }
  263. return ""
  264. }
  265. func (x *DeleteSingleMessageRequest) GetAppid() string {
  266. if x != nil {
  267. return x.Appid
  268. }
  269. return ""
  270. }
  271. // 批量删除消息
  272. type DeleteMultipleMessageRequest struct {
  273. state protoimpl.MessageState
  274. sizeCache protoimpl.SizeCache
  275. unknownFields protoimpl.UnknownFields
  276. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 多条消息id, 逗号分隔
  277. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  278. }
  279. func (x *DeleteMultipleMessageRequest) Reset() {
  280. *x = DeleteMultipleMessageRequest{}
  281. if protoimpl.UnsafeEnabled {
  282. mi := &file_message_proto_msgTypes[4]
  283. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  284. ms.StoreMessageInfo(mi)
  285. }
  286. }
  287. func (x *DeleteMultipleMessageRequest) String() string {
  288. return protoimpl.X.MessageStringOf(x)
  289. }
  290. func (*DeleteMultipleMessageRequest) ProtoMessage() {}
  291. func (x *DeleteMultipleMessageRequest) ProtoReflect() protoreflect.Message {
  292. mi := &file_message_proto_msgTypes[4]
  293. if protoimpl.UnsafeEnabled && x != nil {
  294. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  295. if ms.LoadMessageInfo() == nil {
  296. ms.StoreMessageInfo(mi)
  297. }
  298. return ms
  299. }
  300. return mi.MessageOf(x)
  301. }
  302. // Deprecated: Use DeleteMultipleMessageRequest.ProtoReflect.Descriptor instead.
  303. func (*DeleteMultipleMessageRequest) Descriptor() ([]byte, []int) {
  304. return file_message_proto_rawDescGZIP(), []int{4}
  305. }
  306. func (x *DeleteMultipleMessageRequest) GetId() string {
  307. if x != nil {
  308. return x.Id
  309. }
  310. return ""
  311. }
  312. func (x *DeleteMultipleMessageRequest) GetAppid() string {
  313. if x != nil {
  314. return x.Appid
  315. }
  316. return ""
  317. }
  318. // 查询指定用户未读消息合计
  319. type GetUnreadCountRequest struct {
  320. state protoimpl.MessageState
  321. sizeCache protoimpl.SizeCache
  322. unknownFields protoimpl.UnknownFields
  323. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
  324. Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  325. }
  326. func (x *GetUnreadCountRequest) Reset() {
  327. *x = GetUnreadCountRequest{}
  328. if protoimpl.UnsafeEnabled {
  329. mi := &file_message_proto_msgTypes[5]
  330. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  331. ms.StoreMessageInfo(mi)
  332. }
  333. }
  334. func (x *GetUnreadCountRequest) String() string {
  335. return protoimpl.X.MessageStringOf(x)
  336. }
  337. func (*GetUnreadCountRequest) ProtoMessage() {}
  338. func (x *GetUnreadCountRequest) ProtoReflect() protoreflect.Message {
  339. mi := &file_message_proto_msgTypes[5]
  340. if protoimpl.UnsafeEnabled && x != nil {
  341. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  342. if ms.LoadMessageInfo() == nil {
  343. ms.StoreMessageInfo(mi)
  344. }
  345. return ms
  346. }
  347. return mi.MessageOf(x)
  348. }
  349. // Deprecated: Use GetUnreadCountRequest.ProtoReflect.Descriptor instead.
  350. func (*GetUnreadCountRequest) Descriptor() ([]byte, []int) {
  351. return file_message_proto_rawDescGZIP(), []int{5}
  352. }
  353. func (x *GetUnreadCountRequest) GetUserId() string {
  354. if x != nil {
  355. return x.UserId
  356. }
  357. return ""
  358. }
  359. func (x *GetUnreadCountRequest) GetAppid() string {
  360. if x != nil {
  361. return x.Appid
  362. }
  363. return ""
  364. }
  365. type Response struct {
  366. state protoimpl.MessageState
  367. sizeCache protoimpl.SizeCache
  368. unknownFields protoimpl.UnknownFields
  369. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  370. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  371. }
  372. func (x *Response) Reset() {
  373. *x = Response{}
  374. if protoimpl.UnsafeEnabled {
  375. mi := &file_message_proto_msgTypes[6]
  376. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  377. ms.StoreMessageInfo(mi)
  378. }
  379. }
  380. func (x *Response) String() string {
  381. return protoimpl.X.MessageStringOf(x)
  382. }
  383. func (*Response) ProtoMessage() {}
  384. func (x *Response) ProtoReflect() protoreflect.Message {
  385. mi := &file_message_proto_msgTypes[6]
  386. if protoimpl.UnsafeEnabled && x != nil {
  387. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  388. if ms.LoadMessageInfo() == nil {
  389. ms.StoreMessageInfo(mi)
  390. }
  391. return ms
  392. }
  393. return mi.MessageOf(x)
  394. }
  395. // Deprecated: Use Response.ProtoReflect.Descriptor instead.
  396. func (*Response) Descriptor() ([]byte, []int) {
  397. return file_message_proto_rawDescGZIP(), []int{6}
  398. }
  399. func (x *Response) GetCode() int64 {
  400. if x != nil {
  401. return x.Code
  402. }
  403. return 0
  404. }
  405. func (x *Response) GetMessage() string {
  406. if x != nil {
  407. return x.Message
  408. }
  409. return ""
  410. }
  411. type GetUnreadCountResponse struct {
  412. state protoimpl.MessageState
  413. sizeCache protoimpl.SizeCache
  414. unknownFields protoimpl.UnknownFields
  415. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  416. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  417. Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` //
  418. }
  419. func (x *GetUnreadCountResponse) Reset() {
  420. *x = GetUnreadCountResponse{}
  421. if protoimpl.UnsafeEnabled {
  422. mi := &file_message_proto_msgTypes[7]
  423. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  424. ms.StoreMessageInfo(mi)
  425. }
  426. }
  427. func (x *GetUnreadCountResponse) String() string {
  428. return protoimpl.X.MessageStringOf(x)
  429. }
  430. func (*GetUnreadCountResponse) ProtoMessage() {}
  431. func (x *GetUnreadCountResponse) ProtoReflect() protoreflect.Message {
  432. mi := &file_message_proto_msgTypes[7]
  433. if protoimpl.UnsafeEnabled && x != nil {
  434. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  435. if ms.LoadMessageInfo() == nil {
  436. ms.StoreMessageInfo(mi)
  437. }
  438. return ms
  439. }
  440. return mi.MessageOf(x)
  441. }
  442. // Deprecated: Use GetUnreadCountResponse.ProtoReflect.Descriptor instead.
  443. func (*GetUnreadCountResponse) Descriptor() ([]byte, []int) {
  444. return file_message_proto_rawDescGZIP(), []int{7}
  445. }
  446. func (x *GetUnreadCountResponse) GetCode() int64 {
  447. if x != nil {
  448. return x.Code
  449. }
  450. return 0
  451. }
  452. func (x *GetUnreadCountResponse) GetMessage() string {
  453. if x != nil {
  454. return x.Message
  455. }
  456. return ""
  457. }
  458. func (x *GetUnreadCountResponse) GetCount() int64 {
  459. if x != nil {
  460. return x.Count
  461. }
  462. return 0
  463. }
  464. type FindUserMsgReq struct {
  465. state protoimpl.MessageState
  466. sizeCache protoimpl.SizeCache
  467. unknownFields protoimpl.UnknownFields
  468. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` //用户id
  469. ReceiveUserId string `protobuf:"bytes,2,opt,name=receiveUserId,proto3" json:"receiveUserId,omitempty"` //聊天方用户id
  470. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  471. OffSet int64 `protobuf:"varint,4,opt,name=offSet,proto3" json:"offSet,omitempty"` //当前
  472. PageSize int64 `protobuf:"varint,5,opt,name=pageSize,proto3" json:"pageSize,omitempty"` //大小
  473. MsgType int64 `protobuf:"varint,6,opt,name=msgType,proto3" json:"msgType,omitempty"` //是否区分类型
  474. Read int64 `protobuf:"varint,7,opt,name=read,proto3" json:"read,omitempty"` // 是否区分已读未读 -1 不区分已读未读 0 未读 1 已读
  475. }
  476. func (x *FindUserMsgReq) Reset() {
  477. *x = FindUserMsgReq{}
  478. if protoimpl.UnsafeEnabled {
  479. mi := &file_message_proto_msgTypes[8]
  480. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  481. ms.StoreMessageInfo(mi)
  482. }
  483. }
  484. func (x *FindUserMsgReq) String() string {
  485. return protoimpl.X.MessageStringOf(x)
  486. }
  487. func (*FindUserMsgReq) ProtoMessage() {}
  488. func (x *FindUserMsgReq) ProtoReflect() protoreflect.Message {
  489. mi := &file_message_proto_msgTypes[8]
  490. if protoimpl.UnsafeEnabled && x != nil {
  491. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  492. if ms.LoadMessageInfo() == nil {
  493. ms.StoreMessageInfo(mi)
  494. }
  495. return ms
  496. }
  497. return mi.MessageOf(x)
  498. }
  499. // Deprecated: Use FindUserMsgReq.ProtoReflect.Descriptor instead.
  500. func (*FindUserMsgReq) Descriptor() ([]byte, []int) {
  501. return file_message_proto_rawDescGZIP(), []int{8}
  502. }
  503. func (x *FindUserMsgReq) GetUserId() string {
  504. if x != nil {
  505. return x.UserId
  506. }
  507. return ""
  508. }
  509. func (x *FindUserMsgReq) GetReceiveUserId() string {
  510. if x != nil {
  511. return x.ReceiveUserId
  512. }
  513. return ""
  514. }
  515. func (x *FindUserMsgReq) GetAppid() string {
  516. if x != nil {
  517. return x.Appid
  518. }
  519. return ""
  520. }
  521. func (x *FindUserMsgReq) GetOffSet() int64 {
  522. if x != nil {
  523. return x.OffSet
  524. }
  525. return 0
  526. }
  527. func (x *FindUserMsgReq) GetPageSize() int64 {
  528. if x != nil {
  529. return x.PageSize
  530. }
  531. return 0
  532. }
  533. func (x *FindUserMsgReq) GetMsgType() int64 {
  534. if x != nil {
  535. return x.MsgType
  536. }
  537. return 0
  538. }
  539. func (x *FindUserMsgReq) GetRead() int64 {
  540. if x != nil {
  541. return x.Read
  542. }
  543. return 0
  544. }
  545. type Messages struct {
  546. state protoimpl.MessageState
  547. sizeCache protoimpl.SizeCache
  548. unknownFields protoimpl.UnknownFields
  549. ReceiveUserId string `protobuf:"bytes,1,opt,name=receiveUserId,proto3" json:"receiveUserId,omitempty"` //接收方用户ID
  550. ReceiveName string `protobuf:"bytes,2,opt,name=receiveName,proto3" json:"receiveName,omitempty"` //接收方用户名
  551. SendUserId string `protobuf:"bytes,3,opt,name=sendUserId,proto3" json:"sendUserId,omitempty"` //发送方用户ID
  552. SendName string `protobuf:"bytes,4,opt,name=sendName,proto3" json:"sendName,omitempty"` //发送方用户名
  553. Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` //主题
  554. Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` //内容
  555. MsgType int64 `protobuf:"varint,7,opt,name=msgType,proto3" json:"msgType,omitempty"` //消息类型 1:客服 2:系统通知 3:营销 4:用户会话
  556. Link string `protobuf:"bytes,8,opt,name=link,proto3" json:"link,omitempty"` //跳转链接
  557. CiteId int64 `protobuf:"varint,9,opt,name=citeId,proto3" json:"citeId,omitempty"` //引用id
  558. IsRead int64 `protobuf:"varint,10,opt,name=isRead,proto3" json:"isRead,omitempty"` //已读未读 0:未读 1:已读
  559. Createtime string `protobuf:"bytes,11,opt,name=createtime,proto3" json:"createtime,omitempty"`
  560. Appid string `protobuf:"bytes,12,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  561. Id string `protobuf:"bytes,13,opt,name=id,proto3" json:"id,omitempty"` //消息id
  562. MsgLogId int64 `protobuf:"varint,14,opt,name=msgLogId,proto3" json:"msgLogId,omitempty"`
  563. }
  564. func (x *Messages) Reset() {
  565. *x = Messages{}
  566. if protoimpl.UnsafeEnabled {
  567. mi := &file_message_proto_msgTypes[9]
  568. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  569. ms.StoreMessageInfo(mi)
  570. }
  571. }
  572. func (x *Messages) String() string {
  573. return protoimpl.X.MessageStringOf(x)
  574. }
  575. func (*Messages) ProtoMessage() {}
  576. func (x *Messages) ProtoReflect() protoreflect.Message {
  577. mi := &file_message_proto_msgTypes[9]
  578. if protoimpl.UnsafeEnabled && x != nil {
  579. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  580. if ms.LoadMessageInfo() == nil {
  581. ms.StoreMessageInfo(mi)
  582. }
  583. return ms
  584. }
  585. return mi.MessageOf(x)
  586. }
  587. // Deprecated: Use Messages.ProtoReflect.Descriptor instead.
  588. func (*Messages) Descriptor() ([]byte, []int) {
  589. return file_message_proto_rawDescGZIP(), []int{9}
  590. }
  591. func (x *Messages) GetReceiveUserId() string {
  592. if x != nil {
  593. return x.ReceiveUserId
  594. }
  595. return ""
  596. }
  597. func (x *Messages) GetReceiveName() string {
  598. if x != nil {
  599. return x.ReceiveName
  600. }
  601. return ""
  602. }
  603. func (x *Messages) GetSendUserId() string {
  604. if x != nil {
  605. return x.SendUserId
  606. }
  607. return ""
  608. }
  609. func (x *Messages) GetSendName() string {
  610. if x != nil {
  611. return x.SendName
  612. }
  613. return ""
  614. }
  615. func (x *Messages) GetTitle() string {
  616. if x != nil {
  617. return x.Title
  618. }
  619. return ""
  620. }
  621. func (x *Messages) GetContent() string {
  622. if x != nil {
  623. return x.Content
  624. }
  625. return ""
  626. }
  627. func (x *Messages) GetMsgType() int64 {
  628. if x != nil {
  629. return x.MsgType
  630. }
  631. return 0
  632. }
  633. func (x *Messages) GetLink() string {
  634. if x != nil {
  635. return x.Link
  636. }
  637. return ""
  638. }
  639. func (x *Messages) GetCiteId() int64 {
  640. if x != nil {
  641. return x.CiteId
  642. }
  643. return 0
  644. }
  645. func (x *Messages) GetIsRead() int64 {
  646. if x != nil {
  647. return x.IsRead
  648. }
  649. return 0
  650. }
  651. func (x *Messages) GetCreatetime() string {
  652. if x != nil {
  653. return x.Createtime
  654. }
  655. return ""
  656. }
  657. func (x *Messages) GetAppid() string {
  658. if x != nil {
  659. return x.Appid
  660. }
  661. return ""
  662. }
  663. func (x *Messages) GetId() string {
  664. if x != nil {
  665. return x.Id
  666. }
  667. return ""
  668. }
  669. func (x *Messages) GetMsgLogId() int64 {
  670. if x != nil {
  671. return x.MsgLogId
  672. }
  673. return 0
  674. }
  675. type FindUserMsgRes struct {
  676. state protoimpl.MessageState
  677. sizeCache protoimpl.SizeCache
  678. unknownFields protoimpl.UnknownFields
  679. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  680. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  681. Data []*Messages `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` //
  682. Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` //总数
  683. }
  684. func (x *FindUserMsgRes) Reset() {
  685. *x = FindUserMsgRes{}
  686. if protoimpl.UnsafeEnabled {
  687. mi := &file_message_proto_msgTypes[10]
  688. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  689. ms.StoreMessageInfo(mi)
  690. }
  691. }
  692. func (x *FindUserMsgRes) String() string {
  693. return protoimpl.X.MessageStringOf(x)
  694. }
  695. func (*FindUserMsgRes) ProtoMessage() {}
  696. func (x *FindUserMsgRes) ProtoReflect() protoreflect.Message {
  697. mi := &file_message_proto_msgTypes[10]
  698. if protoimpl.UnsafeEnabled && x != nil {
  699. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  700. if ms.LoadMessageInfo() == nil {
  701. ms.StoreMessageInfo(mi)
  702. }
  703. return ms
  704. }
  705. return mi.MessageOf(x)
  706. }
  707. // Deprecated: Use FindUserMsgRes.ProtoReflect.Descriptor instead.
  708. func (*FindUserMsgRes) Descriptor() ([]byte, []int) {
  709. return file_message_proto_rawDescGZIP(), []int{10}
  710. }
  711. func (x *FindUserMsgRes) GetCode() int64 {
  712. if x != nil {
  713. return x.Code
  714. }
  715. return 0
  716. }
  717. func (x *FindUserMsgRes) GetMessage() string {
  718. if x != nil {
  719. return x.Message
  720. }
  721. return ""
  722. }
  723. func (x *FindUserMsgRes) GetData() []*Messages {
  724. if x != nil {
  725. return x.Data
  726. }
  727. return nil
  728. }
  729. func (x *FindUserMsgRes) GetCount() int64 {
  730. if x != nil {
  731. return x.Count
  732. }
  733. return 0
  734. }
  735. type GetClassUnreadCountReq struct {
  736. state protoimpl.MessageState
  737. sizeCache protoimpl.SizeCache
  738. unknownFields protoimpl.UnknownFields
  739. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
  740. MsgType int64 `protobuf:"varint,2,opt,name=msgType,proto3" json:"msgType,omitempty"` //分类 1:客服 2:系统通知 3:营销 4:用户会话
  741. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  742. }
  743. func (x *GetClassUnreadCountReq) Reset() {
  744. *x = GetClassUnreadCountReq{}
  745. if protoimpl.UnsafeEnabled {
  746. mi := &file_message_proto_msgTypes[11]
  747. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  748. ms.StoreMessageInfo(mi)
  749. }
  750. }
  751. func (x *GetClassUnreadCountReq) String() string {
  752. return protoimpl.X.MessageStringOf(x)
  753. }
  754. func (*GetClassUnreadCountReq) ProtoMessage() {}
  755. func (x *GetClassUnreadCountReq) ProtoReflect() protoreflect.Message {
  756. mi := &file_message_proto_msgTypes[11]
  757. if protoimpl.UnsafeEnabled && x != nil {
  758. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  759. if ms.LoadMessageInfo() == nil {
  760. ms.StoreMessageInfo(mi)
  761. }
  762. return ms
  763. }
  764. return mi.MessageOf(x)
  765. }
  766. // Deprecated: Use GetClassUnreadCountReq.ProtoReflect.Descriptor instead.
  767. func (*GetClassUnreadCountReq) Descriptor() ([]byte, []int) {
  768. return file_message_proto_rawDescGZIP(), []int{11}
  769. }
  770. func (x *GetClassUnreadCountReq) GetUserId() string {
  771. if x != nil {
  772. return x.UserId
  773. }
  774. return ""
  775. }
  776. func (x *GetClassUnreadCountReq) GetMsgType() int64 {
  777. if x != nil {
  778. return x.MsgType
  779. }
  780. return 0
  781. }
  782. func (x *GetClassUnreadCountReq) GetAppid() string {
  783. if x != nil {
  784. return x.Appid
  785. }
  786. return ""
  787. }
  788. //查看消息内容
  789. type MessageDetailReq struct {
  790. state protoimpl.MessageState
  791. sizeCache protoimpl.SizeCache
  792. unknownFields protoimpl.UnknownFields
  793. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //消息id
  794. }
  795. func (x *MessageDetailReq) Reset() {
  796. *x = MessageDetailReq{}
  797. if protoimpl.UnsafeEnabled {
  798. mi := &file_message_proto_msgTypes[12]
  799. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  800. ms.StoreMessageInfo(mi)
  801. }
  802. }
  803. func (x *MessageDetailReq) String() string {
  804. return protoimpl.X.MessageStringOf(x)
  805. }
  806. func (*MessageDetailReq) ProtoMessage() {}
  807. func (x *MessageDetailReq) ProtoReflect() protoreflect.Message {
  808. mi := &file_message_proto_msgTypes[12]
  809. if protoimpl.UnsafeEnabled && x != nil {
  810. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  811. if ms.LoadMessageInfo() == nil {
  812. ms.StoreMessageInfo(mi)
  813. }
  814. return ms
  815. }
  816. return mi.MessageOf(x)
  817. }
  818. // Deprecated: Use MessageDetailReq.ProtoReflect.Descriptor instead.
  819. func (*MessageDetailReq) Descriptor() ([]byte, []int) {
  820. return file_message_proto_rawDescGZIP(), []int{12}
  821. }
  822. func (x *MessageDetailReq) GetId() string {
  823. if x != nil {
  824. return x.Id
  825. }
  826. return ""
  827. }
  828. type MessageDetailResp struct {
  829. state protoimpl.MessageState
  830. sizeCache protoimpl.SizeCache
  831. unknownFields protoimpl.UnknownFields
  832. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  833. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  834. Data *Messages `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` //
  835. }
  836. func (x *MessageDetailResp) Reset() {
  837. *x = MessageDetailResp{}
  838. if protoimpl.UnsafeEnabled {
  839. mi := &file_message_proto_msgTypes[13]
  840. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  841. ms.StoreMessageInfo(mi)
  842. }
  843. }
  844. func (x *MessageDetailResp) String() string {
  845. return protoimpl.X.MessageStringOf(x)
  846. }
  847. func (*MessageDetailResp) ProtoMessage() {}
  848. func (x *MessageDetailResp) ProtoReflect() protoreflect.Message {
  849. mi := &file_message_proto_msgTypes[13]
  850. if protoimpl.UnsafeEnabled && x != nil {
  851. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  852. if ms.LoadMessageInfo() == nil {
  853. ms.StoreMessageInfo(mi)
  854. }
  855. return ms
  856. }
  857. return mi.MessageOf(x)
  858. }
  859. // Deprecated: Use MessageDetailResp.ProtoReflect.Descriptor instead.
  860. func (*MessageDetailResp) Descriptor() ([]byte, []int) {
  861. return file_message_proto_rawDescGZIP(), []int{13}
  862. }
  863. func (x *MessageDetailResp) GetCode() int64 {
  864. if x != nil {
  865. return x.Code
  866. }
  867. return 0
  868. }
  869. func (x *MessageDetailResp) GetMessage() string {
  870. if x != nil {
  871. return x.Message
  872. }
  873. return ""
  874. }
  875. func (x *MessageDetailResp) GetData() *Messages {
  876. if x != nil {
  877. return x.Data
  878. }
  879. return nil
  880. }
  881. type GetLastMessageReq struct {
  882. state protoimpl.MessageState
  883. sizeCache protoimpl.SizeCache
  884. unknownFields protoimpl.UnknownFields
  885. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
  886. MsgType int64 `protobuf:"varint,2,opt,name=msgType,proto3" json:"msgType,omitempty"` //分类 1:客服 2:系统通知 3:营销 4:用户会话
  887. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  888. IsRead int64 `protobuf:"varint,4,opt,name=isRead,proto3" json:"isRead,omitempty"` // 0:未读 1:已读 -1 不区分
  889. }
  890. func (x *GetLastMessageReq) Reset() {
  891. *x = GetLastMessageReq{}
  892. if protoimpl.UnsafeEnabled {
  893. mi := &file_message_proto_msgTypes[14]
  894. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  895. ms.StoreMessageInfo(mi)
  896. }
  897. }
  898. func (x *GetLastMessageReq) String() string {
  899. return protoimpl.X.MessageStringOf(x)
  900. }
  901. func (*GetLastMessageReq) ProtoMessage() {}
  902. func (x *GetLastMessageReq) ProtoReflect() protoreflect.Message {
  903. mi := &file_message_proto_msgTypes[14]
  904. if protoimpl.UnsafeEnabled && x != nil {
  905. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  906. if ms.LoadMessageInfo() == nil {
  907. ms.StoreMessageInfo(mi)
  908. }
  909. return ms
  910. }
  911. return mi.MessageOf(x)
  912. }
  913. // Deprecated: Use GetLastMessageReq.ProtoReflect.Descriptor instead.
  914. func (*GetLastMessageReq) Descriptor() ([]byte, []int) {
  915. return file_message_proto_rawDescGZIP(), []int{14}
  916. }
  917. func (x *GetLastMessageReq) GetUserId() string {
  918. if x != nil {
  919. return x.UserId
  920. }
  921. return ""
  922. }
  923. func (x *GetLastMessageReq) GetMsgType() int64 {
  924. if x != nil {
  925. return x.MsgType
  926. }
  927. return 0
  928. }
  929. func (x *GetLastMessageReq) GetAppid() string {
  930. if x != nil {
  931. return x.Appid
  932. }
  933. return ""
  934. }
  935. func (x *GetLastMessageReq) GetIsRead() int64 {
  936. if x != nil {
  937. return x.IsRead
  938. }
  939. return 0
  940. }
  941. type GetLastMessageRes struct {
  942. state protoimpl.MessageState
  943. sizeCache protoimpl.SizeCache
  944. unknownFields protoimpl.UnknownFields
  945. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  946. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  947. Data *Messages `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` //
  948. }
  949. func (x *GetLastMessageRes) Reset() {
  950. *x = GetLastMessageRes{}
  951. if protoimpl.UnsafeEnabled {
  952. mi := &file_message_proto_msgTypes[15]
  953. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  954. ms.StoreMessageInfo(mi)
  955. }
  956. }
  957. func (x *GetLastMessageRes) String() string {
  958. return protoimpl.X.MessageStringOf(x)
  959. }
  960. func (*GetLastMessageRes) ProtoMessage() {}
  961. func (x *GetLastMessageRes) ProtoReflect() protoreflect.Message {
  962. mi := &file_message_proto_msgTypes[15]
  963. if protoimpl.UnsafeEnabled && x != nil {
  964. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  965. if ms.LoadMessageInfo() == nil {
  966. ms.StoreMessageInfo(mi)
  967. }
  968. return ms
  969. }
  970. return mi.MessageOf(x)
  971. }
  972. // Deprecated: Use GetLastMessageRes.ProtoReflect.Descriptor instead.
  973. func (*GetLastMessageRes) Descriptor() ([]byte, []int) {
  974. return file_message_proto_rawDescGZIP(), []int{15}
  975. }
  976. func (x *GetLastMessageRes) GetCode() int64 {
  977. if x != nil {
  978. return x.Code
  979. }
  980. return 0
  981. }
  982. func (x *GetLastMessageRes) GetMessage() string {
  983. if x != nil {
  984. return x.Message
  985. }
  986. return ""
  987. }
  988. func (x *GetLastMessageRes) GetData() *Messages {
  989. if x != nil {
  990. return x.Data
  991. }
  992. return nil
  993. }
  994. // 获取用户分类的的未读消息分类及数量 及分类下最新的消息
  995. type GetUnreadClassCountReq struct {
  996. state protoimpl.MessageState
  997. sizeCache protoimpl.SizeCache
  998. unknownFields protoimpl.UnknownFields
  999. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
  1000. Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  1001. NeedMsg bool `protobuf:"varint,3,opt,name=needMsg,proto3" json:"needMsg,omitempty"` //是否需要分类下的最新一条消息
  1002. }
  1003. func (x *GetUnreadClassCountReq) Reset() {
  1004. *x = GetUnreadClassCountReq{}
  1005. if protoimpl.UnsafeEnabled {
  1006. mi := &file_message_proto_msgTypes[16]
  1007. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1008. ms.StoreMessageInfo(mi)
  1009. }
  1010. }
  1011. func (x *GetUnreadClassCountReq) String() string {
  1012. return protoimpl.X.MessageStringOf(x)
  1013. }
  1014. func (*GetUnreadClassCountReq) ProtoMessage() {}
  1015. func (x *GetUnreadClassCountReq) ProtoReflect() protoreflect.Message {
  1016. mi := &file_message_proto_msgTypes[16]
  1017. if protoimpl.UnsafeEnabled && x != nil {
  1018. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1019. if ms.LoadMessageInfo() == nil {
  1020. ms.StoreMessageInfo(mi)
  1021. }
  1022. return ms
  1023. }
  1024. return mi.MessageOf(x)
  1025. }
  1026. // Deprecated: Use GetUnreadClassCountReq.ProtoReflect.Descriptor instead.
  1027. func (*GetUnreadClassCountReq) Descriptor() ([]byte, []int) {
  1028. return file_message_proto_rawDescGZIP(), []int{16}
  1029. }
  1030. func (x *GetUnreadClassCountReq) GetUserId() string {
  1031. if x != nil {
  1032. return x.UserId
  1033. }
  1034. return ""
  1035. }
  1036. func (x *GetUnreadClassCountReq) GetAppid() string {
  1037. if x != nil {
  1038. return x.Appid
  1039. }
  1040. return ""
  1041. }
  1042. func (x *GetUnreadClassCountReq) GetNeedMsg() bool {
  1043. if x != nil {
  1044. return x.NeedMsg
  1045. }
  1046. return false
  1047. }
  1048. type GetUnreadClassCountRes struct {
  1049. state protoimpl.MessageState
  1050. sizeCache protoimpl.SizeCache
  1051. unknownFields protoimpl.UnknownFields
  1052. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  1053. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  1054. Data []*ResCount `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` //
  1055. Info []*Messages `protobuf:"bytes,4,rep,name=info,proto3" json:"info,omitempty"` // 每个类型最新消息列表
  1056. }
  1057. func (x *GetUnreadClassCountRes) Reset() {
  1058. *x = GetUnreadClassCountRes{}
  1059. if protoimpl.UnsafeEnabled {
  1060. mi := &file_message_proto_msgTypes[17]
  1061. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1062. ms.StoreMessageInfo(mi)
  1063. }
  1064. }
  1065. func (x *GetUnreadClassCountRes) String() string {
  1066. return protoimpl.X.MessageStringOf(x)
  1067. }
  1068. func (*GetUnreadClassCountRes) ProtoMessage() {}
  1069. func (x *GetUnreadClassCountRes) ProtoReflect() protoreflect.Message {
  1070. mi := &file_message_proto_msgTypes[17]
  1071. if protoimpl.UnsafeEnabled && x != nil {
  1072. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1073. if ms.LoadMessageInfo() == nil {
  1074. ms.StoreMessageInfo(mi)
  1075. }
  1076. return ms
  1077. }
  1078. return mi.MessageOf(x)
  1079. }
  1080. // Deprecated: Use GetUnreadClassCountRes.ProtoReflect.Descriptor instead.
  1081. func (*GetUnreadClassCountRes) Descriptor() ([]byte, []int) {
  1082. return file_message_proto_rawDescGZIP(), []int{17}
  1083. }
  1084. func (x *GetUnreadClassCountRes) GetCode() int64 {
  1085. if x != nil {
  1086. return x.Code
  1087. }
  1088. return 0
  1089. }
  1090. func (x *GetUnreadClassCountRes) GetMessage() string {
  1091. if x != nil {
  1092. return x.Message
  1093. }
  1094. return ""
  1095. }
  1096. func (x *GetUnreadClassCountRes) GetData() []*ResCount {
  1097. if x != nil {
  1098. return x.Data
  1099. }
  1100. return nil
  1101. }
  1102. func (x *GetUnreadClassCountRes) GetInfo() []*Messages {
  1103. if x != nil {
  1104. return x.Info
  1105. }
  1106. return nil
  1107. }
  1108. type GetMsgTypeReq struct {
  1109. state protoimpl.MessageState
  1110. sizeCache protoimpl.SizeCache
  1111. unknownFields protoimpl.UnknownFields
  1112. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
  1113. Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  1114. }
  1115. func (x *GetMsgTypeReq) Reset() {
  1116. *x = GetMsgTypeReq{}
  1117. if protoimpl.UnsafeEnabled {
  1118. mi := &file_message_proto_msgTypes[18]
  1119. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1120. ms.StoreMessageInfo(mi)
  1121. }
  1122. }
  1123. func (x *GetMsgTypeReq) String() string {
  1124. return protoimpl.X.MessageStringOf(x)
  1125. }
  1126. func (*GetMsgTypeReq) ProtoMessage() {}
  1127. func (x *GetMsgTypeReq) ProtoReflect() protoreflect.Message {
  1128. mi := &file_message_proto_msgTypes[18]
  1129. if protoimpl.UnsafeEnabled && x != nil {
  1130. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1131. if ms.LoadMessageInfo() == nil {
  1132. ms.StoreMessageInfo(mi)
  1133. }
  1134. return ms
  1135. }
  1136. return mi.MessageOf(x)
  1137. }
  1138. // Deprecated: Use GetMsgTypeReq.ProtoReflect.Descriptor instead.
  1139. func (*GetMsgTypeReq) Descriptor() ([]byte, []int) {
  1140. return file_message_proto_rawDescGZIP(), []int{18}
  1141. }
  1142. func (x *GetMsgTypeReq) GetUserId() string {
  1143. if x != nil {
  1144. return x.UserId
  1145. }
  1146. return ""
  1147. }
  1148. func (x *GetMsgTypeReq) GetAppid() string {
  1149. if x != nil {
  1150. return x.Appid
  1151. }
  1152. return ""
  1153. }
  1154. type GetMsgTypeRes struct {
  1155. state protoimpl.MessageState
  1156. sizeCache protoimpl.SizeCache
  1157. unknownFields protoimpl.UnknownFields
  1158. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  1159. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  1160. Data []int64 `protobuf:"varint,3,rep,packed,name=data,proto3" json:"data,omitempty"` //
  1161. }
  1162. func (x *GetMsgTypeRes) Reset() {
  1163. *x = GetMsgTypeRes{}
  1164. if protoimpl.UnsafeEnabled {
  1165. mi := &file_message_proto_msgTypes[19]
  1166. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1167. ms.StoreMessageInfo(mi)
  1168. }
  1169. }
  1170. func (x *GetMsgTypeRes) String() string {
  1171. return protoimpl.X.MessageStringOf(x)
  1172. }
  1173. func (*GetMsgTypeRes) ProtoMessage() {}
  1174. func (x *GetMsgTypeRes) ProtoReflect() protoreflect.Message {
  1175. mi := &file_message_proto_msgTypes[19]
  1176. if protoimpl.UnsafeEnabled && x != nil {
  1177. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1178. if ms.LoadMessageInfo() == nil {
  1179. ms.StoreMessageInfo(mi)
  1180. }
  1181. return ms
  1182. }
  1183. return mi.MessageOf(x)
  1184. }
  1185. // Deprecated: Use GetMsgTypeRes.ProtoReflect.Descriptor instead.
  1186. func (*GetMsgTypeRes) Descriptor() ([]byte, []int) {
  1187. return file_message_proto_rawDescGZIP(), []int{19}
  1188. }
  1189. func (x *GetMsgTypeRes) GetCode() int64 {
  1190. if x != nil {
  1191. return x.Code
  1192. }
  1193. return 0
  1194. }
  1195. func (x *GetMsgTypeRes) GetMessage() string {
  1196. if x != nil {
  1197. return x.Message
  1198. }
  1199. return ""
  1200. }
  1201. func (x *GetMsgTypeRes) GetData() []int64 {
  1202. if x != nil {
  1203. return x.Data
  1204. }
  1205. return nil
  1206. }
  1207. //更新分类下消息状态 已读、未读
  1208. type UpdateMessageReadReq struct {
  1209. state protoimpl.MessageState
  1210. sizeCache protoimpl.SizeCache
  1211. unknownFields protoimpl.UnknownFields
  1212. MsgType int64 `protobuf:"varint,1,opt,name=msgType,proto3" json:"msgType,omitempty"`
  1213. ReceiveUserid string `protobuf:"bytes,2,opt,name=receiveUserid,proto3" json:"receiveUserid,omitempty"`
  1214. AppId string `protobuf:"bytes,3,opt,name=appId,proto3" json:"appId,omitempty"`
  1215. }
  1216. func (x *UpdateMessageReadReq) Reset() {
  1217. *x = UpdateMessageReadReq{}
  1218. if protoimpl.UnsafeEnabled {
  1219. mi := &file_message_proto_msgTypes[20]
  1220. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1221. ms.StoreMessageInfo(mi)
  1222. }
  1223. }
  1224. func (x *UpdateMessageReadReq) String() string {
  1225. return protoimpl.X.MessageStringOf(x)
  1226. }
  1227. func (*UpdateMessageReadReq) ProtoMessage() {}
  1228. func (x *UpdateMessageReadReq) ProtoReflect() protoreflect.Message {
  1229. mi := &file_message_proto_msgTypes[20]
  1230. if protoimpl.UnsafeEnabled && x != nil {
  1231. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1232. if ms.LoadMessageInfo() == nil {
  1233. ms.StoreMessageInfo(mi)
  1234. }
  1235. return ms
  1236. }
  1237. return mi.MessageOf(x)
  1238. }
  1239. // Deprecated: Use UpdateMessageReadReq.ProtoReflect.Descriptor instead.
  1240. func (*UpdateMessageReadReq) Descriptor() ([]byte, []int) {
  1241. return file_message_proto_rawDescGZIP(), []int{20}
  1242. }
  1243. func (x *UpdateMessageReadReq) GetMsgType() int64 {
  1244. if x != nil {
  1245. return x.MsgType
  1246. }
  1247. return 0
  1248. }
  1249. func (x *UpdateMessageReadReq) GetReceiveUserid() string {
  1250. if x != nil {
  1251. return x.ReceiveUserid
  1252. }
  1253. return ""
  1254. }
  1255. func (x *UpdateMessageReadReq) GetAppId() string {
  1256. if x != nil {
  1257. return x.AppId
  1258. }
  1259. return ""
  1260. }
  1261. type UpdateMessageReadResp struct {
  1262. state protoimpl.MessageState
  1263. sizeCache protoimpl.SizeCache
  1264. unknownFields protoimpl.UnknownFields
  1265. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  1266. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  1267. Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
  1268. }
  1269. func (x *UpdateMessageReadResp) Reset() {
  1270. *x = UpdateMessageReadResp{}
  1271. if protoimpl.UnsafeEnabled {
  1272. mi := &file_message_proto_msgTypes[21]
  1273. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1274. ms.StoreMessageInfo(mi)
  1275. }
  1276. }
  1277. func (x *UpdateMessageReadResp) String() string {
  1278. return protoimpl.X.MessageStringOf(x)
  1279. }
  1280. func (*UpdateMessageReadResp) ProtoMessage() {}
  1281. func (x *UpdateMessageReadResp) ProtoReflect() protoreflect.Message {
  1282. mi := &file_message_proto_msgTypes[21]
  1283. if protoimpl.UnsafeEnabled && x != nil {
  1284. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1285. if ms.LoadMessageInfo() == nil {
  1286. ms.StoreMessageInfo(mi)
  1287. }
  1288. return ms
  1289. }
  1290. return mi.MessageOf(x)
  1291. }
  1292. // Deprecated: Use UpdateMessageReadResp.ProtoReflect.Descriptor instead.
  1293. func (*UpdateMessageReadResp) Descriptor() ([]byte, []int) {
  1294. return file_message_proto_rawDescGZIP(), []int{21}
  1295. }
  1296. func (x *UpdateMessageReadResp) GetCode() int64 {
  1297. if x != nil {
  1298. return x.Code
  1299. }
  1300. return 0
  1301. }
  1302. func (x *UpdateMessageReadResp) GetMessage() string {
  1303. if x != nil {
  1304. return x.Message
  1305. }
  1306. return ""
  1307. }
  1308. func (x *UpdateMessageReadResp) GetStatus() int64 {
  1309. if x != nil {
  1310. return x.Status
  1311. }
  1312. return 0
  1313. }
  1314. type User struct {
  1315. state protoimpl.MessageState
  1316. sizeCache protoimpl.SizeCache
  1317. unknownFields protoimpl.UnknownFields
  1318. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
  1319. UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
  1320. }
  1321. func (x *User) Reset() {
  1322. *x = User{}
  1323. if protoimpl.UnsafeEnabled {
  1324. mi := &file_message_proto_msgTypes[22]
  1325. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1326. ms.StoreMessageInfo(mi)
  1327. }
  1328. }
  1329. func (x *User) String() string {
  1330. return protoimpl.X.MessageStringOf(x)
  1331. }
  1332. func (*User) ProtoMessage() {}
  1333. func (x *User) ProtoReflect() protoreflect.Message {
  1334. mi := &file_message_proto_msgTypes[22]
  1335. if protoimpl.UnsafeEnabled && x != nil {
  1336. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1337. if ms.LoadMessageInfo() == nil {
  1338. ms.StoreMessageInfo(mi)
  1339. }
  1340. return ms
  1341. }
  1342. return mi.MessageOf(x)
  1343. }
  1344. // Deprecated: Use User.ProtoReflect.Descriptor instead.
  1345. func (*User) Descriptor() ([]byte, []int) {
  1346. return file_message_proto_rawDescGZIP(), []int{22}
  1347. }
  1348. func (x *User) GetUserId() string {
  1349. if x != nil {
  1350. return x.UserId
  1351. }
  1352. return ""
  1353. }
  1354. func (x *User) GetUserName() string {
  1355. if x != nil {
  1356. return x.UserName
  1357. }
  1358. return ""
  1359. }
  1360. type MultipleSaveMsgReq struct {
  1361. state protoimpl.MessageState
  1362. sizeCache protoimpl.SizeCache
  1363. unknownFields protoimpl.UnknownFields
  1364. UserIds string `protobuf:"bytes,1,opt,name=userIds,proto3" json:"userIds,omitempty"`
  1365. UserNames string `protobuf:"bytes,2,opt,name=userNames,proto3" json:"userNames,omitempty"`
  1366. SendUserId string `protobuf:"bytes,3,opt,name=sendUserId,proto3" json:"sendUserId,omitempty"` //发送方用户ID
  1367. SendName string `protobuf:"bytes,4,opt,name=sendName,proto3" json:"sendName,omitempty"` //发送方用户名
  1368. Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` //主题
  1369. Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` //内容
  1370. MsgType int64 `protobuf:"varint,7,opt,name=msgType,proto3" json:"msgType,omitempty"` //消息类型 1:客服 2:系统通知 3:营销 4:用户会话
  1371. Link string `protobuf:"bytes,8,opt,name=link,proto3" json:"link,omitempty"` //跳转链接
  1372. CiteId int64 `protobuf:"varint,9,opt,name=citeId,proto3" json:"citeId,omitempty"` //引用id
  1373. Appid string `protobuf:"bytes,10,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  1374. MsgLogId int64 `protobuf:"varint,11,opt,name=msgLogId,proto3" json:"msgLogId,omitempty"` //消息记录表id
  1375. ShowBuoy int64 `protobuf:"varint,12,opt,name=showBuoy,proto3" json:"showBuoy,omitempty"` //是否展示为浮标
  1376. ShowContent string `protobuf:"bytes,13,opt,name=showContent,proto3" json:"showContent,omitempty"` //展示文案
  1377. }
  1378. func (x *MultipleSaveMsgReq) Reset() {
  1379. *x = MultipleSaveMsgReq{}
  1380. if protoimpl.UnsafeEnabled {
  1381. mi := &file_message_proto_msgTypes[23]
  1382. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1383. ms.StoreMessageInfo(mi)
  1384. }
  1385. }
  1386. func (x *MultipleSaveMsgReq) String() string {
  1387. return protoimpl.X.MessageStringOf(x)
  1388. }
  1389. func (*MultipleSaveMsgReq) ProtoMessage() {}
  1390. func (x *MultipleSaveMsgReq) ProtoReflect() protoreflect.Message {
  1391. mi := &file_message_proto_msgTypes[23]
  1392. if protoimpl.UnsafeEnabled && x != nil {
  1393. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1394. if ms.LoadMessageInfo() == nil {
  1395. ms.StoreMessageInfo(mi)
  1396. }
  1397. return ms
  1398. }
  1399. return mi.MessageOf(x)
  1400. }
  1401. // Deprecated: Use MultipleSaveMsgReq.ProtoReflect.Descriptor instead.
  1402. func (*MultipleSaveMsgReq) Descriptor() ([]byte, []int) {
  1403. return file_message_proto_rawDescGZIP(), []int{23}
  1404. }
  1405. func (x *MultipleSaveMsgReq) GetUserIds() string {
  1406. if x != nil {
  1407. return x.UserIds
  1408. }
  1409. return ""
  1410. }
  1411. func (x *MultipleSaveMsgReq) GetUserNames() string {
  1412. if x != nil {
  1413. return x.UserNames
  1414. }
  1415. return ""
  1416. }
  1417. func (x *MultipleSaveMsgReq) GetSendUserId() string {
  1418. if x != nil {
  1419. return x.SendUserId
  1420. }
  1421. return ""
  1422. }
  1423. func (x *MultipleSaveMsgReq) GetSendName() string {
  1424. if x != nil {
  1425. return x.SendName
  1426. }
  1427. return ""
  1428. }
  1429. func (x *MultipleSaveMsgReq) GetTitle() string {
  1430. if x != nil {
  1431. return x.Title
  1432. }
  1433. return ""
  1434. }
  1435. func (x *MultipleSaveMsgReq) GetContent() string {
  1436. if x != nil {
  1437. return x.Content
  1438. }
  1439. return ""
  1440. }
  1441. func (x *MultipleSaveMsgReq) GetMsgType() int64 {
  1442. if x != nil {
  1443. return x.MsgType
  1444. }
  1445. return 0
  1446. }
  1447. func (x *MultipleSaveMsgReq) GetLink() string {
  1448. if x != nil {
  1449. return x.Link
  1450. }
  1451. return ""
  1452. }
  1453. func (x *MultipleSaveMsgReq) GetCiteId() int64 {
  1454. if x != nil {
  1455. return x.CiteId
  1456. }
  1457. return 0
  1458. }
  1459. func (x *MultipleSaveMsgReq) GetAppid() string {
  1460. if x != nil {
  1461. return x.Appid
  1462. }
  1463. return ""
  1464. }
  1465. func (x *MultipleSaveMsgReq) GetMsgLogId() int64 {
  1466. if x != nil {
  1467. return x.MsgLogId
  1468. }
  1469. return 0
  1470. }
  1471. func (x *MultipleSaveMsgReq) GetShowBuoy() int64 {
  1472. if x != nil {
  1473. return x.ShowBuoy
  1474. }
  1475. return 0
  1476. }
  1477. func (x *MultipleSaveMsgReq) GetShowContent() string {
  1478. if x != nil {
  1479. return x.ShowContent
  1480. }
  1481. return ""
  1482. }
  1483. type MultipleSaveMsgResp struct {
  1484. state protoimpl.MessageState
  1485. sizeCache protoimpl.SizeCache
  1486. unknownFields protoimpl.UnknownFields
  1487. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  1488. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  1489. ErrCount int64 `protobuf:"varint,3,opt,name=errCount,proto3" json:"errCount,omitempty"` // 保存出错数量
  1490. }
  1491. func (x *MultipleSaveMsgResp) Reset() {
  1492. *x = MultipleSaveMsgResp{}
  1493. if protoimpl.UnsafeEnabled {
  1494. mi := &file_message_proto_msgTypes[24]
  1495. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1496. ms.StoreMessageInfo(mi)
  1497. }
  1498. }
  1499. func (x *MultipleSaveMsgResp) String() string {
  1500. return protoimpl.X.MessageStringOf(x)
  1501. }
  1502. func (*MultipleSaveMsgResp) ProtoMessage() {}
  1503. func (x *MultipleSaveMsgResp) ProtoReflect() protoreflect.Message {
  1504. mi := &file_message_proto_msgTypes[24]
  1505. if protoimpl.UnsafeEnabled && x != nil {
  1506. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1507. if ms.LoadMessageInfo() == nil {
  1508. ms.StoreMessageInfo(mi)
  1509. }
  1510. return ms
  1511. }
  1512. return mi.MessageOf(x)
  1513. }
  1514. // Deprecated: Use MultipleSaveMsgResp.ProtoReflect.Descriptor instead.
  1515. func (*MultipleSaveMsgResp) Descriptor() ([]byte, []int) {
  1516. return file_message_proto_rawDescGZIP(), []int{24}
  1517. }
  1518. func (x *MultipleSaveMsgResp) GetCode() int64 {
  1519. if x != nil {
  1520. return x.Code
  1521. }
  1522. return 0
  1523. }
  1524. func (x *MultipleSaveMsgResp) GetMessage() string {
  1525. if x != nil {
  1526. return x.Message
  1527. }
  1528. return ""
  1529. }
  1530. func (x *MultipleSaveMsgResp) GetErrCount() int64 {
  1531. if x != nil {
  1532. return x.ErrCount
  1533. }
  1534. return 0
  1535. }
  1536. var File_message_proto protoreflect.FileDescriptor
  1537. var file_message_proto_rawDesc = []byte{
  1538. 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  1539. 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xa0, 0x02, 0x0a, 0x0e, 0x53, 0x65, 0x6e,
  1540. 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x72,
  1541. 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  1542. 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49,
  1543. 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65,
  1544. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e,
  1545. 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49,
  1546. 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65,
  1547. 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18,
  1548. 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  1549. 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1550. 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
  1551. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
  1552. 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03,
  1553. 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e,
  1554. 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a,
  1555. 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63,
  1556. 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x0a,
  1557. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x17, 0x43,
  1558. 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
  1559. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1560. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x61, 0x64, 0x53, 0x74,
  1561. 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x61, 0x64,
  1562. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
  1563. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x3a, 0x0a, 0x08,
  1564. 0x52, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54,
  1565. 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79,
  1566. 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
  1567. 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x42, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65,
  1568. 0x74, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
  1569. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1570. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
  1571. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x1c,
  1572. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65,
  1573. 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
  1574. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05,
  1575. 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70,
  1576. 0x69, 0x64, 0x22, 0x45, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43,
  1577. 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75,
  1578. 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65,
  1579. 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
  1580. 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x38, 0x0a, 0x08, 0x52, 0x65, 0x73,
  1581. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
  1582. 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73,
  1583. 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73,
  1584. 0x61, 0x67, 0x65, 0x22, 0x5c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64,
  1585. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
  1586. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64,
  1587. 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
  1588. 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63,
  1589. 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e,
  1590. 0x74, 0x22, 0xc6, 0x01, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73,
  1591. 0x67, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01,
  1592. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d,
  1593. 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20,
  1594. 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72,
  1595. 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
  1596. 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x53,
  1597. 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x53, 0x65, 0x74,
  1598. 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01,
  1599. 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07,
  1600. 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d,
  1601. 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x61, 0x64, 0x18, 0x07,
  1602. 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x72, 0x65, 0x61, 0x64, 0x22, 0xfe, 0x02, 0x0a, 0x08, 0x4d,
  1603. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69,
  1604. 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
  1605. 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a,
  1606. 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  1607. 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  1608. 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20,
  1609. 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
  1610. 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
  1611. 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74,
  1612. 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c,
  1613. 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01,
  1614. 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d,
  1615. 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73,
  1616. 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x08, 0x20,
  1617. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x69, 0x74,
  1618. 0x65, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x69, 0x74, 0x65, 0x49,
  1619. 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28,
  1620. 0x03, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65,
  1621. 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63,
  1622. 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
  1623. 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12,
  1624. 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
  1625. 0x1a, 0x0a, 0x08, 0x6d, 0x73, 0x67, 0x4c, 0x6f, 0x67, 0x49, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28,
  1626. 0x03, 0x52, 0x08, 0x6d, 0x73, 0x67, 0x4c, 0x6f, 0x67, 0x49, 0x64, 0x22, 0x7b, 0x0a, 0x0e, 0x46,
  1627. 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a,
  1628. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64,
  1629. 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
  1630. 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x64,
  1631. 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1632. 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x04, 0x64, 0x61,
  1633. 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
  1634. 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x60, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43,
  1635. 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52,
  1636. 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  1637. 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73,
  1638. 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67,
  1639. 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20,
  1640. 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x22, 0x0a, 0x10, 0x4d, 0x65,
  1641. 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x0e,
  1642. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x68,
  1643. 0x0a, 0x11, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52,
  1644. 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1645. 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1646. 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1647. 0x65, 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1648. 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1649. 0x65, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x73, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4c,
  1650. 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a,
  1651. 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75,
  1652. 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65,
  1653. 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12,
  1654. 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1655. 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18,
  1656. 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x22, 0x68, 0x0a,
  1657. 0x11, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
  1658. 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  1659. 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1660. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1661. 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11,
  1662. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1663. 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x60, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x55, 0x6e,
  1664. 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65,
  1665. 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1666. 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
  1667. 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12,
  1668. 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x65, 0x64, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
  1669. 0x52, 0x07, 0x6e, 0x65, 0x65, 0x64, 0x4d, 0x73, 0x67, 0x22, 0x94, 0x01, 0x0a, 0x16, 0x47, 0x65,
  1670. 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e,
  1671. 0x74, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
  1672. 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73,
  1673. 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1674. 0x67, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
  1675. 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x43, 0x6f,
  1676. 0x75, 0x6e, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x04, 0x69, 0x6e, 0x66,
  1677. 0x6f, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1678. 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f,
  1679. 0x22, 0x3d, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65,
  1680. 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1681. 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
  1682. 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22,
  1683. 0x51, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73,
  1684. 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
  1685. 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,
  1686. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12,
  1687. 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x04, 0x64, 0x61,
  1688. 0x74, 0x61, 0x22, 0x6c, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73,
  1689. 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73,
  1690. 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67,
  1691. 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55,
  1692. 0x73, 0x65, 0x72, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63,
  1693. 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70,
  1694. 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64,
  1695. 0x22, 0x5d, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1696. 0x65, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
  1697. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a,
  1698. 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  1699. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
  1700. 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22,
  1701. 0x3a, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
  1702. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
  1703. 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  1704. 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xee, 0x02, 0x0a, 0x12,
  1705. 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x73, 0x67, 0x52,
  1706. 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20,
  1707. 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09,
  1708. 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  1709. 0x09, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65,
  1710. 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  1711. 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65,
  1712. 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65,
  1713. 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18,
  1714. 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07,
  1715. 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63,
  1716. 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70,
  1717. 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65,
  1718. 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  1719. 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x09,
  1720. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05,
  1721. 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70,
  1722. 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x73, 0x67, 0x4c, 0x6f, 0x67, 0x49, 0x64, 0x18, 0x0b,
  1723. 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x73, 0x67, 0x4c, 0x6f, 0x67, 0x49, 0x64, 0x12, 0x1a,
  1724. 0x0a, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x42, 0x75, 0x6f, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03,
  1725. 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x42, 0x75, 0x6f, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x68,
  1726. 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52,
  1727. 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x5f, 0x0a, 0x13,
  1728. 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x73, 0x67, 0x52,
  1729. 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1730. 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1731. 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1732. 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20,
  1733. 0x01, 0x28, 0x03, 0x52, 0x08, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xeb, 0x07,
  1734. 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x4c, 0x0a, 0x0f, 0x6d, 0x75, 0x6c,
  1735. 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x1b, 0x2e, 0x6d,
  1736. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53,
  1737. 0x61, 0x76, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1738. 0x61, 0x67, 0x65, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65,
  1739. 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x47, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67,
  1740. 0x65, 0x52, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x65,
  1741. 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64,
  1742. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e,
  1743. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1744. 0x12, 0x39, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12,
  1745. 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73,
  1746. 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1747. 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x13, 0x44,
  1748. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
  1749. 0x67, 0x65, 0x12, 0x23, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x6c,
  1750. 0x65, 0x74, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1751. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1752. 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x15, 0x44, 0x65,
  1753. 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73,
  1754. 0x61, 0x67, 0x65, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65,
  1755. 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73,
  1756. 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73,
  1757. 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a,
  1758. 0x0e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  1759. 0x1e, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72,
  1760. 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  1761. 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72,
  1762. 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1763. 0x12, 0x3f, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12,
  1764. 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73,
  1765. 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1766. 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65,
  1767. 0x73, 0x12, 0x57, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72,
  1768. 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1769. 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65, 0x61,
  1770. 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1771. 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75,
  1772. 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0e, 0x47, 0x65,
  1773. 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x2e, 0x6d,
  1774. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65,
  1775. 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1776. 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1777. 0x65, 0x52, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73,
  1778. 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1779. 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69,
  1780. 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d,
  1781. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70,
  1782. 0x12, 0x57, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61,
  1783. 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1784. 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73,
  1785. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1786. 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73,
  1787. 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x47, 0x65, 0x74,
  1788. 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1789. 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x1a,
  1790. 0x16, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67,
  1791. 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74,
  1792. 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1d, 0x2e, 0x6d,
  1793. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73,
  1794. 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x6d, 0x65,
  1795. 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73,
  1796. 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x6d,
  1797. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1798. }
  1799. var (
  1800. file_message_proto_rawDescOnce sync.Once
  1801. file_message_proto_rawDescData = file_message_proto_rawDesc
  1802. )
  1803. func file_message_proto_rawDescGZIP() []byte {
  1804. file_message_proto_rawDescOnce.Do(func() {
  1805. file_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_message_proto_rawDescData)
  1806. })
  1807. return file_message_proto_rawDescData
  1808. }
  1809. var file_message_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
  1810. var file_message_proto_goTypes = []interface{}{
  1811. (*SendMsgRequest)(nil), // 0: message.SendMsgRequest
  1812. (*ChangeReadStatusRequest)(nil), // 1: message.ChangeReadStatusRequest
  1813. (*ResCount)(nil), // 2: message.ResCount
  1814. (*DeleteSingleMessageRequest)(nil), // 3: message.DeleteSingleMessageRequest
  1815. (*DeleteMultipleMessageRequest)(nil), // 4: message.DeleteMultipleMessageRequest
  1816. (*GetUnreadCountRequest)(nil), // 5: message.GetUnreadCountRequest
  1817. (*Response)(nil), // 6: message.Response
  1818. (*GetUnreadCountResponse)(nil), // 7: message.GetUnreadCountResponse
  1819. (*FindUserMsgReq)(nil), // 8: message.FindUserMsgReq
  1820. (*Messages)(nil), // 9: message.Messages
  1821. (*FindUserMsgRes)(nil), // 10: message.FindUserMsgRes
  1822. (*GetClassUnreadCountReq)(nil), // 11: message.GetClassUnreadCountReq
  1823. (*MessageDetailReq)(nil), // 12: message.MessageDetailReq
  1824. (*MessageDetailResp)(nil), // 13: message.MessageDetailResp
  1825. (*GetLastMessageReq)(nil), // 14: message.GetLastMessageReq
  1826. (*GetLastMessageRes)(nil), // 15: message.GetLastMessageRes
  1827. (*GetUnreadClassCountReq)(nil), // 16: message.GetUnreadClassCountReq
  1828. (*GetUnreadClassCountRes)(nil), // 17: message.GetUnreadClassCountRes
  1829. (*GetMsgTypeReq)(nil), // 18: message.GetMsgTypeReq
  1830. (*GetMsgTypeRes)(nil), // 19: message.GetMsgTypeRes
  1831. (*UpdateMessageReadReq)(nil), // 20: message.UpdateMessageReadReq
  1832. (*UpdateMessageReadResp)(nil), // 21: message.UpdateMessageReadResp
  1833. (*User)(nil), // 22: message.user
  1834. (*MultipleSaveMsgReq)(nil), // 23: message.multipleSaveMsgReq
  1835. (*MultipleSaveMsgResp)(nil), // 24: message.multipleSaveMsgResp
  1836. }
  1837. var file_message_proto_depIdxs = []int32{
  1838. 9, // 0: message.FindUserMsgRes.data:type_name -> message.Messages
  1839. 9, // 1: message.MessageDetailResp.data:type_name -> message.Messages
  1840. 9, // 2: message.GetLastMessageRes.data:type_name -> message.Messages
  1841. 2, // 3: message.GetUnreadClassCountRes.data:type_name -> message.ResCount
  1842. 9, // 4: message.GetUnreadClassCountRes.info:type_name -> message.Messages
  1843. 23, // 5: message.Message.multipleSaveMsg:input_type -> message.multipleSaveMsgReq
  1844. 1, // 6: message.Message.ChangeReadStatus:input_type -> message.ChangeReadStatusRequest
  1845. 0, // 7: message.Message.SendUserMsg:input_type -> message.SendMsgRequest
  1846. 3, // 8: message.Message.DeleteSingleMessage:input_type -> message.DeleteSingleMessageRequest
  1847. 4, // 9: message.Message.DeleteMultipleMessage:input_type -> message.DeleteMultipleMessageRequest
  1848. 5, // 10: message.Message.GetUnreadCount:input_type -> message.GetUnreadCountRequest
  1849. 8, // 11: message.Message.FindUserMsg:input_type -> message.FindUserMsgReq
  1850. 11, // 12: message.Message.GetClassUnreadCount:input_type -> message.GetClassUnreadCountReq
  1851. 14, // 13: message.Message.GetLastMessage:input_type -> message.GetLastMessageReq
  1852. 12, // 14: message.Message.FindMessageDetail:input_type -> message.MessageDetailReq
  1853. 16, // 15: message.Message.GetUnreadClassCount:input_type -> message.GetUnreadClassCountReq
  1854. 18, // 16: message.Message.GetMsgType:input_type -> message.GetMsgTypeReq
  1855. 20, // 17: message.Message.UpdateMessageRead:input_type -> message.UpdateMessageReadReq
  1856. 24, // 18: message.Message.multipleSaveMsg:output_type -> message.multipleSaveMsgResp
  1857. 6, // 19: message.Message.ChangeReadStatus:output_type -> message.Response
  1858. 6, // 20: message.Message.SendUserMsg:output_type -> message.Response
  1859. 6, // 21: message.Message.DeleteSingleMessage:output_type -> message.Response
  1860. 6, // 22: message.Message.DeleteMultipleMessage:output_type -> message.Response
  1861. 7, // 23: message.Message.GetUnreadCount:output_type -> message.GetUnreadCountResponse
  1862. 10, // 24: message.Message.FindUserMsg:output_type -> message.FindUserMsgRes
  1863. 7, // 25: message.Message.GetClassUnreadCount:output_type -> message.GetUnreadCountResponse
  1864. 15, // 26: message.Message.GetLastMessage:output_type -> message.GetLastMessageRes
  1865. 13, // 27: message.Message.FindMessageDetail:output_type -> message.MessageDetailResp
  1866. 17, // 28: message.Message.GetUnreadClassCount:output_type -> message.GetUnreadClassCountRes
  1867. 19, // 29: message.Message.GetMsgType:output_type -> message.GetMsgTypeRes
  1868. 21, // 30: message.Message.UpdateMessageRead:output_type -> message.UpdateMessageReadResp
  1869. 18, // [18:31] is the sub-list for method output_type
  1870. 5, // [5:18] is the sub-list for method input_type
  1871. 5, // [5:5] is the sub-list for extension type_name
  1872. 5, // [5:5] is the sub-list for extension extendee
  1873. 0, // [0:5] is the sub-list for field type_name
  1874. }
  1875. func init() { file_message_proto_init() }
  1876. func file_message_proto_init() {
  1877. if File_message_proto != nil {
  1878. return
  1879. }
  1880. if !protoimpl.UnsafeEnabled {
  1881. file_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1882. switch v := v.(*SendMsgRequest); i {
  1883. case 0:
  1884. return &v.state
  1885. case 1:
  1886. return &v.sizeCache
  1887. case 2:
  1888. return &v.unknownFields
  1889. default:
  1890. return nil
  1891. }
  1892. }
  1893. file_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1894. switch v := v.(*ChangeReadStatusRequest); i {
  1895. case 0:
  1896. return &v.state
  1897. case 1:
  1898. return &v.sizeCache
  1899. case 2:
  1900. return &v.unknownFields
  1901. default:
  1902. return nil
  1903. }
  1904. }
  1905. file_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1906. switch v := v.(*ResCount); i {
  1907. case 0:
  1908. return &v.state
  1909. case 1:
  1910. return &v.sizeCache
  1911. case 2:
  1912. return &v.unknownFields
  1913. default:
  1914. return nil
  1915. }
  1916. }
  1917. file_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1918. switch v := v.(*DeleteSingleMessageRequest); i {
  1919. case 0:
  1920. return &v.state
  1921. case 1:
  1922. return &v.sizeCache
  1923. case 2:
  1924. return &v.unknownFields
  1925. default:
  1926. return nil
  1927. }
  1928. }
  1929. file_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1930. switch v := v.(*DeleteMultipleMessageRequest); i {
  1931. case 0:
  1932. return &v.state
  1933. case 1:
  1934. return &v.sizeCache
  1935. case 2:
  1936. return &v.unknownFields
  1937. default:
  1938. return nil
  1939. }
  1940. }
  1941. file_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1942. switch v := v.(*GetUnreadCountRequest); i {
  1943. case 0:
  1944. return &v.state
  1945. case 1:
  1946. return &v.sizeCache
  1947. case 2:
  1948. return &v.unknownFields
  1949. default:
  1950. return nil
  1951. }
  1952. }
  1953. file_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1954. switch v := v.(*Response); i {
  1955. case 0:
  1956. return &v.state
  1957. case 1:
  1958. return &v.sizeCache
  1959. case 2:
  1960. return &v.unknownFields
  1961. default:
  1962. return nil
  1963. }
  1964. }
  1965. file_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1966. switch v := v.(*GetUnreadCountResponse); i {
  1967. case 0:
  1968. return &v.state
  1969. case 1:
  1970. return &v.sizeCache
  1971. case 2:
  1972. return &v.unknownFields
  1973. default:
  1974. return nil
  1975. }
  1976. }
  1977. file_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1978. switch v := v.(*FindUserMsgReq); i {
  1979. case 0:
  1980. return &v.state
  1981. case 1:
  1982. return &v.sizeCache
  1983. case 2:
  1984. return &v.unknownFields
  1985. default:
  1986. return nil
  1987. }
  1988. }
  1989. file_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1990. switch v := v.(*Messages); i {
  1991. case 0:
  1992. return &v.state
  1993. case 1:
  1994. return &v.sizeCache
  1995. case 2:
  1996. return &v.unknownFields
  1997. default:
  1998. return nil
  1999. }
  2000. }
  2001. file_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2002. switch v := v.(*FindUserMsgRes); i {
  2003. case 0:
  2004. return &v.state
  2005. case 1:
  2006. return &v.sizeCache
  2007. case 2:
  2008. return &v.unknownFields
  2009. default:
  2010. return nil
  2011. }
  2012. }
  2013. file_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2014. switch v := v.(*GetClassUnreadCountReq); i {
  2015. case 0:
  2016. return &v.state
  2017. case 1:
  2018. return &v.sizeCache
  2019. case 2:
  2020. return &v.unknownFields
  2021. default:
  2022. return nil
  2023. }
  2024. }
  2025. file_message_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2026. switch v := v.(*MessageDetailReq); i {
  2027. case 0:
  2028. return &v.state
  2029. case 1:
  2030. return &v.sizeCache
  2031. case 2:
  2032. return &v.unknownFields
  2033. default:
  2034. return nil
  2035. }
  2036. }
  2037. file_message_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2038. switch v := v.(*MessageDetailResp); i {
  2039. case 0:
  2040. return &v.state
  2041. case 1:
  2042. return &v.sizeCache
  2043. case 2:
  2044. return &v.unknownFields
  2045. default:
  2046. return nil
  2047. }
  2048. }
  2049. file_message_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2050. switch v := v.(*GetLastMessageReq); i {
  2051. case 0:
  2052. return &v.state
  2053. case 1:
  2054. return &v.sizeCache
  2055. case 2:
  2056. return &v.unknownFields
  2057. default:
  2058. return nil
  2059. }
  2060. }
  2061. file_message_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2062. switch v := v.(*GetLastMessageRes); i {
  2063. case 0:
  2064. return &v.state
  2065. case 1:
  2066. return &v.sizeCache
  2067. case 2:
  2068. return &v.unknownFields
  2069. default:
  2070. return nil
  2071. }
  2072. }
  2073. file_message_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2074. switch v := v.(*GetUnreadClassCountReq); i {
  2075. case 0:
  2076. return &v.state
  2077. case 1:
  2078. return &v.sizeCache
  2079. case 2:
  2080. return &v.unknownFields
  2081. default:
  2082. return nil
  2083. }
  2084. }
  2085. file_message_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2086. switch v := v.(*GetUnreadClassCountRes); i {
  2087. case 0:
  2088. return &v.state
  2089. case 1:
  2090. return &v.sizeCache
  2091. case 2:
  2092. return &v.unknownFields
  2093. default:
  2094. return nil
  2095. }
  2096. }
  2097. file_message_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2098. switch v := v.(*GetMsgTypeReq); i {
  2099. case 0:
  2100. return &v.state
  2101. case 1:
  2102. return &v.sizeCache
  2103. case 2:
  2104. return &v.unknownFields
  2105. default:
  2106. return nil
  2107. }
  2108. }
  2109. file_message_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2110. switch v := v.(*GetMsgTypeRes); i {
  2111. case 0:
  2112. return &v.state
  2113. case 1:
  2114. return &v.sizeCache
  2115. case 2:
  2116. return &v.unknownFields
  2117. default:
  2118. return nil
  2119. }
  2120. }
  2121. file_message_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2122. switch v := v.(*UpdateMessageReadReq); i {
  2123. case 0:
  2124. return &v.state
  2125. case 1:
  2126. return &v.sizeCache
  2127. case 2:
  2128. return &v.unknownFields
  2129. default:
  2130. return nil
  2131. }
  2132. }
  2133. file_message_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2134. switch v := v.(*UpdateMessageReadResp); i {
  2135. case 0:
  2136. return &v.state
  2137. case 1:
  2138. return &v.sizeCache
  2139. case 2:
  2140. return &v.unknownFields
  2141. default:
  2142. return nil
  2143. }
  2144. }
  2145. file_message_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2146. switch v := v.(*User); i {
  2147. case 0:
  2148. return &v.state
  2149. case 1:
  2150. return &v.sizeCache
  2151. case 2:
  2152. return &v.unknownFields
  2153. default:
  2154. return nil
  2155. }
  2156. }
  2157. file_message_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2158. switch v := v.(*MultipleSaveMsgReq); i {
  2159. case 0:
  2160. return &v.state
  2161. case 1:
  2162. return &v.sizeCache
  2163. case 2:
  2164. return &v.unknownFields
  2165. default:
  2166. return nil
  2167. }
  2168. }
  2169. file_message_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2170. switch v := v.(*MultipleSaveMsgResp); i {
  2171. case 0:
  2172. return &v.state
  2173. case 1:
  2174. return &v.sizeCache
  2175. case 2:
  2176. return &v.unknownFields
  2177. default:
  2178. return nil
  2179. }
  2180. }
  2181. }
  2182. type x struct{}
  2183. out := protoimpl.TypeBuilder{
  2184. File: protoimpl.DescBuilder{
  2185. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2186. RawDescriptor: file_message_proto_rawDesc,
  2187. NumEnums: 0,
  2188. NumMessages: 25,
  2189. NumExtensions: 0,
  2190. NumServices: 1,
  2191. },
  2192. GoTypes: file_message_proto_goTypes,
  2193. DependencyIndexes: file_message_proto_depIdxs,
  2194. MessageInfos: file_message_proto_msgTypes,
  2195. }.Build()
  2196. File_message_proto = out.File
  2197. file_message_proto_rawDesc = nil
  2198. file_message_proto_goTypes = nil
  2199. file_message_proto_depIdxs = nil
  2200. }
  2201. // Reference imports to suppress errors if they are not otherwise used.
  2202. var _ context.Context
  2203. var _ grpc.ClientConnInterface
  2204. // This is a compile-time assertion to ensure that this generated file
  2205. // is compatible with the grpc package it is being compiled against.
  2206. const _ = grpc.SupportPackageIsVersion6
  2207. // MessageClient is the client API for Message service.
  2208. //
  2209. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  2210. type MessageClient interface {
  2211. //批量保存消息
  2212. MultipleSaveMsg(ctx context.Context, in *MultipleSaveMsgReq, opts ...grpc.CallOption) (*MultipleSaveMsgResp, error)
  2213. // 修改消息阅读状态
  2214. ChangeReadStatus(ctx context.Context, in *ChangeReadStatusRequest, opts ...grpc.CallOption) (*Response, error)
  2215. //指定用户发消息
  2216. SendUserMsg(ctx context.Context, in *SendMsgRequest, opts ...grpc.CallOption) (*Response, error)
  2217. // 删除单一消息
  2218. DeleteSingleMessage(ctx context.Context, in *DeleteSingleMessageRequest, opts ...grpc.CallOption) (*Response, error)
  2219. // 删除多条消息
  2220. DeleteMultipleMessage(ctx context.Context, in *DeleteMultipleMessageRequest, opts ...grpc.CallOption) (*Response, error)
  2221. // 查询指定用户未读消息合计
  2222. GetUnreadCount(ctx context.Context, in *GetUnreadCountRequest, opts ...grpc.CallOption) (*GetUnreadCountResponse, error)
  2223. // 查询指定用户的历史消息记录
  2224. FindUserMsg(ctx context.Context, in *FindUserMsgReq, opts ...grpc.CallOption) (*FindUserMsgRes, error)
  2225. // 查询指定用户指定分类的未读消息合计
  2226. GetClassUnreadCount(ctx context.Context, in *GetClassUnreadCountReq, opts ...grpc.CallOption) (*GetUnreadCountResponse, error)
  2227. // 获取指定用户指定分类的最新一条消息
  2228. GetLastMessage(ctx context.Context, in *GetLastMessageReq, opts ...grpc.CallOption) (*GetLastMessageRes, error)
  2229. //查看详细详情
  2230. FindMessageDetail(ctx context.Context, in *MessageDetailReq, opts ...grpc.CallOption) (*MessageDetailResp, error)
  2231. // 获取指定用户的分类及未读消息数量
  2232. GetUnreadClassCount(ctx context.Context, in *GetUnreadClassCountReq, opts ...grpc.CallOption) (*GetUnreadClassCountRes, error)
  2233. // 获取指定用户收到消息的分类
  2234. GetMsgType(ctx context.Context, in *GetMsgTypeReq, opts ...grpc.CallOption) (*GetMsgTypeRes, error)
  2235. //修改用户指定分类下的消息已读未读
  2236. UpdateMessageRead(ctx context.Context, in *UpdateMessageReadReq, opts ...grpc.CallOption) (*UpdateMessageReadResp, error)
  2237. }
  2238. type messageClient struct {
  2239. cc grpc.ClientConnInterface
  2240. }
  2241. func NewMessageClient(cc grpc.ClientConnInterface) MessageClient {
  2242. return &messageClient{cc}
  2243. }
  2244. func (c *messageClient) MultipleSaveMsg(ctx context.Context, in *MultipleSaveMsgReq, opts ...grpc.CallOption) (*MultipleSaveMsgResp, error) {
  2245. out := new(MultipleSaveMsgResp)
  2246. err := c.cc.Invoke(ctx, "/message.Message/multipleSaveMsg", in, out, opts...)
  2247. if err != nil {
  2248. return nil, err
  2249. }
  2250. return out, nil
  2251. }
  2252. func (c *messageClient) ChangeReadStatus(ctx context.Context, in *ChangeReadStatusRequest, opts ...grpc.CallOption) (*Response, error) {
  2253. out := new(Response)
  2254. err := c.cc.Invoke(ctx, "/message.Message/ChangeReadStatus", in, out, opts...)
  2255. if err != nil {
  2256. return nil, err
  2257. }
  2258. return out, nil
  2259. }
  2260. func (c *messageClient) SendUserMsg(ctx context.Context, in *SendMsgRequest, opts ...grpc.CallOption) (*Response, error) {
  2261. out := new(Response)
  2262. err := c.cc.Invoke(ctx, "/message.Message/SendUserMsg", in, out, opts...)
  2263. if err != nil {
  2264. return nil, err
  2265. }
  2266. return out, nil
  2267. }
  2268. func (c *messageClient) DeleteSingleMessage(ctx context.Context, in *DeleteSingleMessageRequest, opts ...grpc.CallOption) (*Response, error) {
  2269. out := new(Response)
  2270. err := c.cc.Invoke(ctx, "/message.Message/DeleteSingleMessage", in, out, opts...)
  2271. if err != nil {
  2272. return nil, err
  2273. }
  2274. return out, nil
  2275. }
  2276. func (c *messageClient) DeleteMultipleMessage(ctx context.Context, in *DeleteMultipleMessageRequest, opts ...grpc.CallOption) (*Response, error) {
  2277. out := new(Response)
  2278. err := c.cc.Invoke(ctx, "/message.Message/DeleteMultipleMessage", in, out, opts...)
  2279. if err != nil {
  2280. return nil, err
  2281. }
  2282. return out, nil
  2283. }
  2284. func (c *messageClient) GetUnreadCount(ctx context.Context, in *GetUnreadCountRequest, opts ...grpc.CallOption) (*GetUnreadCountResponse, error) {
  2285. out := new(GetUnreadCountResponse)
  2286. err := c.cc.Invoke(ctx, "/message.Message/GetUnreadCount", in, out, opts...)
  2287. if err != nil {
  2288. return nil, err
  2289. }
  2290. return out, nil
  2291. }
  2292. func (c *messageClient) FindUserMsg(ctx context.Context, in *FindUserMsgReq, opts ...grpc.CallOption) (*FindUserMsgRes, error) {
  2293. out := new(FindUserMsgRes)
  2294. err := c.cc.Invoke(ctx, "/message.Message/FindUserMsg", in, out, opts...)
  2295. if err != nil {
  2296. return nil, err
  2297. }
  2298. return out, nil
  2299. }
  2300. func (c *messageClient) GetClassUnreadCount(ctx context.Context, in *GetClassUnreadCountReq, opts ...grpc.CallOption) (*GetUnreadCountResponse, error) {
  2301. out := new(GetUnreadCountResponse)
  2302. err := c.cc.Invoke(ctx, "/message.Message/GetClassUnreadCount", in, out, opts...)
  2303. if err != nil {
  2304. return nil, err
  2305. }
  2306. return out, nil
  2307. }
  2308. func (c *messageClient) GetLastMessage(ctx context.Context, in *GetLastMessageReq, opts ...grpc.CallOption) (*GetLastMessageRes, error) {
  2309. out := new(GetLastMessageRes)
  2310. err := c.cc.Invoke(ctx, "/message.Message/GetLastMessage", in, out, opts...)
  2311. if err != nil {
  2312. return nil, err
  2313. }
  2314. return out, nil
  2315. }
  2316. func (c *messageClient) FindMessageDetail(ctx context.Context, in *MessageDetailReq, opts ...grpc.CallOption) (*MessageDetailResp, error) {
  2317. out := new(MessageDetailResp)
  2318. err := c.cc.Invoke(ctx, "/message.Message/FindMessageDetail", in, out, opts...)
  2319. if err != nil {
  2320. return nil, err
  2321. }
  2322. return out, nil
  2323. }
  2324. func (c *messageClient) GetUnreadClassCount(ctx context.Context, in *GetUnreadClassCountReq, opts ...grpc.CallOption) (*GetUnreadClassCountRes, error) {
  2325. out := new(GetUnreadClassCountRes)
  2326. err := c.cc.Invoke(ctx, "/message.Message/GetUnreadClassCount", in, out, opts...)
  2327. if err != nil {
  2328. return nil, err
  2329. }
  2330. return out, nil
  2331. }
  2332. func (c *messageClient) GetMsgType(ctx context.Context, in *GetMsgTypeReq, opts ...grpc.CallOption) (*GetMsgTypeRes, error) {
  2333. out := new(GetMsgTypeRes)
  2334. err := c.cc.Invoke(ctx, "/message.Message/GetMsgType", in, out, opts...)
  2335. if err != nil {
  2336. return nil, err
  2337. }
  2338. return out, nil
  2339. }
  2340. func (c *messageClient) UpdateMessageRead(ctx context.Context, in *UpdateMessageReadReq, opts ...grpc.CallOption) (*UpdateMessageReadResp, error) {
  2341. out := new(UpdateMessageReadResp)
  2342. err := c.cc.Invoke(ctx, "/message.Message/UpdateMessageRead", in, out, opts...)
  2343. if err != nil {
  2344. return nil, err
  2345. }
  2346. return out, nil
  2347. }
  2348. // MessageServer is the server API for Message service.
  2349. type MessageServer interface {
  2350. //批量保存消息
  2351. MultipleSaveMsg(context.Context, *MultipleSaveMsgReq) (*MultipleSaveMsgResp, error)
  2352. // 修改消息阅读状态
  2353. ChangeReadStatus(context.Context, *ChangeReadStatusRequest) (*Response, error)
  2354. //指定用户发消息
  2355. SendUserMsg(context.Context, *SendMsgRequest) (*Response, error)
  2356. // 删除单一消息
  2357. DeleteSingleMessage(context.Context, *DeleteSingleMessageRequest) (*Response, error)
  2358. // 删除多条消息
  2359. DeleteMultipleMessage(context.Context, *DeleteMultipleMessageRequest) (*Response, error)
  2360. // 查询指定用户未读消息合计
  2361. GetUnreadCount(context.Context, *GetUnreadCountRequest) (*GetUnreadCountResponse, error)
  2362. // 查询指定用户的历史消息记录
  2363. FindUserMsg(context.Context, *FindUserMsgReq) (*FindUserMsgRes, error)
  2364. // 查询指定用户指定分类的未读消息合计
  2365. GetClassUnreadCount(context.Context, *GetClassUnreadCountReq) (*GetUnreadCountResponse, error)
  2366. // 获取指定用户指定分类的最新一条消息
  2367. GetLastMessage(context.Context, *GetLastMessageReq) (*GetLastMessageRes, error)
  2368. //查看详细详情
  2369. FindMessageDetail(context.Context, *MessageDetailReq) (*MessageDetailResp, error)
  2370. // 获取指定用户的分类及未读消息数量
  2371. GetUnreadClassCount(context.Context, *GetUnreadClassCountReq) (*GetUnreadClassCountRes, error)
  2372. // 获取指定用户收到消息的分类
  2373. GetMsgType(context.Context, *GetMsgTypeReq) (*GetMsgTypeRes, error)
  2374. //修改用户指定分类下的消息已读未读
  2375. UpdateMessageRead(context.Context, *UpdateMessageReadReq) (*UpdateMessageReadResp, error)
  2376. }
  2377. // UnimplementedMessageServer can be embedded to have forward compatible implementations.
  2378. type UnimplementedMessageServer struct {
  2379. }
  2380. func (*UnimplementedMessageServer) MultipleSaveMsg(context.Context, *MultipleSaveMsgReq) (*MultipleSaveMsgResp, error) {
  2381. return nil, status.Errorf(codes.Unimplemented, "method MultipleSaveMsg not implemented")
  2382. }
  2383. func (*UnimplementedMessageServer) ChangeReadStatus(context.Context, *ChangeReadStatusRequest) (*Response, error) {
  2384. return nil, status.Errorf(codes.Unimplemented, "method ChangeReadStatus not implemented")
  2385. }
  2386. func (*UnimplementedMessageServer) SendUserMsg(context.Context, *SendMsgRequest) (*Response, error) {
  2387. return nil, status.Errorf(codes.Unimplemented, "method SendUserMsg not implemented")
  2388. }
  2389. func (*UnimplementedMessageServer) DeleteSingleMessage(context.Context, *DeleteSingleMessageRequest) (*Response, error) {
  2390. return nil, status.Errorf(codes.Unimplemented, "method DeleteSingleMessage not implemented")
  2391. }
  2392. func (*UnimplementedMessageServer) DeleteMultipleMessage(context.Context, *DeleteMultipleMessageRequest) (*Response, error) {
  2393. return nil, status.Errorf(codes.Unimplemented, "method DeleteMultipleMessage not implemented")
  2394. }
  2395. func (*UnimplementedMessageServer) GetUnreadCount(context.Context, *GetUnreadCountRequest) (*GetUnreadCountResponse, error) {
  2396. return nil, status.Errorf(codes.Unimplemented, "method GetUnreadCount not implemented")
  2397. }
  2398. func (*UnimplementedMessageServer) FindUserMsg(context.Context, *FindUserMsgReq) (*FindUserMsgRes, error) {
  2399. return nil, status.Errorf(codes.Unimplemented, "method FindUserMsg not implemented")
  2400. }
  2401. func (*UnimplementedMessageServer) GetClassUnreadCount(context.Context, *GetClassUnreadCountReq) (*GetUnreadCountResponse, error) {
  2402. return nil, status.Errorf(codes.Unimplemented, "method GetClassUnreadCount not implemented")
  2403. }
  2404. func (*UnimplementedMessageServer) GetLastMessage(context.Context, *GetLastMessageReq) (*GetLastMessageRes, error) {
  2405. return nil, status.Errorf(codes.Unimplemented, "method GetLastMessage not implemented")
  2406. }
  2407. func (*UnimplementedMessageServer) FindMessageDetail(context.Context, *MessageDetailReq) (*MessageDetailResp, error) {
  2408. return nil, status.Errorf(codes.Unimplemented, "method FindMessageDetail not implemented")
  2409. }
  2410. func (*UnimplementedMessageServer) GetUnreadClassCount(context.Context, *GetUnreadClassCountReq) (*GetUnreadClassCountRes, error) {
  2411. return nil, status.Errorf(codes.Unimplemented, "method GetUnreadClassCount not implemented")
  2412. }
  2413. func (*UnimplementedMessageServer) GetMsgType(context.Context, *GetMsgTypeReq) (*GetMsgTypeRes, error) {
  2414. return nil, status.Errorf(codes.Unimplemented, "method GetMsgType not implemented")
  2415. }
  2416. func (*UnimplementedMessageServer) UpdateMessageRead(context.Context, *UpdateMessageReadReq) (*UpdateMessageReadResp, error) {
  2417. return nil, status.Errorf(codes.Unimplemented, "method UpdateMessageRead not implemented")
  2418. }
  2419. func RegisterMessageServer(s *grpc.Server, srv MessageServer) {
  2420. s.RegisterService(&_Message_serviceDesc, srv)
  2421. }
  2422. func _Message_MultipleSaveMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2423. in := new(MultipleSaveMsgReq)
  2424. if err := dec(in); err != nil {
  2425. return nil, err
  2426. }
  2427. if interceptor == nil {
  2428. return srv.(MessageServer).MultipleSaveMsg(ctx, in)
  2429. }
  2430. info := &grpc.UnaryServerInfo{
  2431. Server: srv,
  2432. FullMethod: "/message.Message/MultipleSaveMsg",
  2433. }
  2434. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2435. return srv.(MessageServer).MultipleSaveMsg(ctx, req.(*MultipleSaveMsgReq))
  2436. }
  2437. return interceptor(ctx, in, info, handler)
  2438. }
  2439. func _Message_ChangeReadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2440. in := new(ChangeReadStatusRequest)
  2441. if err := dec(in); err != nil {
  2442. return nil, err
  2443. }
  2444. if interceptor == nil {
  2445. return srv.(MessageServer).ChangeReadStatus(ctx, in)
  2446. }
  2447. info := &grpc.UnaryServerInfo{
  2448. Server: srv,
  2449. FullMethod: "/message.Message/ChangeReadStatus",
  2450. }
  2451. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2452. return srv.(MessageServer).ChangeReadStatus(ctx, req.(*ChangeReadStatusRequest))
  2453. }
  2454. return interceptor(ctx, in, info, handler)
  2455. }
  2456. func _Message_SendUserMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2457. in := new(SendMsgRequest)
  2458. if err := dec(in); err != nil {
  2459. return nil, err
  2460. }
  2461. if interceptor == nil {
  2462. return srv.(MessageServer).SendUserMsg(ctx, in)
  2463. }
  2464. info := &grpc.UnaryServerInfo{
  2465. Server: srv,
  2466. FullMethod: "/message.Message/SendUserMsg",
  2467. }
  2468. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2469. return srv.(MessageServer).SendUserMsg(ctx, req.(*SendMsgRequest))
  2470. }
  2471. return interceptor(ctx, in, info, handler)
  2472. }
  2473. func _Message_DeleteSingleMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2474. in := new(DeleteSingleMessageRequest)
  2475. if err := dec(in); err != nil {
  2476. return nil, err
  2477. }
  2478. if interceptor == nil {
  2479. return srv.(MessageServer).DeleteSingleMessage(ctx, in)
  2480. }
  2481. info := &grpc.UnaryServerInfo{
  2482. Server: srv,
  2483. FullMethod: "/message.Message/DeleteSingleMessage",
  2484. }
  2485. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2486. return srv.(MessageServer).DeleteSingleMessage(ctx, req.(*DeleteSingleMessageRequest))
  2487. }
  2488. return interceptor(ctx, in, info, handler)
  2489. }
  2490. func _Message_DeleteMultipleMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2491. in := new(DeleteMultipleMessageRequest)
  2492. if err := dec(in); err != nil {
  2493. return nil, err
  2494. }
  2495. if interceptor == nil {
  2496. return srv.(MessageServer).DeleteMultipleMessage(ctx, in)
  2497. }
  2498. info := &grpc.UnaryServerInfo{
  2499. Server: srv,
  2500. FullMethod: "/message.Message/DeleteMultipleMessage",
  2501. }
  2502. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2503. return srv.(MessageServer).DeleteMultipleMessage(ctx, req.(*DeleteMultipleMessageRequest))
  2504. }
  2505. return interceptor(ctx, in, info, handler)
  2506. }
  2507. func _Message_GetUnreadCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2508. in := new(GetUnreadCountRequest)
  2509. if err := dec(in); err != nil {
  2510. return nil, err
  2511. }
  2512. if interceptor == nil {
  2513. return srv.(MessageServer).GetUnreadCount(ctx, in)
  2514. }
  2515. info := &grpc.UnaryServerInfo{
  2516. Server: srv,
  2517. FullMethod: "/message.Message/GetUnreadCount",
  2518. }
  2519. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2520. return srv.(MessageServer).GetUnreadCount(ctx, req.(*GetUnreadCountRequest))
  2521. }
  2522. return interceptor(ctx, in, info, handler)
  2523. }
  2524. func _Message_FindUserMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2525. in := new(FindUserMsgReq)
  2526. if err := dec(in); err != nil {
  2527. return nil, err
  2528. }
  2529. if interceptor == nil {
  2530. return srv.(MessageServer).FindUserMsg(ctx, in)
  2531. }
  2532. info := &grpc.UnaryServerInfo{
  2533. Server: srv,
  2534. FullMethod: "/message.Message/FindUserMsg",
  2535. }
  2536. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2537. return srv.(MessageServer).FindUserMsg(ctx, req.(*FindUserMsgReq))
  2538. }
  2539. return interceptor(ctx, in, info, handler)
  2540. }
  2541. func _Message_GetClassUnreadCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2542. in := new(GetClassUnreadCountReq)
  2543. if err := dec(in); err != nil {
  2544. return nil, err
  2545. }
  2546. if interceptor == nil {
  2547. return srv.(MessageServer).GetClassUnreadCount(ctx, in)
  2548. }
  2549. info := &grpc.UnaryServerInfo{
  2550. Server: srv,
  2551. FullMethod: "/message.Message/GetClassUnreadCount",
  2552. }
  2553. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2554. return srv.(MessageServer).GetClassUnreadCount(ctx, req.(*GetClassUnreadCountReq))
  2555. }
  2556. return interceptor(ctx, in, info, handler)
  2557. }
  2558. func _Message_GetLastMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2559. in := new(GetLastMessageReq)
  2560. if err := dec(in); err != nil {
  2561. return nil, err
  2562. }
  2563. if interceptor == nil {
  2564. return srv.(MessageServer).GetLastMessage(ctx, in)
  2565. }
  2566. info := &grpc.UnaryServerInfo{
  2567. Server: srv,
  2568. FullMethod: "/message.Message/GetLastMessage",
  2569. }
  2570. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2571. return srv.(MessageServer).GetLastMessage(ctx, req.(*GetLastMessageReq))
  2572. }
  2573. return interceptor(ctx, in, info, handler)
  2574. }
  2575. func _Message_FindMessageDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2576. in := new(MessageDetailReq)
  2577. if err := dec(in); err != nil {
  2578. return nil, err
  2579. }
  2580. if interceptor == nil {
  2581. return srv.(MessageServer).FindMessageDetail(ctx, in)
  2582. }
  2583. info := &grpc.UnaryServerInfo{
  2584. Server: srv,
  2585. FullMethod: "/message.Message/FindMessageDetail",
  2586. }
  2587. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2588. return srv.(MessageServer).FindMessageDetail(ctx, req.(*MessageDetailReq))
  2589. }
  2590. return interceptor(ctx, in, info, handler)
  2591. }
  2592. func _Message_GetUnreadClassCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2593. in := new(GetUnreadClassCountReq)
  2594. if err := dec(in); err != nil {
  2595. return nil, err
  2596. }
  2597. if interceptor == nil {
  2598. return srv.(MessageServer).GetUnreadClassCount(ctx, in)
  2599. }
  2600. info := &grpc.UnaryServerInfo{
  2601. Server: srv,
  2602. FullMethod: "/message.Message/GetUnreadClassCount",
  2603. }
  2604. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2605. return srv.(MessageServer).GetUnreadClassCount(ctx, req.(*GetUnreadClassCountReq))
  2606. }
  2607. return interceptor(ctx, in, info, handler)
  2608. }
  2609. func _Message_GetMsgType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2610. in := new(GetMsgTypeReq)
  2611. if err := dec(in); err != nil {
  2612. return nil, err
  2613. }
  2614. if interceptor == nil {
  2615. return srv.(MessageServer).GetMsgType(ctx, in)
  2616. }
  2617. info := &grpc.UnaryServerInfo{
  2618. Server: srv,
  2619. FullMethod: "/message.Message/GetMsgType",
  2620. }
  2621. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2622. return srv.(MessageServer).GetMsgType(ctx, req.(*GetMsgTypeReq))
  2623. }
  2624. return interceptor(ctx, in, info, handler)
  2625. }
  2626. func _Message_UpdateMessageRead_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2627. in := new(UpdateMessageReadReq)
  2628. if err := dec(in); err != nil {
  2629. return nil, err
  2630. }
  2631. if interceptor == nil {
  2632. return srv.(MessageServer).UpdateMessageRead(ctx, in)
  2633. }
  2634. info := &grpc.UnaryServerInfo{
  2635. Server: srv,
  2636. FullMethod: "/message.Message/UpdateMessageRead",
  2637. }
  2638. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2639. return srv.(MessageServer).UpdateMessageRead(ctx, req.(*UpdateMessageReadReq))
  2640. }
  2641. return interceptor(ctx, in, info, handler)
  2642. }
  2643. var _Message_serviceDesc = grpc.ServiceDesc{
  2644. ServiceName: "message.Message",
  2645. HandlerType: (*MessageServer)(nil),
  2646. Methods: []grpc.MethodDesc{
  2647. {
  2648. MethodName: "multipleSaveMsg",
  2649. Handler: _Message_MultipleSaveMsg_Handler,
  2650. },
  2651. {
  2652. MethodName: "ChangeReadStatus",
  2653. Handler: _Message_ChangeReadStatus_Handler,
  2654. },
  2655. {
  2656. MethodName: "SendUserMsg",
  2657. Handler: _Message_SendUserMsg_Handler,
  2658. },
  2659. {
  2660. MethodName: "DeleteSingleMessage",
  2661. Handler: _Message_DeleteSingleMessage_Handler,
  2662. },
  2663. {
  2664. MethodName: "DeleteMultipleMessage",
  2665. Handler: _Message_DeleteMultipleMessage_Handler,
  2666. },
  2667. {
  2668. MethodName: "GetUnreadCount",
  2669. Handler: _Message_GetUnreadCount_Handler,
  2670. },
  2671. {
  2672. MethodName: "FindUserMsg",
  2673. Handler: _Message_FindUserMsg_Handler,
  2674. },
  2675. {
  2676. MethodName: "GetClassUnreadCount",
  2677. Handler: _Message_GetClassUnreadCount_Handler,
  2678. },
  2679. {
  2680. MethodName: "GetLastMessage",
  2681. Handler: _Message_GetLastMessage_Handler,
  2682. },
  2683. {
  2684. MethodName: "FindMessageDetail",
  2685. Handler: _Message_FindMessageDetail_Handler,
  2686. },
  2687. {
  2688. MethodName: "GetUnreadClassCount",
  2689. Handler: _Message_GetUnreadClassCount_Handler,
  2690. },
  2691. {
  2692. MethodName: "GetMsgType",
  2693. Handler: _Message_GetMsgType_Handler,
  2694. },
  2695. {
  2696. MethodName: "UpdateMessageRead",
  2697. Handler: _Message_UpdateMessageRead_Handler,
  2698. },
  2699. },
  2700. Streams: []grpc.StreamDesc{},
  2701. Metadata: "message.proto",
  2702. }