chat.pb.go 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0-devel
  4. // protoc v3.15.8
  5. // source: chat.proto
  6. package chat
  7. import (
  8. common "git.ikuban.com/server/pw-protobuf/api/common"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type PartnerFindRoomListRequest struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. NextId int64 `protobuf:"varint,1,opt,name=nextId,proto3" json:"nextId"`
  25. Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset"`
  26. IdentifyId string `protobuf:"bytes,3,opt,name=IdentifyId,proto3" json:"IdentifyId"`
  27. IsFindNotReply bool `protobuf:"varint,4,opt,name=isFindNotReply,proto3" json:"isFindNotReply"` // 是否查询没回复过的内容
  28. IsWithinSevenDay bool `protobuf:"varint,5,opt,name=isWithinSevenDay,proto3" json:"isWithinSevenDay"` // 是否在七日内
  29. }
  30. func (x *PartnerFindRoomListRequest) Reset() {
  31. *x = PartnerFindRoomListRequest{}
  32. if protoimpl.UnsafeEnabled {
  33. mi := &file_chat_proto_msgTypes[0]
  34. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  35. ms.StoreMessageInfo(mi)
  36. }
  37. }
  38. func (x *PartnerFindRoomListRequest) String() string {
  39. return protoimpl.X.MessageStringOf(x)
  40. }
  41. func (*PartnerFindRoomListRequest) ProtoMessage() {}
  42. func (x *PartnerFindRoomListRequest) ProtoReflect() protoreflect.Message {
  43. mi := &file_chat_proto_msgTypes[0]
  44. if protoimpl.UnsafeEnabled && x != nil {
  45. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  46. if ms.LoadMessageInfo() == nil {
  47. ms.StoreMessageInfo(mi)
  48. }
  49. return ms
  50. }
  51. return mi.MessageOf(x)
  52. }
  53. // Deprecated: Use PartnerFindRoomListRequest.ProtoReflect.Descriptor instead.
  54. func (*PartnerFindRoomListRequest) Descriptor() ([]byte, []int) {
  55. return file_chat_proto_rawDescGZIP(), []int{0}
  56. }
  57. func (x *PartnerFindRoomListRequest) GetNextId() int64 {
  58. if x != nil {
  59. return x.NextId
  60. }
  61. return 0
  62. }
  63. func (x *PartnerFindRoomListRequest) GetOffset() int64 {
  64. if x != nil {
  65. return x.Offset
  66. }
  67. return 0
  68. }
  69. func (x *PartnerFindRoomListRequest) GetIdentifyId() string {
  70. if x != nil {
  71. return x.IdentifyId
  72. }
  73. return ""
  74. }
  75. func (x *PartnerFindRoomListRequest) GetIsFindNotReply() bool {
  76. if x != nil {
  77. return x.IsFindNotReply
  78. }
  79. return false
  80. }
  81. func (x *PartnerFindRoomListRequest) GetIsWithinSevenDay() bool {
  82. if x != nil {
  83. return x.IsWithinSevenDay
  84. }
  85. return false
  86. }
  87. type UserFindRoomListRequest struct {
  88. state protoimpl.MessageState
  89. sizeCache protoimpl.SizeCache
  90. unknownFields protoimpl.UnknownFields
  91. NextId int64 `protobuf:"varint,1,opt,name=nextId,proto3" json:"nextId"`
  92. Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset"`
  93. IdentifyId string `protobuf:"bytes,3,opt,name=IdentifyId,proto3" json:"IdentifyId"`
  94. IsWithinSevenDay bool `protobuf:"varint,4,opt,name=isWithinSevenDay,proto3" json:"isWithinSevenDay"` // 是否在七日内
  95. }
  96. func (x *UserFindRoomListRequest) Reset() {
  97. *x = UserFindRoomListRequest{}
  98. if protoimpl.UnsafeEnabled {
  99. mi := &file_chat_proto_msgTypes[1]
  100. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  101. ms.StoreMessageInfo(mi)
  102. }
  103. }
  104. func (x *UserFindRoomListRequest) String() string {
  105. return protoimpl.X.MessageStringOf(x)
  106. }
  107. func (*UserFindRoomListRequest) ProtoMessage() {}
  108. func (x *UserFindRoomListRequest) ProtoReflect() protoreflect.Message {
  109. mi := &file_chat_proto_msgTypes[1]
  110. if protoimpl.UnsafeEnabled && x != nil {
  111. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  112. if ms.LoadMessageInfo() == nil {
  113. ms.StoreMessageInfo(mi)
  114. }
  115. return ms
  116. }
  117. return mi.MessageOf(x)
  118. }
  119. // Deprecated: Use UserFindRoomListRequest.ProtoReflect.Descriptor instead.
  120. func (*UserFindRoomListRequest) Descriptor() ([]byte, []int) {
  121. return file_chat_proto_rawDescGZIP(), []int{1}
  122. }
  123. func (x *UserFindRoomListRequest) GetNextId() int64 {
  124. if x != nil {
  125. return x.NextId
  126. }
  127. return 0
  128. }
  129. func (x *UserFindRoomListRequest) GetOffset() int64 {
  130. if x != nil {
  131. return x.Offset
  132. }
  133. return 0
  134. }
  135. func (x *UserFindRoomListRequest) GetIdentifyId() string {
  136. if x != nil {
  137. return x.IdentifyId
  138. }
  139. return ""
  140. }
  141. func (x *UserFindRoomListRequest) GetIsWithinSevenDay() bool {
  142. if x != nil {
  143. return x.IsWithinSevenDay
  144. }
  145. return false
  146. }
  147. type UserFindRoomListReply struct {
  148. state protoimpl.MessageState
  149. sizeCache protoimpl.SizeCache
  150. unknownFields protoimpl.UnknownFields
  151. List []*UserRoomInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  152. NextId int64 `protobuf:"varint,2,opt,name=nextId,proto3" json:"nextId"`
  153. }
  154. func (x *UserFindRoomListReply) Reset() {
  155. *x = UserFindRoomListReply{}
  156. if protoimpl.UnsafeEnabled {
  157. mi := &file_chat_proto_msgTypes[2]
  158. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  159. ms.StoreMessageInfo(mi)
  160. }
  161. }
  162. func (x *UserFindRoomListReply) String() string {
  163. return protoimpl.X.MessageStringOf(x)
  164. }
  165. func (*UserFindRoomListReply) ProtoMessage() {}
  166. func (x *UserFindRoomListReply) ProtoReflect() protoreflect.Message {
  167. mi := &file_chat_proto_msgTypes[2]
  168. if protoimpl.UnsafeEnabled && x != nil {
  169. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  170. if ms.LoadMessageInfo() == nil {
  171. ms.StoreMessageInfo(mi)
  172. }
  173. return ms
  174. }
  175. return mi.MessageOf(x)
  176. }
  177. // Deprecated: Use UserFindRoomListReply.ProtoReflect.Descriptor instead.
  178. func (*UserFindRoomListReply) Descriptor() ([]byte, []int) {
  179. return file_chat_proto_rawDescGZIP(), []int{2}
  180. }
  181. func (x *UserFindRoomListReply) GetList() []*UserRoomInfo {
  182. if x != nil {
  183. return x.List
  184. }
  185. return nil
  186. }
  187. func (x *UserFindRoomListReply) GetNextId() int64 {
  188. if x != nil {
  189. return x.NextId
  190. }
  191. return 0
  192. }
  193. type UserRoomInfo struct {
  194. state protoimpl.MessageState
  195. sizeCache protoimpl.SizeCache
  196. unknownFields protoimpl.UnknownFields
  197. PersonType string `protobuf:"bytes,1,opt,name=personType,proto3" json:"personType"` // 用户类型
  198. PersonId string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"` // 用户ID
  199. UnreadNum int64 `protobuf:"varint,3,opt,name=unreadNum,proto3" json:"unreadNum"` // 用户未读数
  200. LastContent string `protobuf:"bytes,4,opt,name=lastContent,proto3" json:"lastContent"` // 上次发送内容
  201. LastTime int64 `protobuf:"varint,5,opt,name=lastTime,proto3" json:"lastTime"` // 上次发送时间
  202. Likeability int64 `protobuf:"varint,6,opt,name=likeability,proto3" json:"likeability"` // 好感度
  203. }
  204. func (x *UserRoomInfo) Reset() {
  205. *x = UserRoomInfo{}
  206. if protoimpl.UnsafeEnabled {
  207. mi := &file_chat_proto_msgTypes[3]
  208. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  209. ms.StoreMessageInfo(mi)
  210. }
  211. }
  212. func (x *UserRoomInfo) String() string {
  213. return protoimpl.X.MessageStringOf(x)
  214. }
  215. func (*UserRoomInfo) ProtoMessage() {}
  216. func (x *UserRoomInfo) ProtoReflect() protoreflect.Message {
  217. mi := &file_chat_proto_msgTypes[3]
  218. if protoimpl.UnsafeEnabled && x != nil {
  219. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  220. if ms.LoadMessageInfo() == nil {
  221. ms.StoreMessageInfo(mi)
  222. }
  223. return ms
  224. }
  225. return mi.MessageOf(x)
  226. }
  227. // Deprecated: Use UserRoomInfo.ProtoReflect.Descriptor instead.
  228. func (*UserRoomInfo) Descriptor() ([]byte, []int) {
  229. return file_chat_proto_rawDescGZIP(), []int{3}
  230. }
  231. func (x *UserRoomInfo) GetPersonType() string {
  232. if x != nil {
  233. return x.PersonType
  234. }
  235. return ""
  236. }
  237. func (x *UserRoomInfo) GetPersonId() string {
  238. if x != nil {
  239. return x.PersonId
  240. }
  241. return ""
  242. }
  243. func (x *UserRoomInfo) GetUnreadNum() int64 {
  244. if x != nil {
  245. return x.UnreadNum
  246. }
  247. return 0
  248. }
  249. func (x *UserRoomInfo) GetLastContent() string {
  250. if x != nil {
  251. return x.LastContent
  252. }
  253. return ""
  254. }
  255. func (x *UserRoomInfo) GetLastTime() int64 {
  256. if x != nil {
  257. return x.LastTime
  258. }
  259. return 0
  260. }
  261. func (x *UserRoomInfo) GetLikeability() int64 {
  262. if x != nil {
  263. return x.Likeability
  264. }
  265. return 0
  266. }
  267. type PartnerFindRoomListReply struct {
  268. state protoimpl.MessageState
  269. sizeCache protoimpl.SizeCache
  270. unknownFields protoimpl.UnknownFields
  271. List []*PartnerRoomInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  272. NextId int64 `protobuf:"varint,2,opt,name=nextId,proto3" json:"nextId"`
  273. }
  274. func (x *PartnerFindRoomListReply) Reset() {
  275. *x = PartnerFindRoomListReply{}
  276. if protoimpl.UnsafeEnabled {
  277. mi := &file_chat_proto_msgTypes[4]
  278. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  279. ms.StoreMessageInfo(mi)
  280. }
  281. }
  282. func (x *PartnerFindRoomListReply) String() string {
  283. return protoimpl.X.MessageStringOf(x)
  284. }
  285. func (*PartnerFindRoomListReply) ProtoMessage() {}
  286. func (x *PartnerFindRoomListReply) ProtoReflect() protoreflect.Message {
  287. mi := &file_chat_proto_msgTypes[4]
  288. if protoimpl.UnsafeEnabled && x != nil {
  289. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  290. if ms.LoadMessageInfo() == nil {
  291. ms.StoreMessageInfo(mi)
  292. }
  293. return ms
  294. }
  295. return mi.MessageOf(x)
  296. }
  297. // Deprecated: Use PartnerFindRoomListReply.ProtoReflect.Descriptor instead.
  298. func (*PartnerFindRoomListReply) Descriptor() ([]byte, []int) {
  299. return file_chat_proto_rawDescGZIP(), []int{4}
  300. }
  301. func (x *PartnerFindRoomListReply) GetList() []*PartnerRoomInfo {
  302. if x != nil {
  303. return x.List
  304. }
  305. return nil
  306. }
  307. func (x *PartnerFindRoomListReply) GetNextId() int64 {
  308. if x != nil {
  309. return x.NextId
  310. }
  311. return 0
  312. }
  313. type PartnerRoomInfo struct {
  314. state protoimpl.MessageState
  315. sizeCache protoimpl.SizeCache
  316. unknownFields protoimpl.UnknownFields
  317. PersonSendNum int64 `protobuf:"varint,1,opt,name=personSendNum,proto3" json:"personSendNum"` // 用户发送数
  318. PersonId string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"` // 用户ID
  319. UnreadNum int64 `protobuf:"varint,3,opt,name=unreadNum,proto3" json:"unreadNum"` // 接待者未读数
  320. LastContent string `protobuf:"bytes,4,opt,name=lastContent,proto3" json:"lastContent"` // 上次发送内容
  321. LastTime int64 `protobuf:"varint,5,opt,name=lastTime,proto3" json:"lastTime"` // 上次发送时间
  322. Benefit int64 `protobuf:"varint,6,opt,name=benefit,proto3" json:"benefit"` // 收益
  323. Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type"` // 类型(新客:new,付费:pay)
  324. Sex int64 `protobuf:"varint,8,opt,name=sex,proto3" json:"sex"` // 性别
  325. AvatarUrl string `protobuf:"bytes,9,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像
  326. Nickname string `protobuf:"bytes,10,opt,name=nickname,proto3" json:"nickname"` // 昵称
  327. Age int64 `protobuf:"varint,11,opt,name=age,proto3" json:"age"` // 年龄
  328. }
  329. func (x *PartnerRoomInfo) Reset() {
  330. *x = PartnerRoomInfo{}
  331. if protoimpl.UnsafeEnabled {
  332. mi := &file_chat_proto_msgTypes[5]
  333. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  334. ms.StoreMessageInfo(mi)
  335. }
  336. }
  337. func (x *PartnerRoomInfo) String() string {
  338. return protoimpl.X.MessageStringOf(x)
  339. }
  340. func (*PartnerRoomInfo) ProtoMessage() {}
  341. func (x *PartnerRoomInfo) ProtoReflect() protoreflect.Message {
  342. mi := &file_chat_proto_msgTypes[5]
  343. if protoimpl.UnsafeEnabled && x != nil {
  344. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  345. if ms.LoadMessageInfo() == nil {
  346. ms.StoreMessageInfo(mi)
  347. }
  348. return ms
  349. }
  350. return mi.MessageOf(x)
  351. }
  352. // Deprecated: Use PartnerRoomInfo.ProtoReflect.Descriptor instead.
  353. func (*PartnerRoomInfo) Descriptor() ([]byte, []int) {
  354. return file_chat_proto_rawDescGZIP(), []int{5}
  355. }
  356. func (x *PartnerRoomInfo) GetPersonSendNum() int64 {
  357. if x != nil {
  358. return x.PersonSendNum
  359. }
  360. return 0
  361. }
  362. func (x *PartnerRoomInfo) GetPersonId() string {
  363. if x != nil {
  364. return x.PersonId
  365. }
  366. return ""
  367. }
  368. func (x *PartnerRoomInfo) GetUnreadNum() int64 {
  369. if x != nil {
  370. return x.UnreadNum
  371. }
  372. return 0
  373. }
  374. func (x *PartnerRoomInfo) GetLastContent() string {
  375. if x != nil {
  376. return x.LastContent
  377. }
  378. return ""
  379. }
  380. func (x *PartnerRoomInfo) GetLastTime() int64 {
  381. if x != nil {
  382. return x.LastTime
  383. }
  384. return 0
  385. }
  386. func (x *PartnerRoomInfo) GetBenefit() int64 {
  387. if x != nil {
  388. return x.Benefit
  389. }
  390. return 0
  391. }
  392. func (x *PartnerRoomInfo) GetType() string {
  393. if x != nil {
  394. return x.Type
  395. }
  396. return ""
  397. }
  398. func (x *PartnerRoomInfo) GetSex() int64 {
  399. if x != nil {
  400. return x.Sex
  401. }
  402. return 0
  403. }
  404. func (x *PartnerRoomInfo) GetAvatarUrl() string {
  405. if x != nil {
  406. return x.AvatarUrl
  407. }
  408. return ""
  409. }
  410. func (x *PartnerRoomInfo) GetNickname() string {
  411. if x != nil {
  412. return x.Nickname
  413. }
  414. return ""
  415. }
  416. func (x *PartnerRoomInfo) GetAge() int64 {
  417. if x != nil {
  418. return x.Age
  419. }
  420. return 0
  421. }
  422. type CreateChatRoomParam struct {
  423. state protoimpl.MessageState
  424. sizeCache protoimpl.SizeCache
  425. unknownFields protoimpl.UnknownFields
  426. PersonId1 string `protobuf:"bytes,1,opt,name=personId1,proto3" json:"personId1"`
  427. PersonIdentifyID1 string `protobuf:"bytes,2,opt,name=personIdentifyID1,proto3" json:"personIdentifyID1"` // 身份ID
  428. PersonType1 string `protobuf:"bytes,3,opt,name=personType1,proto3" json:"personType1"` // 类型
  429. PersonId2 string `protobuf:"bytes,4,opt,name=personId2,proto3" json:"personId2"`
  430. PersonIdentifyID2 string `protobuf:"bytes,5,opt,name=personIdentifyID2,proto3" json:"personIdentifyID2"` // 身份ID
  431. PersonType2 string `protobuf:"bytes,6,opt,name=personType2,proto3" json:"personType2"` // 类型
  432. }
  433. func (x *CreateChatRoomParam) Reset() {
  434. *x = CreateChatRoomParam{}
  435. if protoimpl.UnsafeEnabled {
  436. mi := &file_chat_proto_msgTypes[6]
  437. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  438. ms.StoreMessageInfo(mi)
  439. }
  440. }
  441. func (x *CreateChatRoomParam) String() string {
  442. return protoimpl.X.MessageStringOf(x)
  443. }
  444. func (*CreateChatRoomParam) ProtoMessage() {}
  445. func (x *CreateChatRoomParam) ProtoReflect() protoreflect.Message {
  446. mi := &file_chat_proto_msgTypes[6]
  447. if protoimpl.UnsafeEnabled && x != nil {
  448. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  449. if ms.LoadMessageInfo() == nil {
  450. ms.StoreMessageInfo(mi)
  451. }
  452. return ms
  453. }
  454. return mi.MessageOf(x)
  455. }
  456. // Deprecated: Use CreateChatRoomParam.ProtoReflect.Descriptor instead.
  457. func (*CreateChatRoomParam) Descriptor() ([]byte, []int) {
  458. return file_chat_proto_rawDescGZIP(), []int{6}
  459. }
  460. func (x *CreateChatRoomParam) GetPersonId1() string {
  461. if x != nil {
  462. return x.PersonId1
  463. }
  464. return ""
  465. }
  466. func (x *CreateChatRoomParam) GetPersonIdentifyID1() string {
  467. if x != nil {
  468. return x.PersonIdentifyID1
  469. }
  470. return ""
  471. }
  472. func (x *CreateChatRoomParam) GetPersonType1() string {
  473. if x != nil {
  474. return x.PersonType1
  475. }
  476. return ""
  477. }
  478. func (x *CreateChatRoomParam) GetPersonId2() string {
  479. if x != nil {
  480. return x.PersonId2
  481. }
  482. return ""
  483. }
  484. func (x *CreateChatRoomParam) GetPersonIdentifyID2() string {
  485. if x != nil {
  486. return x.PersonIdentifyID2
  487. }
  488. return ""
  489. }
  490. func (x *CreateChatRoomParam) GetPersonType2() string {
  491. if x != nil {
  492. return x.PersonType2
  493. }
  494. return ""
  495. }
  496. type ReceiveRequest struct {
  497. state protoimpl.MessageState
  498. sizeCache protoimpl.SizeCache
  499. unknownFields protoimpl.UnknownFields
  500. Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method"`
  501. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data"`
  502. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id"`
  503. WebsocketTag string `protobuf:"bytes,4,opt,name=websocketTag,proto3" json:"websocketTag"`
  504. PersonType string `protobuf:"bytes,5,opt,name=personType,proto3" json:"personType"`
  505. PersonId string `protobuf:"bytes,6,opt,name=personId,proto3" json:"personId"`
  506. }
  507. func (x *ReceiveRequest) Reset() {
  508. *x = ReceiveRequest{}
  509. if protoimpl.UnsafeEnabled {
  510. mi := &file_chat_proto_msgTypes[7]
  511. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  512. ms.StoreMessageInfo(mi)
  513. }
  514. }
  515. func (x *ReceiveRequest) String() string {
  516. return protoimpl.X.MessageStringOf(x)
  517. }
  518. func (*ReceiveRequest) ProtoMessage() {}
  519. func (x *ReceiveRequest) ProtoReflect() protoreflect.Message {
  520. mi := &file_chat_proto_msgTypes[7]
  521. if protoimpl.UnsafeEnabled && x != nil {
  522. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  523. if ms.LoadMessageInfo() == nil {
  524. ms.StoreMessageInfo(mi)
  525. }
  526. return ms
  527. }
  528. return mi.MessageOf(x)
  529. }
  530. // Deprecated: Use ReceiveRequest.ProtoReflect.Descriptor instead.
  531. func (*ReceiveRequest) Descriptor() ([]byte, []int) {
  532. return file_chat_proto_rawDescGZIP(), []int{7}
  533. }
  534. func (x *ReceiveRequest) GetMethod() string {
  535. if x != nil {
  536. return x.Method
  537. }
  538. return ""
  539. }
  540. func (x *ReceiveRequest) GetData() []byte {
  541. if x != nil {
  542. return x.Data
  543. }
  544. return nil
  545. }
  546. func (x *ReceiveRequest) GetId() string {
  547. if x != nil {
  548. return x.Id
  549. }
  550. return ""
  551. }
  552. func (x *ReceiveRequest) GetWebsocketTag() string {
  553. if x != nil {
  554. return x.WebsocketTag
  555. }
  556. return ""
  557. }
  558. func (x *ReceiveRequest) GetPersonType() string {
  559. if x != nil {
  560. return x.PersonType
  561. }
  562. return ""
  563. }
  564. func (x *ReceiveRequest) GetPersonId() string {
  565. if x != nil {
  566. return x.PersonId
  567. }
  568. return ""
  569. }
  570. type ReceiveReply struct {
  571. state protoimpl.MessageState
  572. sizeCache protoimpl.SizeCache
  573. unknownFields protoimpl.UnknownFields
  574. }
  575. func (x *ReceiveReply) Reset() {
  576. *x = ReceiveReply{}
  577. if protoimpl.UnsafeEnabled {
  578. mi := &file_chat_proto_msgTypes[8]
  579. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  580. ms.StoreMessageInfo(mi)
  581. }
  582. }
  583. func (x *ReceiveReply) String() string {
  584. return protoimpl.X.MessageStringOf(x)
  585. }
  586. func (*ReceiveReply) ProtoMessage() {}
  587. func (x *ReceiveReply) ProtoReflect() protoreflect.Message {
  588. mi := &file_chat_proto_msgTypes[8]
  589. if protoimpl.UnsafeEnabled && x != nil {
  590. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  591. if ms.LoadMessageInfo() == nil {
  592. ms.StoreMessageInfo(mi)
  593. }
  594. return ms
  595. }
  596. return mi.MessageOf(x)
  597. }
  598. // Deprecated: Use ReceiveReply.ProtoReflect.Descriptor instead.
  599. func (*ReceiveReply) Descriptor() ([]byte, []int) {
  600. return file_chat_proto_rawDescGZIP(), []int{8}
  601. }
  602. type CheckUserPartnerIsRelationshipReply struct {
  603. state protoimpl.MessageState
  604. sizeCache protoimpl.SizeCache
  605. unknownFields protoimpl.UnknownFields
  606. IsBuildRelationship bool `protobuf:"varint,1,opt,name=isBuildRelationship,proto3" json:"isBuildRelationship"`
  607. RoomId int64 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId"`
  608. }
  609. func (x *CheckUserPartnerIsRelationshipReply) Reset() {
  610. *x = CheckUserPartnerIsRelationshipReply{}
  611. if protoimpl.UnsafeEnabled {
  612. mi := &file_chat_proto_msgTypes[9]
  613. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  614. ms.StoreMessageInfo(mi)
  615. }
  616. }
  617. func (x *CheckUserPartnerIsRelationshipReply) String() string {
  618. return protoimpl.X.MessageStringOf(x)
  619. }
  620. func (*CheckUserPartnerIsRelationshipReply) ProtoMessage() {}
  621. func (x *CheckUserPartnerIsRelationshipReply) ProtoReflect() protoreflect.Message {
  622. mi := &file_chat_proto_msgTypes[9]
  623. if protoimpl.UnsafeEnabled && x != nil {
  624. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  625. if ms.LoadMessageInfo() == nil {
  626. ms.StoreMessageInfo(mi)
  627. }
  628. return ms
  629. }
  630. return mi.MessageOf(x)
  631. }
  632. // Deprecated: Use CheckUserPartnerIsRelationshipReply.ProtoReflect.Descriptor instead.
  633. func (*CheckUserPartnerIsRelationshipReply) Descriptor() ([]byte, []int) {
  634. return file_chat_proto_rawDescGZIP(), []int{9}
  635. }
  636. func (x *CheckUserPartnerIsRelationshipReply) GetIsBuildRelationship() bool {
  637. if x != nil {
  638. return x.IsBuildRelationship
  639. }
  640. return false
  641. }
  642. func (x *CheckUserPartnerIsRelationshipReply) GetRoomId() int64 {
  643. if x != nil {
  644. return x.RoomId
  645. }
  646. return 0
  647. }
  648. type RoomReply struct {
  649. state protoimpl.MessageState
  650. sizeCache protoimpl.SizeCache
  651. unknownFields protoimpl.UnknownFields
  652. RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId"`
  653. }
  654. func (x *RoomReply) Reset() {
  655. *x = RoomReply{}
  656. if protoimpl.UnsafeEnabled {
  657. mi := &file_chat_proto_msgTypes[10]
  658. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  659. ms.StoreMessageInfo(mi)
  660. }
  661. }
  662. func (x *RoomReply) String() string {
  663. return protoimpl.X.MessageStringOf(x)
  664. }
  665. func (*RoomReply) ProtoMessage() {}
  666. func (x *RoomReply) ProtoReflect() protoreflect.Message {
  667. mi := &file_chat_proto_msgTypes[10]
  668. if protoimpl.UnsafeEnabled && x != nil {
  669. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  670. if ms.LoadMessageInfo() == nil {
  671. ms.StoreMessageInfo(mi)
  672. }
  673. return ms
  674. }
  675. return mi.MessageOf(x)
  676. }
  677. // Deprecated: Use RoomReply.ProtoReflect.Descriptor instead.
  678. func (*RoomReply) Descriptor() ([]byte, []int) {
  679. return file_chat_proto_rawDescGZIP(), []int{10}
  680. }
  681. func (x *RoomReply) GetRoomId() int64 {
  682. if x != nil {
  683. return x.RoomId
  684. }
  685. return 0
  686. }
  687. type FindChatRecordListRequest struct {
  688. state protoimpl.MessageState
  689. sizeCache protoimpl.SizeCache
  690. unknownFields protoimpl.UnknownFields
  691. NextId int64 `protobuf:"varint,1,opt,name=nextId,proto3" json:"nextId"`
  692. Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset"`
  693. RoomId int64 `protobuf:"varint,3,opt,name=roomId,proto3" json:"roomId"`
  694. PersonType string `protobuf:"bytes,4,opt,name=personType,proto3" json:"personType"` // 类型
  695. PersonID string `protobuf:"bytes,5,opt,name=personID,proto3" json:"personID"` // 查询目标的ID
  696. }
  697. func (x *FindChatRecordListRequest) Reset() {
  698. *x = FindChatRecordListRequest{}
  699. if protoimpl.UnsafeEnabled {
  700. mi := &file_chat_proto_msgTypes[11]
  701. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  702. ms.StoreMessageInfo(mi)
  703. }
  704. }
  705. func (x *FindChatRecordListRequest) String() string {
  706. return protoimpl.X.MessageStringOf(x)
  707. }
  708. func (*FindChatRecordListRequest) ProtoMessage() {}
  709. func (x *FindChatRecordListRequest) ProtoReflect() protoreflect.Message {
  710. mi := &file_chat_proto_msgTypes[11]
  711. if protoimpl.UnsafeEnabled && x != nil {
  712. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  713. if ms.LoadMessageInfo() == nil {
  714. ms.StoreMessageInfo(mi)
  715. }
  716. return ms
  717. }
  718. return mi.MessageOf(x)
  719. }
  720. // Deprecated: Use FindChatRecordListRequest.ProtoReflect.Descriptor instead.
  721. func (*FindChatRecordListRequest) Descriptor() ([]byte, []int) {
  722. return file_chat_proto_rawDescGZIP(), []int{11}
  723. }
  724. func (x *FindChatRecordListRequest) GetNextId() int64 {
  725. if x != nil {
  726. return x.NextId
  727. }
  728. return 0
  729. }
  730. func (x *FindChatRecordListRequest) GetOffset() int64 {
  731. if x != nil {
  732. return x.Offset
  733. }
  734. return 0
  735. }
  736. func (x *FindChatRecordListRequest) GetRoomId() int64 {
  737. if x != nil {
  738. return x.RoomId
  739. }
  740. return 0
  741. }
  742. func (x *FindChatRecordListRequest) GetPersonType() string {
  743. if x != nil {
  744. return x.PersonType
  745. }
  746. return ""
  747. }
  748. func (x *FindChatRecordListRequest) GetPersonID() string {
  749. if x != nil {
  750. return x.PersonID
  751. }
  752. return ""
  753. }
  754. var File_chat_proto protoreflect.FileDescriptor
  755. var file_chat_proto_rawDesc = []byte{
  756. 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
  757. 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
  758. 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
  759. 0xc0, 0x01, 0x0a, 0x1a, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52,
  760. 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16,
  761. 0x0a, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
  762. 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
  763. 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1e,
  764. 0x0a, 0x0a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01,
  765. 0x28, 0x09, 0x52, 0x0a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x12, 0x26,
  766. 0x0a, 0x0e, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
  767. 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f,
  768. 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x69, 0x73, 0x57, 0x69, 0x74, 0x68,
  769. 0x69, 0x6e, 0x53, 0x65, 0x76, 0x65, 0x6e, 0x44, 0x61, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
  770. 0x52, 0x10, 0x69, 0x73, 0x57, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x53, 0x65, 0x76, 0x65, 0x6e, 0x44,
  771. 0x61, 0x79, 0x22, 0x95, 0x01, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52,
  772. 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16,
  773. 0x0a, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
  774. 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
  775. 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1e,
  776. 0x0a, 0x0a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01,
  777. 0x28, 0x09, 0x52, 0x0a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x12, 0x2a,
  778. 0x0a, 0x10, 0x69, 0x73, 0x57, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x53, 0x65, 0x76, 0x65, 0x6e, 0x44,
  779. 0x61, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x57, 0x69, 0x74, 0x68,
  780. 0x69, 0x6e, 0x53, 0x65, 0x76, 0x65, 0x6e, 0x44, 0x61, 0x79, 0x22, 0x5b, 0x0a, 0x15, 0x55, 0x73,
  781. 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  782. 0x70, 0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28,
  783. 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x55, 0x73, 0x65,
  784. 0x72, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12,
  785. 0x16, 0x0a, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
  786. 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x22, 0xc8, 0x01, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72,
  787. 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73,
  788. 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65,
  789. 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73,
  790. 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73,
  791. 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4e, 0x75,
  792. 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4e,
  793. 0x75, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
  794. 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6e,
  795. 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65,
  796. 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65,
  797. 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x69, 0x6b, 0x65, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18,
  798. 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x69, 0x6b, 0x65, 0x61, 0x62, 0x69, 0x6c, 0x69,
  799. 0x74, 0x79, 0x22, 0x61, 0x0a, 0x18, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e,
  800. 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2d,
  801. 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61,
  802. 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x52,
  803. 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a,
  804. 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e,
  805. 0x65, 0x78, 0x74, 0x49, 0x64, 0x22, 0xbb, 0x02, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65,
  806. 0x72, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x65, 0x72,
  807. 0x73, 0x6f, 0x6e, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  808. 0x52, 0x0d, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x12,
  809. 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  810. 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x75,
  811. 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
  812. 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4e, 0x75, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73,
  813. 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  814. 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6c,
  815. 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c,
  816. 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x65, 0x6e, 0x65, 0x66,
  817. 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x65, 0x6e, 0x65, 0x66, 0x69,
  818. 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
  819. 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01,
  820. 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61,
  821. 0x72, 0x55, 0x72, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74,
  822. 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
  823. 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
  824. 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03,
  825. 0x61, 0x67, 0x65, 0x22, 0xf1, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68,
  826. 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70,
  827. 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  828. 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x31, 0x12, 0x2c, 0x0a, 0x11, 0x70, 0x65, 0x72,
  829. 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x44, 0x31, 0x18, 0x02,
  830. 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e,
  831. 0x74, 0x69, 0x66, 0x79, 0x49, 0x44, 0x31, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x73, 0x6f,
  832. 0x6e, 0x54, 0x79, 0x70, 0x65, 0x31, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65,
  833. 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x31, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x65, 0x72,
  834. 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x65,
  835. 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x32, 0x12, 0x2c, 0x0a, 0x11, 0x70, 0x65, 0x72, 0x73, 0x6f,
  836. 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x44, 0x32, 0x18, 0x05, 0x20, 0x01,
  837. 0x28, 0x09, 0x52, 0x11, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
  838. 0x66, 0x79, 0x49, 0x44, 0x32, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54,
  839. 0x79, 0x70, 0x65, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x73,
  840. 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x32, 0x22, 0xac, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x65,
  841. 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65,
  842. 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68,
  843. 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
  844. 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
  845. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63,
  846. 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x65,
  847. 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65,
  848. 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  849. 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65,
  850. 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65,
  851. 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x0e, 0x0a, 0x0c, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76,
  852. 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x6f, 0x0a, 0x23, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55,
  853. 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61,
  854. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x30, 0x0a,
  855. 0x13, 0x69, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  856. 0x73, 0x68, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x73, 0x42, 0x75,
  857. 0x69, 0x6c, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12,
  858. 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
  859. 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x22, 0x23, 0x0a, 0x09, 0x52, 0x6f, 0x6f, 0x6d, 0x52,
  860. 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x01,
  861. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x22, 0x9f, 0x01, 0x0a,
  862. 0x19, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c,
  863. 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x65,
  864. 0x78, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x65, 0x78, 0x74,
  865. 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01,
  866. 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f,
  867. 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d,
  868. 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
  869. 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79,
  870. 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x05,
  871. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x32, 0xfb,
  872. 0x04, 0x0a, 0x04, 0x43, 0x68, 0x61, 0x74, 0x12, 0x72, 0x0a, 0x1e, 0x43, 0x68, 0x65, 0x63, 0x6b,
  873. 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c,
  874. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  875. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x50, 0x61,
  876. 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x2d, 0x2e, 0x61,
  877. 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65,
  878. 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69,
  879. 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x44, 0x0a, 0x0e, 0x43,
  880. 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x1d, 0x2e,
  881. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43,
  882. 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x13, 0x2e, 0x61,
  883. 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x70, 0x6c,
  884. 0x79, 0x12, 0x5f, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50,
  885. 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  886. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x41,
  887. 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  888. 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x6e, 0x6c,
  889. 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70,
  890. 0x6c, 0x79, 0x12, 0x61, 0x0a, 0x13, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e,
  891. 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  892. 0x63, 0x68, 0x61, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64,
  893. 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  894. 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e,
  895. 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  896. 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x6e,
  897. 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  898. 0x63, 0x68, 0x61, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f,
  899. 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61,
  900. 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64,
  901. 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12,
  902. 0x3d, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69,
  903. 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71,
  904. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e,
  905. 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5c,
  906. 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
  907. 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e,
  908. 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69,
  909. 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  910. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72,
  911. 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x3d, 0x0a, 0x08,
  912. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e,
  913. 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65,
  914. 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70,
  915. 0x69, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x3b, 0x63, 0x68, 0x61, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f,
  916. 0x74, 0x6f, 0x33,
  917. }
  918. var (
  919. file_chat_proto_rawDescOnce sync.Once
  920. file_chat_proto_rawDescData = file_chat_proto_rawDesc
  921. )
  922. func file_chat_proto_rawDescGZIP() []byte {
  923. file_chat_proto_rawDescOnce.Do(func() {
  924. file_chat_proto_rawDescData = protoimpl.X.CompressGZIP(file_chat_proto_rawDescData)
  925. })
  926. return file_chat_proto_rawDescData
  927. }
  928. var file_chat_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  929. var file_chat_proto_goTypes = []interface{}{
  930. (*PartnerFindRoomListRequest)(nil), // 0: api.chat.PartnerFindRoomListRequest
  931. (*UserFindRoomListRequest)(nil), // 1: api.chat.UserFindRoomListRequest
  932. (*UserFindRoomListReply)(nil), // 2: api.chat.UserFindRoomListReply
  933. (*UserRoomInfo)(nil), // 3: api.chat.UserRoomInfo
  934. (*PartnerFindRoomListReply)(nil), // 4: api.chat.PartnerFindRoomListReply
  935. (*PartnerRoomInfo)(nil), // 5: api.chat.PartnerRoomInfo
  936. (*CreateChatRoomParam)(nil), // 6: api.chat.CreateChatRoomParam
  937. (*ReceiveRequest)(nil), // 7: api.chat.ReceiveRequest
  938. (*ReceiveReply)(nil), // 8: api.chat.ReceiveReply
  939. (*CheckUserPartnerIsRelationshipReply)(nil), // 9: api.chat.CheckUserPartnerIsRelationshipReply
  940. (*RoomReply)(nil), // 10: api.chat.RoomReply
  941. (*FindChatRecordListRequest)(nil), // 11: api.chat.FindChatRecordListRequest
  942. (*common.UserAndPartnerIdParam)(nil), // 12: api.common.UserAndPartnerIdParam
  943. (*common.ListPageAndPersonRequest)(nil), // 13: api.common.ListPageAndPersonRequest
  944. (*common.OnlinePersonListReply)(nil), // 14: api.common.OnlinePersonListReply
  945. (*common.ChatRecordListReply)(nil), // 15: api.common.ChatRecordListReply
  946. }
  947. var file_chat_proto_depIdxs = []int32{
  948. 3, // 0: api.chat.UserFindRoomListReply.list:type_name -> api.chat.UserRoomInfo
  949. 5, // 1: api.chat.PartnerFindRoomListReply.list:type_name -> api.chat.PartnerRoomInfo
  950. 12, // 2: api.chat.Chat.CheckUserPartnerIsRelationship:input_type -> api.common.UserAndPartnerIdParam
  951. 6, // 3: api.chat.Chat.CreateChatRoom:input_type -> api.chat.CreateChatRoomParam
  952. 13, // 4: api.chat.Chat.FindOnlinePersonList:input_type -> api.common.ListPageAndPersonRequest
  953. 0, // 5: api.chat.Chat.PartnerFindRoomList:input_type -> api.chat.PartnerFindRoomListRequest
  954. 1, // 6: api.chat.Chat.UserFindRoomList:input_type -> api.chat.UserFindRoomListRequest
  955. 7, // 7: api.chat.Chat.Receive:input_type -> api.chat.ReceiveRequest
  956. 11, // 8: api.chat.Chat.FindChatRecordList:input_type -> api.chat.FindChatRecordListRequest
  957. 9, // 9: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
  958. 10, // 10: api.chat.Chat.CreateChatRoom:output_type -> api.chat.RoomReply
  959. 14, // 11: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.OnlinePersonListReply
  960. 4, // 12: api.chat.Chat.PartnerFindRoomList:output_type -> api.chat.PartnerFindRoomListReply
  961. 2, // 13: api.chat.Chat.UserFindRoomList:output_type -> api.chat.UserFindRoomListReply
  962. 8, // 14: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
  963. 15, // 15: api.chat.Chat.FindChatRecordList:output_type -> api.common.ChatRecordListReply
  964. 9, // [9:16] is the sub-list for method output_type
  965. 2, // [2:9] is the sub-list for method input_type
  966. 2, // [2:2] is the sub-list for extension type_name
  967. 2, // [2:2] is the sub-list for extension extendee
  968. 0, // [0:2] is the sub-list for field type_name
  969. }
  970. func init() { file_chat_proto_init() }
  971. func file_chat_proto_init() {
  972. if File_chat_proto != nil {
  973. return
  974. }
  975. if !protoimpl.UnsafeEnabled {
  976. file_chat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  977. switch v := v.(*PartnerFindRoomListRequest); i {
  978. case 0:
  979. return &v.state
  980. case 1:
  981. return &v.sizeCache
  982. case 2:
  983. return &v.unknownFields
  984. default:
  985. return nil
  986. }
  987. }
  988. file_chat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  989. switch v := v.(*UserFindRoomListRequest); i {
  990. case 0:
  991. return &v.state
  992. case 1:
  993. return &v.sizeCache
  994. case 2:
  995. return &v.unknownFields
  996. default:
  997. return nil
  998. }
  999. }
  1000. file_chat_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1001. switch v := v.(*UserFindRoomListReply); i {
  1002. case 0:
  1003. return &v.state
  1004. case 1:
  1005. return &v.sizeCache
  1006. case 2:
  1007. return &v.unknownFields
  1008. default:
  1009. return nil
  1010. }
  1011. }
  1012. file_chat_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1013. switch v := v.(*UserRoomInfo); i {
  1014. case 0:
  1015. return &v.state
  1016. case 1:
  1017. return &v.sizeCache
  1018. case 2:
  1019. return &v.unknownFields
  1020. default:
  1021. return nil
  1022. }
  1023. }
  1024. file_chat_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1025. switch v := v.(*PartnerFindRoomListReply); i {
  1026. case 0:
  1027. return &v.state
  1028. case 1:
  1029. return &v.sizeCache
  1030. case 2:
  1031. return &v.unknownFields
  1032. default:
  1033. return nil
  1034. }
  1035. }
  1036. file_chat_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1037. switch v := v.(*PartnerRoomInfo); i {
  1038. case 0:
  1039. return &v.state
  1040. case 1:
  1041. return &v.sizeCache
  1042. case 2:
  1043. return &v.unknownFields
  1044. default:
  1045. return nil
  1046. }
  1047. }
  1048. file_chat_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1049. switch v := v.(*CreateChatRoomParam); i {
  1050. case 0:
  1051. return &v.state
  1052. case 1:
  1053. return &v.sizeCache
  1054. case 2:
  1055. return &v.unknownFields
  1056. default:
  1057. return nil
  1058. }
  1059. }
  1060. file_chat_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1061. switch v := v.(*ReceiveRequest); i {
  1062. case 0:
  1063. return &v.state
  1064. case 1:
  1065. return &v.sizeCache
  1066. case 2:
  1067. return &v.unknownFields
  1068. default:
  1069. return nil
  1070. }
  1071. }
  1072. file_chat_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1073. switch v := v.(*ReceiveReply); i {
  1074. case 0:
  1075. return &v.state
  1076. case 1:
  1077. return &v.sizeCache
  1078. case 2:
  1079. return &v.unknownFields
  1080. default:
  1081. return nil
  1082. }
  1083. }
  1084. file_chat_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1085. switch v := v.(*CheckUserPartnerIsRelationshipReply); i {
  1086. case 0:
  1087. return &v.state
  1088. case 1:
  1089. return &v.sizeCache
  1090. case 2:
  1091. return &v.unknownFields
  1092. default:
  1093. return nil
  1094. }
  1095. }
  1096. file_chat_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1097. switch v := v.(*RoomReply); i {
  1098. case 0:
  1099. return &v.state
  1100. case 1:
  1101. return &v.sizeCache
  1102. case 2:
  1103. return &v.unknownFields
  1104. default:
  1105. return nil
  1106. }
  1107. }
  1108. file_chat_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1109. switch v := v.(*FindChatRecordListRequest); i {
  1110. case 0:
  1111. return &v.state
  1112. case 1:
  1113. return &v.sizeCache
  1114. case 2:
  1115. return &v.unknownFields
  1116. default:
  1117. return nil
  1118. }
  1119. }
  1120. }
  1121. type x struct{}
  1122. out := protoimpl.TypeBuilder{
  1123. File: protoimpl.DescBuilder{
  1124. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1125. RawDescriptor: file_chat_proto_rawDesc,
  1126. NumEnums: 0,
  1127. NumMessages: 12,
  1128. NumExtensions: 0,
  1129. NumServices: 1,
  1130. },
  1131. GoTypes: file_chat_proto_goTypes,
  1132. DependencyIndexes: file_chat_proto_depIdxs,
  1133. MessageInfos: file_chat_proto_msgTypes,
  1134. }.Build()
  1135. File_chat_proto = out.File
  1136. file_chat_proto_rawDesc = nil
  1137. file_chat_proto_goTypes = nil
  1138. file_chat_proto_depIdxs = nil
  1139. }