chat.pb.go 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881
  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 PartnerFindRoomListReply struct {
  88. state protoimpl.MessageState
  89. sizeCache protoimpl.SizeCache
  90. unknownFields protoimpl.UnknownFields
  91. List []*PartnerRoomInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  92. NextId int64 `protobuf:"varint,2,opt,name=nextId,proto3" json:"nextId"`
  93. }
  94. func (x *PartnerFindRoomListReply) Reset() {
  95. *x = PartnerFindRoomListReply{}
  96. if protoimpl.UnsafeEnabled {
  97. mi := &file_chat_proto_msgTypes[1]
  98. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  99. ms.StoreMessageInfo(mi)
  100. }
  101. }
  102. func (x *PartnerFindRoomListReply) String() string {
  103. return protoimpl.X.MessageStringOf(x)
  104. }
  105. func (*PartnerFindRoomListReply) ProtoMessage() {}
  106. func (x *PartnerFindRoomListReply) ProtoReflect() protoreflect.Message {
  107. mi := &file_chat_proto_msgTypes[1]
  108. if protoimpl.UnsafeEnabled && x != nil {
  109. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  110. if ms.LoadMessageInfo() == nil {
  111. ms.StoreMessageInfo(mi)
  112. }
  113. return ms
  114. }
  115. return mi.MessageOf(x)
  116. }
  117. // Deprecated: Use PartnerFindRoomListReply.ProtoReflect.Descriptor instead.
  118. func (*PartnerFindRoomListReply) Descriptor() ([]byte, []int) {
  119. return file_chat_proto_rawDescGZIP(), []int{1}
  120. }
  121. func (x *PartnerFindRoomListReply) GetList() []*PartnerRoomInfo {
  122. if x != nil {
  123. return x.List
  124. }
  125. return nil
  126. }
  127. func (x *PartnerFindRoomListReply) GetNextId() int64 {
  128. if x != nil {
  129. return x.NextId
  130. }
  131. return 0
  132. }
  133. type PartnerRoomInfo struct {
  134. state protoimpl.MessageState
  135. sizeCache protoimpl.SizeCache
  136. unknownFields protoimpl.UnknownFields
  137. PersonSendNum int64 `protobuf:"varint,1,opt,name=personSendNum,proto3" json:"personSendNum"` // 用户发送数
  138. PersonId string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"` // 用户ID
  139. UnreadNum int64 `protobuf:"varint,3,opt,name=unreadNum,proto3" json:"unreadNum"` // 接待者未读数
  140. LastContent string `protobuf:"bytes,4,opt,name=lastContent,proto3" json:"lastContent"` // 上次发送内容
  141. LastTime int64 `protobuf:"varint,5,opt,name=lastTime,proto3" json:"lastTime"` // 上次发送时间
  142. Benefit int64 `protobuf:"varint,6,opt,name=benefit,proto3" json:"benefit"` // 收益
  143. Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type"` // 类型(新客:new,付费:pay)
  144. Sex int64 `protobuf:"varint,8,opt,name=sex,proto3" json:"sex"` // 性别
  145. AvatarUrl string `protobuf:"bytes,9,opt,name=AvatarUrl,proto3" json:"AvatarUrl"` // 头像
  146. Nickname string `protobuf:"bytes,10,opt,name=nickname,proto3" json:"nickname"` // 昵称
  147. Age int64 `protobuf:"varint,11,opt,name=age,proto3" json:"age"` // 年龄
  148. }
  149. func (x *PartnerRoomInfo) Reset() {
  150. *x = PartnerRoomInfo{}
  151. if protoimpl.UnsafeEnabled {
  152. mi := &file_chat_proto_msgTypes[2]
  153. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  154. ms.StoreMessageInfo(mi)
  155. }
  156. }
  157. func (x *PartnerRoomInfo) String() string {
  158. return protoimpl.X.MessageStringOf(x)
  159. }
  160. func (*PartnerRoomInfo) ProtoMessage() {}
  161. func (x *PartnerRoomInfo) ProtoReflect() protoreflect.Message {
  162. mi := &file_chat_proto_msgTypes[2]
  163. if protoimpl.UnsafeEnabled && x != nil {
  164. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  165. if ms.LoadMessageInfo() == nil {
  166. ms.StoreMessageInfo(mi)
  167. }
  168. return ms
  169. }
  170. return mi.MessageOf(x)
  171. }
  172. // Deprecated: Use PartnerRoomInfo.ProtoReflect.Descriptor instead.
  173. func (*PartnerRoomInfo) Descriptor() ([]byte, []int) {
  174. return file_chat_proto_rawDescGZIP(), []int{2}
  175. }
  176. func (x *PartnerRoomInfo) GetPersonSendNum() int64 {
  177. if x != nil {
  178. return x.PersonSendNum
  179. }
  180. return 0
  181. }
  182. func (x *PartnerRoomInfo) GetPersonId() string {
  183. if x != nil {
  184. return x.PersonId
  185. }
  186. return ""
  187. }
  188. func (x *PartnerRoomInfo) GetUnreadNum() int64 {
  189. if x != nil {
  190. return x.UnreadNum
  191. }
  192. return 0
  193. }
  194. func (x *PartnerRoomInfo) GetLastContent() string {
  195. if x != nil {
  196. return x.LastContent
  197. }
  198. return ""
  199. }
  200. func (x *PartnerRoomInfo) GetLastTime() int64 {
  201. if x != nil {
  202. return x.LastTime
  203. }
  204. return 0
  205. }
  206. func (x *PartnerRoomInfo) GetBenefit() int64 {
  207. if x != nil {
  208. return x.Benefit
  209. }
  210. return 0
  211. }
  212. func (x *PartnerRoomInfo) GetType() string {
  213. if x != nil {
  214. return x.Type
  215. }
  216. return ""
  217. }
  218. func (x *PartnerRoomInfo) GetSex() int64 {
  219. if x != nil {
  220. return x.Sex
  221. }
  222. return 0
  223. }
  224. func (x *PartnerRoomInfo) GetAvatarUrl() string {
  225. if x != nil {
  226. return x.AvatarUrl
  227. }
  228. return ""
  229. }
  230. func (x *PartnerRoomInfo) GetNickname() string {
  231. if x != nil {
  232. return x.Nickname
  233. }
  234. return ""
  235. }
  236. func (x *PartnerRoomInfo) GetAge() int64 {
  237. if x != nil {
  238. return x.Age
  239. }
  240. return 0
  241. }
  242. type CreateChatRoomParam struct {
  243. state protoimpl.MessageState
  244. sizeCache protoimpl.SizeCache
  245. unknownFields protoimpl.UnknownFields
  246. PersonId1 string `protobuf:"bytes,1,opt,name=personId1,proto3" json:"personId1"`
  247. PersonIdentifyID1 string `protobuf:"bytes,2,opt,name=personIdentifyID1,proto3" json:"personIdentifyID1"` // 身份ID
  248. PersonType1 string `protobuf:"bytes,3,opt,name=personType1,proto3" json:"personType1"` // 类型
  249. PersonId2 string `protobuf:"bytes,4,opt,name=personId2,proto3" json:"personId2"`
  250. PersonIdentifyID2 string `protobuf:"bytes,5,opt,name=personIdentifyID2,proto3" json:"personIdentifyID2"` // 身份ID
  251. PersonType2 string `protobuf:"bytes,6,opt,name=personType2,proto3" json:"personType2"` // 类型
  252. }
  253. func (x *CreateChatRoomParam) Reset() {
  254. *x = CreateChatRoomParam{}
  255. if protoimpl.UnsafeEnabled {
  256. mi := &file_chat_proto_msgTypes[3]
  257. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  258. ms.StoreMessageInfo(mi)
  259. }
  260. }
  261. func (x *CreateChatRoomParam) String() string {
  262. return protoimpl.X.MessageStringOf(x)
  263. }
  264. func (*CreateChatRoomParam) ProtoMessage() {}
  265. func (x *CreateChatRoomParam) ProtoReflect() protoreflect.Message {
  266. mi := &file_chat_proto_msgTypes[3]
  267. if protoimpl.UnsafeEnabled && x != nil {
  268. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  269. if ms.LoadMessageInfo() == nil {
  270. ms.StoreMessageInfo(mi)
  271. }
  272. return ms
  273. }
  274. return mi.MessageOf(x)
  275. }
  276. // Deprecated: Use CreateChatRoomParam.ProtoReflect.Descriptor instead.
  277. func (*CreateChatRoomParam) Descriptor() ([]byte, []int) {
  278. return file_chat_proto_rawDescGZIP(), []int{3}
  279. }
  280. func (x *CreateChatRoomParam) GetPersonId1() string {
  281. if x != nil {
  282. return x.PersonId1
  283. }
  284. return ""
  285. }
  286. func (x *CreateChatRoomParam) GetPersonIdentifyID1() string {
  287. if x != nil {
  288. return x.PersonIdentifyID1
  289. }
  290. return ""
  291. }
  292. func (x *CreateChatRoomParam) GetPersonType1() string {
  293. if x != nil {
  294. return x.PersonType1
  295. }
  296. return ""
  297. }
  298. func (x *CreateChatRoomParam) GetPersonId2() string {
  299. if x != nil {
  300. return x.PersonId2
  301. }
  302. return ""
  303. }
  304. func (x *CreateChatRoomParam) GetPersonIdentifyID2() string {
  305. if x != nil {
  306. return x.PersonIdentifyID2
  307. }
  308. return ""
  309. }
  310. func (x *CreateChatRoomParam) GetPersonType2() string {
  311. if x != nil {
  312. return x.PersonType2
  313. }
  314. return ""
  315. }
  316. type ReceiveRequest struct {
  317. state protoimpl.MessageState
  318. sizeCache protoimpl.SizeCache
  319. unknownFields protoimpl.UnknownFields
  320. Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method"`
  321. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data"`
  322. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id"`
  323. WebsocketTag string `protobuf:"bytes,4,opt,name=websocketTag,proto3" json:"websocketTag"`
  324. PersonType string `protobuf:"bytes,5,opt,name=personType,proto3" json:"personType"`
  325. PersonId string `protobuf:"bytes,6,opt,name=personId,proto3" json:"personId"`
  326. }
  327. func (x *ReceiveRequest) Reset() {
  328. *x = ReceiveRequest{}
  329. if protoimpl.UnsafeEnabled {
  330. mi := &file_chat_proto_msgTypes[4]
  331. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  332. ms.StoreMessageInfo(mi)
  333. }
  334. }
  335. func (x *ReceiveRequest) String() string {
  336. return protoimpl.X.MessageStringOf(x)
  337. }
  338. func (*ReceiveRequest) ProtoMessage() {}
  339. func (x *ReceiveRequest) ProtoReflect() protoreflect.Message {
  340. mi := &file_chat_proto_msgTypes[4]
  341. if protoimpl.UnsafeEnabled && x != nil {
  342. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  343. if ms.LoadMessageInfo() == nil {
  344. ms.StoreMessageInfo(mi)
  345. }
  346. return ms
  347. }
  348. return mi.MessageOf(x)
  349. }
  350. // Deprecated: Use ReceiveRequest.ProtoReflect.Descriptor instead.
  351. func (*ReceiveRequest) Descriptor() ([]byte, []int) {
  352. return file_chat_proto_rawDescGZIP(), []int{4}
  353. }
  354. func (x *ReceiveRequest) GetMethod() string {
  355. if x != nil {
  356. return x.Method
  357. }
  358. return ""
  359. }
  360. func (x *ReceiveRequest) GetData() []byte {
  361. if x != nil {
  362. return x.Data
  363. }
  364. return nil
  365. }
  366. func (x *ReceiveRequest) GetId() string {
  367. if x != nil {
  368. return x.Id
  369. }
  370. return ""
  371. }
  372. func (x *ReceiveRequest) GetWebsocketTag() string {
  373. if x != nil {
  374. return x.WebsocketTag
  375. }
  376. return ""
  377. }
  378. func (x *ReceiveRequest) GetPersonType() string {
  379. if x != nil {
  380. return x.PersonType
  381. }
  382. return ""
  383. }
  384. func (x *ReceiveRequest) GetPersonId() string {
  385. if x != nil {
  386. return x.PersonId
  387. }
  388. return ""
  389. }
  390. type ReceiveReply struct {
  391. state protoimpl.MessageState
  392. sizeCache protoimpl.SizeCache
  393. unknownFields protoimpl.UnknownFields
  394. }
  395. func (x *ReceiveReply) Reset() {
  396. *x = ReceiveReply{}
  397. if protoimpl.UnsafeEnabled {
  398. mi := &file_chat_proto_msgTypes[5]
  399. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  400. ms.StoreMessageInfo(mi)
  401. }
  402. }
  403. func (x *ReceiveReply) String() string {
  404. return protoimpl.X.MessageStringOf(x)
  405. }
  406. func (*ReceiveReply) ProtoMessage() {}
  407. func (x *ReceiveReply) ProtoReflect() protoreflect.Message {
  408. mi := &file_chat_proto_msgTypes[5]
  409. if protoimpl.UnsafeEnabled && x != nil {
  410. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  411. if ms.LoadMessageInfo() == nil {
  412. ms.StoreMessageInfo(mi)
  413. }
  414. return ms
  415. }
  416. return mi.MessageOf(x)
  417. }
  418. // Deprecated: Use ReceiveReply.ProtoReflect.Descriptor instead.
  419. func (*ReceiveReply) Descriptor() ([]byte, []int) {
  420. return file_chat_proto_rawDescGZIP(), []int{5}
  421. }
  422. type CheckUserPartnerIsRelationshipReply struct {
  423. state protoimpl.MessageState
  424. sizeCache protoimpl.SizeCache
  425. unknownFields protoimpl.UnknownFields
  426. IsBuildRelationship bool `protobuf:"varint,1,opt,name=isBuildRelationship,proto3" json:"isBuildRelationship"`
  427. RoomId int64 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId"`
  428. }
  429. func (x *CheckUserPartnerIsRelationshipReply) Reset() {
  430. *x = CheckUserPartnerIsRelationshipReply{}
  431. if protoimpl.UnsafeEnabled {
  432. mi := &file_chat_proto_msgTypes[6]
  433. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  434. ms.StoreMessageInfo(mi)
  435. }
  436. }
  437. func (x *CheckUserPartnerIsRelationshipReply) String() string {
  438. return protoimpl.X.MessageStringOf(x)
  439. }
  440. func (*CheckUserPartnerIsRelationshipReply) ProtoMessage() {}
  441. func (x *CheckUserPartnerIsRelationshipReply) ProtoReflect() protoreflect.Message {
  442. mi := &file_chat_proto_msgTypes[6]
  443. if protoimpl.UnsafeEnabled && x != nil {
  444. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  445. if ms.LoadMessageInfo() == nil {
  446. ms.StoreMessageInfo(mi)
  447. }
  448. return ms
  449. }
  450. return mi.MessageOf(x)
  451. }
  452. // Deprecated: Use CheckUserPartnerIsRelationshipReply.ProtoReflect.Descriptor instead.
  453. func (*CheckUserPartnerIsRelationshipReply) Descriptor() ([]byte, []int) {
  454. return file_chat_proto_rawDescGZIP(), []int{6}
  455. }
  456. func (x *CheckUserPartnerIsRelationshipReply) GetIsBuildRelationship() bool {
  457. if x != nil {
  458. return x.IsBuildRelationship
  459. }
  460. return false
  461. }
  462. func (x *CheckUserPartnerIsRelationshipReply) GetRoomId() int64 {
  463. if x != nil {
  464. return x.RoomId
  465. }
  466. return 0
  467. }
  468. type RoomReply struct {
  469. state protoimpl.MessageState
  470. sizeCache protoimpl.SizeCache
  471. unknownFields protoimpl.UnknownFields
  472. RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId"`
  473. }
  474. func (x *RoomReply) Reset() {
  475. *x = RoomReply{}
  476. if protoimpl.UnsafeEnabled {
  477. mi := &file_chat_proto_msgTypes[7]
  478. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  479. ms.StoreMessageInfo(mi)
  480. }
  481. }
  482. func (x *RoomReply) String() string {
  483. return protoimpl.X.MessageStringOf(x)
  484. }
  485. func (*RoomReply) ProtoMessage() {}
  486. func (x *RoomReply) ProtoReflect() protoreflect.Message {
  487. mi := &file_chat_proto_msgTypes[7]
  488. if protoimpl.UnsafeEnabled && x != nil {
  489. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  490. if ms.LoadMessageInfo() == nil {
  491. ms.StoreMessageInfo(mi)
  492. }
  493. return ms
  494. }
  495. return mi.MessageOf(x)
  496. }
  497. // Deprecated: Use RoomReply.ProtoReflect.Descriptor instead.
  498. func (*RoomReply) Descriptor() ([]byte, []int) {
  499. return file_chat_proto_rawDescGZIP(), []int{7}
  500. }
  501. func (x *RoomReply) GetRoomId() int64 {
  502. if x != nil {
  503. return x.RoomId
  504. }
  505. return 0
  506. }
  507. var File_chat_proto protoreflect.FileDescriptor
  508. var file_chat_proto_rawDesc = []byte{
  509. 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
  510. 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
  511. 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
  512. 0xc0, 0x01, 0x0a, 0x1a, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52,
  513. 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16,
  514. 0x0a, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
  515. 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
  516. 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1e,
  517. 0x0a, 0x0a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01,
  518. 0x28, 0x09, 0x52, 0x0a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x12, 0x26,
  519. 0x0a, 0x0e, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
  520. 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f,
  521. 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x69, 0x73, 0x57, 0x69, 0x74, 0x68,
  522. 0x69, 0x6e, 0x53, 0x65, 0x76, 0x65, 0x6e, 0x44, 0x61, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
  523. 0x52, 0x10, 0x69, 0x73, 0x57, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x53, 0x65, 0x76, 0x65, 0x6e, 0x44,
  524. 0x61, 0x79, 0x22, 0x61, 0x0a, 0x18, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e,
  525. 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2d,
  526. 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61,
  527. 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x52,
  528. 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a,
  529. 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e,
  530. 0x65, 0x78, 0x74, 0x49, 0x64, 0x22, 0xbb, 0x02, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65,
  531. 0x72, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x65, 0x72,
  532. 0x73, 0x6f, 0x6e, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  533. 0x52, 0x0d, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x12,
  534. 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  535. 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x75,
  536. 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
  537. 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4e, 0x75, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73,
  538. 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  539. 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6c,
  540. 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c,
  541. 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x65, 0x6e, 0x65, 0x66,
  542. 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x65, 0x6e, 0x65, 0x66, 0x69,
  543. 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
  544. 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01,
  545. 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x76, 0x61, 0x74, 0x61,
  546. 0x72, 0x55, 0x72, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x41, 0x76, 0x61, 0x74,
  547. 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
  548. 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
  549. 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03,
  550. 0x61, 0x67, 0x65, 0x22, 0xf1, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68,
  551. 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70,
  552. 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  553. 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x31, 0x12, 0x2c, 0x0a, 0x11, 0x70, 0x65, 0x72,
  554. 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x44, 0x31, 0x18, 0x02,
  555. 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e,
  556. 0x74, 0x69, 0x66, 0x79, 0x49, 0x44, 0x31, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x73, 0x6f,
  557. 0x6e, 0x54, 0x79, 0x70, 0x65, 0x31, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65,
  558. 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x31, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x65, 0x72,
  559. 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x65,
  560. 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x32, 0x12, 0x2c, 0x0a, 0x11, 0x70, 0x65, 0x72, 0x73, 0x6f,
  561. 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x44, 0x32, 0x18, 0x05, 0x20, 0x01,
  562. 0x28, 0x09, 0x52, 0x11, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
  563. 0x66, 0x79, 0x49, 0x44, 0x32, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54,
  564. 0x79, 0x70, 0x65, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x73,
  565. 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x32, 0x22, 0xac, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x65,
  566. 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65,
  567. 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68,
  568. 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
  569. 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
  570. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63,
  571. 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x65,
  572. 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65,
  573. 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  574. 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65,
  575. 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65,
  576. 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x0e, 0x0a, 0x0c, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76,
  577. 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x6f, 0x0a, 0x23, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55,
  578. 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61,
  579. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x30, 0x0a,
  580. 0x13, 0x69, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  581. 0x73, 0x68, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x73, 0x42, 0x75,
  582. 0x69, 0x6c, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12,
  583. 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
  584. 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x22, 0x23, 0x0a, 0x09, 0x52, 0x6f, 0x6f, 0x6d, 0x52,
  585. 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x01,
  586. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x32, 0xc3, 0x03, 0x0a,
  587. 0x04, 0x43, 0x68, 0x61, 0x74, 0x12, 0x72, 0x0a, 0x1e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73,
  588. 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74,
  589. 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
  590. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74,
  591. 0x6e, 0x65, 0x72, 0x49, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x2d, 0x2e, 0x61, 0x70, 0x69,
  592. 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50,
  593. 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  594. 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x44, 0x0a, 0x0e, 0x43, 0x72, 0x65,
  595. 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x1d, 0x2e, 0x61, 0x70,
  596. 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61,
  597. 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x13, 0x2e, 0x61, 0x70, 0x69,
  598. 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12,
  599. 0x5f, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72,
  600. 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
  601. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x41, 0x6e, 0x64,
  602. 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
  603. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e,
  604. 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
  605. 0x12, 0x61, 0x0a, 0x13, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52,
  606. 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68,
  607. 0x61, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f,
  608. 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
  609. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72,
  610. 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c,
  611. 0x79, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x12, 0x18,
  612. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76,
  613. 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
  614. 0x68, 0x61, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79,
  615. 0x22, 0x00, 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x50, 0x01,
  616. 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d,
  617. 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  618. 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x3b, 0x63, 0x68, 0x61,
  619. 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  620. }
  621. var (
  622. file_chat_proto_rawDescOnce sync.Once
  623. file_chat_proto_rawDescData = file_chat_proto_rawDesc
  624. )
  625. func file_chat_proto_rawDescGZIP() []byte {
  626. file_chat_proto_rawDescOnce.Do(func() {
  627. file_chat_proto_rawDescData = protoimpl.X.CompressGZIP(file_chat_proto_rawDescData)
  628. })
  629. return file_chat_proto_rawDescData
  630. }
  631. var file_chat_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  632. var file_chat_proto_goTypes = []interface{}{
  633. (*PartnerFindRoomListRequest)(nil), // 0: api.chat.PartnerFindRoomListRequest
  634. (*PartnerFindRoomListReply)(nil), // 1: api.chat.PartnerFindRoomListReply
  635. (*PartnerRoomInfo)(nil), // 2: api.chat.PartnerRoomInfo
  636. (*CreateChatRoomParam)(nil), // 3: api.chat.CreateChatRoomParam
  637. (*ReceiveRequest)(nil), // 4: api.chat.ReceiveRequest
  638. (*ReceiveReply)(nil), // 5: api.chat.ReceiveReply
  639. (*CheckUserPartnerIsRelationshipReply)(nil), // 6: api.chat.CheckUserPartnerIsRelationshipReply
  640. (*RoomReply)(nil), // 7: api.chat.RoomReply
  641. (*common.UserAndPartnerIdParam)(nil), // 8: api.common.UserAndPartnerIdParam
  642. (*common.ListPageAndPersonRequest)(nil), // 9: api.common.ListPageAndPersonRequest
  643. (*common.OnlinePersonListReply)(nil), // 10: api.common.OnlinePersonListReply
  644. }
  645. var file_chat_proto_depIdxs = []int32{
  646. 2, // 0: api.chat.PartnerFindRoomListReply.list:type_name -> api.chat.PartnerRoomInfo
  647. 8, // 1: api.chat.Chat.CheckUserPartnerIsRelationship:input_type -> api.common.UserAndPartnerIdParam
  648. 3, // 2: api.chat.Chat.CreateChatRoom:input_type -> api.chat.CreateChatRoomParam
  649. 9, // 3: api.chat.Chat.FindOnlinePersonList:input_type -> api.common.ListPageAndPersonRequest
  650. 0, // 4: api.chat.Chat.PartnerFindRoomList:input_type -> api.chat.PartnerFindRoomListRequest
  651. 4, // 5: api.chat.Chat.Receive:input_type -> api.chat.ReceiveRequest
  652. 6, // 6: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
  653. 7, // 7: api.chat.Chat.CreateChatRoom:output_type -> api.chat.RoomReply
  654. 10, // 8: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.OnlinePersonListReply
  655. 1, // 9: api.chat.Chat.PartnerFindRoomList:output_type -> api.chat.PartnerFindRoomListReply
  656. 5, // 10: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
  657. 6, // [6:11] is the sub-list for method output_type
  658. 1, // [1:6] is the sub-list for method input_type
  659. 1, // [1:1] is the sub-list for extension type_name
  660. 1, // [1:1] is the sub-list for extension extendee
  661. 0, // [0:1] is the sub-list for field type_name
  662. }
  663. func init() { file_chat_proto_init() }
  664. func file_chat_proto_init() {
  665. if File_chat_proto != nil {
  666. return
  667. }
  668. if !protoimpl.UnsafeEnabled {
  669. file_chat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  670. switch v := v.(*PartnerFindRoomListRequest); i {
  671. case 0:
  672. return &v.state
  673. case 1:
  674. return &v.sizeCache
  675. case 2:
  676. return &v.unknownFields
  677. default:
  678. return nil
  679. }
  680. }
  681. file_chat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  682. switch v := v.(*PartnerFindRoomListReply); i {
  683. case 0:
  684. return &v.state
  685. case 1:
  686. return &v.sizeCache
  687. case 2:
  688. return &v.unknownFields
  689. default:
  690. return nil
  691. }
  692. }
  693. file_chat_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  694. switch v := v.(*PartnerRoomInfo); i {
  695. case 0:
  696. return &v.state
  697. case 1:
  698. return &v.sizeCache
  699. case 2:
  700. return &v.unknownFields
  701. default:
  702. return nil
  703. }
  704. }
  705. file_chat_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  706. switch v := v.(*CreateChatRoomParam); i {
  707. case 0:
  708. return &v.state
  709. case 1:
  710. return &v.sizeCache
  711. case 2:
  712. return &v.unknownFields
  713. default:
  714. return nil
  715. }
  716. }
  717. file_chat_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  718. switch v := v.(*ReceiveRequest); i {
  719. case 0:
  720. return &v.state
  721. case 1:
  722. return &v.sizeCache
  723. case 2:
  724. return &v.unknownFields
  725. default:
  726. return nil
  727. }
  728. }
  729. file_chat_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  730. switch v := v.(*ReceiveReply); i {
  731. case 0:
  732. return &v.state
  733. case 1:
  734. return &v.sizeCache
  735. case 2:
  736. return &v.unknownFields
  737. default:
  738. return nil
  739. }
  740. }
  741. file_chat_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  742. switch v := v.(*CheckUserPartnerIsRelationshipReply); i {
  743. case 0:
  744. return &v.state
  745. case 1:
  746. return &v.sizeCache
  747. case 2:
  748. return &v.unknownFields
  749. default:
  750. return nil
  751. }
  752. }
  753. file_chat_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  754. switch v := v.(*RoomReply); i {
  755. case 0:
  756. return &v.state
  757. case 1:
  758. return &v.sizeCache
  759. case 2:
  760. return &v.unknownFields
  761. default:
  762. return nil
  763. }
  764. }
  765. }
  766. type x struct{}
  767. out := protoimpl.TypeBuilder{
  768. File: protoimpl.DescBuilder{
  769. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  770. RawDescriptor: file_chat_proto_rawDesc,
  771. NumEnums: 0,
  772. NumMessages: 8,
  773. NumExtensions: 0,
  774. NumServices: 1,
  775. },
  776. GoTypes: file_chat_proto_goTypes,
  777. DependencyIndexes: file_chat_proto_depIdxs,
  778. MessageInfos: file_chat_proto_msgTypes,
  779. }.Build()
  780. File_chat_proto = out.File
  781. file_chat_proto_rawDesc = nil
  782. file_chat_proto_goTypes = nil
  783. file_chat_proto_depIdxs = nil
  784. }