account.pb.go 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102
  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. 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. AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId"`
  483. }
  484. func (x *TokenReply) Reset() {
  485. *x = TokenReply{}
  486. if protoimpl.UnsafeEnabled {
  487. mi := &file_account_proto_msgTypes[9]
  488. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  489. ms.StoreMessageInfo(mi)
  490. }
  491. }
  492. func (x *TokenReply) String() string {
  493. return protoimpl.X.MessageStringOf(x)
  494. }
  495. func (*TokenReply) ProtoMessage() {}
  496. func (x *TokenReply) ProtoReflect() protoreflect.Message {
  497. mi := &file_account_proto_msgTypes[9]
  498. if protoimpl.UnsafeEnabled && x != nil {
  499. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  500. if ms.LoadMessageInfo() == nil {
  501. ms.StoreMessageInfo(mi)
  502. }
  503. return ms
  504. }
  505. return mi.MessageOf(x)
  506. }
  507. // Deprecated: Use TokenReply.ProtoReflect.Descriptor instead.
  508. func (*TokenReply) Descriptor() ([]byte, []int) {
  509. return file_account_proto_rawDescGZIP(), []int{9}
  510. }
  511. func (x *TokenReply) GetToken() string {
  512. if x != nil {
  513. return x.Token
  514. }
  515. return ""
  516. }
  517. func (x *TokenReply) GetAppId() string {
  518. if x != nil {
  519. return x.AppId
  520. }
  521. return ""
  522. }
  523. type DebugLoginRequest struct {
  524. state protoimpl.MessageState
  525. sizeCache protoimpl.SizeCache
  526. unknownFields protoimpl.UnknownFields
  527. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  528. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
  529. }
  530. func (x *DebugLoginRequest) Reset() {
  531. *x = DebugLoginRequest{}
  532. if protoimpl.UnsafeEnabled {
  533. mi := &file_account_proto_msgTypes[10]
  534. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  535. ms.StoreMessageInfo(mi)
  536. }
  537. }
  538. func (x *DebugLoginRequest) String() string {
  539. return protoimpl.X.MessageStringOf(x)
  540. }
  541. func (*DebugLoginRequest) ProtoMessage() {}
  542. func (x *DebugLoginRequest) ProtoReflect() protoreflect.Message {
  543. mi := &file_account_proto_msgTypes[10]
  544. if protoimpl.UnsafeEnabled && x != nil {
  545. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  546. if ms.LoadMessageInfo() == nil {
  547. ms.StoreMessageInfo(mi)
  548. }
  549. return ms
  550. }
  551. return mi.MessageOf(x)
  552. }
  553. // Deprecated: Use DebugLoginRequest.ProtoReflect.Descriptor instead.
  554. func (*DebugLoginRequest) Descriptor() ([]byte, []int) {
  555. return file_account_proto_rawDescGZIP(), []int{10}
  556. }
  557. func (x *DebugLoginRequest) GetId() int64 {
  558. if x != nil {
  559. return x.Id
  560. }
  561. return 0
  562. }
  563. func (x *DebugLoginRequest) GetCode() string {
  564. if x != nil {
  565. return x.Code
  566. }
  567. return ""
  568. }
  569. type LoginToken struct {
  570. state protoimpl.MessageState
  571. sizeCache protoimpl.SizeCache
  572. unknownFields protoimpl.UnknownFields
  573. Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid"`
  574. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type"`
  575. }
  576. func (x *LoginToken) Reset() {
  577. *x = LoginToken{}
  578. if protoimpl.UnsafeEnabled {
  579. mi := &file_account_proto_msgTypes[11]
  580. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  581. ms.StoreMessageInfo(mi)
  582. }
  583. }
  584. func (x *LoginToken) String() string {
  585. return protoimpl.X.MessageStringOf(x)
  586. }
  587. func (*LoginToken) ProtoMessage() {}
  588. func (x *LoginToken) ProtoReflect() protoreflect.Message {
  589. mi := &file_account_proto_msgTypes[11]
  590. if protoimpl.UnsafeEnabled && x != nil {
  591. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  592. if ms.LoadMessageInfo() == nil {
  593. ms.StoreMessageInfo(mi)
  594. }
  595. return ms
  596. }
  597. return mi.MessageOf(x)
  598. }
  599. // Deprecated: Use LoginToken.ProtoReflect.Descriptor instead.
  600. func (*LoginToken) Descriptor() ([]byte, []int) {
  601. return file_account_proto_rawDescGZIP(), []int{11}
  602. }
  603. func (x *LoginToken) GetPid() string {
  604. if x != nil {
  605. return x.Pid
  606. }
  607. return ""
  608. }
  609. func (x *LoginToken) GetType() string {
  610. if x != nil {
  611. return x.Type
  612. }
  613. return ""
  614. }
  615. var File_account_proto protoreflect.FileDescriptor
  616. var file_account_proto_rawDesc = []byte{
  617. 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  618. 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x1c, 0x67, 0x6f,
  619. 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
  620. 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f,
  621. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
  622. 0x6f, 0x74, 0x6f, 0x22, 0x23, 0x0a, 0x07, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x44, 0x12, 0x18,
  623. 0x0a, 0x07, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  624. 0x07, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x64, 0x22, 0x22, 0x0a, 0x0c, 0x4d, 0x61, 0x74, 0x65,
  625. 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b,
  626. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x31, 0x0a, 0x13,
  627. 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65,
  628. 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  629. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x22,
  630. 0x31, 0x0a, 0x11, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52,
  631. 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
  632. 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55,
  633. 0x72, 0x6c, 0x22, 0x45, 0x0a, 0x15, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x44, 0x41, 0x6e, 0x64, 0x41,
  634. 0x70, 0x70, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f,
  635. 0x70, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65,
  636. 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01,
  637. 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x22, 0x32, 0x0a, 0x0c, 0x49, 0x64, 0x65,
  638. 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
  639. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
  640. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x96, 0x01,
  641. 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x44, 0x42, 0x12, 0x0e, 0x0a, 0x02,
  642. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08,
  643. 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  644. 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74,
  645. 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61,
  646. 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18,
  647. 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x10, 0x0a, 0x03,
  648. 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x16,
  649. 0x0a, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
  650. 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x22, 0x99, 0x01, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x74, 0x6e,
  651. 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x44, 0x42, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  652. 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b,
  653. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b,
  654. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
  655. 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55,
  656. 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
  657. 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18,
  658. 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72,
  659. 0x65, 0x64, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x72, 0x65, 0x64,
  660. 0x69, 0x74, 0x22, 0x78, 0x0a, 0x14, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74,
  661. 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x73,
  662. 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x73, 0x43, 0x6f,
  663. 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  664. 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
  665. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a,
  666. 0x66, 0x72, 0x6f, 0x6d, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  667. 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x22, 0x38, 0x0a, 0x0a,
  668. 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f,
  669. 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
  670. 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  671. 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x22, 0x37, 0x0a, 0x11, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c,
  672. 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,
  673. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63,
  674. 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22,
  675. 0x32, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x10, 0x0a,
  676. 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12,
  677. 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,
  678. 0x79, 0x70, 0x65, 0x32, 0xaa, 0x08, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  679. 0x62, 0x0a, 0x0a, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1e, 0x2e,
  680. 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x44, 0x65, 0x62, 0x75,
  681. 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e,
  682. 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x54, 0x6f, 0x6b, 0x65,
  683. 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22, 0x10,
  684. 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67,
  685. 0x3a, 0x01, 0x2a, 0x12, 0x70, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61,
  686. 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
  687. 0x6e, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  688. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63,
  689. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79,
  690. 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x18, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c,
  691. 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69,
  692. 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x6e, 0x0a, 0x0e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e,
  693. 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
  694. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x61, 0x70,
  695. 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d,
  696. 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x26, 0x82,
  697. 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
  698. 0x6f, 0x6e, 0x2f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61,
  699. 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x68, 0x0a, 0x0c, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41,
  700. 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  701. 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  702. 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76,
  703. 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02,
  704. 0x1e, 0x22, 0x19, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x72,
  705. 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x3a, 0x01, 0x2a, 0x12,
  706. 0x5c, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x79,
  707. 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x44, 0x41, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x49, 0x44, 0x12, 0x22,
  708. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4f, 0x70, 0x65,
  709. 0x6e, 0x49, 0x44, 0x41, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65,
  710. 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  711. 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4d, 0x0a,
  712. 0x17, 0x47, 0x65, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x79, 0x54, 0x79,
  713. 0x70, 0x65, 0x41, 0x6e, 0x64, 0x50, 0x49, 0x44, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
  714. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61,
  715. 0x6d, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e,
  716. 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x60, 0x0a, 0x1f,
  717. 0x47, 0x65, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x79, 0x46, 0x72, 0x6f,
  718. 0x6d, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x44, 0x41, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x49, 0x44, 0x12,
  719. 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4f, 0x70,
  720. 0x65, 0x6e, 0x49, 0x44, 0x41, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75,
  721. 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
  722. 0x74, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40,
  723. 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x79, 0x53,
  724. 0x65, 0x78, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
  725. 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d,
  726. 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
  727. 0x12, 0x36, 0x0a, 0x09, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x44, 0x73, 0x12, 0x0f, 0x2e,
  728. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x49, 0x64, 0x73, 0x1a, 0x18,
  729. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x4c,
  730. 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x70, 0x0a, 0x0f, 0x52, 0x61, 0x6e, 0x64,
  731. 0x6f, 0x6d, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x12, 0x12, 0x2e, 0x61, 0x70,
  732. 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a,
  733. 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e,
  734. 0x64, 0x6f, 0x6d, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6c,
  735. 0x79, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f,
  736. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x69, 0x6e,
  737. 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x74, 0x0a, 0x13, 0x55, 0x70,
  738. 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x56, 0x6f, 0x69, 0x63,
  739. 0x65, 0x12, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e,
  740. 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x44, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63,
  741. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x69,
  742. 0x6e, 0x6b, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x21, 0x2f, 0x61, 0x70, 0x69,
  743. 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
  744. 0x2f, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x2f, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x3a, 0x01, 0x2a,
  745. 0x42, 0x46, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50,
  746. 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f,
  747. 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74,
  748. 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  749. 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  750. }
  751. var (
  752. file_account_proto_rawDescOnce sync.Once
  753. file_account_proto_rawDescData = file_account_proto_rawDesc
  754. )
  755. func file_account_proto_rawDescGZIP() []byte {
  756. file_account_proto_rawDescOnce.Do(func() {
  757. file_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_account_proto_rawDescData)
  758. })
  759. return file_account_proto_rawDescData
  760. }
  761. var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  762. var file_account_proto_goTypes = []interface{}{
  763. (*MediaID)(nil), // 0: api.account.MediaID
  764. (*MaterialLink)(nil), // 1: api.account.MaterialLink
  765. (*RandomNicknameReply)(nil), // 2: api.account.RandomNicknameReply
  766. (*RandomAvatarReply)(nil), // 3: api.account.RandomAvatarReply
  767. (*OpenIDAndAppIDRequest)(nil), // 4: api.account.OpenIDAndAppIDRequest
  768. (*IdentityInfo)(nil), // 5: api.account.IdentityInfo
  769. (*UserInfoDB)(nil), // 6: api.account.UserInfoDB
  770. (*PartnerInfoDB)(nil), // 7: api.account.PartnerInfoDB
  771. (*AuthorizationRequest)(nil), // 8: api.account.AuthorizationRequest
  772. (*TokenReply)(nil), // 9: api.account.TokenReply
  773. (*DebugLoginRequest)(nil), // 10: api.account.DebugLoginRequest
  774. (*LoginToken)(nil), // 11: api.account.LoginToken
  775. (*common.SexReq)(nil), // 12: api.common.SexReq
  776. (*common.PersonParam)(nil), // 13: api.common.PersonParam
  777. (*common.Ids)(nil), // 14: api.common.Ids
  778. (*common.TagListReply)(nil), // 15: api.common.TagListReply
  779. (*common.RandomIntroduceReply)(nil), // 16: api.common.RandomIntroduceReply
  780. }
  781. var file_account_proto_depIdxs = []int32{
  782. 10, // 0: api.account.Account.DebugLogin:input_type -> api.account.DebugLoginRequest
  783. 8, // 1: api.account.Account.Authorization:input_type -> api.account.AuthorizationRequest
  784. 12, // 2: api.account.Account.RandomNickname:input_type -> api.common.SexReq
  785. 12, // 3: api.account.Account.RandomAvatar:input_type -> api.common.SexReq
  786. 4, // 4: api.account.Account.GetIdentityByOpenIDAndAppID:input_type -> api.account.OpenIDAndAppIDRequest
  787. 13, // 5: api.account.Account.GetIdentityByTypeAndPID:input_type -> api.common.PersonParam
  788. 4, // 6: api.account.Account.GetIdentityByFromOpenIDAndAppID:input_type -> api.account.OpenIDAndAppIDRequest
  789. 12, // 7: api.account.Account.FindTagListBySex:input_type -> api.common.SexReq
  790. 14, // 8: api.account.Account.FindByIDs:input_type -> api.common.Ids
  791. 12, // 9: api.account.Account.RandomIntroduce:input_type -> api.common.SexReq
  792. 0, // 10: api.account.Account.UploadMaterialVoice:input_type -> api.account.MediaID
  793. 9, // 11: api.account.Account.DebugLogin:output_type -> api.account.TokenReply
  794. 9, // 12: api.account.Account.Authorization:output_type -> api.account.TokenReply
  795. 2, // 13: api.account.Account.RandomNickname:output_type -> api.account.RandomNicknameReply
  796. 3, // 14: api.account.Account.RandomAvatar:output_type -> api.account.RandomAvatarReply
  797. 5, // 15: api.account.Account.GetIdentityByOpenIDAndAppID:output_type -> api.account.IdentityInfo
  798. 5, // 16: api.account.Account.GetIdentityByTypeAndPID:output_type -> api.account.IdentityInfo
  799. 5, // 17: api.account.Account.GetIdentityByFromOpenIDAndAppID:output_type -> api.account.IdentityInfo
  800. 15, // 18: api.account.Account.FindTagListBySex:output_type -> api.common.TagListReply
  801. 15, // 19: api.account.Account.FindByIDs:output_type -> api.common.TagListReply
  802. 16, // 20: api.account.Account.RandomIntroduce:output_type -> api.common.RandomIntroduceReply
  803. 1, // 21: api.account.Account.UploadMaterialVoice:output_type -> api.account.MaterialLink
  804. 11, // [11:22] is the sub-list for method output_type
  805. 0, // [0:11] is the sub-list for method input_type
  806. 0, // [0:0] is the sub-list for extension type_name
  807. 0, // [0:0] is the sub-list for extension extendee
  808. 0, // [0:0] is the sub-list for field type_name
  809. }
  810. func init() { file_account_proto_init() }
  811. func file_account_proto_init() {
  812. if File_account_proto != nil {
  813. return
  814. }
  815. if !protoimpl.UnsafeEnabled {
  816. file_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  817. switch v := v.(*MediaID); i {
  818. case 0:
  819. return &v.state
  820. case 1:
  821. return &v.sizeCache
  822. case 2:
  823. return &v.unknownFields
  824. default:
  825. return nil
  826. }
  827. }
  828. file_account_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  829. switch v := v.(*MaterialLink); i {
  830. case 0:
  831. return &v.state
  832. case 1:
  833. return &v.sizeCache
  834. case 2:
  835. return &v.unknownFields
  836. default:
  837. return nil
  838. }
  839. }
  840. file_account_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  841. switch v := v.(*RandomNicknameReply); i {
  842. case 0:
  843. return &v.state
  844. case 1:
  845. return &v.sizeCache
  846. case 2:
  847. return &v.unknownFields
  848. default:
  849. return nil
  850. }
  851. }
  852. file_account_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  853. switch v := v.(*RandomAvatarReply); i {
  854. case 0:
  855. return &v.state
  856. case 1:
  857. return &v.sizeCache
  858. case 2:
  859. return &v.unknownFields
  860. default:
  861. return nil
  862. }
  863. }
  864. file_account_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  865. switch v := v.(*OpenIDAndAppIDRequest); i {
  866. case 0:
  867. return &v.state
  868. case 1:
  869. return &v.sizeCache
  870. case 2:
  871. return &v.unknownFields
  872. default:
  873. return nil
  874. }
  875. }
  876. file_account_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  877. switch v := v.(*IdentityInfo); i {
  878. case 0:
  879. return &v.state
  880. case 1:
  881. return &v.sizeCache
  882. case 2:
  883. return &v.unknownFields
  884. default:
  885. return nil
  886. }
  887. }
  888. file_account_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  889. switch v := v.(*UserInfoDB); i {
  890. case 0:
  891. return &v.state
  892. case 1:
  893. return &v.sizeCache
  894. case 2:
  895. return &v.unknownFields
  896. default:
  897. return nil
  898. }
  899. }
  900. file_account_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  901. switch v := v.(*PartnerInfoDB); i {
  902. case 0:
  903. return &v.state
  904. case 1:
  905. return &v.sizeCache
  906. case 2:
  907. return &v.unknownFields
  908. default:
  909. return nil
  910. }
  911. }
  912. file_account_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  913. switch v := v.(*AuthorizationRequest); i {
  914. case 0:
  915. return &v.state
  916. case 1:
  917. return &v.sizeCache
  918. case 2:
  919. return &v.unknownFields
  920. default:
  921. return nil
  922. }
  923. }
  924. file_account_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  925. switch v := v.(*TokenReply); i {
  926. case 0:
  927. return &v.state
  928. case 1:
  929. return &v.sizeCache
  930. case 2:
  931. return &v.unknownFields
  932. default:
  933. return nil
  934. }
  935. }
  936. file_account_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  937. switch v := v.(*DebugLoginRequest); i {
  938. case 0:
  939. return &v.state
  940. case 1:
  941. return &v.sizeCache
  942. case 2:
  943. return &v.unknownFields
  944. default:
  945. return nil
  946. }
  947. }
  948. file_account_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  949. switch v := v.(*LoginToken); i {
  950. case 0:
  951. return &v.state
  952. case 1:
  953. return &v.sizeCache
  954. case 2:
  955. return &v.unknownFields
  956. default:
  957. return nil
  958. }
  959. }
  960. }
  961. type x struct{}
  962. out := protoimpl.TypeBuilder{
  963. File: protoimpl.DescBuilder{
  964. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  965. RawDescriptor: file_account_proto_rawDesc,
  966. NumEnums: 0,
  967. NumMessages: 12,
  968. NumExtensions: 0,
  969. NumServices: 1,
  970. },
  971. GoTypes: file_account_proto_goTypes,
  972. DependencyIndexes: file_account_proto_depIdxs,
  973. MessageInfos: file_account_proto_msgTypes,
  974. }.Build()
  975. File_account_proto = out.File
  976. file_account_proto_rawDesc = nil
  977. file_account_proto_goTypes = nil
  978. file_account_proto_depIdxs = nil
  979. }