account_grpc.pb.go 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969
  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. package account
  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. // AccountClient is the client API for Account 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 AccountClient interface {
  19. DebugLogin(ctx context.Context, in *DebugLoginRequest, opts ...grpc.CallOption) (*TokenReply, error)
  20. Authorization(ctx context.Context, in *AuthorizationRequest, opts ...grpc.CallOption) (*TokenReply, error)
  21. RandomNickname(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomNicknameReply, error)
  22. RandomAvatar(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarReply, error)
  23. // 获取公众号配置
  24. GetGetGzhConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetGetGzhConfigReply, error)
  25. // 统计订阅消息
  26. StatisticsSubscribeMessage(ctx context.Context, in *StatisticsSubscribeMessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  27. RandomAvatarList(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarListReply, error)
  28. // 通过openID和appID查询
  29. GetIdentityByOpenIDAndAppID(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*IdentityInfo, error)
  30. // 通过openID和appID查询 未查到就创建
  31. GetIdentityByOpenIDAndAppIDAndCreate(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*IdentityInfo, error)
  32. // 通过分组名和性别查询标签
  33. FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error)
  34. // 通过标签IDs查询标签
  35. FindTagsByIDs(ctx context.Context, in *common.Ids, opts ...grpc.CallOption) (*common.TagListReply, error)
  36. // 随机介绍接口
  37. RandomIntroduce(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.RandomIntroduceReply, error)
  38. // 通过微信下载语音并上传到七牛
  39. UploadMaterialVoice(ctx context.Context, in *MediaID, opts ...grpc.CallOption) (*MaterialLink, error)
  40. // 通过类型获取表情包列表
  41. FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error)
  42. // 获取对方性别的聊天话题
  43. FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error)
  44. // 随机表情包
  45. RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error)
  46. // 随机打招呼
  47. RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error)
  48. // 检查文本-百度云
  49. CheckText(ctx context.Context, in *CheckTextRequest, opts ...grpc.CallOption) (*CheckTextReply, error)
  50. // 获取用户登录配置
  51. GetUserLoginConfig(ctx context.Context, in *common.GetLoginConfigRequest, opts ...grpc.CallOption) (*common.GetLoginConfigReply, error)
  52. // 通过accountID获取Identify信息
  53. GetIdentifyByAccountID(ctx context.Context, in *GetIdentifyByAccountIDRequest, opts ...grpc.CallOption) (*GetIdentifyByAccountIDReply, error)
  54. // 通过accountID获取Identify信息
  55. GetIdentifyByAccountIDAndIsSubscribe(ctx context.Context, in *GetIdentifyByAccountIDRequest, opts ...grpc.CallOption) (*GetIdentifyByAccountIDReply, error)
  56. // 通过accountID获取Identify信息
  57. FindIdentifyByAccountIDAndIsSubscribe(ctx context.Context, in *FindIdentifyByAccountIDAndIsSubscribeRequest, opts ...grpc.CallOption) (*FindIdentifyByAccountIDAndIsSubscribeReply, error)
  58. // 用户关注
  59. UserSubscribe(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  60. // 用户取关
  61. UserUnsubscribe(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  62. }
  63. type accountClient struct {
  64. cc grpc.ClientConnInterface
  65. }
  66. func NewAccountClient(cc grpc.ClientConnInterface) AccountClient {
  67. return &accountClient{cc}
  68. }
  69. func (c *accountClient) DebugLogin(ctx context.Context, in *DebugLoginRequest, opts ...grpc.CallOption) (*TokenReply, error) {
  70. out := new(TokenReply)
  71. err := c.cc.Invoke(ctx, "/api.account.Account/DebugLogin", in, out, opts...)
  72. if err != nil {
  73. return nil, err
  74. }
  75. return out, nil
  76. }
  77. func (c *accountClient) Authorization(ctx context.Context, in *AuthorizationRequest, opts ...grpc.CallOption) (*TokenReply, error) {
  78. out := new(TokenReply)
  79. err := c.cc.Invoke(ctx, "/api.account.Account/Authorization", in, out, opts...)
  80. if err != nil {
  81. return nil, err
  82. }
  83. return out, nil
  84. }
  85. func (c *accountClient) RandomNickname(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomNicknameReply, error) {
  86. out := new(RandomNicknameReply)
  87. err := c.cc.Invoke(ctx, "/api.account.Account/RandomNickname", in, out, opts...)
  88. if err != nil {
  89. return nil, err
  90. }
  91. return out, nil
  92. }
  93. func (c *accountClient) RandomAvatar(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarReply, error) {
  94. out := new(RandomAvatarReply)
  95. err := c.cc.Invoke(ctx, "/api.account.Account/RandomAvatar", in, out, opts...)
  96. if err != nil {
  97. return nil, err
  98. }
  99. return out, nil
  100. }
  101. func (c *accountClient) GetGetGzhConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetGetGzhConfigReply, error) {
  102. out := new(GetGetGzhConfigReply)
  103. err := c.cc.Invoke(ctx, "/api.account.Account/GetGetGzhConfig", in, out, opts...)
  104. if err != nil {
  105. return nil, err
  106. }
  107. return out, nil
  108. }
  109. func (c *accountClient) StatisticsSubscribeMessage(ctx context.Context, in *StatisticsSubscribeMessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  110. out := new(emptypb.Empty)
  111. err := c.cc.Invoke(ctx, "/api.account.Account/StatisticsSubscribeMessage", in, out, opts...)
  112. if err != nil {
  113. return nil, err
  114. }
  115. return out, nil
  116. }
  117. func (c *accountClient) RandomAvatarList(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarListReply, error) {
  118. out := new(RandomAvatarListReply)
  119. err := c.cc.Invoke(ctx, "/api.account.Account/RandomAvatarList", in, out, opts...)
  120. if err != nil {
  121. return nil, err
  122. }
  123. return out, nil
  124. }
  125. func (c *accountClient) GetIdentityByOpenIDAndAppID(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*IdentityInfo, error) {
  126. out := new(IdentityInfo)
  127. err := c.cc.Invoke(ctx, "/api.account.Account/GetIdentityByOpenIDAndAppID", in, out, opts...)
  128. if err != nil {
  129. return nil, err
  130. }
  131. return out, nil
  132. }
  133. func (c *accountClient) GetIdentityByOpenIDAndAppIDAndCreate(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*IdentityInfo, error) {
  134. out := new(IdentityInfo)
  135. err := c.cc.Invoke(ctx, "/api.account.Account/GetIdentityByOpenIDAndAppIDAndCreate", in, out, opts...)
  136. if err != nil {
  137. return nil, err
  138. }
  139. return out, nil
  140. }
  141. func (c *accountClient) FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error) {
  142. out := new(common.TagListReply)
  143. err := c.cc.Invoke(ctx, "/api.account.Account/FindTagListBySex", in, out, opts...)
  144. if err != nil {
  145. return nil, err
  146. }
  147. return out, nil
  148. }
  149. func (c *accountClient) FindTagsByIDs(ctx context.Context, in *common.Ids, opts ...grpc.CallOption) (*common.TagListReply, error) {
  150. out := new(common.TagListReply)
  151. err := c.cc.Invoke(ctx, "/api.account.Account/FindTagsByIDs", in, out, opts...)
  152. if err != nil {
  153. return nil, err
  154. }
  155. return out, nil
  156. }
  157. func (c *accountClient) RandomIntroduce(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.RandomIntroduceReply, error) {
  158. out := new(common.RandomIntroduceReply)
  159. err := c.cc.Invoke(ctx, "/api.account.Account/RandomIntroduce", in, out, opts...)
  160. if err != nil {
  161. return nil, err
  162. }
  163. return out, nil
  164. }
  165. func (c *accountClient) UploadMaterialVoice(ctx context.Context, in *MediaID, opts ...grpc.CallOption) (*MaterialLink, error) {
  166. out := new(MaterialLink)
  167. err := c.cc.Invoke(ctx, "/api.account.Account/UploadMaterialVoice", in, out, opts...)
  168. if err != nil {
  169. return nil, err
  170. }
  171. return out, nil
  172. }
  173. func (c *accountClient) FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error) {
  174. out := new(common.MemeList)
  175. err := c.cc.Invoke(ctx, "/api.account.Account/FindMemeByType", in, out, opts...)
  176. if err != nil {
  177. return nil, err
  178. }
  179. return out, nil
  180. }
  181. func (c *accountClient) FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error) {
  182. out := new(common.ChatTopicList)
  183. err := c.cc.Invoke(ctx, "/api.account.Account/FindChatTopic", in, out, opts...)
  184. if err != nil {
  185. return nil, err
  186. }
  187. return out, nil
  188. }
  189. func (c *accountClient) RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error) {
  190. out := new(common.CommonTextList)
  191. err := c.cc.Invoke(ctx, "/api.account.Account/RandomMeme", in, out, opts...)
  192. if err != nil {
  193. return nil, err
  194. }
  195. return out, nil
  196. }
  197. func (c *accountClient) RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error) {
  198. out := new(common.CommonTextList)
  199. err := c.cc.Invoke(ctx, "/api.account.Account/RandomSwiftMessage", in, out, opts...)
  200. if err != nil {
  201. return nil, err
  202. }
  203. return out, nil
  204. }
  205. func (c *accountClient) CheckText(ctx context.Context, in *CheckTextRequest, opts ...grpc.CallOption) (*CheckTextReply, error) {
  206. out := new(CheckTextReply)
  207. err := c.cc.Invoke(ctx, "/api.account.Account/CheckText", in, out, opts...)
  208. if err != nil {
  209. return nil, err
  210. }
  211. return out, nil
  212. }
  213. func (c *accountClient) GetUserLoginConfig(ctx context.Context, in *common.GetLoginConfigRequest, opts ...grpc.CallOption) (*common.GetLoginConfigReply, error) {
  214. out := new(common.GetLoginConfigReply)
  215. err := c.cc.Invoke(ctx, "/api.account.Account/GetUserLoginConfig", in, out, opts...)
  216. if err != nil {
  217. return nil, err
  218. }
  219. return out, nil
  220. }
  221. func (c *accountClient) GetIdentifyByAccountID(ctx context.Context, in *GetIdentifyByAccountIDRequest, opts ...grpc.CallOption) (*GetIdentifyByAccountIDReply, error) {
  222. out := new(GetIdentifyByAccountIDReply)
  223. err := c.cc.Invoke(ctx, "/api.account.Account/GetIdentifyByAccountID", in, out, opts...)
  224. if err != nil {
  225. return nil, err
  226. }
  227. return out, nil
  228. }
  229. func (c *accountClient) GetIdentifyByAccountIDAndIsSubscribe(ctx context.Context, in *GetIdentifyByAccountIDRequest, opts ...grpc.CallOption) (*GetIdentifyByAccountIDReply, error) {
  230. out := new(GetIdentifyByAccountIDReply)
  231. err := c.cc.Invoke(ctx, "/api.account.Account/GetIdentifyByAccountIDAndIsSubscribe", in, out, opts...)
  232. if err != nil {
  233. return nil, err
  234. }
  235. return out, nil
  236. }
  237. func (c *accountClient) FindIdentifyByAccountIDAndIsSubscribe(ctx context.Context, in *FindIdentifyByAccountIDAndIsSubscribeRequest, opts ...grpc.CallOption) (*FindIdentifyByAccountIDAndIsSubscribeReply, error) {
  238. out := new(FindIdentifyByAccountIDAndIsSubscribeReply)
  239. err := c.cc.Invoke(ctx, "/api.account.Account/FindIdentifyByAccountIDAndIsSubscribe", in, out, opts...)
  240. if err != nil {
  241. return nil, err
  242. }
  243. return out, nil
  244. }
  245. func (c *accountClient) UserSubscribe(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  246. out := new(emptypb.Empty)
  247. err := c.cc.Invoke(ctx, "/api.account.Account/UserSubscribe", in, out, opts...)
  248. if err != nil {
  249. return nil, err
  250. }
  251. return out, nil
  252. }
  253. func (c *accountClient) UserUnsubscribe(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  254. out := new(emptypb.Empty)
  255. err := c.cc.Invoke(ctx, "/api.account.Account/UserUnsubscribe", in, out, opts...)
  256. if err != nil {
  257. return nil, err
  258. }
  259. return out, nil
  260. }
  261. // AccountServer is the server API for Account service.
  262. // All implementations must embed UnimplementedAccountServer
  263. // for forward compatibility
  264. type AccountServer interface {
  265. DebugLogin(context.Context, *DebugLoginRequest) (*TokenReply, error)
  266. Authorization(context.Context, *AuthorizationRequest) (*TokenReply, error)
  267. RandomNickname(context.Context, *common.SexReq) (*RandomNicknameReply, error)
  268. RandomAvatar(context.Context, *common.SexReq) (*RandomAvatarReply, error)
  269. // 获取公众号配置
  270. GetGetGzhConfig(context.Context, *emptypb.Empty) (*GetGetGzhConfigReply, error)
  271. // 统计订阅消息
  272. StatisticsSubscribeMessage(context.Context, *StatisticsSubscribeMessageRequest) (*emptypb.Empty, error)
  273. RandomAvatarList(context.Context, *common.SexReq) (*RandomAvatarListReply, error)
  274. // 通过openID和appID查询
  275. GetIdentityByOpenIDAndAppID(context.Context, *OpenIDAndAppIDRequest) (*IdentityInfo, error)
  276. // 通过openID和appID查询 未查到就创建
  277. GetIdentityByOpenIDAndAppIDAndCreate(context.Context, *OpenIDAndAppIDRequest) (*IdentityInfo, error)
  278. // 通过分组名和性别查询标签
  279. FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error)
  280. // 通过标签IDs查询标签
  281. FindTagsByIDs(context.Context, *common.Ids) (*common.TagListReply, error)
  282. // 随机介绍接口
  283. RandomIntroduce(context.Context, *common.SexReq) (*common.RandomIntroduceReply, error)
  284. // 通过微信下载语音并上传到七牛
  285. UploadMaterialVoice(context.Context, *MediaID) (*MaterialLink, error)
  286. // 通过类型获取表情包列表
  287. FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error)
  288. // 获取对方性别的聊天话题
  289. FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error)
  290. // 随机表情包
  291. RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error)
  292. // 随机打招呼
  293. RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error)
  294. // 检查文本-百度云
  295. CheckText(context.Context, *CheckTextRequest) (*CheckTextReply, error)
  296. // 获取用户登录配置
  297. GetUserLoginConfig(context.Context, *common.GetLoginConfigRequest) (*common.GetLoginConfigReply, error)
  298. // 通过accountID获取Identify信息
  299. GetIdentifyByAccountID(context.Context, *GetIdentifyByAccountIDRequest) (*GetIdentifyByAccountIDReply, error)
  300. // 通过accountID获取Identify信息
  301. GetIdentifyByAccountIDAndIsSubscribe(context.Context, *GetIdentifyByAccountIDRequest) (*GetIdentifyByAccountIDReply, error)
  302. // 通过accountID获取Identify信息
  303. FindIdentifyByAccountIDAndIsSubscribe(context.Context, *FindIdentifyByAccountIDAndIsSubscribeRequest) (*FindIdentifyByAccountIDAndIsSubscribeReply, error)
  304. // 用户关注
  305. UserSubscribe(context.Context, *OpenIDAndAppIDRequest) (*emptypb.Empty, error)
  306. // 用户取关
  307. UserUnsubscribe(context.Context, *OpenIDAndAppIDRequest) (*emptypb.Empty, error)
  308. mustEmbedUnimplementedAccountServer()
  309. }
  310. // UnimplementedAccountServer must be embedded to have forward compatible implementations.
  311. type UnimplementedAccountServer struct {
  312. }
  313. func (UnimplementedAccountServer) DebugLogin(context.Context, *DebugLoginRequest) (*TokenReply, error) {
  314. return nil, status.Errorf(codes.Unimplemented, "method DebugLogin not implemented")
  315. }
  316. func (UnimplementedAccountServer) Authorization(context.Context, *AuthorizationRequest) (*TokenReply, error) {
  317. return nil, status.Errorf(codes.Unimplemented, "method Authorization not implemented")
  318. }
  319. func (UnimplementedAccountServer) RandomNickname(context.Context, *common.SexReq) (*RandomNicknameReply, error) {
  320. return nil, status.Errorf(codes.Unimplemented, "method RandomNickname not implemented")
  321. }
  322. func (UnimplementedAccountServer) RandomAvatar(context.Context, *common.SexReq) (*RandomAvatarReply, error) {
  323. return nil, status.Errorf(codes.Unimplemented, "method RandomAvatar not implemented")
  324. }
  325. func (UnimplementedAccountServer) GetGetGzhConfig(context.Context, *emptypb.Empty) (*GetGetGzhConfigReply, error) {
  326. return nil, status.Errorf(codes.Unimplemented, "method GetGetGzhConfig not implemented")
  327. }
  328. func (UnimplementedAccountServer) StatisticsSubscribeMessage(context.Context, *StatisticsSubscribeMessageRequest) (*emptypb.Empty, error) {
  329. return nil, status.Errorf(codes.Unimplemented, "method StatisticsSubscribeMessage not implemented")
  330. }
  331. func (UnimplementedAccountServer) RandomAvatarList(context.Context, *common.SexReq) (*RandomAvatarListReply, error) {
  332. return nil, status.Errorf(codes.Unimplemented, "method RandomAvatarList not implemented")
  333. }
  334. func (UnimplementedAccountServer) GetIdentityByOpenIDAndAppID(context.Context, *OpenIDAndAppIDRequest) (*IdentityInfo, error) {
  335. return nil, status.Errorf(codes.Unimplemented, "method GetIdentityByOpenIDAndAppID not implemented")
  336. }
  337. func (UnimplementedAccountServer) GetIdentityByOpenIDAndAppIDAndCreate(context.Context, *OpenIDAndAppIDRequest) (*IdentityInfo, error) {
  338. return nil, status.Errorf(codes.Unimplemented, "method GetIdentityByOpenIDAndAppIDAndCreate not implemented")
  339. }
  340. func (UnimplementedAccountServer) FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error) {
  341. return nil, status.Errorf(codes.Unimplemented, "method FindTagListBySex not implemented")
  342. }
  343. func (UnimplementedAccountServer) FindTagsByIDs(context.Context, *common.Ids) (*common.TagListReply, error) {
  344. return nil, status.Errorf(codes.Unimplemented, "method FindTagsByIDs not implemented")
  345. }
  346. func (UnimplementedAccountServer) RandomIntroduce(context.Context, *common.SexReq) (*common.RandomIntroduceReply, error) {
  347. return nil, status.Errorf(codes.Unimplemented, "method RandomIntroduce not implemented")
  348. }
  349. func (UnimplementedAccountServer) UploadMaterialVoice(context.Context, *MediaID) (*MaterialLink, error) {
  350. return nil, status.Errorf(codes.Unimplemented, "method UploadMaterialVoice not implemented")
  351. }
  352. func (UnimplementedAccountServer) FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error) {
  353. return nil, status.Errorf(codes.Unimplemented, "method FindMemeByType not implemented")
  354. }
  355. func (UnimplementedAccountServer) FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error) {
  356. return nil, status.Errorf(codes.Unimplemented, "method FindChatTopic not implemented")
  357. }
  358. func (UnimplementedAccountServer) RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error) {
  359. return nil, status.Errorf(codes.Unimplemented, "method RandomMeme not implemented")
  360. }
  361. func (UnimplementedAccountServer) RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error) {
  362. return nil, status.Errorf(codes.Unimplemented, "method RandomSwiftMessage not implemented")
  363. }
  364. func (UnimplementedAccountServer) CheckText(context.Context, *CheckTextRequest) (*CheckTextReply, error) {
  365. return nil, status.Errorf(codes.Unimplemented, "method CheckText not implemented")
  366. }
  367. func (UnimplementedAccountServer) GetUserLoginConfig(context.Context, *common.GetLoginConfigRequest) (*common.GetLoginConfigReply, error) {
  368. return nil, status.Errorf(codes.Unimplemented, "method GetUserLoginConfig not implemented")
  369. }
  370. func (UnimplementedAccountServer) GetIdentifyByAccountID(context.Context, *GetIdentifyByAccountIDRequest) (*GetIdentifyByAccountIDReply, error) {
  371. return nil, status.Errorf(codes.Unimplemented, "method GetIdentifyByAccountID not implemented")
  372. }
  373. func (UnimplementedAccountServer) GetIdentifyByAccountIDAndIsSubscribe(context.Context, *GetIdentifyByAccountIDRequest) (*GetIdentifyByAccountIDReply, error) {
  374. return nil, status.Errorf(codes.Unimplemented, "method GetIdentifyByAccountIDAndIsSubscribe not implemented")
  375. }
  376. func (UnimplementedAccountServer) FindIdentifyByAccountIDAndIsSubscribe(context.Context, *FindIdentifyByAccountIDAndIsSubscribeRequest) (*FindIdentifyByAccountIDAndIsSubscribeReply, error) {
  377. return nil, status.Errorf(codes.Unimplemented, "method FindIdentifyByAccountIDAndIsSubscribe not implemented")
  378. }
  379. func (UnimplementedAccountServer) UserSubscribe(context.Context, *OpenIDAndAppIDRequest) (*emptypb.Empty, error) {
  380. return nil, status.Errorf(codes.Unimplemented, "method UserSubscribe not implemented")
  381. }
  382. func (UnimplementedAccountServer) UserUnsubscribe(context.Context, *OpenIDAndAppIDRequest) (*emptypb.Empty, error) {
  383. return nil, status.Errorf(codes.Unimplemented, "method UserUnsubscribe not implemented")
  384. }
  385. func (UnimplementedAccountServer) mustEmbedUnimplementedAccountServer() {}
  386. // UnsafeAccountServer may be embedded to opt out of forward compatibility for this service.
  387. // Use of this interface is not recommended, as added methods to AccountServer will
  388. // result in compilation errors.
  389. type UnsafeAccountServer interface {
  390. mustEmbedUnimplementedAccountServer()
  391. }
  392. func RegisterAccountServer(s grpc.ServiceRegistrar, srv AccountServer) {
  393. s.RegisterService(&Account_ServiceDesc, srv)
  394. }
  395. func _Account_DebugLogin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  396. in := new(DebugLoginRequest)
  397. if err := dec(in); err != nil {
  398. return nil, err
  399. }
  400. if interceptor == nil {
  401. return srv.(AccountServer).DebugLogin(ctx, in)
  402. }
  403. info := &grpc.UnaryServerInfo{
  404. Server: srv,
  405. FullMethod: "/api.account.Account/DebugLogin",
  406. }
  407. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  408. return srv.(AccountServer).DebugLogin(ctx, req.(*DebugLoginRequest))
  409. }
  410. return interceptor(ctx, in, info, handler)
  411. }
  412. func _Account_Authorization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  413. in := new(AuthorizationRequest)
  414. if err := dec(in); err != nil {
  415. return nil, err
  416. }
  417. if interceptor == nil {
  418. return srv.(AccountServer).Authorization(ctx, in)
  419. }
  420. info := &grpc.UnaryServerInfo{
  421. Server: srv,
  422. FullMethod: "/api.account.Account/Authorization",
  423. }
  424. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  425. return srv.(AccountServer).Authorization(ctx, req.(*AuthorizationRequest))
  426. }
  427. return interceptor(ctx, in, info, handler)
  428. }
  429. func _Account_RandomNickname_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  430. in := new(common.SexReq)
  431. if err := dec(in); err != nil {
  432. return nil, err
  433. }
  434. if interceptor == nil {
  435. return srv.(AccountServer).RandomNickname(ctx, in)
  436. }
  437. info := &grpc.UnaryServerInfo{
  438. Server: srv,
  439. FullMethod: "/api.account.Account/RandomNickname",
  440. }
  441. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  442. return srv.(AccountServer).RandomNickname(ctx, req.(*common.SexReq))
  443. }
  444. return interceptor(ctx, in, info, handler)
  445. }
  446. func _Account_RandomAvatar_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  447. in := new(common.SexReq)
  448. if err := dec(in); err != nil {
  449. return nil, err
  450. }
  451. if interceptor == nil {
  452. return srv.(AccountServer).RandomAvatar(ctx, in)
  453. }
  454. info := &grpc.UnaryServerInfo{
  455. Server: srv,
  456. FullMethod: "/api.account.Account/RandomAvatar",
  457. }
  458. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  459. return srv.(AccountServer).RandomAvatar(ctx, req.(*common.SexReq))
  460. }
  461. return interceptor(ctx, in, info, handler)
  462. }
  463. func _Account_GetGetGzhConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  464. in := new(emptypb.Empty)
  465. if err := dec(in); err != nil {
  466. return nil, err
  467. }
  468. if interceptor == nil {
  469. return srv.(AccountServer).GetGetGzhConfig(ctx, in)
  470. }
  471. info := &grpc.UnaryServerInfo{
  472. Server: srv,
  473. FullMethod: "/api.account.Account/GetGetGzhConfig",
  474. }
  475. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  476. return srv.(AccountServer).GetGetGzhConfig(ctx, req.(*emptypb.Empty))
  477. }
  478. return interceptor(ctx, in, info, handler)
  479. }
  480. func _Account_StatisticsSubscribeMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  481. in := new(StatisticsSubscribeMessageRequest)
  482. if err := dec(in); err != nil {
  483. return nil, err
  484. }
  485. if interceptor == nil {
  486. return srv.(AccountServer).StatisticsSubscribeMessage(ctx, in)
  487. }
  488. info := &grpc.UnaryServerInfo{
  489. Server: srv,
  490. FullMethod: "/api.account.Account/StatisticsSubscribeMessage",
  491. }
  492. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  493. return srv.(AccountServer).StatisticsSubscribeMessage(ctx, req.(*StatisticsSubscribeMessageRequest))
  494. }
  495. return interceptor(ctx, in, info, handler)
  496. }
  497. func _Account_RandomAvatarList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  498. in := new(common.SexReq)
  499. if err := dec(in); err != nil {
  500. return nil, err
  501. }
  502. if interceptor == nil {
  503. return srv.(AccountServer).RandomAvatarList(ctx, in)
  504. }
  505. info := &grpc.UnaryServerInfo{
  506. Server: srv,
  507. FullMethod: "/api.account.Account/RandomAvatarList",
  508. }
  509. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  510. return srv.(AccountServer).RandomAvatarList(ctx, req.(*common.SexReq))
  511. }
  512. return interceptor(ctx, in, info, handler)
  513. }
  514. func _Account_GetIdentityByOpenIDAndAppID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  515. in := new(OpenIDAndAppIDRequest)
  516. if err := dec(in); err != nil {
  517. return nil, err
  518. }
  519. if interceptor == nil {
  520. return srv.(AccountServer).GetIdentityByOpenIDAndAppID(ctx, in)
  521. }
  522. info := &grpc.UnaryServerInfo{
  523. Server: srv,
  524. FullMethod: "/api.account.Account/GetIdentityByOpenIDAndAppID",
  525. }
  526. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  527. return srv.(AccountServer).GetIdentityByOpenIDAndAppID(ctx, req.(*OpenIDAndAppIDRequest))
  528. }
  529. return interceptor(ctx, in, info, handler)
  530. }
  531. func _Account_GetIdentityByOpenIDAndAppIDAndCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  532. in := new(OpenIDAndAppIDRequest)
  533. if err := dec(in); err != nil {
  534. return nil, err
  535. }
  536. if interceptor == nil {
  537. return srv.(AccountServer).GetIdentityByOpenIDAndAppIDAndCreate(ctx, in)
  538. }
  539. info := &grpc.UnaryServerInfo{
  540. Server: srv,
  541. FullMethod: "/api.account.Account/GetIdentityByOpenIDAndAppIDAndCreate",
  542. }
  543. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  544. return srv.(AccountServer).GetIdentityByOpenIDAndAppIDAndCreate(ctx, req.(*OpenIDAndAppIDRequest))
  545. }
  546. return interceptor(ctx, in, info, handler)
  547. }
  548. func _Account_FindTagListBySex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  549. in := new(common.SexReq)
  550. if err := dec(in); err != nil {
  551. return nil, err
  552. }
  553. if interceptor == nil {
  554. return srv.(AccountServer).FindTagListBySex(ctx, in)
  555. }
  556. info := &grpc.UnaryServerInfo{
  557. Server: srv,
  558. FullMethod: "/api.account.Account/FindTagListBySex",
  559. }
  560. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  561. return srv.(AccountServer).FindTagListBySex(ctx, req.(*common.SexReq))
  562. }
  563. return interceptor(ctx, in, info, handler)
  564. }
  565. func _Account_FindTagsByIDs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  566. in := new(common.Ids)
  567. if err := dec(in); err != nil {
  568. return nil, err
  569. }
  570. if interceptor == nil {
  571. return srv.(AccountServer).FindTagsByIDs(ctx, in)
  572. }
  573. info := &grpc.UnaryServerInfo{
  574. Server: srv,
  575. FullMethod: "/api.account.Account/FindTagsByIDs",
  576. }
  577. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  578. return srv.(AccountServer).FindTagsByIDs(ctx, req.(*common.Ids))
  579. }
  580. return interceptor(ctx, in, info, handler)
  581. }
  582. func _Account_RandomIntroduce_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  583. in := new(common.SexReq)
  584. if err := dec(in); err != nil {
  585. return nil, err
  586. }
  587. if interceptor == nil {
  588. return srv.(AccountServer).RandomIntroduce(ctx, in)
  589. }
  590. info := &grpc.UnaryServerInfo{
  591. Server: srv,
  592. FullMethod: "/api.account.Account/RandomIntroduce",
  593. }
  594. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  595. return srv.(AccountServer).RandomIntroduce(ctx, req.(*common.SexReq))
  596. }
  597. return interceptor(ctx, in, info, handler)
  598. }
  599. func _Account_UploadMaterialVoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  600. in := new(MediaID)
  601. if err := dec(in); err != nil {
  602. return nil, err
  603. }
  604. if interceptor == nil {
  605. return srv.(AccountServer).UploadMaterialVoice(ctx, in)
  606. }
  607. info := &grpc.UnaryServerInfo{
  608. Server: srv,
  609. FullMethod: "/api.account.Account/UploadMaterialVoice",
  610. }
  611. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  612. return srv.(AccountServer).UploadMaterialVoice(ctx, req.(*MediaID))
  613. }
  614. return interceptor(ctx, in, info, handler)
  615. }
  616. func _Account_FindMemeByType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  617. in := new(common.MemeRequest)
  618. if err := dec(in); err != nil {
  619. return nil, err
  620. }
  621. if interceptor == nil {
  622. return srv.(AccountServer).FindMemeByType(ctx, in)
  623. }
  624. info := &grpc.UnaryServerInfo{
  625. Server: srv,
  626. FullMethod: "/api.account.Account/FindMemeByType",
  627. }
  628. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  629. return srv.(AccountServer).FindMemeByType(ctx, req.(*common.MemeRequest))
  630. }
  631. return interceptor(ctx, in, info, handler)
  632. }
  633. func _Account_FindChatTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  634. in := new(common.FindChatTopicRequest)
  635. if err := dec(in); err != nil {
  636. return nil, err
  637. }
  638. if interceptor == nil {
  639. return srv.(AccountServer).FindChatTopic(ctx, in)
  640. }
  641. info := &grpc.UnaryServerInfo{
  642. Server: srv,
  643. FullMethod: "/api.account.Account/FindChatTopic",
  644. }
  645. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  646. return srv.(AccountServer).FindChatTopic(ctx, req.(*common.FindChatTopicRequest))
  647. }
  648. return interceptor(ctx, in, info, handler)
  649. }
  650. func _Account_RandomMeme_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  651. in := new(common.RandomNum)
  652. if err := dec(in); err != nil {
  653. return nil, err
  654. }
  655. if interceptor == nil {
  656. return srv.(AccountServer).RandomMeme(ctx, in)
  657. }
  658. info := &grpc.UnaryServerInfo{
  659. Server: srv,
  660. FullMethod: "/api.account.Account/RandomMeme",
  661. }
  662. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  663. return srv.(AccountServer).RandomMeme(ctx, req.(*common.RandomNum))
  664. }
  665. return interceptor(ctx, in, info, handler)
  666. }
  667. func _Account_RandomSwiftMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  668. in := new(common.RandomNumAndSex)
  669. if err := dec(in); err != nil {
  670. return nil, err
  671. }
  672. if interceptor == nil {
  673. return srv.(AccountServer).RandomSwiftMessage(ctx, in)
  674. }
  675. info := &grpc.UnaryServerInfo{
  676. Server: srv,
  677. FullMethod: "/api.account.Account/RandomSwiftMessage",
  678. }
  679. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  680. return srv.(AccountServer).RandomSwiftMessage(ctx, req.(*common.RandomNumAndSex))
  681. }
  682. return interceptor(ctx, in, info, handler)
  683. }
  684. func _Account_CheckText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  685. in := new(CheckTextRequest)
  686. if err := dec(in); err != nil {
  687. return nil, err
  688. }
  689. if interceptor == nil {
  690. return srv.(AccountServer).CheckText(ctx, in)
  691. }
  692. info := &grpc.UnaryServerInfo{
  693. Server: srv,
  694. FullMethod: "/api.account.Account/CheckText",
  695. }
  696. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  697. return srv.(AccountServer).CheckText(ctx, req.(*CheckTextRequest))
  698. }
  699. return interceptor(ctx, in, info, handler)
  700. }
  701. func _Account_GetUserLoginConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  702. in := new(common.GetLoginConfigRequest)
  703. if err := dec(in); err != nil {
  704. return nil, err
  705. }
  706. if interceptor == nil {
  707. return srv.(AccountServer).GetUserLoginConfig(ctx, in)
  708. }
  709. info := &grpc.UnaryServerInfo{
  710. Server: srv,
  711. FullMethod: "/api.account.Account/GetUserLoginConfig",
  712. }
  713. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  714. return srv.(AccountServer).GetUserLoginConfig(ctx, req.(*common.GetLoginConfigRequest))
  715. }
  716. return interceptor(ctx, in, info, handler)
  717. }
  718. func _Account_GetIdentifyByAccountID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  719. in := new(GetIdentifyByAccountIDRequest)
  720. if err := dec(in); err != nil {
  721. return nil, err
  722. }
  723. if interceptor == nil {
  724. return srv.(AccountServer).GetIdentifyByAccountID(ctx, in)
  725. }
  726. info := &grpc.UnaryServerInfo{
  727. Server: srv,
  728. FullMethod: "/api.account.Account/GetIdentifyByAccountID",
  729. }
  730. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  731. return srv.(AccountServer).GetIdentifyByAccountID(ctx, req.(*GetIdentifyByAccountIDRequest))
  732. }
  733. return interceptor(ctx, in, info, handler)
  734. }
  735. func _Account_GetIdentifyByAccountIDAndIsSubscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  736. in := new(GetIdentifyByAccountIDRequest)
  737. if err := dec(in); err != nil {
  738. return nil, err
  739. }
  740. if interceptor == nil {
  741. return srv.(AccountServer).GetIdentifyByAccountIDAndIsSubscribe(ctx, in)
  742. }
  743. info := &grpc.UnaryServerInfo{
  744. Server: srv,
  745. FullMethod: "/api.account.Account/GetIdentifyByAccountIDAndIsSubscribe",
  746. }
  747. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  748. return srv.(AccountServer).GetIdentifyByAccountIDAndIsSubscribe(ctx, req.(*GetIdentifyByAccountIDRequest))
  749. }
  750. return interceptor(ctx, in, info, handler)
  751. }
  752. func _Account_FindIdentifyByAccountIDAndIsSubscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  753. in := new(FindIdentifyByAccountIDAndIsSubscribeRequest)
  754. if err := dec(in); err != nil {
  755. return nil, err
  756. }
  757. if interceptor == nil {
  758. return srv.(AccountServer).FindIdentifyByAccountIDAndIsSubscribe(ctx, in)
  759. }
  760. info := &grpc.UnaryServerInfo{
  761. Server: srv,
  762. FullMethod: "/api.account.Account/FindIdentifyByAccountIDAndIsSubscribe",
  763. }
  764. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  765. return srv.(AccountServer).FindIdentifyByAccountIDAndIsSubscribe(ctx, req.(*FindIdentifyByAccountIDAndIsSubscribeRequest))
  766. }
  767. return interceptor(ctx, in, info, handler)
  768. }
  769. func _Account_UserSubscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  770. in := new(OpenIDAndAppIDRequest)
  771. if err := dec(in); err != nil {
  772. return nil, err
  773. }
  774. if interceptor == nil {
  775. return srv.(AccountServer).UserSubscribe(ctx, in)
  776. }
  777. info := &grpc.UnaryServerInfo{
  778. Server: srv,
  779. FullMethod: "/api.account.Account/UserSubscribe",
  780. }
  781. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  782. return srv.(AccountServer).UserSubscribe(ctx, req.(*OpenIDAndAppIDRequest))
  783. }
  784. return interceptor(ctx, in, info, handler)
  785. }
  786. func _Account_UserUnsubscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  787. in := new(OpenIDAndAppIDRequest)
  788. if err := dec(in); err != nil {
  789. return nil, err
  790. }
  791. if interceptor == nil {
  792. return srv.(AccountServer).UserUnsubscribe(ctx, in)
  793. }
  794. info := &grpc.UnaryServerInfo{
  795. Server: srv,
  796. FullMethod: "/api.account.Account/UserUnsubscribe",
  797. }
  798. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  799. return srv.(AccountServer).UserUnsubscribe(ctx, req.(*OpenIDAndAppIDRequest))
  800. }
  801. return interceptor(ctx, in, info, handler)
  802. }
  803. // Account_ServiceDesc is the grpc.ServiceDesc for Account service.
  804. // It's only intended for direct use with grpc.RegisterService,
  805. // and not to be introspected or modified (even as a copy)
  806. var Account_ServiceDesc = grpc.ServiceDesc{
  807. ServiceName: "api.account.Account",
  808. HandlerType: (*AccountServer)(nil),
  809. Methods: []grpc.MethodDesc{
  810. {
  811. MethodName: "DebugLogin",
  812. Handler: _Account_DebugLogin_Handler,
  813. },
  814. {
  815. MethodName: "Authorization",
  816. Handler: _Account_Authorization_Handler,
  817. },
  818. {
  819. MethodName: "RandomNickname",
  820. Handler: _Account_RandomNickname_Handler,
  821. },
  822. {
  823. MethodName: "RandomAvatar",
  824. Handler: _Account_RandomAvatar_Handler,
  825. },
  826. {
  827. MethodName: "GetGetGzhConfig",
  828. Handler: _Account_GetGetGzhConfig_Handler,
  829. },
  830. {
  831. MethodName: "StatisticsSubscribeMessage",
  832. Handler: _Account_StatisticsSubscribeMessage_Handler,
  833. },
  834. {
  835. MethodName: "RandomAvatarList",
  836. Handler: _Account_RandomAvatarList_Handler,
  837. },
  838. {
  839. MethodName: "GetIdentityByOpenIDAndAppID",
  840. Handler: _Account_GetIdentityByOpenIDAndAppID_Handler,
  841. },
  842. {
  843. MethodName: "GetIdentityByOpenIDAndAppIDAndCreate",
  844. Handler: _Account_GetIdentityByOpenIDAndAppIDAndCreate_Handler,
  845. },
  846. {
  847. MethodName: "FindTagListBySex",
  848. Handler: _Account_FindTagListBySex_Handler,
  849. },
  850. {
  851. MethodName: "FindTagsByIDs",
  852. Handler: _Account_FindTagsByIDs_Handler,
  853. },
  854. {
  855. MethodName: "RandomIntroduce",
  856. Handler: _Account_RandomIntroduce_Handler,
  857. },
  858. {
  859. MethodName: "UploadMaterialVoice",
  860. Handler: _Account_UploadMaterialVoice_Handler,
  861. },
  862. {
  863. MethodName: "FindMemeByType",
  864. Handler: _Account_FindMemeByType_Handler,
  865. },
  866. {
  867. MethodName: "FindChatTopic",
  868. Handler: _Account_FindChatTopic_Handler,
  869. },
  870. {
  871. MethodName: "RandomMeme",
  872. Handler: _Account_RandomMeme_Handler,
  873. },
  874. {
  875. MethodName: "RandomSwiftMessage",
  876. Handler: _Account_RandomSwiftMessage_Handler,
  877. },
  878. {
  879. MethodName: "CheckText",
  880. Handler: _Account_CheckText_Handler,
  881. },
  882. {
  883. MethodName: "GetUserLoginConfig",
  884. Handler: _Account_GetUserLoginConfig_Handler,
  885. },
  886. {
  887. MethodName: "GetIdentifyByAccountID",
  888. Handler: _Account_GetIdentifyByAccountID_Handler,
  889. },
  890. {
  891. MethodName: "GetIdentifyByAccountIDAndIsSubscribe",
  892. Handler: _Account_GetIdentifyByAccountIDAndIsSubscribe_Handler,
  893. },
  894. {
  895. MethodName: "FindIdentifyByAccountIDAndIsSubscribe",
  896. Handler: _Account_FindIdentifyByAccountIDAndIsSubscribe_Handler,
  897. },
  898. {
  899. MethodName: "UserSubscribe",
  900. Handler: _Account_UserSubscribe_Handler,
  901. },
  902. {
  903. MethodName: "UserUnsubscribe",
  904. Handler: _Account_UserUnsubscribe_Handler,
  905. },
  906. },
  907. Streams: []grpc.StreamDesc{},
  908. Metadata: "account.proto",
  909. }