message.pb.go 70 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013
  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 int64 `protobuf:"varint,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() int64 {
  165. if x != nil {
  166. return x.Id
  167. }
  168. return 0
  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. // 删除单一消息
  183. type DeleteSingleMessageRequest struct {
  184. state protoimpl.MessageState
  185. sizeCache protoimpl.SizeCache
  186. unknownFields protoimpl.UnknownFields
  187. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 消息id
  188. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  189. }
  190. func (x *DeleteSingleMessageRequest) Reset() {
  191. *x = DeleteSingleMessageRequest{}
  192. if protoimpl.UnsafeEnabled {
  193. mi := &file_message_proto_msgTypes[2]
  194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  195. ms.StoreMessageInfo(mi)
  196. }
  197. }
  198. func (x *DeleteSingleMessageRequest) String() string {
  199. return protoimpl.X.MessageStringOf(x)
  200. }
  201. func (*DeleteSingleMessageRequest) ProtoMessage() {}
  202. func (x *DeleteSingleMessageRequest) ProtoReflect() protoreflect.Message {
  203. mi := &file_message_proto_msgTypes[2]
  204. if protoimpl.UnsafeEnabled && x != nil {
  205. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  206. if ms.LoadMessageInfo() == nil {
  207. ms.StoreMessageInfo(mi)
  208. }
  209. return ms
  210. }
  211. return mi.MessageOf(x)
  212. }
  213. // Deprecated: Use DeleteSingleMessageRequest.ProtoReflect.Descriptor instead.
  214. func (*DeleteSingleMessageRequest) Descriptor() ([]byte, []int) {
  215. return file_message_proto_rawDescGZIP(), []int{2}
  216. }
  217. func (x *DeleteSingleMessageRequest) GetId() int64 {
  218. if x != nil {
  219. return x.Id
  220. }
  221. return 0
  222. }
  223. func (x *DeleteSingleMessageRequest) GetAppid() string {
  224. if x != nil {
  225. return x.Appid
  226. }
  227. return ""
  228. }
  229. // 批量删除消息
  230. type DeleteMultipleMessageRequest struct {
  231. state protoimpl.MessageState
  232. sizeCache protoimpl.SizeCache
  233. unknownFields protoimpl.UnknownFields
  234. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 多条消息id, 逗号分隔
  235. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  236. }
  237. func (x *DeleteMultipleMessageRequest) Reset() {
  238. *x = DeleteMultipleMessageRequest{}
  239. if protoimpl.UnsafeEnabled {
  240. mi := &file_message_proto_msgTypes[3]
  241. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  242. ms.StoreMessageInfo(mi)
  243. }
  244. }
  245. func (x *DeleteMultipleMessageRequest) String() string {
  246. return protoimpl.X.MessageStringOf(x)
  247. }
  248. func (*DeleteMultipleMessageRequest) ProtoMessage() {}
  249. func (x *DeleteMultipleMessageRequest) ProtoReflect() protoreflect.Message {
  250. mi := &file_message_proto_msgTypes[3]
  251. if protoimpl.UnsafeEnabled && x != nil {
  252. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  253. if ms.LoadMessageInfo() == nil {
  254. ms.StoreMessageInfo(mi)
  255. }
  256. return ms
  257. }
  258. return mi.MessageOf(x)
  259. }
  260. // Deprecated: Use DeleteMultipleMessageRequest.ProtoReflect.Descriptor instead.
  261. func (*DeleteMultipleMessageRequest) Descriptor() ([]byte, []int) {
  262. return file_message_proto_rawDescGZIP(), []int{3}
  263. }
  264. func (x *DeleteMultipleMessageRequest) GetId() string {
  265. if x != nil {
  266. return x.Id
  267. }
  268. return ""
  269. }
  270. func (x *DeleteMultipleMessageRequest) GetAppid() string {
  271. if x != nil {
  272. return x.Appid
  273. }
  274. return ""
  275. }
  276. // 查询指定用户未读消息合计
  277. type GetUnreadCountRequest struct {
  278. state protoimpl.MessageState
  279. sizeCache protoimpl.SizeCache
  280. unknownFields protoimpl.UnknownFields
  281. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
  282. Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  283. }
  284. func (x *GetUnreadCountRequest) Reset() {
  285. *x = GetUnreadCountRequest{}
  286. if protoimpl.UnsafeEnabled {
  287. mi := &file_message_proto_msgTypes[4]
  288. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  289. ms.StoreMessageInfo(mi)
  290. }
  291. }
  292. func (x *GetUnreadCountRequest) String() string {
  293. return protoimpl.X.MessageStringOf(x)
  294. }
  295. func (*GetUnreadCountRequest) ProtoMessage() {}
  296. func (x *GetUnreadCountRequest) ProtoReflect() protoreflect.Message {
  297. mi := &file_message_proto_msgTypes[4]
  298. if protoimpl.UnsafeEnabled && x != nil {
  299. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  300. if ms.LoadMessageInfo() == nil {
  301. ms.StoreMessageInfo(mi)
  302. }
  303. return ms
  304. }
  305. return mi.MessageOf(x)
  306. }
  307. // Deprecated: Use GetUnreadCountRequest.ProtoReflect.Descriptor instead.
  308. func (*GetUnreadCountRequest) Descriptor() ([]byte, []int) {
  309. return file_message_proto_rawDescGZIP(), []int{4}
  310. }
  311. func (x *GetUnreadCountRequest) GetUserId() string {
  312. if x != nil {
  313. return x.UserId
  314. }
  315. return ""
  316. }
  317. func (x *GetUnreadCountRequest) GetAppid() string {
  318. if x != nil {
  319. return x.Appid
  320. }
  321. return ""
  322. }
  323. type Response struct {
  324. state protoimpl.MessageState
  325. sizeCache protoimpl.SizeCache
  326. unknownFields protoimpl.UnknownFields
  327. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  328. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  329. }
  330. func (x *Response) Reset() {
  331. *x = Response{}
  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 *Response) String() string {
  339. return protoimpl.X.MessageStringOf(x)
  340. }
  341. func (*Response) ProtoMessage() {}
  342. func (x *Response) 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 Response.ProtoReflect.Descriptor instead.
  354. func (*Response) Descriptor() ([]byte, []int) {
  355. return file_message_proto_rawDescGZIP(), []int{5}
  356. }
  357. func (x *Response) GetCode() int64 {
  358. if x != nil {
  359. return x.Code
  360. }
  361. return 0
  362. }
  363. func (x *Response) GetMessage() string {
  364. if x != nil {
  365. return x.Message
  366. }
  367. return ""
  368. }
  369. type GetUnreadCountResponse 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. Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` //
  376. }
  377. func (x *GetUnreadCountResponse) Reset() {
  378. *x = GetUnreadCountResponse{}
  379. if protoimpl.UnsafeEnabled {
  380. mi := &file_message_proto_msgTypes[6]
  381. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  382. ms.StoreMessageInfo(mi)
  383. }
  384. }
  385. func (x *GetUnreadCountResponse) String() string {
  386. return protoimpl.X.MessageStringOf(x)
  387. }
  388. func (*GetUnreadCountResponse) ProtoMessage() {}
  389. func (x *GetUnreadCountResponse) ProtoReflect() protoreflect.Message {
  390. mi := &file_message_proto_msgTypes[6]
  391. if protoimpl.UnsafeEnabled && x != nil {
  392. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  393. if ms.LoadMessageInfo() == nil {
  394. ms.StoreMessageInfo(mi)
  395. }
  396. return ms
  397. }
  398. return mi.MessageOf(x)
  399. }
  400. // Deprecated: Use GetUnreadCountResponse.ProtoReflect.Descriptor instead.
  401. func (*GetUnreadCountResponse) Descriptor() ([]byte, []int) {
  402. return file_message_proto_rawDescGZIP(), []int{6}
  403. }
  404. func (x *GetUnreadCountResponse) GetCode() int64 {
  405. if x != nil {
  406. return x.Code
  407. }
  408. return 0
  409. }
  410. func (x *GetUnreadCountResponse) GetMessage() string {
  411. if x != nil {
  412. return x.Message
  413. }
  414. return ""
  415. }
  416. func (x *GetUnreadCountResponse) GetCount() int64 {
  417. if x != nil {
  418. return x.Count
  419. }
  420. return 0
  421. }
  422. type FindUserMsgReq struct {
  423. state protoimpl.MessageState
  424. sizeCache protoimpl.SizeCache
  425. unknownFields protoimpl.UnknownFields
  426. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` //用户id
  427. ReceiveUserId string `protobuf:"bytes,2,opt,name=receiveUserId,proto3" json:"receiveUserId,omitempty"` //聊天方用户id
  428. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  429. OffSet int64 `protobuf:"varint,4,opt,name=offSet,proto3" json:"offSet,omitempty"` //当前
  430. PageSize int64 `protobuf:"varint,5,opt,name=pageSize,proto3" json:"pageSize,omitempty"` //大小
  431. MsgType int64 `protobuf:"varint,6,opt,name=msgType,proto3" json:"msgType,omitempty"` //是否区分类型
  432. Read int64 `protobuf:"varint,7,opt,name=read,proto3" json:"read,omitempty"` // 是否区分已读未读 -1 不区分已读未读 0 未读 1 已读
  433. }
  434. func (x *FindUserMsgReq) Reset() {
  435. *x = FindUserMsgReq{}
  436. if protoimpl.UnsafeEnabled {
  437. mi := &file_message_proto_msgTypes[7]
  438. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  439. ms.StoreMessageInfo(mi)
  440. }
  441. }
  442. func (x *FindUserMsgReq) String() string {
  443. return protoimpl.X.MessageStringOf(x)
  444. }
  445. func (*FindUserMsgReq) ProtoMessage() {}
  446. func (x *FindUserMsgReq) ProtoReflect() protoreflect.Message {
  447. mi := &file_message_proto_msgTypes[7]
  448. if protoimpl.UnsafeEnabled && x != nil {
  449. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  450. if ms.LoadMessageInfo() == nil {
  451. ms.StoreMessageInfo(mi)
  452. }
  453. return ms
  454. }
  455. return mi.MessageOf(x)
  456. }
  457. // Deprecated: Use FindUserMsgReq.ProtoReflect.Descriptor instead.
  458. func (*FindUserMsgReq) Descriptor() ([]byte, []int) {
  459. return file_message_proto_rawDescGZIP(), []int{7}
  460. }
  461. func (x *FindUserMsgReq) GetUserId() string {
  462. if x != nil {
  463. return x.UserId
  464. }
  465. return ""
  466. }
  467. func (x *FindUserMsgReq) GetReceiveUserId() string {
  468. if x != nil {
  469. return x.ReceiveUserId
  470. }
  471. return ""
  472. }
  473. func (x *FindUserMsgReq) GetAppid() string {
  474. if x != nil {
  475. return x.Appid
  476. }
  477. return ""
  478. }
  479. func (x *FindUserMsgReq) GetOffSet() int64 {
  480. if x != nil {
  481. return x.OffSet
  482. }
  483. return 0
  484. }
  485. func (x *FindUserMsgReq) GetPageSize() int64 {
  486. if x != nil {
  487. return x.PageSize
  488. }
  489. return 0
  490. }
  491. func (x *FindUserMsgReq) GetMsgType() int64 {
  492. if x != nil {
  493. return x.MsgType
  494. }
  495. return 0
  496. }
  497. func (x *FindUserMsgReq) GetRead() int64 {
  498. if x != nil {
  499. return x.Read
  500. }
  501. return 0
  502. }
  503. type Messages struct {
  504. state protoimpl.MessageState
  505. sizeCache protoimpl.SizeCache
  506. unknownFields protoimpl.UnknownFields
  507. ReceiveUserId string `protobuf:"bytes,1,opt,name=receiveUserId,proto3" json:"receiveUserId,omitempty"` //接收方用户ID
  508. ReceiveName string `protobuf:"bytes,2,opt,name=receiveName,proto3" json:"receiveName,omitempty"` //接收方用户名
  509. SendUserId string `protobuf:"bytes,3,opt,name=sendUserId,proto3" json:"sendUserId,omitempty"` //发送方用户ID
  510. SendName string `protobuf:"bytes,4,opt,name=sendName,proto3" json:"sendName,omitempty"` //发送方用户名
  511. Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` //主题
  512. Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` //内容
  513. MsgType int64 `protobuf:"varint,7,opt,name=msgType,proto3" json:"msgType,omitempty"` //消息类型 1:客服 2:系统通知 3:营销 4:用户会话
  514. Link string `protobuf:"bytes,8,opt,name=link,proto3" json:"link,omitempty"` //跳转链接
  515. CiteId int64 `protobuf:"varint,9,opt,name=citeId,proto3" json:"citeId,omitempty"` //引用id
  516. IsRead int64 `protobuf:"varint,10,opt,name=isRead,proto3" json:"isRead,omitempty"` //已读未读 0:未读 1:已读
  517. Createtime string `protobuf:"bytes,11,opt,name=createtime,proto3" json:"createtime,omitempty"`
  518. Appid string `protobuf:"bytes,12,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  519. }
  520. func (x *Messages) Reset() {
  521. *x = Messages{}
  522. if protoimpl.UnsafeEnabled {
  523. mi := &file_message_proto_msgTypes[8]
  524. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  525. ms.StoreMessageInfo(mi)
  526. }
  527. }
  528. func (x *Messages) String() string {
  529. return protoimpl.X.MessageStringOf(x)
  530. }
  531. func (*Messages) ProtoMessage() {}
  532. func (x *Messages) ProtoReflect() protoreflect.Message {
  533. mi := &file_message_proto_msgTypes[8]
  534. if protoimpl.UnsafeEnabled && x != nil {
  535. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  536. if ms.LoadMessageInfo() == nil {
  537. ms.StoreMessageInfo(mi)
  538. }
  539. return ms
  540. }
  541. return mi.MessageOf(x)
  542. }
  543. // Deprecated: Use Messages.ProtoReflect.Descriptor instead.
  544. func (*Messages) Descriptor() ([]byte, []int) {
  545. return file_message_proto_rawDescGZIP(), []int{8}
  546. }
  547. func (x *Messages) GetReceiveUserId() string {
  548. if x != nil {
  549. return x.ReceiveUserId
  550. }
  551. return ""
  552. }
  553. func (x *Messages) GetReceiveName() string {
  554. if x != nil {
  555. return x.ReceiveName
  556. }
  557. return ""
  558. }
  559. func (x *Messages) GetSendUserId() string {
  560. if x != nil {
  561. return x.SendUserId
  562. }
  563. return ""
  564. }
  565. func (x *Messages) GetSendName() string {
  566. if x != nil {
  567. return x.SendName
  568. }
  569. return ""
  570. }
  571. func (x *Messages) GetTitle() string {
  572. if x != nil {
  573. return x.Title
  574. }
  575. return ""
  576. }
  577. func (x *Messages) GetContent() string {
  578. if x != nil {
  579. return x.Content
  580. }
  581. return ""
  582. }
  583. func (x *Messages) GetMsgType() int64 {
  584. if x != nil {
  585. return x.MsgType
  586. }
  587. return 0
  588. }
  589. func (x *Messages) GetLink() string {
  590. if x != nil {
  591. return x.Link
  592. }
  593. return ""
  594. }
  595. func (x *Messages) GetCiteId() int64 {
  596. if x != nil {
  597. return x.CiteId
  598. }
  599. return 0
  600. }
  601. func (x *Messages) GetIsRead() int64 {
  602. if x != nil {
  603. return x.IsRead
  604. }
  605. return 0
  606. }
  607. func (x *Messages) GetCreatetime() string {
  608. if x != nil {
  609. return x.Createtime
  610. }
  611. return ""
  612. }
  613. func (x *Messages) GetAppid() string {
  614. if x != nil {
  615. return x.Appid
  616. }
  617. return ""
  618. }
  619. type FindUserMsgRes struct {
  620. state protoimpl.MessageState
  621. sizeCache protoimpl.SizeCache
  622. unknownFields protoimpl.UnknownFields
  623. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  624. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  625. Data []*Messages `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` //
  626. Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` //总数
  627. }
  628. func (x *FindUserMsgRes) Reset() {
  629. *x = FindUserMsgRes{}
  630. if protoimpl.UnsafeEnabled {
  631. mi := &file_message_proto_msgTypes[9]
  632. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  633. ms.StoreMessageInfo(mi)
  634. }
  635. }
  636. func (x *FindUserMsgRes) String() string {
  637. return protoimpl.X.MessageStringOf(x)
  638. }
  639. func (*FindUserMsgRes) ProtoMessage() {}
  640. func (x *FindUserMsgRes) ProtoReflect() protoreflect.Message {
  641. mi := &file_message_proto_msgTypes[9]
  642. if protoimpl.UnsafeEnabled && x != nil {
  643. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  644. if ms.LoadMessageInfo() == nil {
  645. ms.StoreMessageInfo(mi)
  646. }
  647. return ms
  648. }
  649. return mi.MessageOf(x)
  650. }
  651. // Deprecated: Use FindUserMsgRes.ProtoReflect.Descriptor instead.
  652. func (*FindUserMsgRes) Descriptor() ([]byte, []int) {
  653. return file_message_proto_rawDescGZIP(), []int{9}
  654. }
  655. func (x *FindUserMsgRes) GetCode() int64 {
  656. if x != nil {
  657. return x.Code
  658. }
  659. return 0
  660. }
  661. func (x *FindUserMsgRes) GetMessage() string {
  662. if x != nil {
  663. return x.Message
  664. }
  665. return ""
  666. }
  667. func (x *FindUserMsgRes) GetData() []*Messages {
  668. if x != nil {
  669. return x.Data
  670. }
  671. return nil
  672. }
  673. func (x *FindUserMsgRes) GetCount() int64 {
  674. if x != nil {
  675. return x.Count
  676. }
  677. return 0
  678. }
  679. type GetClassUnreadCountReq struct {
  680. state protoimpl.MessageState
  681. sizeCache protoimpl.SizeCache
  682. unknownFields protoimpl.UnknownFields
  683. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
  684. MsgType int64 `protobuf:"varint,2,opt,name=msgType,proto3" json:"msgType,omitempty"` //分类 1:客服 2:系统通知 3:营销 4:用户会话
  685. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  686. }
  687. func (x *GetClassUnreadCountReq) Reset() {
  688. *x = GetClassUnreadCountReq{}
  689. if protoimpl.UnsafeEnabled {
  690. mi := &file_message_proto_msgTypes[10]
  691. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  692. ms.StoreMessageInfo(mi)
  693. }
  694. }
  695. func (x *GetClassUnreadCountReq) String() string {
  696. return protoimpl.X.MessageStringOf(x)
  697. }
  698. func (*GetClassUnreadCountReq) ProtoMessage() {}
  699. func (x *GetClassUnreadCountReq) ProtoReflect() protoreflect.Message {
  700. mi := &file_message_proto_msgTypes[10]
  701. if protoimpl.UnsafeEnabled && x != nil {
  702. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  703. if ms.LoadMessageInfo() == nil {
  704. ms.StoreMessageInfo(mi)
  705. }
  706. return ms
  707. }
  708. return mi.MessageOf(x)
  709. }
  710. // Deprecated: Use GetClassUnreadCountReq.ProtoReflect.Descriptor instead.
  711. func (*GetClassUnreadCountReq) Descriptor() ([]byte, []int) {
  712. return file_message_proto_rawDescGZIP(), []int{10}
  713. }
  714. func (x *GetClassUnreadCountReq) GetUserId() string {
  715. if x != nil {
  716. return x.UserId
  717. }
  718. return ""
  719. }
  720. func (x *GetClassUnreadCountReq) GetMsgType() int64 {
  721. if x != nil {
  722. return x.MsgType
  723. }
  724. return 0
  725. }
  726. func (x *GetClassUnreadCountReq) GetAppid() string {
  727. if x != nil {
  728. return x.Appid
  729. }
  730. return ""
  731. }
  732. //查看消息内容
  733. type MessageDetailReq struct {
  734. state protoimpl.MessageState
  735. sizeCache protoimpl.SizeCache
  736. unknownFields protoimpl.UnknownFields
  737. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //消息id
  738. }
  739. func (x *MessageDetailReq) Reset() {
  740. *x = MessageDetailReq{}
  741. if protoimpl.UnsafeEnabled {
  742. mi := &file_message_proto_msgTypes[11]
  743. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  744. ms.StoreMessageInfo(mi)
  745. }
  746. }
  747. func (x *MessageDetailReq) String() string {
  748. return protoimpl.X.MessageStringOf(x)
  749. }
  750. func (*MessageDetailReq) ProtoMessage() {}
  751. func (x *MessageDetailReq) ProtoReflect() protoreflect.Message {
  752. mi := &file_message_proto_msgTypes[11]
  753. if protoimpl.UnsafeEnabled && x != nil {
  754. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  755. if ms.LoadMessageInfo() == nil {
  756. ms.StoreMessageInfo(mi)
  757. }
  758. return ms
  759. }
  760. return mi.MessageOf(x)
  761. }
  762. // Deprecated: Use MessageDetailReq.ProtoReflect.Descriptor instead.
  763. func (*MessageDetailReq) Descriptor() ([]byte, []int) {
  764. return file_message_proto_rawDescGZIP(), []int{11}
  765. }
  766. func (x *MessageDetailReq) GetId() int64 {
  767. if x != nil {
  768. return x.Id
  769. }
  770. return 0
  771. }
  772. type MessageDetailResp struct {
  773. state protoimpl.MessageState
  774. sizeCache protoimpl.SizeCache
  775. unknownFields protoimpl.UnknownFields
  776. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  777. ReceiveUserId string `protobuf:"bytes,2,opt,name=receiveUserId,proto3" json:"receiveUserId,omitempty"` //接收方用户ID
  778. ReceiveName string `protobuf:"bytes,3,opt,name=receiveName,proto3" json:"receiveName,omitempty"` //接收方用户名
  779. SendUserId string `protobuf:"bytes,4,opt,name=sendUserId,proto3" json:"sendUserId,omitempty"` //发送方用户ID
  780. SendName string `protobuf:"bytes,5,opt,name=sendName,proto3" json:"sendName,omitempty"` //发送方用户名
  781. Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"` //主题
  782. Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` //内容
  783. MsgType int64 `protobuf:"varint,8,opt,name=msgType,proto3" json:"msgType,omitempty"` //消息类型 1:客服 2:系统通知 3:营销 4:用户会话
  784. Link string `protobuf:"bytes,9,opt,name=link,proto3" json:"link,omitempty"` //跳转链接
  785. CiteId int64 `protobuf:"varint,10,opt,name=citeId,proto3" json:"citeId,omitempty"` //引用id
  786. IsRead int64 `protobuf:"varint,11,opt,name=isRead,proto3" json:"isRead,omitempty"` //已读未读 0:未读 1:已读
  787. Createtime string `protobuf:"bytes,12,opt,name=createtime,proto3" json:"createtime,omitempty"`
  788. Appid string `protobuf:"bytes,13,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  789. }
  790. func (x *MessageDetailResp) Reset() {
  791. *x = MessageDetailResp{}
  792. if protoimpl.UnsafeEnabled {
  793. mi := &file_message_proto_msgTypes[12]
  794. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  795. ms.StoreMessageInfo(mi)
  796. }
  797. }
  798. func (x *MessageDetailResp) String() string {
  799. return protoimpl.X.MessageStringOf(x)
  800. }
  801. func (*MessageDetailResp) ProtoMessage() {}
  802. func (x *MessageDetailResp) ProtoReflect() protoreflect.Message {
  803. mi := &file_message_proto_msgTypes[12]
  804. if protoimpl.UnsafeEnabled && x != nil {
  805. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  806. if ms.LoadMessageInfo() == nil {
  807. ms.StoreMessageInfo(mi)
  808. }
  809. return ms
  810. }
  811. return mi.MessageOf(x)
  812. }
  813. // Deprecated: Use MessageDetailResp.ProtoReflect.Descriptor instead.
  814. func (*MessageDetailResp) Descriptor() ([]byte, []int) {
  815. return file_message_proto_rawDescGZIP(), []int{12}
  816. }
  817. func (x *MessageDetailResp) GetId() int64 {
  818. if x != nil {
  819. return x.Id
  820. }
  821. return 0
  822. }
  823. func (x *MessageDetailResp) GetReceiveUserId() string {
  824. if x != nil {
  825. return x.ReceiveUserId
  826. }
  827. return ""
  828. }
  829. func (x *MessageDetailResp) GetReceiveName() string {
  830. if x != nil {
  831. return x.ReceiveName
  832. }
  833. return ""
  834. }
  835. func (x *MessageDetailResp) GetSendUserId() string {
  836. if x != nil {
  837. return x.SendUserId
  838. }
  839. return ""
  840. }
  841. func (x *MessageDetailResp) GetSendName() string {
  842. if x != nil {
  843. return x.SendName
  844. }
  845. return ""
  846. }
  847. func (x *MessageDetailResp) GetTitle() string {
  848. if x != nil {
  849. return x.Title
  850. }
  851. return ""
  852. }
  853. func (x *MessageDetailResp) GetContent() string {
  854. if x != nil {
  855. return x.Content
  856. }
  857. return ""
  858. }
  859. func (x *MessageDetailResp) GetMsgType() int64 {
  860. if x != nil {
  861. return x.MsgType
  862. }
  863. return 0
  864. }
  865. func (x *MessageDetailResp) GetLink() string {
  866. if x != nil {
  867. return x.Link
  868. }
  869. return ""
  870. }
  871. func (x *MessageDetailResp) GetCiteId() int64 {
  872. if x != nil {
  873. return x.CiteId
  874. }
  875. return 0
  876. }
  877. func (x *MessageDetailResp) GetIsRead() int64 {
  878. if x != nil {
  879. return x.IsRead
  880. }
  881. return 0
  882. }
  883. func (x *MessageDetailResp) GetCreatetime() string {
  884. if x != nil {
  885. return x.Createtime
  886. }
  887. return ""
  888. }
  889. func (x *MessageDetailResp) GetAppid() string {
  890. if x != nil {
  891. return x.Appid
  892. }
  893. return ""
  894. }
  895. type GetLastMessageReq struct {
  896. state protoimpl.MessageState
  897. sizeCache protoimpl.SizeCache
  898. unknownFields protoimpl.UnknownFields
  899. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
  900. MsgType int64 `protobuf:"varint,2,opt,name=msgType,proto3" json:"msgType,omitempty"` //分类 1:客服 2:系统通知 3:营销 4:用户会话
  901. Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
  902. }
  903. func (x *GetLastMessageReq) Reset() {
  904. *x = GetLastMessageReq{}
  905. if protoimpl.UnsafeEnabled {
  906. mi := &file_message_proto_msgTypes[13]
  907. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  908. ms.StoreMessageInfo(mi)
  909. }
  910. }
  911. func (x *GetLastMessageReq) String() string {
  912. return protoimpl.X.MessageStringOf(x)
  913. }
  914. func (*GetLastMessageReq) ProtoMessage() {}
  915. func (x *GetLastMessageReq) ProtoReflect() protoreflect.Message {
  916. mi := &file_message_proto_msgTypes[13]
  917. if protoimpl.UnsafeEnabled && x != nil {
  918. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  919. if ms.LoadMessageInfo() == nil {
  920. ms.StoreMessageInfo(mi)
  921. }
  922. return ms
  923. }
  924. return mi.MessageOf(x)
  925. }
  926. // Deprecated: Use GetLastMessageReq.ProtoReflect.Descriptor instead.
  927. func (*GetLastMessageReq) Descriptor() ([]byte, []int) {
  928. return file_message_proto_rawDescGZIP(), []int{13}
  929. }
  930. func (x *GetLastMessageReq) GetUserId() string {
  931. if x != nil {
  932. return x.UserId
  933. }
  934. return ""
  935. }
  936. func (x *GetLastMessageReq) GetMsgType() int64 {
  937. if x != nil {
  938. return x.MsgType
  939. }
  940. return 0
  941. }
  942. func (x *GetLastMessageReq) GetAppid() string {
  943. if x != nil {
  944. return x.Appid
  945. }
  946. return ""
  947. }
  948. type GetLastMessageRes struct {
  949. state protoimpl.MessageState
  950. sizeCache protoimpl.SizeCache
  951. unknownFields protoimpl.UnknownFields
  952. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
  953. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
  954. Data *Messages `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` //
  955. }
  956. func (x *GetLastMessageRes) Reset() {
  957. *x = GetLastMessageRes{}
  958. if protoimpl.UnsafeEnabled {
  959. mi := &file_message_proto_msgTypes[14]
  960. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  961. ms.StoreMessageInfo(mi)
  962. }
  963. }
  964. func (x *GetLastMessageRes) String() string {
  965. return protoimpl.X.MessageStringOf(x)
  966. }
  967. func (*GetLastMessageRes) ProtoMessage() {}
  968. func (x *GetLastMessageRes) ProtoReflect() protoreflect.Message {
  969. mi := &file_message_proto_msgTypes[14]
  970. if protoimpl.UnsafeEnabled && x != nil {
  971. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  972. if ms.LoadMessageInfo() == nil {
  973. ms.StoreMessageInfo(mi)
  974. }
  975. return ms
  976. }
  977. return mi.MessageOf(x)
  978. }
  979. // Deprecated: Use GetLastMessageRes.ProtoReflect.Descriptor instead.
  980. func (*GetLastMessageRes) Descriptor() ([]byte, []int) {
  981. return file_message_proto_rawDescGZIP(), []int{14}
  982. }
  983. func (x *GetLastMessageRes) GetCode() int64 {
  984. if x != nil {
  985. return x.Code
  986. }
  987. return 0
  988. }
  989. func (x *GetLastMessageRes) GetMessage() string {
  990. if x != nil {
  991. return x.Message
  992. }
  993. return ""
  994. }
  995. func (x *GetLastMessageRes) GetData() *Messages {
  996. if x != nil {
  997. return x.Data
  998. }
  999. return nil
  1000. }
  1001. var File_message_proto protoreflect.FileDescriptor
  1002. var file_message_proto_rawDesc = []byte{
  1003. 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  1004. 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xa0, 0x02, 0x0a, 0x0e, 0x53, 0x65, 0x6e,
  1005. 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x72,
  1006. 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  1007. 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49,
  1008. 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65,
  1009. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e,
  1010. 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49,
  1011. 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65,
  1012. 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18,
  1013. 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  1014. 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1015. 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
  1016. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
  1017. 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03,
  1018. 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e,
  1019. 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a,
  1020. 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63,
  1021. 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x0a,
  1022. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x17, 0x43,
  1023. 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
  1024. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1025. 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x61, 0x64, 0x53, 0x74,
  1026. 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x61, 0x64,
  1027. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
  1028. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x42, 0x0a, 0x1a,
  1029. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73,
  1030. 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  1031. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70,
  1032. 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64,
  1033. 0x22, 0x44, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70,
  1034. 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1035. 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
  1036. 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  1037. 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x45, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72,
  1038. 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  1039. 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1040. 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64,
  1041. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x38, 0x0a,
  1042. 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
  1043. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a,
  1044. 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  1045. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x5c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x55, 0x6e,
  1046. 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  1047. 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  1048. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1049. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
  1050. 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
  1051. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xc6, 0x01, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73,
  1052. 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72,
  1053. 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
  1054. 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49,
  1055. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  1056. 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
  1057. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06,
  1058. 0x6f, 0x66, 0x66, 0x53, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66,
  1059. 0x66, 0x53, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
  1060. 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
  1061. 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
  1062. 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65,
  1063. 0x61, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x72, 0x65, 0x61, 0x64, 0x22, 0xd2,
  1064. 0x02, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x72,
  1065. 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  1066. 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49,
  1067. 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65,
  1068. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e,
  1069. 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49,
  1070. 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65,
  1071. 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18,
  1072. 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  1073. 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1074. 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
  1075. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
  1076. 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03,
  1077. 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e,
  1078. 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a,
  1079. 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63,
  1080. 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18,
  1081. 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1e, 0x0a,
  1082. 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28,
  1083. 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a,
  1084. 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70,
  1085. 0x70, 0x69, 0x64, 0x22, 0x7b, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d,
  1086. 0x73, 0x67, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
  1087. 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73,
  1088. 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73,
  1089. 0x61, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28,
  1090. 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73,
  1091. 0x61, 0x67, 0x65, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f,
  1092. 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  1093. 0x22, 0x60, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65,
  1094. 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73,
  1095. 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
  1096. 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
  1097. 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05,
  1098. 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70,
  1099. 0x69, 0x64, 0x22, 0x22, 0x0a, 0x10, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74,
  1100. 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1101. 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0xeb, 0x02, 0x0a, 0x11, 0x4d, 0x65, 0x73, 0x73, 0x61,
  1102. 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x0e, 0x0a, 0x02,
  1103. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0d,
  1104. 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20,
  1105. 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72,
  1106. 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d,
  1107. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  1108. 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72,
  1109. 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73,
  1110. 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65,
  1111. 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65,
  1112. 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
  1113. 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
  1114. 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
  1115. 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
  1116. 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69,
  1117. 0x6e, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16,
  1118. 0x0a, 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
  1119. 0x63, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64,
  1120. 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1e,
  1121. 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01,
  1122. 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14,
  1123. 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61,
  1124. 0x70, 0x70, 0x69, 0x64, 0x22, 0x5b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d,
  1125. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65,
  1126. 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
  1127. 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
  1128. 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61,
  1129. 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69,
  1130. 0x64, 0x22, 0x68, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73,
  1131. 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01,
  1132. 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65,
  1133. 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73,
  1134. 0x73, 0x61, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01,
  1135. 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73,
  1136. 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0xb2, 0x05, 0x0a, 0x07,
  1137. 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x47, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67,
  1138. 0x65, 0x52, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x65,
  1139. 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64,
  1140. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e,
  1141. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1142. 0x12, 0x39, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12,
  1143. 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73,
  1144. 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1145. 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x13, 0x44,
  1146. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
  1147. 0x67, 0x65, 0x12, 0x23, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x6c,
  1148. 0x65, 0x74, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1149. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1150. 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x15, 0x44, 0x65,
  1151. 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73,
  1152. 0x61, 0x67, 0x65, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65,
  1153. 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73,
  1154. 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73,
  1155. 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a,
  1156. 0x0e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  1157. 0x1e, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72,
  1158. 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  1159. 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72,
  1160. 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1161. 0x12, 0x3f, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12,
  1162. 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73,
  1163. 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1164. 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65,
  1165. 0x73, 0x12, 0x57, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72,
  1166. 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1167. 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65, 0x61,
  1168. 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1169. 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75,
  1170. 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0e, 0x47, 0x65,
  1171. 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x2e, 0x6d,
  1172. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65,
  1173. 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1174. 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1175. 0x65, 0x52, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73,
  1176. 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1177. 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69,
  1178. 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d,
  1179. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70,
  1180. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1181. }
  1182. var (
  1183. file_message_proto_rawDescOnce sync.Once
  1184. file_message_proto_rawDescData = file_message_proto_rawDesc
  1185. )
  1186. func file_message_proto_rawDescGZIP() []byte {
  1187. file_message_proto_rawDescOnce.Do(func() {
  1188. file_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_message_proto_rawDescData)
  1189. })
  1190. return file_message_proto_rawDescData
  1191. }
  1192. var file_message_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
  1193. var file_message_proto_goTypes = []interface{}{
  1194. (*SendMsgRequest)(nil), // 0: message.SendMsgRequest
  1195. (*ChangeReadStatusRequest)(nil), // 1: message.ChangeReadStatusRequest
  1196. (*DeleteSingleMessageRequest)(nil), // 2: message.DeleteSingleMessageRequest
  1197. (*DeleteMultipleMessageRequest)(nil), // 3: message.DeleteMultipleMessageRequest
  1198. (*GetUnreadCountRequest)(nil), // 4: message.GetUnreadCountRequest
  1199. (*Response)(nil), // 5: message.Response
  1200. (*GetUnreadCountResponse)(nil), // 6: message.GetUnreadCountResponse
  1201. (*FindUserMsgReq)(nil), // 7: message.FindUserMsgReq
  1202. (*Messages)(nil), // 8: message.Messages
  1203. (*FindUserMsgRes)(nil), // 9: message.FindUserMsgRes
  1204. (*GetClassUnreadCountReq)(nil), // 10: message.GetClassUnreadCountReq
  1205. (*MessageDetailReq)(nil), // 11: message.MessageDetailReq
  1206. (*MessageDetailResp)(nil), // 12: message.MessageDetailResp
  1207. (*GetLastMessageReq)(nil), // 13: message.GetLastMessageReq
  1208. (*GetLastMessageRes)(nil), // 14: message.GetLastMessageRes
  1209. }
  1210. var file_message_proto_depIdxs = []int32{
  1211. 8, // 0: message.FindUserMsgRes.data:type_name -> message.Messages
  1212. 8, // 1: message.GetLastMessageRes.data:type_name -> message.Messages
  1213. 1, // 2: message.Message.ChangeReadStatus:input_type -> message.ChangeReadStatusRequest
  1214. 0, // 3: message.Message.SendUserMsg:input_type -> message.SendMsgRequest
  1215. 2, // 4: message.Message.DeleteSingleMessage:input_type -> message.DeleteSingleMessageRequest
  1216. 3, // 5: message.Message.DeleteMultipleMessage:input_type -> message.DeleteMultipleMessageRequest
  1217. 4, // 6: message.Message.GetUnreadCount:input_type -> message.GetUnreadCountRequest
  1218. 7, // 7: message.Message.FindUserMsg:input_type -> message.FindUserMsgReq
  1219. 10, // 8: message.Message.GetClassUnreadCount:input_type -> message.GetClassUnreadCountReq
  1220. 13, // 9: message.Message.GetLastMessage:input_type -> message.GetLastMessageReq
  1221. 11, // 10: message.Message.FindMessageDetail:input_type -> message.MessageDetailReq
  1222. 5, // 11: message.Message.ChangeReadStatus:output_type -> message.Response
  1223. 5, // 12: message.Message.SendUserMsg:output_type -> message.Response
  1224. 5, // 13: message.Message.DeleteSingleMessage:output_type -> message.Response
  1225. 5, // 14: message.Message.DeleteMultipleMessage:output_type -> message.Response
  1226. 6, // 15: message.Message.GetUnreadCount:output_type -> message.GetUnreadCountResponse
  1227. 9, // 16: message.Message.FindUserMsg:output_type -> message.FindUserMsgRes
  1228. 6, // 17: message.Message.GetClassUnreadCount:output_type -> message.GetUnreadCountResponse
  1229. 14, // 18: message.Message.GetLastMessage:output_type -> message.GetLastMessageRes
  1230. 12, // 19: message.Message.FindMessageDetail:output_type -> message.MessageDetailResp
  1231. 11, // [11:20] is the sub-list for method output_type
  1232. 2, // [2:11] is the sub-list for method input_type
  1233. 2, // [2:2] is the sub-list for extension type_name
  1234. 2, // [2:2] is the sub-list for extension extendee
  1235. 0, // [0:2] is the sub-list for field type_name
  1236. }
  1237. func init() { file_message_proto_init() }
  1238. func file_message_proto_init() {
  1239. if File_message_proto != nil {
  1240. return
  1241. }
  1242. if !protoimpl.UnsafeEnabled {
  1243. file_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1244. switch v := v.(*SendMsgRequest); i {
  1245. case 0:
  1246. return &v.state
  1247. case 1:
  1248. return &v.sizeCache
  1249. case 2:
  1250. return &v.unknownFields
  1251. default:
  1252. return nil
  1253. }
  1254. }
  1255. file_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1256. switch v := v.(*ChangeReadStatusRequest); i {
  1257. case 0:
  1258. return &v.state
  1259. case 1:
  1260. return &v.sizeCache
  1261. case 2:
  1262. return &v.unknownFields
  1263. default:
  1264. return nil
  1265. }
  1266. }
  1267. file_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1268. switch v := v.(*DeleteSingleMessageRequest); i {
  1269. case 0:
  1270. return &v.state
  1271. case 1:
  1272. return &v.sizeCache
  1273. case 2:
  1274. return &v.unknownFields
  1275. default:
  1276. return nil
  1277. }
  1278. }
  1279. file_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1280. switch v := v.(*DeleteMultipleMessageRequest); i {
  1281. case 0:
  1282. return &v.state
  1283. case 1:
  1284. return &v.sizeCache
  1285. case 2:
  1286. return &v.unknownFields
  1287. default:
  1288. return nil
  1289. }
  1290. }
  1291. file_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1292. switch v := v.(*GetUnreadCountRequest); i {
  1293. case 0:
  1294. return &v.state
  1295. case 1:
  1296. return &v.sizeCache
  1297. case 2:
  1298. return &v.unknownFields
  1299. default:
  1300. return nil
  1301. }
  1302. }
  1303. file_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1304. switch v := v.(*Response); i {
  1305. case 0:
  1306. return &v.state
  1307. case 1:
  1308. return &v.sizeCache
  1309. case 2:
  1310. return &v.unknownFields
  1311. default:
  1312. return nil
  1313. }
  1314. }
  1315. file_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1316. switch v := v.(*GetUnreadCountResponse); i {
  1317. case 0:
  1318. return &v.state
  1319. case 1:
  1320. return &v.sizeCache
  1321. case 2:
  1322. return &v.unknownFields
  1323. default:
  1324. return nil
  1325. }
  1326. }
  1327. file_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1328. switch v := v.(*FindUserMsgReq); i {
  1329. case 0:
  1330. return &v.state
  1331. case 1:
  1332. return &v.sizeCache
  1333. case 2:
  1334. return &v.unknownFields
  1335. default:
  1336. return nil
  1337. }
  1338. }
  1339. file_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1340. switch v := v.(*Messages); i {
  1341. case 0:
  1342. return &v.state
  1343. case 1:
  1344. return &v.sizeCache
  1345. case 2:
  1346. return &v.unknownFields
  1347. default:
  1348. return nil
  1349. }
  1350. }
  1351. file_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1352. switch v := v.(*FindUserMsgRes); i {
  1353. case 0:
  1354. return &v.state
  1355. case 1:
  1356. return &v.sizeCache
  1357. case 2:
  1358. return &v.unknownFields
  1359. default:
  1360. return nil
  1361. }
  1362. }
  1363. file_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1364. switch v := v.(*GetClassUnreadCountReq); i {
  1365. case 0:
  1366. return &v.state
  1367. case 1:
  1368. return &v.sizeCache
  1369. case 2:
  1370. return &v.unknownFields
  1371. default:
  1372. return nil
  1373. }
  1374. }
  1375. file_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1376. switch v := v.(*MessageDetailReq); i {
  1377. case 0:
  1378. return &v.state
  1379. case 1:
  1380. return &v.sizeCache
  1381. case 2:
  1382. return &v.unknownFields
  1383. default:
  1384. return nil
  1385. }
  1386. }
  1387. file_message_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1388. switch v := v.(*MessageDetailResp); i {
  1389. case 0:
  1390. return &v.state
  1391. case 1:
  1392. return &v.sizeCache
  1393. case 2:
  1394. return &v.unknownFields
  1395. default:
  1396. return nil
  1397. }
  1398. }
  1399. file_message_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1400. switch v := v.(*GetLastMessageReq); i {
  1401. case 0:
  1402. return &v.state
  1403. case 1:
  1404. return &v.sizeCache
  1405. case 2:
  1406. return &v.unknownFields
  1407. default:
  1408. return nil
  1409. }
  1410. }
  1411. file_message_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1412. switch v := v.(*GetLastMessageRes); i {
  1413. case 0:
  1414. return &v.state
  1415. case 1:
  1416. return &v.sizeCache
  1417. case 2:
  1418. return &v.unknownFields
  1419. default:
  1420. return nil
  1421. }
  1422. }
  1423. }
  1424. type x struct{}
  1425. out := protoimpl.TypeBuilder{
  1426. File: protoimpl.DescBuilder{
  1427. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1428. RawDescriptor: file_message_proto_rawDesc,
  1429. NumEnums: 0,
  1430. NumMessages: 15,
  1431. NumExtensions: 0,
  1432. NumServices: 1,
  1433. },
  1434. GoTypes: file_message_proto_goTypes,
  1435. DependencyIndexes: file_message_proto_depIdxs,
  1436. MessageInfos: file_message_proto_msgTypes,
  1437. }.Build()
  1438. File_message_proto = out.File
  1439. file_message_proto_rawDesc = nil
  1440. file_message_proto_goTypes = nil
  1441. file_message_proto_depIdxs = nil
  1442. }
  1443. // Reference imports to suppress errors if they are not otherwise used.
  1444. var _ context.Context
  1445. var _ grpc.ClientConnInterface
  1446. // This is a compile-time assertion to ensure that this generated file
  1447. // is compatible with the grpc package it is being compiled against.
  1448. const _ = grpc.SupportPackageIsVersion6
  1449. // MessageClient is the client API for Message service.
  1450. //
  1451. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1452. type MessageClient interface {
  1453. // 修改消息阅读状态
  1454. ChangeReadStatus(ctx context.Context, in *ChangeReadStatusRequest, opts ...grpc.CallOption) (*Response, error)
  1455. //指定用户发消息
  1456. SendUserMsg(ctx context.Context, in *SendMsgRequest, opts ...grpc.CallOption) (*Response, error)
  1457. // 删除单一消息
  1458. DeleteSingleMessage(ctx context.Context, in *DeleteSingleMessageRequest, opts ...grpc.CallOption) (*Response, error)
  1459. // 删除多条消息
  1460. DeleteMultipleMessage(ctx context.Context, in *DeleteMultipleMessageRequest, opts ...grpc.CallOption) (*Response, error)
  1461. // 查询指定用户未读消息合计
  1462. GetUnreadCount(ctx context.Context, in *GetUnreadCountRequest, opts ...grpc.CallOption) (*GetUnreadCountResponse, error)
  1463. // 查询指定用户的历史消息记录
  1464. FindUserMsg(ctx context.Context, in *FindUserMsgReq, opts ...grpc.CallOption) (*FindUserMsgRes, error)
  1465. // 查询指定用户指定分类的未读消息合计
  1466. GetClassUnreadCount(ctx context.Context, in *GetClassUnreadCountReq, opts ...grpc.CallOption) (*GetUnreadCountResponse, error)
  1467. // 获取指定用户指定分类的最新一条未读消息
  1468. GetLastMessage(ctx context.Context, in *GetLastMessageReq, opts ...grpc.CallOption) (*GetLastMessageRes, error)
  1469. //查看详细详情
  1470. FindMessageDetail(ctx context.Context, in *MessageDetailReq, opts ...grpc.CallOption) (*MessageDetailResp, error)
  1471. }
  1472. type messageClient struct {
  1473. cc grpc.ClientConnInterface
  1474. }
  1475. func NewMessageClient(cc grpc.ClientConnInterface) MessageClient {
  1476. return &messageClient{cc}
  1477. }
  1478. func (c *messageClient) ChangeReadStatus(ctx context.Context, in *ChangeReadStatusRequest, opts ...grpc.CallOption) (*Response, error) {
  1479. out := new(Response)
  1480. err := c.cc.Invoke(ctx, "/message.Message/ChangeReadStatus", in, out, opts...)
  1481. if err != nil {
  1482. return nil, err
  1483. }
  1484. return out, nil
  1485. }
  1486. func (c *messageClient) SendUserMsg(ctx context.Context, in *SendMsgRequest, opts ...grpc.CallOption) (*Response, error) {
  1487. out := new(Response)
  1488. err := c.cc.Invoke(ctx, "/message.Message/SendUserMsg", in, out, opts...)
  1489. if err != nil {
  1490. return nil, err
  1491. }
  1492. return out, nil
  1493. }
  1494. func (c *messageClient) DeleteSingleMessage(ctx context.Context, in *DeleteSingleMessageRequest, opts ...grpc.CallOption) (*Response, error) {
  1495. out := new(Response)
  1496. err := c.cc.Invoke(ctx, "/message.Message/DeleteSingleMessage", in, out, opts...)
  1497. if err != nil {
  1498. return nil, err
  1499. }
  1500. return out, nil
  1501. }
  1502. func (c *messageClient) DeleteMultipleMessage(ctx context.Context, in *DeleteMultipleMessageRequest, opts ...grpc.CallOption) (*Response, error) {
  1503. out := new(Response)
  1504. err := c.cc.Invoke(ctx, "/message.Message/DeleteMultipleMessage", in, out, opts...)
  1505. if err != nil {
  1506. return nil, err
  1507. }
  1508. return out, nil
  1509. }
  1510. func (c *messageClient) GetUnreadCount(ctx context.Context, in *GetUnreadCountRequest, opts ...grpc.CallOption) (*GetUnreadCountResponse, error) {
  1511. out := new(GetUnreadCountResponse)
  1512. err := c.cc.Invoke(ctx, "/message.Message/GetUnreadCount", in, out, opts...)
  1513. if err != nil {
  1514. return nil, err
  1515. }
  1516. return out, nil
  1517. }
  1518. func (c *messageClient) FindUserMsg(ctx context.Context, in *FindUserMsgReq, opts ...grpc.CallOption) (*FindUserMsgRes, error) {
  1519. out := new(FindUserMsgRes)
  1520. err := c.cc.Invoke(ctx, "/message.Message/FindUserMsg", in, out, opts...)
  1521. if err != nil {
  1522. return nil, err
  1523. }
  1524. return out, nil
  1525. }
  1526. func (c *messageClient) GetClassUnreadCount(ctx context.Context, in *GetClassUnreadCountReq, opts ...grpc.CallOption) (*GetUnreadCountResponse, error) {
  1527. out := new(GetUnreadCountResponse)
  1528. err := c.cc.Invoke(ctx, "/message.Message/GetClassUnreadCount", in, out, opts...)
  1529. if err != nil {
  1530. return nil, err
  1531. }
  1532. return out, nil
  1533. }
  1534. func (c *messageClient) GetLastMessage(ctx context.Context, in *GetLastMessageReq, opts ...grpc.CallOption) (*GetLastMessageRes, error) {
  1535. out := new(GetLastMessageRes)
  1536. err := c.cc.Invoke(ctx, "/message.Message/GetLastMessage", in, out, opts...)
  1537. if err != nil {
  1538. return nil, err
  1539. }
  1540. return out, nil
  1541. }
  1542. func (c *messageClient) FindMessageDetail(ctx context.Context, in *MessageDetailReq, opts ...grpc.CallOption) (*MessageDetailResp, error) {
  1543. out := new(MessageDetailResp)
  1544. err := c.cc.Invoke(ctx, "/message.Message/FindMessageDetail", in, out, opts...)
  1545. if err != nil {
  1546. return nil, err
  1547. }
  1548. return out, nil
  1549. }
  1550. // MessageServer is the server API for Message service.
  1551. type MessageServer interface {
  1552. // 修改消息阅读状态
  1553. ChangeReadStatus(context.Context, *ChangeReadStatusRequest) (*Response, error)
  1554. //指定用户发消息
  1555. SendUserMsg(context.Context, *SendMsgRequest) (*Response, error)
  1556. // 删除单一消息
  1557. DeleteSingleMessage(context.Context, *DeleteSingleMessageRequest) (*Response, error)
  1558. // 删除多条消息
  1559. DeleteMultipleMessage(context.Context, *DeleteMultipleMessageRequest) (*Response, error)
  1560. // 查询指定用户未读消息合计
  1561. GetUnreadCount(context.Context, *GetUnreadCountRequest) (*GetUnreadCountResponse, error)
  1562. // 查询指定用户的历史消息记录
  1563. FindUserMsg(context.Context, *FindUserMsgReq) (*FindUserMsgRes, error)
  1564. // 查询指定用户指定分类的未读消息合计
  1565. GetClassUnreadCount(context.Context, *GetClassUnreadCountReq) (*GetUnreadCountResponse, error)
  1566. // 获取指定用户指定分类的最新一条未读消息
  1567. GetLastMessage(context.Context, *GetLastMessageReq) (*GetLastMessageRes, error)
  1568. //查看详细详情
  1569. FindMessageDetail(context.Context, *MessageDetailReq) (*MessageDetailResp, error)
  1570. }
  1571. // UnimplementedMessageServer can be embedded to have forward compatible implementations.
  1572. type UnimplementedMessageServer struct {
  1573. }
  1574. func (*UnimplementedMessageServer) ChangeReadStatus(context.Context, *ChangeReadStatusRequest) (*Response, error) {
  1575. return nil, status.Errorf(codes.Unimplemented, "method ChangeReadStatus not implemented")
  1576. }
  1577. func (*UnimplementedMessageServer) SendUserMsg(context.Context, *SendMsgRequest) (*Response, error) {
  1578. return nil, status.Errorf(codes.Unimplemented, "method SendUserMsg not implemented")
  1579. }
  1580. func (*UnimplementedMessageServer) DeleteSingleMessage(context.Context, *DeleteSingleMessageRequest) (*Response, error) {
  1581. return nil, status.Errorf(codes.Unimplemented, "method DeleteSingleMessage not implemented")
  1582. }
  1583. func (*UnimplementedMessageServer) DeleteMultipleMessage(context.Context, *DeleteMultipleMessageRequest) (*Response, error) {
  1584. return nil, status.Errorf(codes.Unimplemented, "method DeleteMultipleMessage not implemented")
  1585. }
  1586. func (*UnimplementedMessageServer) GetUnreadCount(context.Context, *GetUnreadCountRequest) (*GetUnreadCountResponse, error) {
  1587. return nil, status.Errorf(codes.Unimplemented, "method GetUnreadCount not implemented")
  1588. }
  1589. func (*UnimplementedMessageServer) FindUserMsg(context.Context, *FindUserMsgReq) (*FindUserMsgRes, error) {
  1590. return nil, status.Errorf(codes.Unimplemented, "method FindUserMsg not implemented")
  1591. }
  1592. func (*UnimplementedMessageServer) GetClassUnreadCount(context.Context, *GetClassUnreadCountReq) (*GetUnreadCountResponse, error) {
  1593. return nil, status.Errorf(codes.Unimplemented, "method GetClassUnreadCount not implemented")
  1594. }
  1595. func (*UnimplementedMessageServer) GetLastMessage(context.Context, *GetLastMessageReq) (*GetLastMessageRes, error) {
  1596. return nil, status.Errorf(codes.Unimplemented, "method GetLastMessage not implemented")
  1597. }
  1598. func (*UnimplementedMessageServer) FindMessageDetail(context.Context, *MessageDetailReq) (*MessageDetailResp, error) {
  1599. return nil, status.Errorf(codes.Unimplemented, "method FindMessageDetail not implemented")
  1600. }
  1601. func RegisterMessageServer(s *grpc.Server, srv MessageServer) {
  1602. s.RegisterService(&_Message_serviceDesc, srv)
  1603. }
  1604. func _Message_ChangeReadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1605. in := new(ChangeReadStatusRequest)
  1606. if err := dec(in); err != nil {
  1607. return nil, err
  1608. }
  1609. if interceptor == nil {
  1610. return srv.(MessageServer).ChangeReadStatus(ctx, in)
  1611. }
  1612. info := &grpc.UnaryServerInfo{
  1613. Server: srv,
  1614. FullMethod: "/message.Message/ChangeReadStatus",
  1615. }
  1616. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1617. return srv.(MessageServer).ChangeReadStatus(ctx, req.(*ChangeReadStatusRequest))
  1618. }
  1619. return interceptor(ctx, in, info, handler)
  1620. }
  1621. func _Message_SendUserMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1622. in := new(SendMsgRequest)
  1623. if err := dec(in); err != nil {
  1624. return nil, err
  1625. }
  1626. if interceptor == nil {
  1627. return srv.(MessageServer).SendUserMsg(ctx, in)
  1628. }
  1629. info := &grpc.UnaryServerInfo{
  1630. Server: srv,
  1631. FullMethod: "/message.Message/SendUserMsg",
  1632. }
  1633. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1634. return srv.(MessageServer).SendUserMsg(ctx, req.(*SendMsgRequest))
  1635. }
  1636. return interceptor(ctx, in, info, handler)
  1637. }
  1638. func _Message_DeleteSingleMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1639. in := new(DeleteSingleMessageRequest)
  1640. if err := dec(in); err != nil {
  1641. return nil, err
  1642. }
  1643. if interceptor == nil {
  1644. return srv.(MessageServer).DeleteSingleMessage(ctx, in)
  1645. }
  1646. info := &grpc.UnaryServerInfo{
  1647. Server: srv,
  1648. FullMethod: "/message.Message/DeleteSingleMessage",
  1649. }
  1650. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1651. return srv.(MessageServer).DeleteSingleMessage(ctx, req.(*DeleteSingleMessageRequest))
  1652. }
  1653. return interceptor(ctx, in, info, handler)
  1654. }
  1655. func _Message_DeleteMultipleMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1656. in := new(DeleteMultipleMessageRequest)
  1657. if err := dec(in); err != nil {
  1658. return nil, err
  1659. }
  1660. if interceptor == nil {
  1661. return srv.(MessageServer).DeleteMultipleMessage(ctx, in)
  1662. }
  1663. info := &grpc.UnaryServerInfo{
  1664. Server: srv,
  1665. FullMethod: "/message.Message/DeleteMultipleMessage",
  1666. }
  1667. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1668. return srv.(MessageServer).DeleteMultipleMessage(ctx, req.(*DeleteMultipleMessageRequest))
  1669. }
  1670. return interceptor(ctx, in, info, handler)
  1671. }
  1672. func _Message_GetUnreadCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1673. in := new(GetUnreadCountRequest)
  1674. if err := dec(in); err != nil {
  1675. return nil, err
  1676. }
  1677. if interceptor == nil {
  1678. return srv.(MessageServer).GetUnreadCount(ctx, in)
  1679. }
  1680. info := &grpc.UnaryServerInfo{
  1681. Server: srv,
  1682. FullMethod: "/message.Message/GetUnreadCount",
  1683. }
  1684. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1685. return srv.(MessageServer).GetUnreadCount(ctx, req.(*GetUnreadCountRequest))
  1686. }
  1687. return interceptor(ctx, in, info, handler)
  1688. }
  1689. func _Message_FindUserMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1690. in := new(FindUserMsgReq)
  1691. if err := dec(in); err != nil {
  1692. return nil, err
  1693. }
  1694. if interceptor == nil {
  1695. return srv.(MessageServer).FindUserMsg(ctx, in)
  1696. }
  1697. info := &grpc.UnaryServerInfo{
  1698. Server: srv,
  1699. FullMethod: "/message.Message/FindUserMsg",
  1700. }
  1701. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1702. return srv.(MessageServer).FindUserMsg(ctx, req.(*FindUserMsgReq))
  1703. }
  1704. return interceptor(ctx, in, info, handler)
  1705. }
  1706. func _Message_GetClassUnreadCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1707. in := new(GetClassUnreadCountReq)
  1708. if err := dec(in); err != nil {
  1709. return nil, err
  1710. }
  1711. if interceptor == nil {
  1712. return srv.(MessageServer).GetClassUnreadCount(ctx, in)
  1713. }
  1714. info := &grpc.UnaryServerInfo{
  1715. Server: srv,
  1716. FullMethod: "/message.Message/GetClassUnreadCount",
  1717. }
  1718. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1719. return srv.(MessageServer).GetClassUnreadCount(ctx, req.(*GetClassUnreadCountReq))
  1720. }
  1721. return interceptor(ctx, in, info, handler)
  1722. }
  1723. func _Message_GetLastMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1724. in := new(GetLastMessageReq)
  1725. if err := dec(in); err != nil {
  1726. return nil, err
  1727. }
  1728. if interceptor == nil {
  1729. return srv.(MessageServer).GetLastMessage(ctx, in)
  1730. }
  1731. info := &grpc.UnaryServerInfo{
  1732. Server: srv,
  1733. FullMethod: "/message.Message/GetLastMessage",
  1734. }
  1735. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1736. return srv.(MessageServer).GetLastMessage(ctx, req.(*GetLastMessageReq))
  1737. }
  1738. return interceptor(ctx, in, info, handler)
  1739. }
  1740. func _Message_FindMessageDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1741. in := new(MessageDetailReq)
  1742. if err := dec(in); err != nil {
  1743. return nil, err
  1744. }
  1745. if interceptor == nil {
  1746. return srv.(MessageServer).FindMessageDetail(ctx, in)
  1747. }
  1748. info := &grpc.UnaryServerInfo{
  1749. Server: srv,
  1750. FullMethod: "/message.Message/FindMessageDetail",
  1751. }
  1752. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1753. return srv.(MessageServer).FindMessageDetail(ctx, req.(*MessageDetailReq))
  1754. }
  1755. return interceptor(ctx, in, info, handler)
  1756. }
  1757. var _Message_serviceDesc = grpc.ServiceDesc{
  1758. ServiceName: "message.Message",
  1759. HandlerType: (*MessageServer)(nil),
  1760. Methods: []grpc.MethodDesc{
  1761. {
  1762. MethodName: "ChangeReadStatus",
  1763. Handler: _Message_ChangeReadStatus_Handler,
  1764. },
  1765. {
  1766. MethodName: "SendUserMsg",
  1767. Handler: _Message_SendUserMsg_Handler,
  1768. },
  1769. {
  1770. MethodName: "DeleteSingleMessage",
  1771. Handler: _Message_DeleteSingleMessage_Handler,
  1772. },
  1773. {
  1774. MethodName: "DeleteMultipleMessage",
  1775. Handler: _Message_DeleteMultipleMessage_Handler,
  1776. },
  1777. {
  1778. MethodName: "GetUnreadCount",
  1779. Handler: _Message_GetUnreadCount_Handler,
  1780. },
  1781. {
  1782. MethodName: "FindUserMsg",
  1783. Handler: _Message_FindUserMsg_Handler,
  1784. },
  1785. {
  1786. MethodName: "GetClassUnreadCount",
  1787. Handler: _Message_GetClassUnreadCount_Handler,
  1788. },
  1789. {
  1790. MethodName: "GetLastMessage",
  1791. Handler: _Message_GetLastMessage_Handler,
  1792. },
  1793. {
  1794. MethodName: "FindMessageDetail",
  1795. Handler: _Message_FindMessageDetail_Handler,
  1796. },
  1797. },
  1798. Streams: []grpc.StreamDesc{},
  1799. Metadata: "message.proto",
  1800. }