account.pb.go 34 KB

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