account.pb.go 36 KB

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