message.pb.go 103 KB

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