chat_grpc.pb.go 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977
  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. package chat
  3. import (
  4. context "context"
  5. common "git.ikuban.com/server/pw-protobuf/api/common"
  6. grpc "google.golang.org/grpc"
  7. codes "google.golang.org/grpc/codes"
  8. status "google.golang.org/grpc/status"
  9. emptypb "google.golang.org/protobuf/types/known/emptypb"
  10. )
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the grpc package it is being compiled against.
  13. // Requires gRPC-Go v1.32.0 or later.
  14. const _ = grpc.SupportPackageIsVersion7
  15. // ChatClient is the client API for Chat service.
  16. //
  17. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
  18. type ChatClient interface {
  19. // 检查用户是否与接待员聊天
  20. CheckUserPartnerIsRelationship(ctx context.Context, in *common.UserAndPartnerIdentifyIdParam, opts ...grpc.CallOption) (*CheckUserPartnerIsRelationshipReply, error)
  21. // 创建聊天房间
  22. CreateChatRoom(ctx context.Context, in *CreateChatRoomParam, opts ...grpc.CallOption) (*RoomReply, error)
  23. // 查询在线人的列表
  24. FindOnlinePersonList(ctx context.Context, in *common.ListPageAndPersonRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
  25. // 查询推荐人的列表
  26. FindRecommendPersonList(ctx context.Context, in *FindRecommendPersonListRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
  27. // 接待员查询房间列表
  28. PartnerFindRoomList(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*PartnerFindRoomListReply, error)
  29. // 用户查询房间列表
  30. UserFindRoomList(ctx context.Context, in *UserFindRoomListRequest, opts ...grpc.CallOption) (*UserFindRoomListReply, error)
  31. Receive(ctx context.Context, in *ReceiveRequest, opts ...grpc.CallOption) (*ReceiveReply, error)
  32. // 查询聊天记录
  33. FindChatRecordList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error)
  34. // 房间信息
  35. FindChatRoomMsg(ctx context.Context, in *FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error)
  36. // 拉黑
  37. SetBlackChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  38. // 删除房间
  39. DeleteChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  40. // 拉黑
  41. Report(ctx context.Context, in *common.ReportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  42. // 接待员领取开通奖励
  43. PartnerGetAward(ctx context.Context, in *PartnerGetAwardRequest, opts ...grpc.CallOption) (*PartnerGetAwardReply, error)
  44. // 房间信息
  45. FindRoomCardMsg(ctx context.Context, in *FindRoomCardMsgRequest, opts ...grpc.CallOption) (*common.RoomChatMsg, error)
  46. // 查询未处理的数据
  47. FindNotReplyNum(ctx context.Context, in *common.IdentifyIdRequest, opts ...grpc.CallOption) (*FindNotReplyNumReply, error)
  48. // 创建纸条
  49. CreateScrip(ctx context.Context, in *common.CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error)
  50. // 删除纸条
  51. DeleteScrip(ctx context.Context, in *common.DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  52. // 查询自己的小纸条
  53. FindMyScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  54. // 查询别人的小纸条
  55. FindOtherScrip(ctx context.Context, in *common.FindOtherScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  56. // 查询随机纸条列表
  57. FindRecommendScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  58. // 用户查看纸条
  59. PersonLookScrip(ctx context.Context, in *common.PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  60. // 用户点击回看
  61. PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error)
  62. // 回复小纸条
  63. PersonReplyScrip(ctx context.Context, in *common.ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
  64. // 获取假弹窗
  65. GetWindowInfo(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*WindowInfo, error)
  66. }
  67. type chatClient struct {
  68. cc grpc.ClientConnInterface
  69. }
  70. func NewChatClient(cc grpc.ClientConnInterface) ChatClient {
  71. return &chatClient{cc}
  72. }
  73. func (c *chatClient) CheckUserPartnerIsRelationship(ctx context.Context, in *common.UserAndPartnerIdentifyIdParam, opts ...grpc.CallOption) (*CheckUserPartnerIsRelationshipReply, error) {
  74. out := new(CheckUserPartnerIsRelationshipReply)
  75. err := c.cc.Invoke(ctx, "/api.chat.Chat/CheckUserPartnerIsRelationship", in, out, opts...)
  76. if err != nil {
  77. return nil, err
  78. }
  79. return out, nil
  80. }
  81. func (c *chatClient) CreateChatRoom(ctx context.Context, in *CreateChatRoomParam, opts ...grpc.CallOption) (*RoomReply, error) {
  82. out := new(RoomReply)
  83. err := c.cc.Invoke(ctx, "/api.chat.Chat/CreateChatRoom", in, out, opts...)
  84. if err != nil {
  85. return nil, err
  86. }
  87. return out, nil
  88. }
  89. func (c *chatClient) FindOnlinePersonList(ctx context.Context, in *common.ListPageAndPersonRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  90. out := new(common.RecommendPersonListReply)
  91. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindOnlinePersonList", in, out, opts...)
  92. if err != nil {
  93. return nil, err
  94. }
  95. return out, nil
  96. }
  97. func (c *chatClient) FindRecommendPersonList(ctx context.Context, in *FindRecommendPersonListRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  98. out := new(common.RecommendPersonListReply)
  99. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRecommendPersonList", in, out, opts...)
  100. if err != nil {
  101. return nil, err
  102. }
  103. return out, nil
  104. }
  105. func (c *chatClient) PartnerFindRoomList(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*PartnerFindRoomListReply, error) {
  106. out := new(PartnerFindRoomListReply)
  107. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerFindRoomList", in, out, opts...)
  108. if err != nil {
  109. return nil, err
  110. }
  111. return out, nil
  112. }
  113. func (c *chatClient) UserFindRoomList(ctx context.Context, in *UserFindRoomListRequest, opts ...grpc.CallOption) (*UserFindRoomListReply, error) {
  114. out := new(UserFindRoomListReply)
  115. err := c.cc.Invoke(ctx, "/api.chat.Chat/UserFindRoomList", in, out, opts...)
  116. if err != nil {
  117. return nil, err
  118. }
  119. return out, nil
  120. }
  121. func (c *chatClient) Receive(ctx context.Context, in *ReceiveRequest, opts ...grpc.CallOption) (*ReceiveReply, error) {
  122. out := new(ReceiveReply)
  123. err := c.cc.Invoke(ctx, "/api.chat.Chat/Receive", in, out, opts...)
  124. if err != nil {
  125. return nil, err
  126. }
  127. return out, nil
  128. }
  129. func (c *chatClient) FindChatRecordList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  130. out := new(common.ChatRecordListReply)
  131. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatRecordList", in, out, opts...)
  132. if err != nil {
  133. return nil, err
  134. }
  135. return out, nil
  136. }
  137. func (c *chatClient) FindChatRoomMsg(ctx context.Context, in *FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error) {
  138. out := new(common.ChatRoomMsg)
  139. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatRoomMsg", in, out, opts...)
  140. if err != nil {
  141. return nil, err
  142. }
  143. return out, nil
  144. }
  145. func (c *chatClient) SetBlackChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  146. out := new(emptypb.Empty)
  147. err := c.cc.Invoke(ctx, "/api.chat.Chat/SetBlackChat", in, out, opts...)
  148. if err != nil {
  149. return nil, err
  150. }
  151. return out, nil
  152. }
  153. func (c *chatClient) DeleteChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  154. out := new(emptypb.Empty)
  155. err := c.cc.Invoke(ctx, "/api.chat.Chat/DeleteChat", in, out, opts...)
  156. if err != nil {
  157. return nil, err
  158. }
  159. return out, nil
  160. }
  161. func (c *chatClient) Report(ctx context.Context, in *common.ReportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  162. out := new(emptypb.Empty)
  163. err := c.cc.Invoke(ctx, "/api.chat.Chat/Report", in, out, opts...)
  164. if err != nil {
  165. return nil, err
  166. }
  167. return out, nil
  168. }
  169. func (c *chatClient) PartnerGetAward(ctx context.Context, in *PartnerGetAwardRequest, opts ...grpc.CallOption) (*PartnerGetAwardReply, error) {
  170. out := new(PartnerGetAwardReply)
  171. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerGetAward", in, out, opts...)
  172. if err != nil {
  173. return nil, err
  174. }
  175. return out, nil
  176. }
  177. func (c *chatClient) FindRoomCardMsg(ctx context.Context, in *FindRoomCardMsgRequest, opts ...grpc.CallOption) (*common.RoomChatMsg, error) {
  178. out := new(common.RoomChatMsg)
  179. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRoomCardMsg", in, out, opts...)
  180. if err != nil {
  181. return nil, err
  182. }
  183. return out, nil
  184. }
  185. func (c *chatClient) FindNotReplyNum(ctx context.Context, in *common.IdentifyIdRequest, opts ...grpc.CallOption) (*FindNotReplyNumReply, error) {
  186. out := new(FindNotReplyNumReply)
  187. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindNotReplyNum", in, out, opts...)
  188. if err != nil {
  189. return nil, err
  190. }
  191. return out, nil
  192. }
  193. func (c *chatClient) CreateScrip(ctx context.Context, in *common.CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error) {
  194. out := new(common.ScripID)
  195. err := c.cc.Invoke(ctx, "/api.chat.Chat/CreateScrip", in, out, opts...)
  196. if err != nil {
  197. return nil, err
  198. }
  199. return out, nil
  200. }
  201. func (c *chatClient) DeleteScrip(ctx context.Context, in *common.DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  202. out := new(emptypb.Empty)
  203. err := c.cc.Invoke(ctx, "/api.chat.Chat/DeleteScrip", in, out, opts...)
  204. if err != nil {
  205. return nil, err
  206. }
  207. return out, nil
  208. }
  209. func (c *chatClient) FindMyScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  210. out := new(common.ScripReply)
  211. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindMyScrip", in, out, opts...)
  212. if err != nil {
  213. return nil, err
  214. }
  215. return out, nil
  216. }
  217. func (c *chatClient) FindOtherScrip(ctx context.Context, in *common.FindOtherScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  218. out := new(common.ScripReply)
  219. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindOtherScrip", in, out, opts...)
  220. if err != nil {
  221. return nil, err
  222. }
  223. return out, nil
  224. }
  225. func (c *chatClient) FindRecommendScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  226. out := new(common.ScripReply)
  227. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRecommendScrip", in, out, opts...)
  228. if err != nil {
  229. return nil, err
  230. }
  231. return out, nil
  232. }
  233. func (c *chatClient) PersonLookScrip(ctx context.Context, in *common.PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  234. out := new(emptypb.Empty)
  235. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonLookScrip", in, out, opts...)
  236. if err != nil {
  237. return nil, err
  238. }
  239. return out, nil
  240. }
  241. func (c *chatClient) PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error) {
  242. out := new(common.ScripInfo)
  243. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonClickLookBack", in, out, opts...)
  244. if err != nil {
  245. return nil, err
  246. }
  247. return out, nil
  248. }
  249. func (c *chatClient) PersonReplyScrip(ctx context.Context, in *common.ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error) {
  250. out := new(common.ChatRecordInfo)
  251. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonReplyScrip", in, out, opts...)
  252. if err != nil {
  253. return nil, err
  254. }
  255. return out, nil
  256. }
  257. func (c *chatClient) GetWindowInfo(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*WindowInfo, error) {
  258. out := new(WindowInfo)
  259. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetWindowInfo", in, out, opts...)
  260. if err != nil {
  261. return nil, err
  262. }
  263. return out, nil
  264. }
  265. // ChatServer is the server API for Chat service.
  266. // All implementations must embed UnimplementedChatServer
  267. // for forward compatibility
  268. type ChatServer interface {
  269. // 检查用户是否与接待员聊天
  270. CheckUserPartnerIsRelationship(context.Context, *common.UserAndPartnerIdentifyIdParam) (*CheckUserPartnerIsRelationshipReply, error)
  271. // 创建聊天房间
  272. CreateChatRoom(context.Context, *CreateChatRoomParam) (*RoomReply, error)
  273. // 查询在线人的列表
  274. FindOnlinePersonList(context.Context, *common.ListPageAndPersonRequest) (*common.RecommendPersonListReply, error)
  275. // 查询推荐人的列表
  276. FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error)
  277. // 接待员查询房间列表
  278. PartnerFindRoomList(context.Context, *PartnerFindRoomListRequest) (*PartnerFindRoomListReply, error)
  279. // 用户查询房间列表
  280. UserFindRoomList(context.Context, *UserFindRoomListRequest) (*UserFindRoomListReply, error)
  281. Receive(context.Context, *ReceiveRequest) (*ReceiveReply, error)
  282. // 查询聊天记录
  283. FindChatRecordList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error)
  284. // 房间信息
  285. FindChatRoomMsg(context.Context, *FindChatRoomMsgRequest) (*common.ChatRoomMsg, error)
  286. // 拉黑
  287. SetBlackChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error)
  288. // 删除房间
  289. DeleteChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error)
  290. // 拉黑
  291. Report(context.Context, *common.ReportRequest) (*emptypb.Empty, error)
  292. // 接待员领取开通奖励
  293. PartnerGetAward(context.Context, *PartnerGetAwardRequest) (*PartnerGetAwardReply, error)
  294. // 房间信息
  295. FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error)
  296. // 查询未处理的数据
  297. FindNotReplyNum(context.Context, *common.IdentifyIdRequest) (*FindNotReplyNumReply, error)
  298. // 创建纸条
  299. CreateScrip(context.Context, *common.CreateScripRequest) (*common.ScripID, error)
  300. // 删除纸条
  301. DeleteScrip(context.Context, *common.DeleteScripRequest) (*emptypb.Empty, error)
  302. // 查询自己的小纸条
  303. FindMyScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
  304. // 查询别人的小纸条
  305. FindOtherScrip(context.Context, *common.FindOtherScripRequest) (*common.ScripReply, error)
  306. // 查询随机纸条列表
  307. FindRecommendScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
  308. // 用户查看纸条
  309. PersonLookScrip(context.Context, *common.PersonLookScripRequest) (*emptypb.Empty, error)
  310. // 用户点击回看
  311. PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error)
  312. // 回复小纸条
  313. PersonReplyScrip(context.Context, *common.ReplyScripRequest) (*common.ChatRecordInfo, error)
  314. // 获取假弹窗
  315. GetWindowInfo(context.Context, *common.MatchingRequest) (*WindowInfo, error)
  316. mustEmbedUnimplementedChatServer()
  317. }
  318. // UnimplementedChatServer must be embedded to have forward compatible implementations.
  319. type UnimplementedChatServer struct {
  320. }
  321. func (UnimplementedChatServer) CheckUserPartnerIsRelationship(context.Context, *common.UserAndPartnerIdentifyIdParam) (*CheckUserPartnerIsRelationshipReply, error) {
  322. return nil, status.Errorf(codes.Unimplemented, "method CheckUserPartnerIsRelationship not implemented")
  323. }
  324. func (UnimplementedChatServer) CreateChatRoom(context.Context, *CreateChatRoomParam) (*RoomReply, error) {
  325. return nil, status.Errorf(codes.Unimplemented, "method CreateChatRoom not implemented")
  326. }
  327. func (UnimplementedChatServer) FindOnlinePersonList(context.Context, *common.ListPageAndPersonRequest) (*common.RecommendPersonListReply, error) {
  328. return nil, status.Errorf(codes.Unimplemented, "method FindOnlinePersonList not implemented")
  329. }
  330. func (UnimplementedChatServer) FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error) {
  331. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendPersonList not implemented")
  332. }
  333. func (UnimplementedChatServer) PartnerFindRoomList(context.Context, *PartnerFindRoomListRequest) (*PartnerFindRoomListReply, error) {
  334. return nil, status.Errorf(codes.Unimplemented, "method PartnerFindRoomList not implemented")
  335. }
  336. func (UnimplementedChatServer) UserFindRoomList(context.Context, *UserFindRoomListRequest) (*UserFindRoomListReply, error) {
  337. return nil, status.Errorf(codes.Unimplemented, "method UserFindRoomList not implemented")
  338. }
  339. func (UnimplementedChatServer) Receive(context.Context, *ReceiveRequest) (*ReceiveReply, error) {
  340. return nil, status.Errorf(codes.Unimplemented, "method Receive not implemented")
  341. }
  342. func (UnimplementedChatServer) FindChatRecordList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  343. return nil, status.Errorf(codes.Unimplemented, "method FindChatRecordList not implemented")
  344. }
  345. func (UnimplementedChatServer) FindChatRoomMsg(context.Context, *FindChatRoomMsgRequest) (*common.ChatRoomMsg, error) {
  346. return nil, status.Errorf(codes.Unimplemented, "method FindChatRoomMsg not implemented")
  347. }
  348. func (UnimplementedChatServer) SetBlackChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error) {
  349. return nil, status.Errorf(codes.Unimplemented, "method SetBlackChat not implemented")
  350. }
  351. func (UnimplementedChatServer) DeleteChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error) {
  352. return nil, status.Errorf(codes.Unimplemented, "method DeleteChat not implemented")
  353. }
  354. func (UnimplementedChatServer) Report(context.Context, *common.ReportRequest) (*emptypb.Empty, error) {
  355. return nil, status.Errorf(codes.Unimplemented, "method Report not implemented")
  356. }
  357. func (UnimplementedChatServer) PartnerGetAward(context.Context, *PartnerGetAwardRequest) (*PartnerGetAwardReply, error) {
  358. return nil, status.Errorf(codes.Unimplemented, "method PartnerGetAward not implemented")
  359. }
  360. func (UnimplementedChatServer) FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error) {
  361. return nil, status.Errorf(codes.Unimplemented, "method FindRoomCardMsg not implemented")
  362. }
  363. func (UnimplementedChatServer) FindNotReplyNum(context.Context, *common.IdentifyIdRequest) (*FindNotReplyNumReply, error) {
  364. return nil, status.Errorf(codes.Unimplemented, "method FindNotReplyNum not implemented")
  365. }
  366. func (UnimplementedChatServer) CreateScrip(context.Context, *common.CreateScripRequest) (*common.ScripID, error) {
  367. return nil, status.Errorf(codes.Unimplemented, "method CreateScrip not implemented")
  368. }
  369. func (UnimplementedChatServer) DeleteScrip(context.Context, *common.DeleteScripRequest) (*emptypb.Empty, error) {
  370. return nil, status.Errorf(codes.Unimplemented, "method DeleteScrip not implemented")
  371. }
  372. func (UnimplementedChatServer) FindMyScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
  373. return nil, status.Errorf(codes.Unimplemented, "method FindMyScrip not implemented")
  374. }
  375. func (UnimplementedChatServer) FindOtherScrip(context.Context, *common.FindOtherScripRequest) (*common.ScripReply, error) {
  376. return nil, status.Errorf(codes.Unimplemented, "method FindOtherScrip not implemented")
  377. }
  378. func (UnimplementedChatServer) FindRecommendScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
  379. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendScrip not implemented")
  380. }
  381. func (UnimplementedChatServer) PersonLookScrip(context.Context, *common.PersonLookScripRequest) (*emptypb.Empty, error) {
  382. return nil, status.Errorf(codes.Unimplemented, "method PersonLookScrip not implemented")
  383. }
  384. func (UnimplementedChatServer) PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error) {
  385. return nil, status.Errorf(codes.Unimplemented, "method PersonClickLookBack not implemented")
  386. }
  387. func (UnimplementedChatServer) PersonReplyScrip(context.Context, *common.ReplyScripRequest) (*common.ChatRecordInfo, error) {
  388. return nil, status.Errorf(codes.Unimplemented, "method PersonReplyScrip not implemented")
  389. }
  390. func (UnimplementedChatServer) GetWindowInfo(context.Context, *common.MatchingRequest) (*WindowInfo, error) {
  391. return nil, status.Errorf(codes.Unimplemented, "method GetWindowInfo not implemented")
  392. }
  393. func (UnimplementedChatServer) mustEmbedUnimplementedChatServer() {}
  394. // UnsafeChatServer may be embedded to opt out of forward compatibility for this service.
  395. // Use of this interface is not recommended, as added methods to ChatServer will
  396. // result in compilation errors.
  397. type UnsafeChatServer interface {
  398. mustEmbedUnimplementedChatServer()
  399. }
  400. func RegisterChatServer(s grpc.ServiceRegistrar, srv ChatServer) {
  401. s.RegisterService(&Chat_ServiceDesc, srv)
  402. }
  403. func _Chat_CheckUserPartnerIsRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  404. in := new(common.UserAndPartnerIdentifyIdParam)
  405. if err := dec(in); err != nil {
  406. return nil, err
  407. }
  408. if interceptor == nil {
  409. return srv.(ChatServer).CheckUserPartnerIsRelationship(ctx, in)
  410. }
  411. info := &grpc.UnaryServerInfo{
  412. Server: srv,
  413. FullMethod: "/api.chat.Chat/CheckUserPartnerIsRelationship",
  414. }
  415. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  416. return srv.(ChatServer).CheckUserPartnerIsRelationship(ctx, req.(*common.UserAndPartnerIdentifyIdParam))
  417. }
  418. return interceptor(ctx, in, info, handler)
  419. }
  420. func _Chat_CreateChatRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  421. in := new(CreateChatRoomParam)
  422. if err := dec(in); err != nil {
  423. return nil, err
  424. }
  425. if interceptor == nil {
  426. return srv.(ChatServer).CreateChatRoom(ctx, in)
  427. }
  428. info := &grpc.UnaryServerInfo{
  429. Server: srv,
  430. FullMethod: "/api.chat.Chat/CreateChatRoom",
  431. }
  432. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  433. return srv.(ChatServer).CreateChatRoom(ctx, req.(*CreateChatRoomParam))
  434. }
  435. return interceptor(ctx, in, info, handler)
  436. }
  437. func _Chat_FindOnlinePersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  438. in := new(common.ListPageAndPersonRequest)
  439. if err := dec(in); err != nil {
  440. return nil, err
  441. }
  442. if interceptor == nil {
  443. return srv.(ChatServer).FindOnlinePersonList(ctx, in)
  444. }
  445. info := &grpc.UnaryServerInfo{
  446. Server: srv,
  447. FullMethod: "/api.chat.Chat/FindOnlinePersonList",
  448. }
  449. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  450. return srv.(ChatServer).FindOnlinePersonList(ctx, req.(*common.ListPageAndPersonRequest))
  451. }
  452. return interceptor(ctx, in, info, handler)
  453. }
  454. func _Chat_FindRecommendPersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  455. in := new(FindRecommendPersonListRequest)
  456. if err := dec(in); err != nil {
  457. return nil, err
  458. }
  459. if interceptor == nil {
  460. return srv.(ChatServer).FindRecommendPersonList(ctx, in)
  461. }
  462. info := &grpc.UnaryServerInfo{
  463. Server: srv,
  464. FullMethod: "/api.chat.Chat/FindRecommendPersonList",
  465. }
  466. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  467. return srv.(ChatServer).FindRecommendPersonList(ctx, req.(*FindRecommendPersonListRequest))
  468. }
  469. return interceptor(ctx, in, info, handler)
  470. }
  471. func _Chat_PartnerFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  472. in := new(PartnerFindRoomListRequest)
  473. if err := dec(in); err != nil {
  474. return nil, err
  475. }
  476. if interceptor == nil {
  477. return srv.(ChatServer).PartnerFindRoomList(ctx, in)
  478. }
  479. info := &grpc.UnaryServerInfo{
  480. Server: srv,
  481. FullMethod: "/api.chat.Chat/PartnerFindRoomList",
  482. }
  483. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  484. return srv.(ChatServer).PartnerFindRoomList(ctx, req.(*PartnerFindRoomListRequest))
  485. }
  486. return interceptor(ctx, in, info, handler)
  487. }
  488. func _Chat_UserFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  489. in := new(UserFindRoomListRequest)
  490. if err := dec(in); err != nil {
  491. return nil, err
  492. }
  493. if interceptor == nil {
  494. return srv.(ChatServer).UserFindRoomList(ctx, in)
  495. }
  496. info := &grpc.UnaryServerInfo{
  497. Server: srv,
  498. FullMethod: "/api.chat.Chat/UserFindRoomList",
  499. }
  500. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  501. return srv.(ChatServer).UserFindRoomList(ctx, req.(*UserFindRoomListRequest))
  502. }
  503. return interceptor(ctx, in, info, handler)
  504. }
  505. func _Chat_Receive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  506. in := new(ReceiveRequest)
  507. if err := dec(in); err != nil {
  508. return nil, err
  509. }
  510. if interceptor == nil {
  511. return srv.(ChatServer).Receive(ctx, in)
  512. }
  513. info := &grpc.UnaryServerInfo{
  514. Server: srv,
  515. FullMethod: "/api.chat.Chat/Receive",
  516. }
  517. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  518. return srv.(ChatServer).Receive(ctx, req.(*ReceiveRequest))
  519. }
  520. return interceptor(ctx, in, info, handler)
  521. }
  522. func _Chat_FindChatRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  523. in := new(FindChatRecordListRequest)
  524. if err := dec(in); err != nil {
  525. return nil, err
  526. }
  527. if interceptor == nil {
  528. return srv.(ChatServer).FindChatRecordList(ctx, in)
  529. }
  530. info := &grpc.UnaryServerInfo{
  531. Server: srv,
  532. FullMethod: "/api.chat.Chat/FindChatRecordList",
  533. }
  534. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  535. return srv.(ChatServer).FindChatRecordList(ctx, req.(*FindChatRecordListRequest))
  536. }
  537. return interceptor(ctx, in, info, handler)
  538. }
  539. func _Chat_FindChatRoomMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  540. in := new(FindChatRoomMsgRequest)
  541. if err := dec(in); err != nil {
  542. return nil, err
  543. }
  544. if interceptor == nil {
  545. return srv.(ChatServer).FindChatRoomMsg(ctx, in)
  546. }
  547. info := &grpc.UnaryServerInfo{
  548. Server: srv,
  549. FullMethod: "/api.chat.Chat/FindChatRoomMsg",
  550. }
  551. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  552. return srv.(ChatServer).FindChatRoomMsg(ctx, req.(*FindChatRoomMsgRequest))
  553. }
  554. return interceptor(ctx, in, info, handler)
  555. }
  556. func _Chat_SetBlackChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  557. in := new(SetBlackChatParam)
  558. if err := dec(in); err != nil {
  559. return nil, err
  560. }
  561. if interceptor == nil {
  562. return srv.(ChatServer).SetBlackChat(ctx, in)
  563. }
  564. info := &grpc.UnaryServerInfo{
  565. Server: srv,
  566. FullMethod: "/api.chat.Chat/SetBlackChat",
  567. }
  568. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  569. return srv.(ChatServer).SetBlackChat(ctx, req.(*SetBlackChatParam))
  570. }
  571. return interceptor(ctx, in, info, handler)
  572. }
  573. func _Chat_DeleteChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  574. in := new(SetBlackChatParam)
  575. if err := dec(in); err != nil {
  576. return nil, err
  577. }
  578. if interceptor == nil {
  579. return srv.(ChatServer).DeleteChat(ctx, in)
  580. }
  581. info := &grpc.UnaryServerInfo{
  582. Server: srv,
  583. FullMethod: "/api.chat.Chat/DeleteChat",
  584. }
  585. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  586. return srv.(ChatServer).DeleteChat(ctx, req.(*SetBlackChatParam))
  587. }
  588. return interceptor(ctx, in, info, handler)
  589. }
  590. func _Chat_Report_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  591. in := new(common.ReportRequest)
  592. if err := dec(in); err != nil {
  593. return nil, err
  594. }
  595. if interceptor == nil {
  596. return srv.(ChatServer).Report(ctx, in)
  597. }
  598. info := &grpc.UnaryServerInfo{
  599. Server: srv,
  600. FullMethod: "/api.chat.Chat/Report",
  601. }
  602. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  603. return srv.(ChatServer).Report(ctx, req.(*common.ReportRequest))
  604. }
  605. return interceptor(ctx, in, info, handler)
  606. }
  607. func _Chat_PartnerGetAward_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  608. in := new(PartnerGetAwardRequest)
  609. if err := dec(in); err != nil {
  610. return nil, err
  611. }
  612. if interceptor == nil {
  613. return srv.(ChatServer).PartnerGetAward(ctx, in)
  614. }
  615. info := &grpc.UnaryServerInfo{
  616. Server: srv,
  617. FullMethod: "/api.chat.Chat/PartnerGetAward",
  618. }
  619. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  620. return srv.(ChatServer).PartnerGetAward(ctx, req.(*PartnerGetAwardRequest))
  621. }
  622. return interceptor(ctx, in, info, handler)
  623. }
  624. func _Chat_FindRoomCardMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  625. in := new(FindRoomCardMsgRequest)
  626. if err := dec(in); err != nil {
  627. return nil, err
  628. }
  629. if interceptor == nil {
  630. return srv.(ChatServer).FindRoomCardMsg(ctx, in)
  631. }
  632. info := &grpc.UnaryServerInfo{
  633. Server: srv,
  634. FullMethod: "/api.chat.Chat/FindRoomCardMsg",
  635. }
  636. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  637. return srv.(ChatServer).FindRoomCardMsg(ctx, req.(*FindRoomCardMsgRequest))
  638. }
  639. return interceptor(ctx, in, info, handler)
  640. }
  641. func _Chat_FindNotReplyNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  642. in := new(common.IdentifyIdRequest)
  643. if err := dec(in); err != nil {
  644. return nil, err
  645. }
  646. if interceptor == nil {
  647. return srv.(ChatServer).FindNotReplyNum(ctx, in)
  648. }
  649. info := &grpc.UnaryServerInfo{
  650. Server: srv,
  651. FullMethod: "/api.chat.Chat/FindNotReplyNum",
  652. }
  653. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  654. return srv.(ChatServer).FindNotReplyNum(ctx, req.(*common.IdentifyIdRequest))
  655. }
  656. return interceptor(ctx, in, info, handler)
  657. }
  658. func _Chat_CreateScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  659. in := new(common.CreateScripRequest)
  660. if err := dec(in); err != nil {
  661. return nil, err
  662. }
  663. if interceptor == nil {
  664. return srv.(ChatServer).CreateScrip(ctx, in)
  665. }
  666. info := &grpc.UnaryServerInfo{
  667. Server: srv,
  668. FullMethod: "/api.chat.Chat/CreateScrip",
  669. }
  670. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  671. return srv.(ChatServer).CreateScrip(ctx, req.(*common.CreateScripRequest))
  672. }
  673. return interceptor(ctx, in, info, handler)
  674. }
  675. func _Chat_DeleteScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  676. in := new(common.DeleteScripRequest)
  677. if err := dec(in); err != nil {
  678. return nil, err
  679. }
  680. if interceptor == nil {
  681. return srv.(ChatServer).DeleteScrip(ctx, in)
  682. }
  683. info := &grpc.UnaryServerInfo{
  684. Server: srv,
  685. FullMethod: "/api.chat.Chat/DeleteScrip",
  686. }
  687. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  688. return srv.(ChatServer).DeleteScrip(ctx, req.(*common.DeleteScripRequest))
  689. }
  690. return interceptor(ctx, in, info, handler)
  691. }
  692. func _Chat_FindMyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  693. in := new(common.FindScripRequest)
  694. if err := dec(in); err != nil {
  695. return nil, err
  696. }
  697. if interceptor == nil {
  698. return srv.(ChatServer).FindMyScrip(ctx, in)
  699. }
  700. info := &grpc.UnaryServerInfo{
  701. Server: srv,
  702. FullMethod: "/api.chat.Chat/FindMyScrip",
  703. }
  704. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  705. return srv.(ChatServer).FindMyScrip(ctx, req.(*common.FindScripRequest))
  706. }
  707. return interceptor(ctx, in, info, handler)
  708. }
  709. func _Chat_FindOtherScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  710. in := new(common.FindOtherScripRequest)
  711. if err := dec(in); err != nil {
  712. return nil, err
  713. }
  714. if interceptor == nil {
  715. return srv.(ChatServer).FindOtherScrip(ctx, in)
  716. }
  717. info := &grpc.UnaryServerInfo{
  718. Server: srv,
  719. FullMethod: "/api.chat.Chat/FindOtherScrip",
  720. }
  721. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  722. return srv.(ChatServer).FindOtherScrip(ctx, req.(*common.FindOtherScripRequest))
  723. }
  724. return interceptor(ctx, in, info, handler)
  725. }
  726. func _Chat_FindRecommendScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  727. in := new(common.FindScripRequest)
  728. if err := dec(in); err != nil {
  729. return nil, err
  730. }
  731. if interceptor == nil {
  732. return srv.(ChatServer).FindRecommendScrip(ctx, in)
  733. }
  734. info := &grpc.UnaryServerInfo{
  735. Server: srv,
  736. FullMethod: "/api.chat.Chat/FindRecommendScrip",
  737. }
  738. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  739. return srv.(ChatServer).FindRecommendScrip(ctx, req.(*common.FindScripRequest))
  740. }
  741. return interceptor(ctx, in, info, handler)
  742. }
  743. func _Chat_PersonLookScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  744. in := new(common.PersonLookScripRequest)
  745. if err := dec(in); err != nil {
  746. return nil, err
  747. }
  748. if interceptor == nil {
  749. return srv.(ChatServer).PersonLookScrip(ctx, in)
  750. }
  751. info := &grpc.UnaryServerInfo{
  752. Server: srv,
  753. FullMethod: "/api.chat.Chat/PersonLookScrip",
  754. }
  755. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  756. return srv.(ChatServer).PersonLookScrip(ctx, req.(*common.PersonLookScripRequest))
  757. }
  758. return interceptor(ctx, in, info, handler)
  759. }
  760. func _Chat_PersonClickLookBack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  761. in := new(common.PersonParam)
  762. if err := dec(in); err != nil {
  763. return nil, err
  764. }
  765. if interceptor == nil {
  766. return srv.(ChatServer).PersonClickLookBack(ctx, in)
  767. }
  768. info := &grpc.UnaryServerInfo{
  769. Server: srv,
  770. FullMethod: "/api.chat.Chat/PersonClickLookBack",
  771. }
  772. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  773. return srv.(ChatServer).PersonClickLookBack(ctx, req.(*common.PersonParam))
  774. }
  775. return interceptor(ctx, in, info, handler)
  776. }
  777. func _Chat_PersonReplyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  778. in := new(common.ReplyScripRequest)
  779. if err := dec(in); err != nil {
  780. return nil, err
  781. }
  782. if interceptor == nil {
  783. return srv.(ChatServer).PersonReplyScrip(ctx, in)
  784. }
  785. info := &grpc.UnaryServerInfo{
  786. Server: srv,
  787. FullMethod: "/api.chat.Chat/PersonReplyScrip",
  788. }
  789. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  790. return srv.(ChatServer).PersonReplyScrip(ctx, req.(*common.ReplyScripRequest))
  791. }
  792. return interceptor(ctx, in, info, handler)
  793. }
  794. func _Chat_GetWindowInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  795. in := new(common.MatchingRequest)
  796. if err := dec(in); err != nil {
  797. return nil, err
  798. }
  799. if interceptor == nil {
  800. return srv.(ChatServer).GetWindowInfo(ctx, in)
  801. }
  802. info := &grpc.UnaryServerInfo{
  803. Server: srv,
  804. FullMethod: "/api.chat.Chat/GetWindowInfo",
  805. }
  806. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  807. return srv.(ChatServer).GetWindowInfo(ctx, req.(*common.MatchingRequest))
  808. }
  809. return interceptor(ctx, in, info, handler)
  810. }
  811. // Chat_ServiceDesc is the grpc.ServiceDesc for Chat service.
  812. // It's only intended for direct use with grpc.RegisterService,
  813. // and not to be introspected or modified (even as a copy)
  814. var Chat_ServiceDesc = grpc.ServiceDesc{
  815. ServiceName: "api.chat.Chat",
  816. HandlerType: (*ChatServer)(nil),
  817. Methods: []grpc.MethodDesc{
  818. {
  819. MethodName: "CheckUserPartnerIsRelationship",
  820. Handler: _Chat_CheckUserPartnerIsRelationship_Handler,
  821. },
  822. {
  823. MethodName: "CreateChatRoom",
  824. Handler: _Chat_CreateChatRoom_Handler,
  825. },
  826. {
  827. MethodName: "FindOnlinePersonList",
  828. Handler: _Chat_FindOnlinePersonList_Handler,
  829. },
  830. {
  831. MethodName: "FindRecommendPersonList",
  832. Handler: _Chat_FindRecommendPersonList_Handler,
  833. },
  834. {
  835. MethodName: "PartnerFindRoomList",
  836. Handler: _Chat_PartnerFindRoomList_Handler,
  837. },
  838. {
  839. MethodName: "UserFindRoomList",
  840. Handler: _Chat_UserFindRoomList_Handler,
  841. },
  842. {
  843. MethodName: "Receive",
  844. Handler: _Chat_Receive_Handler,
  845. },
  846. {
  847. MethodName: "FindChatRecordList",
  848. Handler: _Chat_FindChatRecordList_Handler,
  849. },
  850. {
  851. MethodName: "FindChatRoomMsg",
  852. Handler: _Chat_FindChatRoomMsg_Handler,
  853. },
  854. {
  855. MethodName: "SetBlackChat",
  856. Handler: _Chat_SetBlackChat_Handler,
  857. },
  858. {
  859. MethodName: "DeleteChat",
  860. Handler: _Chat_DeleteChat_Handler,
  861. },
  862. {
  863. MethodName: "Report",
  864. Handler: _Chat_Report_Handler,
  865. },
  866. {
  867. MethodName: "PartnerGetAward",
  868. Handler: _Chat_PartnerGetAward_Handler,
  869. },
  870. {
  871. MethodName: "FindRoomCardMsg",
  872. Handler: _Chat_FindRoomCardMsg_Handler,
  873. },
  874. {
  875. MethodName: "FindNotReplyNum",
  876. Handler: _Chat_FindNotReplyNum_Handler,
  877. },
  878. {
  879. MethodName: "CreateScrip",
  880. Handler: _Chat_CreateScrip_Handler,
  881. },
  882. {
  883. MethodName: "DeleteScrip",
  884. Handler: _Chat_DeleteScrip_Handler,
  885. },
  886. {
  887. MethodName: "FindMyScrip",
  888. Handler: _Chat_FindMyScrip_Handler,
  889. },
  890. {
  891. MethodName: "FindOtherScrip",
  892. Handler: _Chat_FindOtherScrip_Handler,
  893. },
  894. {
  895. MethodName: "FindRecommendScrip",
  896. Handler: _Chat_FindRecommendScrip_Handler,
  897. },
  898. {
  899. MethodName: "PersonLookScrip",
  900. Handler: _Chat_PersonLookScrip_Handler,
  901. },
  902. {
  903. MethodName: "PersonClickLookBack",
  904. Handler: _Chat_PersonClickLookBack_Handler,
  905. },
  906. {
  907. MethodName: "PersonReplyScrip",
  908. Handler: _Chat_PersonReplyScrip_Handler,
  909. },
  910. {
  911. MethodName: "GetWindowInfo",
  912. Handler: _Chat_GetWindowInfo_Handler,
  913. },
  914. },
  915. Streams: []grpc.StreamDesc{},
  916. Metadata: "chat.proto",
  917. }