message.pb.go 92 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775
  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. PositionIds string `protobuf:"bytes,14,opt,name=positionIds,proto3" json:"positionIds,omitempty"` // 职位id 逗号分割
  1374. }
  1375. func (x *MultipleSaveMsgReq) Reset() {
  1376. *x = MultipleSaveMsgReq{}
  1377. if protoimpl.UnsafeEnabled {
  1378. mi := &file_message_proto_msgTypes[23]
  1379. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1380. ms.StoreMessageInfo(mi)
  1381. }
  1382. }
  1383. func (x *MultipleSaveMsgReq) String() string {
  1384. return protoimpl.X.MessageStringOf(x)
  1385. }
  1386. func (*MultipleSaveMsgReq) ProtoMessage() {}
  1387. func (x *MultipleSaveMsgReq) ProtoReflect() protoreflect.Message {
  1388. mi := &file_message_proto_msgTypes[23]
  1389. if protoimpl.UnsafeEnabled && x != nil {
  1390. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1391. if ms.LoadMessageInfo() == nil {
  1392. ms.StoreMessageInfo(mi)
  1393. }
  1394. return ms
  1395. }
  1396. return mi.MessageOf(x)
  1397. }
  1398. // Deprecated: Use MultipleSaveMsgReq.ProtoReflect.Descriptor instead.
  1399. func (*MultipleSaveMsgReq) Descriptor() ([]byte, []int) {
  1400. return file_message_proto_rawDescGZIP(), []int{23}
  1401. }
  1402. func (x *MultipleSaveMsgReq) GetUserIds() string {
  1403. if x != nil {
  1404. return x.UserIds
  1405. }
  1406. return ""
  1407. }
  1408. func (x *MultipleSaveMsgReq) GetUserNames() string {
  1409. if x != nil {
  1410. return x.UserNames
  1411. }
  1412. return ""
  1413. }
  1414. func (x *MultipleSaveMsgReq) GetSendUserId() string {
  1415. if x != nil {
  1416. return x.SendUserId
  1417. }
  1418. return ""
  1419. }
  1420. func (x *MultipleSaveMsgReq) GetSendName() string {
  1421. if x != nil {
  1422. return x.SendName
  1423. }
  1424. return ""
  1425. }
  1426. func (x *MultipleSaveMsgReq) GetTitle() string {
  1427. if x != nil {
  1428. return x.Title
  1429. }
  1430. return ""
  1431. }
  1432. func (x *MultipleSaveMsgReq) GetContent() string {
  1433. if x != nil {
  1434. return x.Content
  1435. }
  1436. return ""
  1437. }
  1438. func (x *MultipleSaveMsgReq) GetMsgType() int64 {
  1439. if x != nil {
  1440. return x.MsgType
  1441. }
  1442. return 0
  1443. }
  1444. func (x *MultipleSaveMsgReq) GetLink() string {
  1445. if x != nil {
  1446. return x.Link
  1447. }
  1448. return ""
  1449. }
  1450. func (x *MultipleSaveMsgReq) GetCiteId() int64 {
  1451. if x != nil {
  1452. return x.CiteId
  1453. }
  1454. return 0
  1455. }
  1456. func (x *MultipleSaveMsgReq) GetAppid() string {
  1457. if x != nil {
  1458. return x.Appid
  1459. }
  1460. return ""
  1461. }
  1462. func (x *MultipleSaveMsgReq) GetMsgLogId() int64 {
  1463. if x != nil {
  1464. return x.MsgLogId
  1465. }
  1466. return 0
  1467. }
  1468. func (x *MultipleSaveMsgReq) GetShowBuoy() int64 {
  1469. if x != nil {
  1470. return x.ShowBuoy
  1471. }
  1472. return 0
  1473. }
  1474. func (x *MultipleSaveMsgReq) GetShowContent() string {
  1475. if x != nil {
  1476. return x.ShowContent
  1477. }
  1478. return ""
  1479. }
  1480. func (x *MultipleSaveMsgReq) GetPositionIds() string {
  1481. if x != nil {
  1482. return x.PositionIds
  1483. }
  1484. return ""
  1485. }
  1486. type MultipleSaveMsgResp struct {
  1487. state protoimpl.MessageState
  1488. sizeCache protoimpl.SizeCache
  1489. unknownFields protoimpl.UnknownFields
  1490. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  1491. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  1492. ErrCount int64 `protobuf:"varint,3,opt,name=errCount,proto3" json:"errCount,omitempty"` // 保存出错数量
  1493. }
  1494. func (x *MultipleSaveMsgResp) Reset() {
  1495. *x = MultipleSaveMsgResp{}
  1496. if protoimpl.UnsafeEnabled {
  1497. mi := &file_message_proto_msgTypes[24]
  1498. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1499. ms.StoreMessageInfo(mi)
  1500. }
  1501. }
  1502. func (x *MultipleSaveMsgResp) String() string {
  1503. return protoimpl.X.MessageStringOf(x)
  1504. }
  1505. func (*MultipleSaveMsgResp) ProtoMessage() {}
  1506. func (x *MultipleSaveMsgResp) ProtoReflect() protoreflect.Message {
  1507. mi := &file_message_proto_msgTypes[24]
  1508. if protoimpl.UnsafeEnabled && x != nil {
  1509. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1510. if ms.LoadMessageInfo() == nil {
  1511. ms.StoreMessageInfo(mi)
  1512. }
  1513. return ms
  1514. }
  1515. return mi.MessageOf(x)
  1516. }
  1517. // Deprecated: Use MultipleSaveMsgResp.ProtoReflect.Descriptor instead.
  1518. func (*MultipleSaveMsgResp) Descriptor() ([]byte, []int) {
  1519. return file_message_proto_rawDescGZIP(), []int{24}
  1520. }
  1521. func (x *MultipleSaveMsgResp) GetCode() int64 {
  1522. if x != nil {
  1523. return x.Code
  1524. }
  1525. return 0
  1526. }
  1527. func (x *MultipleSaveMsgResp) GetMessage() string {
  1528. if x != nil {
  1529. return x.Message
  1530. }
  1531. return ""
  1532. }
  1533. func (x *MultipleSaveMsgResp) GetErrCount() int64 {
  1534. if x != nil {
  1535. return x.ErrCount
  1536. }
  1537. return 0
  1538. }
  1539. type FindUserBuoyMsgReq struct {
  1540. state protoimpl.MessageState
  1541. sizeCache protoimpl.SizeCache
  1542. unknownFields protoimpl.UnknownFields
  1543. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` //用户id
  1544. Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  1545. PageSize int64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` //大小
  1546. }
  1547. func (x *FindUserBuoyMsgReq) Reset() {
  1548. *x = FindUserBuoyMsgReq{}
  1549. if protoimpl.UnsafeEnabled {
  1550. mi := &file_message_proto_msgTypes[25]
  1551. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1552. ms.StoreMessageInfo(mi)
  1553. }
  1554. }
  1555. func (x *FindUserBuoyMsgReq) String() string {
  1556. return protoimpl.X.MessageStringOf(x)
  1557. }
  1558. func (*FindUserBuoyMsgReq) ProtoMessage() {}
  1559. func (x *FindUserBuoyMsgReq) ProtoReflect() protoreflect.Message {
  1560. mi := &file_message_proto_msgTypes[25]
  1561. if protoimpl.UnsafeEnabled && x != nil {
  1562. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1563. if ms.LoadMessageInfo() == nil {
  1564. ms.StoreMessageInfo(mi)
  1565. }
  1566. return ms
  1567. }
  1568. return mi.MessageOf(x)
  1569. }
  1570. // Deprecated: Use FindUserBuoyMsgReq.ProtoReflect.Descriptor instead.
  1571. func (*FindUserBuoyMsgReq) Descriptor() ([]byte, []int) {
  1572. return file_message_proto_rawDescGZIP(), []int{25}
  1573. }
  1574. func (x *FindUserBuoyMsgReq) GetUserId() string {
  1575. if x != nil {
  1576. return x.UserId
  1577. }
  1578. return ""
  1579. }
  1580. func (x *FindUserBuoyMsgReq) GetAppid() string {
  1581. if x != nil {
  1582. return x.Appid
  1583. }
  1584. return ""
  1585. }
  1586. func (x *FindUserBuoyMsgReq) GetPageSize() int64 {
  1587. if x != nil {
  1588. return x.PageSize
  1589. }
  1590. return 0
  1591. }
  1592. type FindUserBuoyMsgRes struct {
  1593. state protoimpl.MessageState
  1594. sizeCache protoimpl.SizeCache
  1595. unknownFields protoimpl.UnknownFields
  1596. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  1597. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  1598. Data []*BuoyMessages `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` //
  1599. }
  1600. func (x *FindUserBuoyMsgRes) Reset() {
  1601. *x = FindUserBuoyMsgRes{}
  1602. if protoimpl.UnsafeEnabled {
  1603. mi := &file_message_proto_msgTypes[26]
  1604. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1605. ms.StoreMessageInfo(mi)
  1606. }
  1607. }
  1608. func (x *FindUserBuoyMsgRes) String() string {
  1609. return protoimpl.X.MessageStringOf(x)
  1610. }
  1611. func (*FindUserBuoyMsgRes) ProtoMessage() {}
  1612. func (x *FindUserBuoyMsgRes) ProtoReflect() protoreflect.Message {
  1613. mi := &file_message_proto_msgTypes[26]
  1614. if protoimpl.UnsafeEnabled && x != nil {
  1615. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1616. if ms.LoadMessageInfo() == nil {
  1617. ms.StoreMessageInfo(mi)
  1618. }
  1619. return ms
  1620. }
  1621. return mi.MessageOf(x)
  1622. }
  1623. // Deprecated: Use FindUserBuoyMsgRes.ProtoReflect.Descriptor instead.
  1624. func (*FindUserBuoyMsgRes) Descriptor() ([]byte, []int) {
  1625. return file_message_proto_rawDescGZIP(), []int{26}
  1626. }
  1627. func (x *FindUserBuoyMsgRes) GetCode() int64 {
  1628. if x != nil {
  1629. return x.Code
  1630. }
  1631. return 0
  1632. }
  1633. func (x *FindUserBuoyMsgRes) GetMessage() string {
  1634. if x != nil {
  1635. return x.Message
  1636. }
  1637. return ""
  1638. }
  1639. func (x *FindUserBuoyMsgRes) GetData() []*BuoyMessages {
  1640. if x != nil {
  1641. return x.Data
  1642. }
  1643. return nil
  1644. }
  1645. type BuoyMessages struct {
  1646. state protoimpl.MessageState
  1647. sizeCache protoimpl.SizeCache
  1648. unknownFields protoimpl.UnknownFields
  1649. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //消息id
  1650. BuoyDetail string `protobuf:"bytes,2,opt,name=buoy_detail,json=buoyDetail,proto3" json:"buoy_detail,omitempty"` //浮标内容
  1651. PcUrl string `protobuf:"bytes,3,opt,name=pcUrl,proto3" json:"pcUrl,omitempty"`
  1652. AndroidUrl string `protobuf:"bytes,4,opt,name=androidUrl,proto3" json:"androidUrl,omitempty"`
  1653. IosUrl string `protobuf:"bytes,5,opt,name=iosUrl,proto3" json:"iosUrl,omitempty"`
  1654. WeChatUrl string `protobuf:"bytes,6,opt,name=weChatUrl,proto3" json:"weChatUrl,omitempty"`
  1655. }
  1656. func (x *BuoyMessages) Reset() {
  1657. *x = BuoyMessages{}
  1658. if protoimpl.UnsafeEnabled {
  1659. mi := &file_message_proto_msgTypes[27]
  1660. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1661. ms.StoreMessageInfo(mi)
  1662. }
  1663. }
  1664. func (x *BuoyMessages) String() string {
  1665. return protoimpl.X.MessageStringOf(x)
  1666. }
  1667. func (*BuoyMessages) ProtoMessage() {}
  1668. func (x *BuoyMessages) ProtoReflect() protoreflect.Message {
  1669. mi := &file_message_proto_msgTypes[27]
  1670. if protoimpl.UnsafeEnabled && x != nil {
  1671. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1672. if ms.LoadMessageInfo() == nil {
  1673. ms.StoreMessageInfo(mi)
  1674. }
  1675. return ms
  1676. }
  1677. return mi.MessageOf(x)
  1678. }
  1679. // Deprecated: Use BuoyMessages.ProtoReflect.Descriptor instead.
  1680. func (*BuoyMessages) Descriptor() ([]byte, []int) {
  1681. return file_message_proto_rawDescGZIP(), []int{27}
  1682. }
  1683. func (x *BuoyMessages) GetId() string {
  1684. if x != nil {
  1685. return x.Id
  1686. }
  1687. return ""
  1688. }
  1689. func (x *BuoyMessages) GetBuoyDetail() string {
  1690. if x != nil {
  1691. return x.BuoyDetail
  1692. }
  1693. return ""
  1694. }
  1695. func (x *BuoyMessages) GetPcUrl() string {
  1696. if x != nil {
  1697. return x.PcUrl
  1698. }
  1699. return ""
  1700. }
  1701. func (x *BuoyMessages) GetAndroidUrl() string {
  1702. if x != nil {
  1703. return x.AndroidUrl
  1704. }
  1705. return ""
  1706. }
  1707. func (x *BuoyMessages) GetIosUrl() string {
  1708. if x != nil {
  1709. return x.IosUrl
  1710. }
  1711. return ""
  1712. }
  1713. func (x *BuoyMessages) GetWeChatUrl() string {
  1714. if x != nil {
  1715. return x.WeChatUrl
  1716. }
  1717. return ""
  1718. }
  1719. var File_message_proto protoreflect.FileDescriptor
  1720. var file_message_proto_rawDesc = []byte{
  1721. 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  1722. 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xa0, 0x02, 0x0a, 0x0e, 0x53, 0x65, 0x6e,
  1723. 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x72,
  1724. 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  1725. 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49,
  1726. 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65,
  1727. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e,
  1728. 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49,
  1729. 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65,
  1730. 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18,
  1731. 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  1732. 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1733. 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
  1734. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
  1735. 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03,
  1736. 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e,
  1737. 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a,
  1738. 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63,
  1739. 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x0a,
  1740. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x17, 0x43,
  1741. 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
  1742. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1743. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x61, 0x64, 0x53, 0x74,
  1744. 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x61, 0x64,
  1745. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
  1746. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x3a, 0x0a, 0x08,
  1747. 0x52, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54,
  1748. 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79,
  1749. 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
  1750. 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x42, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65,
  1751. 0x74, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
  1752. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1753. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
  1754. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x1c,
  1755. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65,
  1756. 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
  1757. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05,
  1758. 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70,
  1759. 0x69, 0x64, 0x22, 0x45, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43,
  1760. 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75,
  1761. 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65,
  1762. 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
  1763. 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x38, 0x0a, 0x08, 0x52, 0x65, 0x73,
  1764. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
  1765. 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73,
  1766. 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73,
  1767. 0x61, 0x67, 0x65, 0x22, 0x5c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64,
  1768. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
  1769. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64,
  1770. 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
  1771. 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63,
  1772. 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e,
  1773. 0x74, 0x22, 0xc6, 0x01, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73,
  1774. 0x67, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01,
  1775. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d,
  1776. 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20,
  1777. 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72,
  1778. 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
  1779. 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x53,
  1780. 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x53, 0x65, 0x74,
  1781. 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01,
  1782. 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07,
  1783. 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d,
  1784. 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x61, 0x64, 0x18, 0x07,
  1785. 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x72, 0x65, 0x61, 0x64, 0x22, 0xfe, 0x02, 0x0a, 0x08, 0x4d,
  1786. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69,
  1787. 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
  1788. 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a,
  1789. 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  1790. 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  1791. 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20,
  1792. 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
  1793. 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
  1794. 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74,
  1795. 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c,
  1796. 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01,
  1797. 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d,
  1798. 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73,
  1799. 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x08, 0x20,
  1800. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x69, 0x74,
  1801. 0x65, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x69, 0x74, 0x65, 0x49,
  1802. 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28,
  1803. 0x03, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65,
  1804. 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63,
  1805. 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
  1806. 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12,
  1807. 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
  1808. 0x1a, 0x0a, 0x08, 0x6d, 0x73, 0x67, 0x4c, 0x6f, 0x67, 0x49, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28,
  1809. 0x03, 0x52, 0x08, 0x6d, 0x73, 0x67, 0x4c, 0x6f, 0x67, 0x49, 0x64, 0x22, 0x7b, 0x0a, 0x0e, 0x46,
  1810. 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a,
  1811. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64,
  1812. 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
  1813. 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x64,
  1814. 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1815. 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x04, 0x64, 0x61,
  1816. 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
  1817. 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x60, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43,
  1818. 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52,
  1819. 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  1820. 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73,
  1821. 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67,
  1822. 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20,
  1823. 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x22, 0x0a, 0x10, 0x4d, 0x65,
  1824. 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x0e,
  1825. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x68,
  1826. 0x0a, 0x11, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52,
  1827. 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1828. 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1829. 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1830. 0x65, 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1831. 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1832. 0x65, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x73, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4c,
  1833. 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a,
  1834. 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75,
  1835. 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65,
  1836. 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12,
  1837. 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1838. 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18,
  1839. 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x22, 0x68, 0x0a,
  1840. 0x11, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
  1841. 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  1842. 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1843. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1844. 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11,
  1845. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1846. 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x60, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x55, 0x6e,
  1847. 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65,
  1848. 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1849. 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
  1850. 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12,
  1851. 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x65, 0x64, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
  1852. 0x52, 0x07, 0x6e, 0x65, 0x65, 0x64, 0x4d, 0x73, 0x67, 0x22, 0x94, 0x01, 0x0a, 0x16, 0x47, 0x65,
  1853. 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e,
  1854. 0x74, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
  1855. 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73,
  1856. 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1857. 0x67, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
  1858. 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x43, 0x6f,
  1859. 0x75, 0x6e, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x04, 0x69, 0x6e, 0x66,
  1860. 0x6f, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1861. 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f,
  1862. 0x22, 0x3d, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65,
  1863. 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1864. 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
  1865. 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22,
  1866. 0x51, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73,
  1867. 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
  1868. 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,
  1869. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12,
  1870. 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x04, 0x64, 0x61,
  1871. 0x74, 0x61, 0x22, 0x6c, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73,
  1872. 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73,
  1873. 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67,
  1874. 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55,
  1875. 0x73, 0x65, 0x72, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63,
  1876. 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70,
  1877. 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64,
  1878. 0x22, 0x5d, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1879. 0x65, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
  1880. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a,
  1881. 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  1882. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
  1883. 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22,
  1884. 0x3a, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
  1885. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
  1886. 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  1887. 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x90, 0x03, 0x0a, 0x12,
  1888. 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x73, 0x67, 0x52,
  1889. 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20,
  1890. 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09,
  1891. 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  1892. 0x09, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65,
  1893. 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  1894. 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65,
  1895. 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65,
  1896. 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18,
  1897. 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07,
  1898. 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63,
  1899. 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70,
  1900. 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65,
  1901. 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  1902. 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x09,
  1903. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05,
  1904. 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70,
  1905. 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x73, 0x67, 0x4c, 0x6f, 0x67, 0x49, 0x64, 0x18, 0x0b,
  1906. 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x73, 0x67, 0x4c, 0x6f, 0x67, 0x49, 0x64, 0x12, 0x1a,
  1907. 0x0a, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x42, 0x75, 0x6f, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03,
  1908. 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x42, 0x75, 0x6f, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x68,
  1909. 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52,
  1910. 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b,
  1911. 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28,
  1912. 0x09, 0x52, 0x0b, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x5f,
  1913. 0x0a, 0x13, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x73,
  1914. 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
  1915. 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73,
  1916. 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73,
  1917. 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  1918. 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22,
  1919. 0x5e, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x42, 0x75, 0x6f, 0x79, 0x4d,
  1920. 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18,
  1921. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a,
  1922. 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70,
  1923. 0x70, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18,
  1924. 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22,
  1925. 0x6d, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x42, 0x75, 0x6f, 0x79, 0x4d,
  1926. 0x73, 0x67, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
  1927. 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73,
  1928. 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73,
  1929. 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28,
  1930. 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x75, 0x6f, 0x79,
  1931. 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xab,
  1932. 0x01, 0x0a, 0x0c, 0x42, 0x75, 0x6f, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12,
  1933. 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
  1934. 0x1f, 0x0a, 0x0b, 0x62, 0x75, 0x6f, 0x79, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02,
  1935. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x75, 0x6f, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
  1936. 0x12, 0x14, 0x0a, 0x05, 0x70, 0x63, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  1937. 0x05, 0x70, 0x63, 0x55, 0x72, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69,
  1938. 0x64, 0x55, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x6e, 0x64, 0x72,
  1939. 0x6f, 0x69, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6f, 0x73, 0x55, 0x72, 0x6c,
  1940. 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x6f, 0x73, 0x55, 0x72, 0x6c, 0x12, 0x1c,
  1941. 0x0a, 0x09, 0x77, 0x65, 0x43, 0x68, 0x61, 0x74, 0x55, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28,
  1942. 0x09, 0x52, 0x09, 0x77, 0x65, 0x43, 0x68, 0x61, 0x74, 0x55, 0x72, 0x6c, 0x32, 0xb8, 0x08, 0x0a,
  1943. 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x4c, 0x0a, 0x0f, 0x6d, 0x75, 0x6c, 0x74,
  1944. 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x1b, 0x2e, 0x6d, 0x65,
  1945. 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61,
  1946. 0x76, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1947. 0x67, 0x65, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65, 0x4d,
  1948. 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x47, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
  1949. 0x52, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x65, 0x73,
  1950. 0x73, 0x61, 0x67, 0x65, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x53,
  1951. 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d,
  1952. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  1953. 0x39, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x17,
  1954. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67,
  1955. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1956. 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x13, 0x44, 0x65,
  1957. 0x6c, 0x65, 0x74, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1958. 0x65, 0x12, 0x23, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65,
  1959. 0x74, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
  1960. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1961. 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x15, 0x44, 0x65, 0x6c,
  1962. 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
  1963. 0x67, 0x65, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x6c,
  1964. 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
  1965. 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1966. 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0e,
  1967. 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e,
  1968. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65,
  1969. 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f,
  1970. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65,
  1971. 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  1972. 0x3f, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x17,
  1973. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65,
  1974. 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1975. 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73,
  1976. 0x12, 0x57, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65,
  1977. 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1978. 0x65, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64,
  1979. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1980. 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e,
  1981. 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0e, 0x47, 0x65, 0x74,
  1982. 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x2e, 0x6d, 0x65,
  1983. 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73,
  1984. 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1985. 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1986. 0x52, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61,
  1987. 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1988. 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
  1989. 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65,
  1990. 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12,
  1991. 0x57, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73,
  1992. 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1993. 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43,
  1994. 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1995. 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73,
  1996. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x4d,
  1997. 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1998. 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x16,
  1999. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54,
  2000. 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  2001. 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1d, 0x2e, 0x6d, 0x65,
  2002. 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73,
  2003. 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x6d, 0x65, 0x73,
  2004. 0x73, 0x61, 0x67, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
  2005. 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4b, 0x0a, 0x0f, 0x46, 0x69,
  2006. 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x42, 0x75, 0x6f, 0x79, 0x4d, 0x73, 0x67, 0x12, 0x1b, 0x2e,
  2007. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72,
  2008. 0x42, 0x75, 0x6f, 0x79, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x1b, 0x2e, 0x6d, 0x65, 0x73,
  2009. 0x73, 0x61, 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x42, 0x75, 0x6f,
  2010. 0x79, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61,
  2011. 0x67, 0x65, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  2012. }
  2013. var (
  2014. file_message_proto_rawDescOnce sync.Once
  2015. file_message_proto_rawDescData = file_message_proto_rawDesc
  2016. )
  2017. func file_message_proto_rawDescGZIP() []byte {
  2018. file_message_proto_rawDescOnce.Do(func() {
  2019. file_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_message_proto_rawDescData)
  2020. })
  2021. return file_message_proto_rawDescData
  2022. }
  2023. var file_message_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
  2024. var file_message_proto_goTypes = []interface{}{
  2025. (*SendMsgRequest)(nil), // 0: message.SendMsgRequest
  2026. (*ChangeReadStatusRequest)(nil), // 1: message.ChangeReadStatusRequest
  2027. (*ResCount)(nil), // 2: message.ResCount
  2028. (*DeleteSingleMessageRequest)(nil), // 3: message.DeleteSingleMessageRequest
  2029. (*DeleteMultipleMessageRequest)(nil), // 4: message.DeleteMultipleMessageRequest
  2030. (*GetUnreadCountRequest)(nil), // 5: message.GetUnreadCountRequest
  2031. (*Response)(nil), // 6: message.Response
  2032. (*GetUnreadCountResponse)(nil), // 7: message.GetUnreadCountResponse
  2033. (*FindUserMsgReq)(nil), // 8: message.FindUserMsgReq
  2034. (*Messages)(nil), // 9: message.Messages
  2035. (*FindUserMsgRes)(nil), // 10: message.FindUserMsgRes
  2036. (*GetClassUnreadCountReq)(nil), // 11: message.GetClassUnreadCountReq
  2037. (*MessageDetailReq)(nil), // 12: message.MessageDetailReq
  2038. (*MessageDetailResp)(nil), // 13: message.MessageDetailResp
  2039. (*GetLastMessageReq)(nil), // 14: message.GetLastMessageReq
  2040. (*GetLastMessageRes)(nil), // 15: message.GetLastMessageRes
  2041. (*GetUnreadClassCountReq)(nil), // 16: message.GetUnreadClassCountReq
  2042. (*GetUnreadClassCountRes)(nil), // 17: message.GetUnreadClassCountRes
  2043. (*GetMsgTypeReq)(nil), // 18: message.GetMsgTypeReq
  2044. (*GetMsgTypeRes)(nil), // 19: message.GetMsgTypeRes
  2045. (*UpdateMessageReadReq)(nil), // 20: message.UpdateMessageReadReq
  2046. (*UpdateMessageReadResp)(nil), // 21: message.UpdateMessageReadResp
  2047. (*User)(nil), // 22: message.user
  2048. (*MultipleSaveMsgReq)(nil), // 23: message.multipleSaveMsgReq
  2049. (*MultipleSaveMsgResp)(nil), // 24: message.multipleSaveMsgResp
  2050. (*FindUserBuoyMsgReq)(nil), // 25: message.FindUserBuoyMsgReq
  2051. (*FindUserBuoyMsgRes)(nil), // 26: message.FindUserBuoyMsgRes
  2052. (*BuoyMessages)(nil), // 27: message.BuoyMessages
  2053. }
  2054. var file_message_proto_depIdxs = []int32{
  2055. 9, // 0: message.FindUserMsgRes.data:type_name -> message.Messages
  2056. 9, // 1: message.MessageDetailResp.data:type_name -> message.Messages
  2057. 9, // 2: message.GetLastMessageRes.data:type_name -> message.Messages
  2058. 2, // 3: message.GetUnreadClassCountRes.data:type_name -> message.ResCount
  2059. 9, // 4: message.GetUnreadClassCountRes.info:type_name -> message.Messages
  2060. 27, // 5: message.FindUserBuoyMsgRes.data:type_name -> message.BuoyMessages
  2061. 23, // 6: message.Message.multipleSaveMsg:input_type -> message.multipleSaveMsgReq
  2062. 1, // 7: message.Message.ChangeReadStatus:input_type -> message.ChangeReadStatusRequest
  2063. 0, // 8: message.Message.SendUserMsg:input_type -> message.SendMsgRequest
  2064. 3, // 9: message.Message.DeleteSingleMessage:input_type -> message.DeleteSingleMessageRequest
  2065. 4, // 10: message.Message.DeleteMultipleMessage:input_type -> message.DeleteMultipleMessageRequest
  2066. 5, // 11: message.Message.GetUnreadCount:input_type -> message.GetUnreadCountRequest
  2067. 8, // 12: message.Message.FindUserMsg:input_type -> message.FindUserMsgReq
  2068. 11, // 13: message.Message.GetClassUnreadCount:input_type -> message.GetClassUnreadCountReq
  2069. 14, // 14: message.Message.GetLastMessage:input_type -> message.GetLastMessageReq
  2070. 12, // 15: message.Message.FindMessageDetail:input_type -> message.MessageDetailReq
  2071. 16, // 16: message.Message.GetUnreadClassCount:input_type -> message.GetUnreadClassCountReq
  2072. 18, // 17: message.Message.GetMsgType:input_type -> message.GetMsgTypeReq
  2073. 20, // 18: message.Message.UpdateMessageRead:input_type -> message.UpdateMessageReadReq
  2074. 25, // 19: message.Message.FindUserBuoyMsg:input_type -> message.FindUserBuoyMsgReq
  2075. 24, // 20: message.Message.multipleSaveMsg:output_type -> message.multipleSaveMsgResp
  2076. 6, // 21: message.Message.ChangeReadStatus:output_type -> message.Response
  2077. 6, // 22: message.Message.SendUserMsg:output_type -> message.Response
  2078. 6, // 23: message.Message.DeleteSingleMessage:output_type -> message.Response
  2079. 6, // 24: message.Message.DeleteMultipleMessage:output_type -> message.Response
  2080. 7, // 25: message.Message.GetUnreadCount:output_type -> message.GetUnreadCountResponse
  2081. 10, // 26: message.Message.FindUserMsg:output_type -> message.FindUserMsgRes
  2082. 7, // 27: message.Message.GetClassUnreadCount:output_type -> message.GetUnreadCountResponse
  2083. 15, // 28: message.Message.GetLastMessage:output_type -> message.GetLastMessageRes
  2084. 13, // 29: message.Message.FindMessageDetail:output_type -> message.MessageDetailResp
  2085. 17, // 30: message.Message.GetUnreadClassCount:output_type -> message.GetUnreadClassCountRes
  2086. 19, // 31: message.Message.GetMsgType:output_type -> message.GetMsgTypeRes
  2087. 21, // 32: message.Message.UpdateMessageRead:output_type -> message.UpdateMessageReadResp
  2088. 26, // 33: message.Message.FindUserBuoyMsg:output_type -> message.FindUserBuoyMsgRes
  2089. 20, // [20:34] is the sub-list for method output_type
  2090. 6, // [6:20] is the sub-list for method input_type
  2091. 6, // [6:6] is the sub-list for extension type_name
  2092. 6, // [6:6] is the sub-list for extension extendee
  2093. 0, // [0:6] is the sub-list for field type_name
  2094. }
  2095. func init() { file_message_proto_init() }
  2096. func file_message_proto_init() {
  2097. if File_message_proto != nil {
  2098. return
  2099. }
  2100. if !protoimpl.UnsafeEnabled {
  2101. file_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2102. switch v := v.(*SendMsgRequest); i {
  2103. case 0:
  2104. return &v.state
  2105. case 1:
  2106. return &v.sizeCache
  2107. case 2:
  2108. return &v.unknownFields
  2109. default:
  2110. return nil
  2111. }
  2112. }
  2113. file_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2114. switch v := v.(*ChangeReadStatusRequest); i {
  2115. case 0:
  2116. return &v.state
  2117. case 1:
  2118. return &v.sizeCache
  2119. case 2:
  2120. return &v.unknownFields
  2121. default:
  2122. return nil
  2123. }
  2124. }
  2125. file_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2126. switch v := v.(*ResCount); i {
  2127. case 0:
  2128. return &v.state
  2129. case 1:
  2130. return &v.sizeCache
  2131. case 2:
  2132. return &v.unknownFields
  2133. default:
  2134. return nil
  2135. }
  2136. }
  2137. file_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2138. switch v := v.(*DeleteSingleMessageRequest); i {
  2139. case 0:
  2140. return &v.state
  2141. case 1:
  2142. return &v.sizeCache
  2143. case 2:
  2144. return &v.unknownFields
  2145. default:
  2146. return nil
  2147. }
  2148. }
  2149. file_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2150. switch v := v.(*DeleteMultipleMessageRequest); i {
  2151. case 0:
  2152. return &v.state
  2153. case 1:
  2154. return &v.sizeCache
  2155. case 2:
  2156. return &v.unknownFields
  2157. default:
  2158. return nil
  2159. }
  2160. }
  2161. file_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2162. switch v := v.(*GetUnreadCountRequest); i {
  2163. case 0:
  2164. return &v.state
  2165. case 1:
  2166. return &v.sizeCache
  2167. case 2:
  2168. return &v.unknownFields
  2169. default:
  2170. return nil
  2171. }
  2172. }
  2173. file_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2174. switch v := v.(*Response); i {
  2175. case 0:
  2176. return &v.state
  2177. case 1:
  2178. return &v.sizeCache
  2179. case 2:
  2180. return &v.unknownFields
  2181. default:
  2182. return nil
  2183. }
  2184. }
  2185. file_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2186. switch v := v.(*GetUnreadCountResponse); i {
  2187. case 0:
  2188. return &v.state
  2189. case 1:
  2190. return &v.sizeCache
  2191. case 2:
  2192. return &v.unknownFields
  2193. default:
  2194. return nil
  2195. }
  2196. }
  2197. file_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2198. switch v := v.(*FindUserMsgReq); i {
  2199. case 0:
  2200. return &v.state
  2201. case 1:
  2202. return &v.sizeCache
  2203. case 2:
  2204. return &v.unknownFields
  2205. default:
  2206. return nil
  2207. }
  2208. }
  2209. file_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2210. switch v := v.(*Messages); i {
  2211. case 0:
  2212. return &v.state
  2213. case 1:
  2214. return &v.sizeCache
  2215. case 2:
  2216. return &v.unknownFields
  2217. default:
  2218. return nil
  2219. }
  2220. }
  2221. file_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2222. switch v := v.(*FindUserMsgRes); i {
  2223. case 0:
  2224. return &v.state
  2225. case 1:
  2226. return &v.sizeCache
  2227. case 2:
  2228. return &v.unknownFields
  2229. default:
  2230. return nil
  2231. }
  2232. }
  2233. file_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2234. switch v := v.(*GetClassUnreadCountReq); i {
  2235. case 0:
  2236. return &v.state
  2237. case 1:
  2238. return &v.sizeCache
  2239. case 2:
  2240. return &v.unknownFields
  2241. default:
  2242. return nil
  2243. }
  2244. }
  2245. file_message_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2246. switch v := v.(*MessageDetailReq); i {
  2247. case 0:
  2248. return &v.state
  2249. case 1:
  2250. return &v.sizeCache
  2251. case 2:
  2252. return &v.unknownFields
  2253. default:
  2254. return nil
  2255. }
  2256. }
  2257. file_message_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2258. switch v := v.(*MessageDetailResp); i {
  2259. case 0:
  2260. return &v.state
  2261. case 1:
  2262. return &v.sizeCache
  2263. case 2:
  2264. return &v.unknownFields
  2265. default:
  2266. return nil
  2267. }
  2268. }
  2269. file_message_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2270. switch v := v.(*GetLastMessageReq); i {
  2271. case 0:
  2272. return &v.state
  2273. case 1:
  2274. return &v.sizeCache
  2275. case 2:
  2276. return &v.unknownFields
  2277. default:
  2278. return nil
  2279. }
  2280. }
  2281. file_message_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2282. switch v := v.(*GetLastMessageRes); i {
  2283. case 0:
  2284. return &v.state
  2285. case 1:
  2286. return &v.sizeCache
  2287. case 2:
  2288. return &v.unknownFields
  2289. default:
  2290. return nil
  2291. }
  2292. }
  2293. file_message_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2294. switch v := v.(*GetUnreadClassCountReq); i {
  2295. case 0:
  2296. return &v.state
  2297. case 1:
  2298. return &v.sizeCache
  2299. case 2:
  2300. return &v.unknownFields
  2301. default:
  2302. return nil
  2303. }
  2304. }
  2305. file_message_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2306. switch v := v.(*GetUnreadClassCountRes); i {
  2307. case 0:
  2308. return &v.state
  2309. case 1:
  2310. return &v.sizeCache
  2311. case 2:
  2312. return &v.unknownFields
  2313. default:
  2314. return nil
  2315. }
  2316. }
  2317. file_message_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2318. switch v := v.(*GetMsgTypeReq); i {
  2319. case 0:
  2320. return &v.state
  2321. case 1:
  2322. return &v.sizeCache
  2323. case 2:
  2324. return &v.unknownFields
  2325. default:
  2326. return nil
  2327. }
  2328. }
  2329. file_message_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2330. switch v := v.(*GetMsgTypeRes); i {
  2331. case 0:
  2332. return &v.state
  2333. case 1:
  2334. return &v.sizeCache
  2335. case 2:
  2336. return &v.unknownFields
  2337. default:
  2338. return nil
  2339. }
  2340. }
  2341. file_message_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2342. switch v := v.(*UpdateMessageReadReq); i {
  2343. case 0:
  2344. return &v.state
  2345. case 1:
  2346. return &v.sizeCache
  2347. case 2:
  2348. return &v.unknownFields
  2349. default:
  2350. return nil
  2351. }
  2352. }
  2353. file_message_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2354. switch v := v.(*UpdateMessageReadResp); i {
  2355. case 0:
  2356. return &v.state
  2357. case 1:
  2358. return &v.sizeCache
  2359. case 2:
  2360. return &v.unknownFields
  2361. default:
  2362. return nil
  2363. }
  2364. }
  2365. file_message_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2366. switch v := v.(*User); i {
  2367. case 0:
  2368. return &v.state
  2369. case 1:
  2370. return &v.sizeCache
  2371. case 2:
  2372. return &v.unknownFields
  2373. default:
  2374. return nil
  2375. }
  2376. }
  2377. file_message_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2378. switch v := v.(*MultipleSaveMsgReq); i {
  2379. case 0:
  2380. return &v.state
  2381. case 1:
  2382. return &v.sizeCache
  2383. case 2:
  2384. return &v.unknownFields
  2385. default:
  2386. return nil
  2387. }
  2388. }
  2389. file_message_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2390. switch v := v.(*MultipleSaveMsgResp); i {
  2391. case 0:
  2392. return &v.state
  2393. case 1:
  2394. return &v.sizeCache
  2395. case 2:
  2396. return &v.unknownFields
  2397. default:
  2398. return nil
  2399. }
  2400. }
  2401. file_message_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  2402. switch v := v.(*FindUserBuoyMsgReq); i {
  2403. case 0:
  2404. return &v.state
  2405. case 1:
  2406. return &v.sizeCache
  2407. case 2:
  2408. return &v.unknownFields
  2409. default:
  2410. return nil
  2411. }
  2412. }
  2413. file_message_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  2414. switch v := v.(*FindUserBuoyMsgRes); i {
  2415. case 0:
  2416. return &v.state
  2417. case 1:
  2418. return &v.sizeCache
  2419. case 2:
  2420. return &v.unknownFields
  2421. default:
  2422. return nil
  2423. }
  2424. }
  2425. file_message_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  2426. switch v := v.(*BuoyMessages); i {
  2427. case 0:
  2428. return &v.state
  2429. case 1:
  2430. return &v.sizeCache
  2431. case 2:
  2432. return &v.unknownFields
  2433. default:
  2434. return nil
  2435. }
  2436. }
  2437. }
  2438. type x struct{}
  2439. out := protoimpl.TypeBuilder{
  2440. File: protoimpl.DescBuilder{
  2441. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2442. RawDescriptor: file_message_proto_rawDesc,
  2443. NumEnums: 0,
  2444. NumMessages: 28,
  2445. NumExtensions: 0,
  2446. NumServices: 1,
  2447. },
  2448. GoTypes: file_message_proto_goTypes,
  2449. DependencyIndexes: file_message_proto_depIdxs,
  2450. MessageInfos: file_message_proto_msgTypes,
  2451. }.Build()
  2452. File_message_proto = out.File
  2453. file_message_proto_rawDesc = nil
  2454. file_message_proto_goTypes = nil
  2455. file_message_proto_depIdxs = nil
  2456. }