messagecenter.pb.go 92 KB

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