message.pb.go 102 KB

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