account.pb.go 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0-devel
  4. // protoc v3.15.8
  5. // source: account.proto
  6. package account
  7. import (
  8. common "git.ikuban.com/server/pw-protobuf/api/common"
  9. _ "google.golang.org/genproto/googleapis/api/annotations"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12. reflect "reflect"
  13. sync "sync"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. type MediaID struct {
  22. state protoimpl.MessageState
  23. sizeCache protoimpl.SizeCache
  24. unknownFields protoimpl.UnknownFields
  25. MediaId string `protobuf:"bytes,1,opt,name=mediaId,proto3" json:"mediaId"`
  26. }
  27. func (x *MediaID) Reset() {
  28. *x = MediaID{}
  29. if protoimpl.UnsafeEnabled {
  30. mi := &file_account_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. }
  35. func (x *MediaID) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*MediaID) ProtoMessage() {}
  39. func (x *MediaID) ProtoReflect() protoreflect.Message {
  40. mi := &file_account_proto_msgTypes[0]
  41. if protoimpl.UnsafeEnabled && x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use MediaID.ProtoReflect.Descriptor instead.
  51. func (*MediaID) Descriptor() ([]byte, []int) {
  52. return file_account_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *MediaID) GetMediaId() string {
  55. if x != nil {
  56. return x.MediaId
  57. }
  58. return ""
  59. }
  60. type MaterialLink struct {
  61. state protoimpl.MessageState
  62. sizeCache protoimpl.SizeCache
  63. unknownFields protoimpl.UnknownFields
  64. Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link"`
  65. }
  66. func (x *MaterialLink) Reset() {
  67. *x = MaterialLink{}
  68. if protoimpl.UnsafeEnabled {
  69. mi := &file_account_proto_msgTypes[1]
  70. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  71. ms.StoreMessageInfo(mi)
  72. }
  73. }
  74. func (x *MaterialLink) String() string {
  75. return protoimpl.X.MessageStringOf(x)
  76. }
  77. func (*MaterialLink) ProtoMessage() {}
  78. func (x *MaterialLink) ProtoReflect() protoreflect.Message {
  79. mi := &file_account_proto_msgTypes[1]
  80. if protoimpl.UnsafeEnabled && x != nil {
  81. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  82. if ms.LoadMessageInfo() == nil {
  83. ms.StoreMessageInfo(mi)
  84. }
  85. return ms
  86. }
  87. return mi.MessageOf(x)
  88. }
  89. // Deprecated: Use MaterialLink.ProtoReflect.Descriptor instead.
  90. func (*MaterialLink) Descriptor() ([]byte, []int) {
  91. return file_account_proto_rawDescGZIP(), []int{1}
  92. }
  93. func (x *MaterialLink) GetLink() string {
  94. if x != nil {
  95. return x.Link
  96. }
  97. return ""
  98. }
  99. type RandomNicknameReply struct {
  100. state protoimpl.MessageState
  101. sizeCache protoimpl.SizeCache
  102. unknownFields protoimpl.UnknownFields
  103. Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname"`
  104. }
  105. func (x *RandomNicknameReply) Reset() {
  106. *x = RandomNicknameReply{}
  107. if protoimpl.UnsafeEnabled {
  108. mi := &file_account_proto_msgTypes[2]
  109. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  110. ms.StoreMessageInfo(mi)
  111. }
  112. }
  113. func (x *RandomNicknameReply) String() string {
  114. return protoimpl.X.MessageStringOf(x)
  115. }
  116. func (*RandomNicknameReply) ProtoMessage() {}
  117. func (x *RandomNicknameReply) ProtoReflect() protoreflect.Message {
  118. mi := &file_account_proto_msgTypes[2]
  119. if protoimpl.UnsafeEnabled && x != nil {
  120. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  121. if ms.LoadMessageInfo() == nil {
  122. ms.StoreMessageInfo(mi)
  123. }
  124. return ms
  125. }
  126. return mi.MessageOf(x)
  127. }
  128. // Deprecated: Use RandomNicknameReply.ProtoReflect.Descriptor instead.
  129. func (*RandomNicknameReply) Descriptor() ([]byte, []int) {
  130. return file_account_proto_rawDescGZIP(), []int{2}
  131. }
  132. func (x *RandomNicknameReply) GetNickname() string {
  133. if x != nil {
  134. return x.Nickname
  135. }
  136. return ""
  137. }
  138. type RandomAvatarReply struct {
  139. state protoimpl.MessageState
  140. sizeCache protoimpl.SizeCache
  141. unknownFields protoimpl.UnknownFields
  142. AvatarUrl string `protobuf:"bytes,1,opt,name=avatarUrl,proto3" json:"avatarUrl"`
  143. }
  144. func (x *RandomAvatarReply) Reset() {
  145. *x = RandomAvatarReply{}
  146. if protoimpl.UnsafeEnabled {
  147. mi := &file_account_proto_msgTypes[3]
  148. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  149. ms.StoreMessageInfo(mi)
  150. }
  151. }
  152. func (x *RandomAvatarReply) String() string {
  153. return protoimpl.X.MessageStringOf(x)
  154. }
  155. func (*RandomAvatarReply) ProtoMessage() {}
  156. func (x *RandomAvatarReply) ProtoReflect() protoreflect.Message {
  157. mi := &file_account_proto_msgTypes[3]
  158. if protoimpl.UnsafeEnabled && x != nil {
  159. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  160. if ms.LoadMessageInfo() == nil {
  161. ms.StoreMessageInfo(mi)
  162. }
  163. return ms
  164. }
  165. return mi.MessageOf(x)
  166. }
  167. // Deprecated: Use RandomAvatarReply.ProtoReflect.Descriptor instead.
  168. func (*RandomAvatarReply) Descriptor() ([]byte, []int) {
  169. return file_account_proto_rawDescGZIP(), []int{3}
  170. }
  171. func (x *RandomAvatarReply) GetAvatarUrl() string {
  172. if x != nil {
  173. return x.AvatarUrl
  174. }
  175. return ""
  176. }
  177. type OpenIDAndAppIDRequest struct {
  178. state protoimpl.MessageState
  179. sizeCache protoimpl.SizeCache
  180. unknownFields protoimpl.UnknownFields
  181. OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId"`
  182. AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId"`
  183. }
  184. func (x *OpenIDAndAppIDRequest) Reset() {
  185. *x = OpenIDAndAppIDRequest{}
  186. if protoimpl.UnsafeEnabled {
  187. mi := &file_account_proto_msgTypes[4]
  188. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  189. ms.StoreMessageInfo(mi)
  190. }
  191. }
  192. func (x *OpenIDAndAppIDRequest) String() string {
  193. return protoimpl.X.MessageStringOf(x)
  194. }
  195. func (*OpenIDAndAppIDRequest) ProtoMessage() {}
  196. func (x *OpenIDAndAppIDRequest) ProtoReflect() protoreflect.Message {
  197. mi := &file_account_proto_msgTypes[4]
  198. if protoimpl.UnsafeEnabled && x != nil {
  199. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  200. if ms.LoadMessageInfo() == nil {
  201. ms.StoreMessageInfo(mi)
  202. }
  203. return ms
  204. }
  205. return mi.MessageOf(x)
  206. }
  207. // Deprecated: Use OpenIDAndAppIDRequest.ProtoReflect.Descriptor instead.
  208. func (*OpenIDAndAppIDRequest) Descriptor() ([]byte, []int) {
  209. return file_account_proto_rawDescGZIP(), []int{4}
  210. }
  211. func (x *OpenIDAndAppIDRequest) GetOpenId() string {
  212. if x != nil {
  213. return x.OpenId
  214. }
  215. return ""
  216. }
  217. func (x *OpenIDAndAppIDRequest) GetAppId() string {
  218. if x != nil {
  219. return x.AppId
  220. }
  221. return ""
  222. }
  223. type IdentityInfo struct {
  224. state protoimpl.MessageState
  225. sizeCache protoimpl.SizeCache
  226. unknownFields protoimpl.UnknownFields
  227. Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid"`
  228. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type"`
  229. IdentityID int64 `protobuf:"varint,3,opt,name=identityID,proto3" json:"identityID"`
  230. }
  231. func (x *IdentityInfo) Reset() {
  232. *x = IdentityInfo{}
  233. if protoimpl.UnsafeEnabled {
  234. mi := &file_account_proto_msgTypes[5]
  235. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  236. ms.StoreMessageInfo(mi)
  237. }
  238. }
  239. func (x *IdentityInfo) String() string {
  240. return protoimpl.X.MessageStringOf(x)
  241. }
  242. func (*IdentityInfo) ProtoMessage() {}
  243. func (x *IdentityInfo) ProtoReflect() protoreflect.Message {
  244. mi := &file_account_proto_msgTypes[5]
  245. if protoimpl.UnsafeEnabled && x != nil {
  246. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  247. if ms.LoadMessageInfo() == nil {
  248. ms.StoreMessageInfo(mi)
  249. }
  250. return ms
  251. }
  252. return mi.MessageOf(x)
  253. }
  254. // Deprecated: Use IdentityInfo.ProtoReflect.Descriptor instead.
  255. func (*IdentityInfo) Descriptor() ([]byte, []int) {
  256. return file_account_proto_rawDescGZIP(), []int{5}
  257. }
  258. func (x *IdentityInfo) GetPid() string {
  259. if x != nil {
  260. return x.Pid
  261. }
  262. return ""
  263. }
  264. func (x *IdentityInfo) GetType() string {
  265. if x != nil {
  266. return x.Type
  267. }
  268. return ""
  269. }
  270. func (x *IdentityInfo) GetIdentityID() int64 {
  271. if x != nil {
  272. return x.IdentityID
  273. }
  274. return 0
  275. }
  276. type UserInfoDB struct {
  277. state protoimpl.MessageState
  278. sizeCache protoimpl.SizeCache
  279. unknownFields protoimpl.UnknownFields
  280. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  281. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  282. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  283. Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone"` // 手机号
  284. Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
  285. Credit int64 `protobuf:"varint,6,opt,name=credit,proto3" json:"credit"` // 积分
  286. }
  287. func (x *UserInfoDB) Reset() {
  288. *x = UserInfoDB{}
  289. if protoimpl.UnsafeEnabled {
  290. mi := &file_account_proto_msgTypes[6]
  291. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  292. ms.StoreMessageInfo(mi)
  293. }
  294. }
  295. func (x *UserInfoDB) String() string {
  296. return protoimpl.X.MessageStringOf(x)
  297. }
  298. func (*UserInfoDB) ProtoMessage() {}
  299. func (x *UserInfoDB) ProtoReflect() protoreflect.Message {
  300. mi := &file_account_proto_msgTypes[6]
  301. if protoimpl.UnsafeEnabled && x != nil {
  302. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  303. if ms.LoadMessageInfo() == nil {
  304. ms.StoreMessageInfo(mi)
  305. }
  306. return ms
  307. }
  308. return mi.MessageOf(x)
  309. }
  310. // Deprecated: Use UserInfoDB.ProtoReflect.Descriptor instead.
  311. func (*UserInfoDB) Descriptor() ([]byte, []int) {
  312. return file_account_proto_rawDescGZIP(), []int{6}
  313. }
  314. func (x *UserInfoDB) GetId() string {
  315. if x != nil {
  316. return x.Id
  317. }
  318. return ""
  319. }
  320. func (x *UserInfoDB) GetNickname() string {
  321. if x != nil {
  322. return x.Nickname
  323. }
  324. return ""
  325. }
  326. func (x *UserInfoDB) GetAvatarUrl() string {
  327. if x != nil {
  328. return x.AvatarUrl
  329. }
  330. return ""
  331. }
  332. func (x *UserInfoDB) GetPhone() string {
  333. if x != nil {
  334. return x.Phone
  335. }
  336. return ""
  337. }
  338. func (x *UserInfoDB) GetSex() int64 {
  339. if x != nil {
  340. return x.Sex
  341. }
  342. return 0
  343. }
  344. func (x *UserInfoDB) GetCredit() int64 {
  345. if x != nil {
  346. return x.Credit
  347. }
  348. return 0
  349. }
  350. type PartnerInfoDB struct {
  351. state protoimpl.MessageState
  352. sizeCache protoimpl.SizeCache
  353. unknownFields protoimpl.UnknownFields
  354. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  355. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  356. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  357. Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone"` // 手机号
  358. Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
  359. Credit int64 `protobuf:"varint,6,opt,name=credit,proto3" json:"credit"` // 积分
  360. }
  361. func (x *PartnerInfoDB) Reset() {
  362. *x = PartnerInfoDB{}
  363. if protoimpl.UnsafeEnabled {
  364. mi := &file_account_proto_msgTypes[7]
  365. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  366. ms.StoreMessageInfo(mi)
  367. }
  368. }
  369. func (x *PartnerInfoDB) String() string {
  370. return protoimpl.X.MessageStringOf(x)
  371. }
  372. func (*PartnerInfoDB) ProtoMessage() {}
  373. func (x *PartnerInfoDB) ProtoReflect() protoreflect.Message {
  374. mi := &file_account_proto_msgTypes[7]
  375. if protoimpl.UnsafeEnabled && x != nil {
  376. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  377. if ms.LoadMessageInfo() == nil {
  378. ms.StoreMessageInfo(mi)
  379. }
  380. return ms
  381. }
  382. return mi.MessageOf(x)
  383. }
  384. // Deprecated: Use PartnerInfoDB.ProtoReflect.Descriptor instead.
  385. func (*PartnerInfoDB) Descriptor() ([]byte, []int) {
  386. return file_account_proto_rawDescGZIP(), []int{7}
  387. }
  388. func (x *PartnerInfoDB) GetId() string {
  389. if x != nil {
  390. return x.Id
  391. }
  392. return ""
  393. }
  394. func (x *PartnerInfoDB) GetNickname() string {
  395. if x != nil {
  396. return x.Nickname
  397. }
  398. return ""
  399. }
  400. func (x *PartnerInfoDB) GetAvatarUrl() string {
  401. if x != nil {
  402. return x.AvatarUrl
  403. }
  404. return ""
  405. }
  406. func (x *PartnerInfoDB) GetPhone() string {
  407. if x != nil {
  408. return x.Phone
  409. }
  410. return ""
  411. }
  412. func (x *PartnerInfoDB) GetSex() int64 {
  413. if x != nil {
  414. return x.Sex
  415. }
  416. return 0
  417. }
  418. func (x *PartnerInfoDB) GetCredit() int64 {
  419. if x != nil {
  420. return x.Credit
  421. }
  422. return 0
  423. }
  424. type AuthorizationRequest struct {
  425. state protoimpl.MessageState
  426. sizeCache protoimpl.SizeCache
  427. unknownFields protoimpl.UnknownFields
  428. JsCode string `protobuf:"bytes,1,opt,name=jsCode,proto3" json:"jsCode"`
  429. AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId"`
  430. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type"`
  431. FromOpenId string `protobuf:"bytes,4,opt,name=fromOpenId,proto3" json:"fromOpenId"`
  432. }
  433. func (x *AuthorizationRequest) Reset() {
  434. *x = AuthorizationRequest{}
  435. if protoimpl.UnsafeEnabled {
  436. mi := &file_account_proto_msgTypes[8]
  437. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  438. ms.StoreMessageInfo(mi)
  439. }
  440. }
  441. func (x *AuthorizationRequest) String() string {
  442. return protoimpl.X.MessageStringOf(x)
  443. }
  444. func (*AuthorizationRequest) ProtoMessage() {}
  445. func (x *AuthorizationRequest) ProtoReflect() protoreflect.Message {
  446. mi := &file_account_proto_msgTypes[8]
  447. if protoimpl.UnsafeEnabled && x != nil {
  448. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  449. if ms.LoadMessageInfo() == nil {
  450. ms.StoreMessageInfo(mi)
  451. }
  452. return ms
  453. }
  454. return mi.MessageOf(x)
  455. }
  456. // Deprecated: Use AuthorizationRequest.ProtoReflect.Descriptor instead.
  457. func (*AuthorizationRequest) Descriptor() ([]byte, []int) {
  458. return file_account_proto_rawDescGZIP(), []int{8}
  459. }
  460. func (x *AuthorizationRequest) GetJsCode() string {
  461. if x != nil {
  462. return x.JsCode
  463. }
  464. return ""
  465. }
  466. func (x *AuthorizationRequest) GetAppId() string {
  467. if x != nil {
  468. return x.AppId
  469. }
  470. return ""
  471. }
  472. func (x *AuthorizationRequest) GetType() string {
  473. if x != nil {
  474. return x.Type
  475. }
  476. return ""
  477. }
  478. func (x *AuthorizationRequest) GetFromOpenId() string {
  479. if x != nil {
  480. return x.FromOpenId
  481. }
  482. return ""
  483. }
  484. type TokenReply struct {
  485. state protoimpl.MessageState
  486. sizeCache protoimpl.SizeCache
  487. unknownFields protoimpl.UnknownFields
  488. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"`
  489. AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId"`
  490. }
  491. func (x *TokenReply) Reset() {
  492. *x = TokenReply{}
  493. if protoimpl.UnsafeEnabled {
  494. mi := &file_account_proto_msgTypes[9]
  495. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  496. ms.StoreMessageInfo(mi)
  497. }
  498. }
  499. func (x *TokenReply) String() string {
  500. return protoimpl.X.MessageStringOf(x)
  501. }
  502. func (*TokenReply) ProtoMessage() {}
  503. func (x *TokenReply) ProtoReflect() protoreflect.Message {
  504. mi := &file_account_proto_msgTypes[9]
  505. if protoimpl.UnsafeEnabled && x != nil {
  506. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  507. if ms.LoadMessageInfo() == nil {
  508. ms.StoreMessageInfo(mi)
  509. }
  510. return ms
  511. }
  512. return mi.MessageOf(x)
  513. }
  514. // Deprecated: Use TokenReply.ProtoReflect.Descriptor instead.
  515. func (*TokenReply) Descriptor() ([]byte, []int) {
  516. return file_account_proto_rawDescGZIP(), []int{9}
  517. }
  518. func (x *TokenReply) GetToken() string {
  519. if x != nil {
  520. return x.Token
  521. }
  522. return ""
  523. }
  524. func (x *TokenReply) GetAppId() string {
  525. if x != nil {
  526. return x.AppId
  527. }
  528. return ""
  529. }
  530. type DebugLoginRequest struct {
  531. state protoimpl.MessageState
  532. sizeCache protoimpl.SizeCache
  533. unknownFields protoimpl.UnknownFields
  534. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  535. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
  536. }
  537. func (x *DebugLoginRequest) Reset() {
  538. *x = DebugLoginRequest{}
  539. if protoimpl.UnsafeEnabled {
  540. mi := &file_account_proto_msgTypes[10]
  541. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  542. ms.StoreMessageInfo(mi)
  543. }
  544. }
  545. func (x *DebugLoginRequest) String() string {
  546. return protoimpl.X.MessageStringOf(x)
  547. }
  548. func (*DebugLoginRequest) ProtoMessage() {}
  549. func (x *DebugLoginRequest) ProtoReflect() protoreflect.Message {
  550. mi := &file_account_proto_msgTypes[10]
  551. if protoimpl.UnsafeEnabled && x != nil {
  552. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  553. if ms.LoadMessageInfo() == nil {
  554. ms.StoreMessageInfo(mi)
  555. }
  556. return ms
  557. }
  558. return mi.MessageOf(x)
  559. }
  560. // Deprecated: Use DebugLoginRequest.ProtoReflect.Descriptor instead.
  561. func (*DebugLoginRequest) Descriptor() ([]byte, []int) {
  562. return file_account_proto_rawDescGZIP(), []int{10}
  563. }
  564. func (x *DebugLoginRequest) GetId() int64 {
  565. if x != nil {
  566. return x.Id
  567. }
  568. return 0
  569. }
  570. func (x *DebugLoginRequest) GetCode() string {
  571. if x != nil {
  572. return x.Code
  573. }
  574. return ""
  575. }
  576. type LoginToken struct {
  577. state protoimpl.MessageState
  578. sizeCache protoimpl.SizeCache
  579. unknownFields protoimpl.UnknownFields
  580. Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid"`
  581. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type"`
  582. }
  583. func (x *LoginToken) Reset() {
  584. *x = LoginToken{}
  585. if protoimpl.UnsafeEnabled {
  586. mi := &file_account_proto_msgTypes[11]
  587. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  588. ms.StoreMessageInfo(mi)
  589. }
  590. }
  591. func (x *LoginToken) String() string {
  592. return protoimpl.X.MessageStringOf(x)
  593. }
  594. func (*LoginToken) ProtoMessage() {}
  595. func (x *LoginToken) ProtoReflect() protoreflect.Message {
  596. mi := &file_account_proto_msgTypes[11]
  597. if protoimpl.UnsafeEnabled && x != nil {
  598. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  599. if ms.LoadMessageInfo() == nil {
  600. ms.StoreMessageInfo(mi)
  601. }
  602. return ms
  603. }
  604. return mi.MessageOf(x)
  605. }
  606. // Deprecated: Use LoginToken.ProtoReflect.Descriptor instead.
  607. func (*LoginToken) Descriptor() ([]byte, []int) {
  608. return file_account_proto_rawDescGZIP(), []int{11}
  609. }
  610. func (x *LoginToken) GetPid() string {
  611. if x != nil {
  612. return x.Pid
  613. }
  614. return ""
  615. }
  616. func (x *LoginToken) GetType() string {
  617. if x != nil {
  618. return x.Type
  619. }
  620. return ""
  621. }
  622. var File_account_proto protoreflect.FileDescriptor
  623. var file_account_proto_rawDesc = []byte{
  624. 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  625. 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x1c, 0x67, 0x6f,
  626. 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
  627. 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f,
  628. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
  629. 0x6f, 0x74, 0x6f, 0x22, 0x23, 0x0a, 0x07, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x44, 0x12, 0x18,
  630. 0x0a, 0x07, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  631. 0x07, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x64, 0x22, 0x22, 0x0a, 0x0c, 0x4d, 0x61, 0x74, 0x65,
  632. 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b,
  633. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x31, 0x0a, 0x13,
  634. 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65,
  635. 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  636. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x22,
  637. 0x31, 0x0a, 0x11, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52,
  638. 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
  639. 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55,
  640. 0x72, 0x6c, 0x22, 0x45, 0x0a, 0x15, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x44, 0x41, 0x6e, 0x64, 0x41,
  641. 0x70, 0x70, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f,
  642. 0x70, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65,
  643. 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01,
  644. 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x0c, 0x49, 0x64, 0x65,
  645. 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64,
  646. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74,
  647. 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
  648. 0x1e, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x44, 0x18, 0x03, 0x20,
  649. 0x01, 0x28, 0x03, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x44, 0x22,
  650. 0x96, 0x01, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x44, 0x42, 0x12, 0x0e,
  651. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a,
  652. 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  653. 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76,
  654. 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
  655. 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e,
  656. 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x10,
  657. 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78,
  658. 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
  659. 0x52, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x22, 0x99, 0x01, 0x0a, 0x0d, 0x50, 0x61, 0x72,
  660. 0x74, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x44, 0x42, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  661. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69,
  662. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69,
  663. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
  664. 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61,
  665. 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20,
  666. 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65,
  667. 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06,
  668. 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x72,
  669. 0x65, 0x64, 0x69, 0x74, 0x22, 0x78, 0x0a, 0x14, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
  670. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
  671. 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x73,
  672. 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20,
  673. 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79,
  674. 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e,
  675. 0x0a, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01,
  676. 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x22, 0x38,
  677. 0x0a, 0x0a, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05,
  678. 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b,
  679. 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  680. 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x22, 0x37, 0x0a, 0x11, 0x44, 0x65, 0x62, 0x75,
  681. 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
  682. 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,
  683. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64,
  684. 0x65, 0x22, 0x32, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12,
  685. 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69,
  686. 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  687. 0x04, 0x74, 0x79, 0x70, 0x65, 0x32, 0xd0, 0x0a, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
  688. 0x74, 0x12, 0x62, 0x0a, 0x0a, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12,
  689. 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x44, 0x65,
  690. 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  691. 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x54, 0x6f,
  692. 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15,
  693. 0x22, 0x10, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x64, 0x65, 0x62,
  694. 0x75, 0x67, 0x3a, 0x01, 0x2a, 0x12, 0x70, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
  695. 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63,
  696. 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69,
  697. 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  698. 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70,
  699. 0x6c, 0x79, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x18, 0x2f, 0x61, 0x70, 0x69,
  700. 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61,
  701. 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x6e, 0x0a, 0x0e, 0x52, 0x61, 0x6e, 0x64, 0x6f,
  702. 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  703. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e,
  704. 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x52, 0x61, 0x6e, 0x64,
  705. 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22,
  706. 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f,
  707. 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x6e, 0x69, 0x63, 0x6b,
  708. 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x68, 0x0a, 0x0c, 0x52, 0x61, 0x6e, 0x64, 0x6f,
  709. 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
  710. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x61, 0x70,
  711. 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d,
  712. 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x24, 0x82, 0xd3, 0xe4,
  713. 0x93, 0x02, 0x1e, 0x22, 0x19, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  714. 0x2f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x3a, 0x01,
  715. 0x2a, 0x12, 0x5c, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
  716. 0x42, 0x79, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x44, 0x41, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x49, 0x44,
  717. 0x12, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4f,
  718. 0x70, 0x65, 0x6e, 0x49, 0x44, 0x41, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x49, 0x44, 0x52, 0x65, 0x71,
  719. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
  720. 0x6e, 0x74, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12,
  721. 0x4d, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x79,
  722. 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x50, 0x49, 0x44, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69,
  723. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x61,
  724. 0x72, 0x61, 0x6d, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
  725. 0x74, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x60,
  726. 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x79, 0x46,
  727. 0x72, 0x6f, 0x6d, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x44, 0x41, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x49,
  728. 0x44, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e,
  729. 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x44, 0x41, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x49, 0x44, 0x52, 0x65,
  730. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f,
  731. 0x75, 0x6e, 0x74, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f,
  732. 0x12, 0x40, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x42,
  733. 0x79, 0x53, 0x65, 0x78, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  734. 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
  735. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70,
  736. 0x6c, 0x79, 0x12, 0x3a, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x73, 0x42, 0x79,
  737. 0x49, 0x44, 0x73, 0x12, 0x0f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  738. 0x2e, 0x49, 0x64, 0x73, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  739. 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x70,
  740. 0x0a, 0x0f, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63,
  741. 0x65, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53,
  742. 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  743. 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75,
  744. 0x63, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22,
  745. 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x72, 0x61, 0x6e,
  746. 0x64, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x3a, 0x01, 0x2a,
  747. 0x12, 0x74, 0x0a, 0x13, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69,
  748. 0x61, 0x6c, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63,
  749. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x44, 0x1a, 0x19, 0x2e,
  750. 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4d, 0x61, 0x74, 0x65,
  751. 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26,
  752. 0x22, 0x21, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6d, 0x61,
  753. 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x2f, 0x76, 0x6f,
  754. 0x69, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x41, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65,
  755. 0x6d, 0x65, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
  756. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  757. 0x74, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d,
  758. 0x65, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x46, 0x69, 0x6e,
  759. 0x64, 0x43, 0x68, 0x61, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1b, 0x2e, 0x61, 0x70, 0x69,
  760. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65,
  761. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
  762. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x4c, 0x69,
  763. 0x73, 0x74, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x0a, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4d, 0x65,
  764. 0x6d, 0x65, 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
  765. 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x1a, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  766. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x65, 0x78,
  767. 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x12, 0x52, 0x61, 0x6e, 0x64, 0x6f,
  768. 0x6d, 0x53, 0x77, 0x69, 0x66, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x2e,
  769. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f,
  770. 0x6d, 0x4e, 0x75, 0x6d, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x78, 0x1a, 0x1a, 0x2e, 0x61, 0x70, 0x69,
  771. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x65,
  772. 0x78, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x42, 0x46, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x2e,
  773. 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x2e, 0x69,
  774. 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
  775. 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69,
  776. 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  777. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  778. }
  779. var (
  780. file_account_proto_rawDescOnce sync.Once
  781. file_account_proto_rawDescData = file_account_proto_rawDesc
  782. )
  783. func file_account_proto_rawDescGZIP() []byte {
  784. file_account_proto_rawDescOnce.Do(func() {
  785. file_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_account_proto_rawDescData)
  786. })
  787. return file_account_proto_rawDescData
  788. }
  789. var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  790. var file_account_proto_goTypes = []interface{}{
  791. (*MediaID)(nil), // 0: api.account.MediaID
  792. (*MaterialLink)(nil), // 1: api.account.MaterialLink
  793. (*RandomNicknameReply)(nil), // 2: api.account.RandomNicknameReply
  794. (*RandomAvatarReply)(nil), // 3: api.account.RandomAvatarReply
  795. (*OpenIDAndAppIDRequest)(nil), // 4: api.account.OpenIDAndAppIDRequest
  796. (*IdentityInfo)(nil), // 5: api.account.IdentityInfo
  797. (*UserInfoDB)(nil), // 6: api.account.UserInfoDB
  798. (*PartnerInfoDB)(nil), // 7: api.account.PartnerInfoDB
  799. (*AuthorizationRequest)(nil), // 8: api.account.AuthorizationRequest
  800. (*TokenReply)(nil), // 9: api.account.TokenReply
  801. (*DebugLoginRequest)(nil), // 10: api.account.DebugLoginRequest
  802. (*LoginToken)(nil), // 11: api.account.LoginToken
  803. (*common.SexReq)(nil), // 12: api.common.SexReq
  804. (*common.PersonParam)(nil), // 13: api.common.PersonParam
  805. (*common.Ids)(nil), // 14: api.common.Ids
  806. (*common.MemeRequest)(nil), // 15: api.common.MemeRequest
  807. (*common.ListPageRequest)(nil), // 16: api.common.ListPageRequest
  808. (*common.RandomNum)(nil), // 17: api.common.RandomNum
  809. (*common.RandomNumAndSex)(nil), // 18: api.common.RandomNumAndSex
  810. (*common.TagListReply)(nil), // 19: api.common.TagListReply
  811. (*common.RandomIntroduceReply)(nil), // 20: api.common.RandomIntroduceReply
  812. (*common.MemeList)(nil), // 21: api.common.MemeList
  813. (*common.ChatTopicList)(nil), // 22: api.common.ChatTopicList
  814. (*common.CommonTextList)(nil), // 23: api.common.CommonTextList
  815. }
  816. var file_account_proto_depIdxs = []int32{
  817. 10, // 0: api.account.Account.DebugLogin:input_type -> api.account.DebugLoginRequest
  818. 8, // 1: api.account.Account.Authorization:input_type -> api.account.AuthorizationRequest
  819. 12, // 2: api.account.Account.RandomNickname:input_type -> api.common.SexReq
  820. 12, // 3: api.account.Account.RandomAvatar:input_type -> api.common.SexReq
  821. 4, // 4: api.account.Account.GetIdentityByOpenIDAndAppID:input_type -> api.account.OpenIDAndAppIDRequest
  822. 13, // 5: api.account.Account.GetIdentityByTypeAndPID:input_type -> api.common.PersonParam
  823. 4, // 6: api.account.Account.GetIdentityByFromOpenIDAndAppID:input_type -> api.account.OpenIDAndAppIDRequest
  824. 12, // 7: api.account.Account.FindTagListBySex:input_type -> api.common.SexReq
  825. 14, // 8: api.account.Account.FindTagsByIDs:input_type -> api.common.Ids
  826. 12, // 9: api.account.Account.RandomIntroduce:input_type -> api.common.SexReq
  827. 0, // 10: api.account.Account.UploadMaterialVoice:input_type -> api.account.MediaID
  828. 15, // 11: api.account.Account.FindMemeByType:input_type -> api.common.MemeRequest
  829. 16, // 12: api.account.Account.FindChatTopic:input_type -> api.common.ListPageRequest
  830. 17, // 13: api.account.Account.RandomMeme:input_type -> api.common.RandomNum
  831. 18, // 14: api.account.Account.RandomSwiftMessage:input_type -> api.common.RandomNumAndSex
  832. 9, // 15: api.account.Account.DebugLogin:output_type -> api.account.TokenReply
  833. 9, // 16: api.account.Account.Authorization:output_type -> api.account.TokenReply
  834. 2, // 17: api.account.Account.RandomNickname:output_type -> api.account.RandomNicknameReply
  835. 3, // 18: api.account.Account.RandomAvatar:output_type -> api.account.RandomAvatarReply
  836. 5, // 19: api.account.Account.GetIdentityByOpenIDAndAppID:output_type -> api.account.IdentityInfo
  837. 5, // 20: api.account.Account.GetIdentityByTypeAndPID:output_type -> api.account.IdentityInfo
  838. 5, // 21: api.account.Account.GetIdentityByFromOpenIDAndAppID:output_type -> api.account.IdentityInfo
  839. 19, // 22: api.account.Account.FindTagListBySex:output_type -> api.common.TagListReply
  840. 19, // 23: api.account.Account.FindTagsByIDs:output_type -> api.common.TagListReply
  841. 20, // 24: api.account.Account.RandomIntroduce:output_type -> api.common.RandomIntroduceReply
  842. 1, // 25: api.account.Account.UploadMaterialVoice:output_type -> api.account.MaterialLink
  843. 21, // 26: api.account.Account.FindMemeByType:output_type -> api.common.MemeList
  844. 22, // 27: api.account.Account.FindChatTopic:output_type -> api.common.ChatTopicList
  845. 23, // 28: api.account.Account.RandomMeme:output_type -> api.common.CommonTextList
  846. 23, // 29: api.account.Account.RandomSwiftMessage:output_type -> api.common.CommonTextList
  847. 15, // [15:30] is the sub-list for method output_type
  848. 0, // [0:15] is the sub-list for method input_type
  849. 0, // [0:0] is the sub-list for extension type_name
  850. 0, // [0:0] is the sub-list for extension extendee
  851. 0, // [0:0] is the sub-list for field type_name
  852. }
  853. func init() { file_account_proto_init() }
  854. func file_account_proto_init() {
  855. if File_account_proto != nil {
  856. return
  857. }
  858. if !protoimpl.UnsafeEnabled {
  859. file_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  860. switch v := v.(*MediaID); i {
  861. case 0:
  862. return &v.state
  863. case 1:
  864. return &v.sizeCache
  865. case 2:
  866. return &v.unknownFields
  867. default:
  868. return nil
  869. }
  870. }
  871. file_account_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  872. switch v := v.(*MaterialLink); i {
  873. case 0:
  874. return &v.state
  875. case 1:
  876. return &v.sizeCache
  877. case 2:
  878. return &v.unknownFields
  879. default:
  880. return nil
  881. }
  882. }
  883. file_account_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  884. switch v := v.(*RandomNicknameReply); i {
  885. case 0:
  886. return &v.state
  887. case 1:
  888. return &v.sizeCache
  889. case 2:
  890. return &v.unknownFields
  891. default:
  892. return nil
  893. }
  894. }
  895. file_account_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  896. switch v := v.(*RandomAvatarReply); i {
  897. case 0:
  898. return &v.state
  899. case 1:
  900. return &v.sizeCache
  901. case 2:
  902. return &v.unknownFields
  903. default:
  904. return nil
  905. }
  906. }
  907. file_account_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  908. switch v := v.(*OpenIDAndAppIDRequest); i {
  909. case 0:
  910. return &v.state
  911. case 1:
  912. return &v.sizeCache
  913. case 2:
  914. return &v.unknownFields
  915. default:
  916. return nil
  917. }
  918. }
  919. file_account_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  920. switch v := v.(*IdentityInfo); i {
  921. case 0:
  922. return &v.state
  923. case 1:
  924. return &v.sizeCache
  925. case 2:
  926. return &v.unknownFields
  927. default:
  928. return nil
  929. }
  930. }
  931. file_account_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  932. switch v := v.(*UserInfoDB); i {
  933. case 0:
  934. return &v.state
  935. case 1:
  936. return &v.sizeCache
  937. case 2:
  938. return &v.unknownFields
  939. default:
  940. return nil
  941. }
  942. }
  943. file_account_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  944. switch v := v.(*PartnerInfoDB); i {
  945. case 0:
  946. return &v.state
  947. case 1:
  948. return &v.sizeCache
  949. case 2:
  950. return &v.unknownFields
  951. default:
  952. return nil
  953. }
  954. }
  955. file_account_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  956. switch v := v.(*AuthorizationRequest); i {
  957. case 0:
  958. return &v.state
  959. case 1:
  960. return &v.sizeCache
  961. case 2:
  962. return &v.unknownFields
  963. default:
  964. return nil
  965. }
  966. }
  967. file_account_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  968. switch v := v.(*TokenReply); i {
  969. case 0:
  970. return &v.state
  971. case 1:
  972. return &v.sizeCache
  973. case 2:
  974. return &v.unknownFields
  975. default:
  976. return nil
  977. }
  978. }
  979. file_account_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  980. switch v := v.(*DebugLoginRequest); i {
  981. case 0:
  982. return &v.state
  983. case 1:
  984. return &v.sizeCache
  985. case 2:
  986. return &v.unknownFields
  987. default:
  988. return nil
  989. }
  990. }
  991. file_account_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  992. switch v := v.(*LoginToken); i {
  993. case 0:
  994. return &v.state
  995. case 1:
  996. return &v.sizeCache
  997. case 2:
  998. return &v.unknownFields
  999. default:
  1000. return nil
  1001. }
  1002. }
  1003. }
  1004. type x struct{}
  1005. out := protoimpl.TypeBuilder{
  1006. File: protoimpl.DescBuilder{
  1007. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1008. RawDescriptor: file_account_proto_rawDesc,
  1009. NumEnums: 0,
  1010. NumMessages: 12,
  1011. NumExtensions: 0,
  1012. NumServices: 1,
  1013. },
  1014. GoTypes: file_account_proto_goTypes,
  1015. DependencyIndexes: file_account_proto_depIdxs,
  1016. MessageInfos: file_account_proto_msgTypes,
  1017. }.Build()
  1018. File_account_proto = out.File
  1019. file_account_proto_rawDesc = nil
  1020. file_account_proto_goTypes = nil
  1021. file_account_proto_depIdxs = nil
  1022. }