chat.pb.go 29 KB

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