message.pb.go 92 KB

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