account.pb.go 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751
  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 OpenIDRequest struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId"`
  25. }
  26. func (x *OpenIDRequest) Reset() {
  27. *x = OpenIDRequest{}
  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 *OpenIDRequest) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*OpenIDRequest) ProtoMessage() {}
  38. func (x *OpenIDRequest) 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 OpenIDRequest.ProtoReflect.Descriptor instead.
  50. func (*OpenIDRequest) Descriptor() ([]byte, []int) {
  51. return file_account_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *OpenIDRequest) GetOpenId() string {
  54. if x != nil {
  55. return x.OpenId
  56. }
  57. return ""
  58. }
  59. type IdentityInfo struct {
  60. state protoimpl.MessageState
  61. sizeCache protoimpl.SizeCache
  62. unknownFields protoimpl.UnknownFields
  63. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
  64. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type"`
  65. }
  66. func (x *IdentityInfo) Reset() {
  67. *x = IdentityInfo{}
  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 *IdentityInfo) String() string {
  75. return protoimpl.X.MessageStringOf(x)
  76. }
  77. func (*IdentityInfo) ProtoMessage() {}
  78. func (x *IdentityInfo) 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 IdentityInfo.ProtoReflect.Descriptor instead.
  90. func (*IdentityInfo) Descriptor() ([]byte, []int) {
  91. return file_account_proto_rawDescGZIP(), []int{1}
  92. }
  93. func (x *IdentityInfo) GetId() string {
  94. if x != nil {
  95. return x.Id
  96. }
  97. return ""
  98. }
  99. func (x *IdentityInfo) GetType() string {
  100. if x != nil {
  101. return x.Type
  102. }
  103. return ""
  104. }
  105. type UserInfoDB struct {
  106. state protoimpl.MessageState
  107. sizeCache protoimpl.SizeCache
  108. unknownFields protoimpl.UnknownFields
  109. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  110. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  111. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  112. Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone"` // 手机号
  113. Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
  114. Credit int64 `protobuf:"varint,6,opt,name=credit,proto3" json:"credit"` // 积分
  115. }
  116. func (x *UserInfoDB) Reset() {
  117. *x = UserInfoDB{}
  118. if protoimpl.UnsafeEnabled {
  119. mi := &file_account_proto_msgTypes[2]
  120. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  121. ms.StoreMessageInfo(mi)
  122. }
  123. }
  124. func (x *UserInfoDB) String() string {
  125. return protoimpl.X.MessageStringOf(x)
  126. }
  127. func (*UserInfoDB) ProtoMessage() {}
  128. func (x *UserInfoDB) ProtoReflect() protoreflect.Message {
  129. mi := &file_account_proto_msgTypes[2]
  130. if protoimpl.UnsafeEnabled && x != nil {
  131. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  132. if ms.LoadMessageInfo() == nil {
  133. ms.StoreMessageInfo(mi)
  134. }
  135. return ms
  136. }
  137. return mi.MessageOf(x)
  138. }
  139. // Deprecated: Use UserInfoDB.ProtoReflect.Descriptor instead.
  140. func (*UserInfoDB) Descriptor() ([]byte, []int) {
  141. return file_account_proto_rawDescGZIP(), []int{2}
  142. }
  143. func (x *UserInfoDB) GetId() string {
  144. if x != nil {
  145. return x.Id
  146. }
  147. return ""
  148. }
  149. func (x *UserInfoDB) GetNickname() string {
  150. if x != nil {
  151. return x.Nickname
  152. }
  153. return ""
  154. }
  155. func (x *UserInfoDB) GetAvatarUrl() string {
  156. if x != nil {
  157. return x.AvatarUrl
  158. }
  159. return ""
  160. }
  161. func (x *UserInfoDB) GetPhone() string {
  162. if x != nil {
  163. return x.Phone
  164. }
  165. return ""
  166. }
  167. func (x *UserInfoDB) GetSex() int64 {
  168. if x != nil {
  169. return x.Sex
  170. }
  171. return 0
  172. }
  173. func (x *UserInfoDB) GetCredit() int64 {
  174. if x != nil {
  175. return x.Credit
  176. }
  177. return 0
  178. }
  179. type PartnerInfoDB struct {
  180. state protoimpl.MessageState
  181. sizeCache protoimpl.SizeCache
  182. unknownFields protoimpl.UnknownFields
  183. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  184. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  185. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  186. Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone"` // 手机号
  187. Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
  188. Credit int64 `protobuf:"varint,6,opt,name=credit,proto3" json:"credit"` // 积分
  189. }
  190. func (x *PartnerInfoDB) Reset() {
  191. *x = PartnerInfoDB{}
  192. if protoimpl.UnsafeEnabled {
  193. mi := &file_account_proto_msgTypes[3]
  194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  195. ms.StoreMessageInfo(mi)
  196. }
  197. }
  198. func (x *PartnerInfoDB) String() string {
  199. return protoimpl.X.MessageStringOf(x)
  200. }
  201. func (*PartnerInfoDB) ProtoMessage() {}
  202. func (x *PartnerInfoDB) ProtoReflect() protoreflect.Message {
  203. mi := &file_account_proto_msgTypes[3]
  204. if protoimpl.UnsafeEnabled && x != nil {
  205. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  206. if ms.LoadMessageInfo() == nil {
  207. ms.StoreMessageInfo(mi)
  208. }
  209. return ms
  210. }
  211. return mi.MessageOf(x)
  212. }
  213. // Deprecated: Use PartnerInfoDB.ProtoReflect.Descriptor instead.
  214. func (*PartnerInfoDB) Descriptor() ([]byte, []int) {
  215. return file_account_proto_rawDescGZIP(), []int{3}
  216. }
  217. func (x *PartnerInfoDB) GetId() string {
  218. if x != nil {
  219. return x.Id
  220. }
  221. return ""
  222. }
  223. func (x *PartnerInfoDB) GetNickname() string {
  224. if x != nil {
  225. return x.Nickname
  226. }
  227. return ""
  228. }
  229. func (x *PartnerInfoDB) GetAvatarUrl() string {
  230. if x != nil {
  231. return x.AvatarUrl
  232. }
  233. return ""
  234. }
  235. func (x *PartnerInfoDB) GetPhone() string {
  236. if x != nil {
  237. return x.Phone
  238. }
  239. return ""
  240. }
  241. func (x *PartnerInfoDB) GetSex() int64 {
  242. if x != nil {
  243. return x.Sex
  244. }
  245. return 0
  246. }
  247. func (x *PartnerInfoDB) GetCredit() int64 {
  248. if x != nil {
  249. return x.Credit
  250. }
  251. return 0
  252. }
  253. type AuthorizationRequest struct {
  254. state protoimpl.MessageState
  255. sizeCache protoimpl.SizeCache
  256. unknownFields protoimpl.UnknownFields
  257. JsCode string `protobuf:"bytes,1,opt,name=jsCode,proto3" json:"jsCode"`
  258. AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId"`
  259. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type"`
  260. }
  261. func (x *AuthorizationRequest) Reset() {
  262. *x = AuthorizationRequest{}
  263. if protoimpl.UnsafeEnabled {
  264. mi := &file_account_proto_msgTypes[4]
  265. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  266. ms.StoreMessageInfo(mi)
  267. }
  268. }
  269. func (x *AuthorizationRequest) String() string {
  270. return protoimpl.X.MessageStringOf(x)
  271. }
  272. func (*AuthorizationRequest) ProtoMessage() {}
  273. func (x *AuthorizationRequest) ProtoReflect() protoreflect.Message {
  274. mi := &file_account_proto_msgTypes[4]
  275. if protoimpl.UnsafeEnabled && x != nil {
  276. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  277. if ms.LoadMessageInfo() == nil {
  278. ms.StoreMessageInfo(mi)
  279. }
  280. return ms
  281. }
  282. return mi.MessageOf(x)
  283. }
  284. // Deprecated: Use AuthorizationRequest.ProtoReflect.Descriptor instead.
  285. func (*AuthorizationRequest) Descriptor() ([]byte, []int) {
  286. return file_account_proto_rawDescGZIP(), []int{4}
  287. }
  288. func (x *AuthorizationRequest) GetJsCode() string {
  289. if x != nil {
  290. return x.JsCode
  291. }
  292. return ""
  293. }
  294. func (x *AuthorizationRequest) GetAppId() string {
  295. if x != nil {
  296. return x.AppId
  297. }
  298. return ""
  299. }
  300. func (x *AuthorizationRequest) GetType() string {
  301. if x != nil {
  302. return x.Type
  303. }
  304. return ""
  305. }
  306. type TokenReply struct {
  307. state protoimpl.MessageState
  308. sizeCache protoimpl.SizeCache
  309. unknownFields protoimpl.UnknownFields
  310. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"`
  311. }
  312. func (x *TokenReply) Reset() {
  313. *x = TokenReply{}
  314. if protoimpl.UnsafeEnabled {
  315. mi := &file_account_proto_msgTypes[5]
  316. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  317. ms.StoreMessageInfo(mi)
  318. }
  319. }
  320. func (x *TokenReply) String() string {
  321. return protoimpl.X.MessageStringOf(x)
  322. }
  323. func (*TokenReply) ProtoMessage() {}
  324. func (x *TokenReply) ProtoReflect() protoreflect.Message {
  325. mi := &file_account_proto_msgTypes[5]
  326. if protoimpl.UnsafeEnabled && x != nil {
  327. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  328. if ms.LoadMessageInfo() == nil {
  329. ms.StoreMessageInfo(mi)
  330. }
  331. return ms
  332. }
  333. return mi.MessageOf(x)
  334. }
  335. // Deprecated: Use TokenReply.ProtoReflect.Descriptor instead.
  336. func (*TokenReply) Descriptor() ([]byte, []int) {
  337. return file_account_proto_rawDescGZIP(), []int{5}
  338. }
  339. func (x *TokenReply) GetToken() string {
  340. if x != nil {
  341. return x.Token
  342. }
  343. return ""
  344. }
  345. type DebugLoginRequest struct {
  346. state protoimpl.MessageState
  347. sizeCache protoimpl.SizeCache
  348. unknownFields protoimpl.UnknownFields
  349. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  350. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
  351. }
  352. func (x *DebugLoginRequest) Reset() {
  353. *x = DebugLoginRequest{}
  354. if protoimpl.UnsafeEnabled {
  355. mi := &file_account_proto_msgTypes[6]
  356. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  357. ms.StoreMessageInfo(mi)
  358. }
  359. }
  360. func (x *DebugLoginRequest) String() string {
  361. return protoimpl.X.MessageStringOf(x)
  362. }
  363. func (*DebugLoginRequest) ProtoMessage() {}
  364. func (x *DebugLoginRequest) ProtoReflect() protoreflect.Message {
  365. mi := &file_account_proto_msgTypes[6]
  366. if protoimpl.UnsafeEnabled && x != nil {
  367. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  368. if ms.LoadMessageInfo() == nil {
  369. ms.StoreMessageInfo(mi)
  370. }
  371. return ms
  372. }
  373. return mi.MessageOf(x)
  374. }
  375. // Deprecated: Use DebugLoginRequest.ProtoReflect.Descriptor instead.
  376. func (*DebugLoginRequest) Descriptor() ([]byte, []int) {
  377. return file_account_proto_rawDescGZIP(), []int{6}
  378. }
  379. func (x *DebugLoginRequest) GetId() int64 {
  380. if x != nil {
  381. return x.Id
  382. }
  383. return 0
  384. }
  385. func (x *DebugLoginRequest) GetCode() string {
  386. if x != nil {
  387. return x.Code
  388. }
  389. return ""
  390. }
  391. type LoginToken struct {
  392. state protoimpl.MessageState
  393. sizeCache protoimpl.SizeCache
  394. unknownFields protoimpl.UnknownFields
  395. Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid"`
  396. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type"`
  397. }
  398. func (x *LoginToken) Reset() {
  399. *x = LoginToken{}
  400. if protoimpl.UnsafeEnabled {
  401. mi := &file_account_proto_msgTypes[7]
  402. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  403. ms.StoreMessageInfo(mi)
  404. }
  405. }
  406. func (x *LoginToken) String() string {
  407. return protoimpl.X.MessageStringOf(x)
  408. }
  409. func (*LoginToken) ProtoMessage() {}
  410. func (x *LoginToken) ProtoReflect() protoreflect.Message {
  411. mi := &file_account_proto_msgTypes[7]
  412. if protoimpl.UnsafeEnabled && x != nil {
  413. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  414. if ms.LoadMessageInfo() == nil {
  415. ms.StoreMessageInfo(mi)
  416. }
  417. return ms
  418. }
  419. return mi.MessageOf(x)
  420. }
  421. // Deprecated: Use LoginToken.ProtoReflect.Descriptor instead.
  422. func (*LoginToken) Descriptor() ([]byte, []int) {
  423. return file_account_proto_rawDescGZIP(), []int{7}
  424. }
  425. func (x *LoginToken) GetPid() string {
  426. if x != nil {
  427. return x.Pid
  428. }
  429. return ""
  430. }
  431. func (x *LoginToken) GetType() string {
  432. if x != nil {
  433. return x.Type
  434. }
  435. return ""
  436. }
  437. var File_account_proto protoreflect.FileDescriptor
  438. var file_account_proto_rawDesc = []byte{
  439. 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  440. 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x1c, 0x67, 0x6f,
  441. 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
  442. 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x27, 0x0a, 0x0d, 0x4f, 0x70,
  443. 0x65, 0x6e, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f,
  444. 0x70, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65,
  445. 0x6e, 0x49, 0x64, 0x22, 0x32, 0x0a, 0x0c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49,
  446. 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  447. 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  448. 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72,
  449. 0x49, 0x6e, 0x66, 0x6f, 0x44, 0x42, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  450. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61,
  451. 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61,
  452. 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18,
  453. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c,
  454. 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  455. 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20,
  456. 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x64,
  457. 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74,
  458. 0x22, 0x99, 0x01, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f,
  459. 0x44, 0x42, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
  460. 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  461. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c,
  462. 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
  463. 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05,
  464. 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f,
  465. 0x6e, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
  466. 0x03, 0x73, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x18, 0x06,
  467. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x22, 0x58, 0x0a, 0x14,
  468. 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
  469. 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01,
  470. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05,
  471. 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70,
  472. 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  473. 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
  474. 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20,
  475. 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x37, 0x0a, 0x11, 0x44, 0x65,
  476. 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  477. 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12,
  478. 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63,
  479. 0x6f, 0x64, 0x65, 0x22, 0x32, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65,
  480. 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  481. 0x70, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  482. 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x32, 0xad, 0x02, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f,
  483. 0x75, 0x6e, 0x74, 0x12, 0x62, 0x0a, 0x0a, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69,
  484. 0x6e, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e,
  485. 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  486. 0x74, 0x1a, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e,
  487. 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93,
  488. 0x02, 0x15, 0x22, 0x10, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x64,
  489. 0x65, 0x62, 0x75, 0x67, 0x3a, 0x01, 0x2a, 0x12, 0x70, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x68, 0x6f,
  490. 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61,
  491. 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61,
  492. 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61, 0x70,
  493. 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
  494. 0x65, 0x70, 0x6c, 0x79, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x18, 0x2f, 0x61,
  495. 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
  496. 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x4c, 0x0a, 0x13, 0x47, 0x65, 0x74,
  497. 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x79, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x44,
  498. 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4f,
  499. 0x70, 0x65, 0x6e, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61,
  500. 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74,
  501. 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x46, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x61,
  502. 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b,
  503. 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f,
  504. 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f,
  505. 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62,
  506. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  507. }
  508. var (
  509. file_account_proto_rawDescOnce sync.Once
  510. file_account_proto_rawDescData = file_account_proto_rawDesc
  511. )
  512. func file_account_proto_rawDescGZIP() []byte {
  513. file_account_proto_rawDescOnce.Do(func() {
  514. file_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_account_proto_rawDescData)
  515. })
  516. return file_account_proto_rawDescData
  517. }
  518. var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  519. var file_account_proto_goTypes = []interface{}{
  520. (*OpenIDRequest)(nil), // 0: api.account.OpenIDRequest
  521. (*IdentityInfo)(nil), // 1: api.account.IdentityInfo
  522. (*UserInfoDB)(nil), // 2: api.account.UserInfoDB
  523. (*PartnerInfoDB)(nil), // 3: api.account.PartnerInfoDB
  524. (*AuthorizationRequest)(nil), // 4: api.account.AuthorizationRequest
  525. (*TokenReply)(nil), // 5: api.account.TokenReply
  526. (*DebugLoginRequest)(nil), // 6: api.account.DebugLoginRequest
  527. (*LoginToken)(nil), // 7: api.account.LoginToken
  528. }
  529. var file_account_proto_depIdxs = []int32{
  530. 6, // 0: api.account.Account.DebugLogin:input_type -> api.account.DebugLoginRequest
  531. 4, // 1: api.account.Account.Authorization:input_type -> api.account.AuthorizationRequest
  532. 0, // 2: api.account.Account.GetIdentityByOpenID:input_type -> api.account.OpenIDRequest
  533. 5, // 3: api.account.Account.DebugLogin:output_type -> api.account.TokenReply
  534. 5, // 4: api.account.Account.Authorization:output_type -> api.account.TokenReply
  535. 1, // 5: api.account.Account.GetIdentityByOpenID:output_type -> api.account.IdentityInfo
  536. 3, // [3:6] is the sub-list for method output_type
  537. 0, // [0:3] is the sub-list for method input_type
  538. 0, // [0:0] is the sub-list for extension type_name
  539. 0, // [0:0] is the sub-list for extension extendee
  540. 0, // [0:0] is the sub-list for field type_name
  541. }
  542. func init() { file_account_proto_init() }
  543. func file_account_proto_init() {
  544. if File_account_proto != nil {
  545. return
  546. }
  547. if !protoimpl.UnsafeEnabled {
  548. file_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  549. switch v := v.(*OpenIDRequest); i {
  550. case 0:
  551. return &v.state
  552. case 1:
  553. return &v.sizeCache
  554. case 2:
  555. return &v.unknownFields
  556. default:
  557. return nil
  558. }
  559. }
  560. file_account_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  561. switch v := v.(*IdentityInfo); i {
  562. case 0:
  563. return &v.state
  564. case 1:
  565. return &v.sizeCache
  566. case 2:
  567. return &v.unknownFields
  568. default:
  569. return nil
  570. }
  571. }
  572. file_account_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  573. switch v := v.(*UserInfoDB); i {
  574. case 0:
  575. return &v.state
  576. case 1:
  577. return &v.sizeCache
  578. case 2:
  579. return &v.unknownFields
  580. default:
  581. return nil
  582. }
  583. }
  584. file_account_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  585. switch v := v.(*PartnerInfoDB); i {
  586. case 0:
  587. return &v.state
  588. case 1:
  589. return &v.sizeCache
  590. case 2:
  591. return &v.unknownFields
  592. default:
  593. return nil
  594. }
  595. }
  596. file_account_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  597. switch v := v.(*AuthorizationRequest); i {
  598. case 0:
  599. return &v.state
  600. case 1:
  601. return &v.sizeCache
  602. case 2:
  603. return &v.unknownFields
  604. default:
  605. return nil
  606. }
  607. }
  608. file_account_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  609. switch v := v.(*TokenReply); i {
  610. case 0:
  611. return &v.state
  612. case 1:
  613. return &v.sizeCache
  614. case 2:
  615. return &v.unknownFields
  616. default:
  617. return nil
  618. }
  619. }
  620. file_account_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  621. switch v := v.(*DebugLoginRequest); i {
  622. case 0:
  623. return &v.state
  624. case 1:
  625. return &v.sizeCache
  626. case 2:
  627. return &v.unknownFields
  628. default:
  629. return nil
  630. }
  631. }
  632. file_account_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  633. switch v := v.(*LoginToken); i {
  634. case 0:
  635. return &v.state
  636. case 1:
  637. return &v.sizeCache
  638. case 2:
  639. return &v.unknownFields
  640. default:
  641. return nil
  642. }
  643. }
  644. }
  645. type x struct{}
  646. out := protoimpl.TypeBuilder{
  647. File: protoimpl.DescBuilder{
  648. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  649. RawDescriptor: file_account_proto_rawDesc,
  650. NumEnums: 0,
  651. NumMessages: 8,
  652. NumExtensions: 0,
  653. NumServices: 1,
  654. },
  655. GoTypes: file_account_proto_goTypes,
  656. DependencyIndexes: file_account_proto_depIdxs,
  657. MessageInfos: file_account_proto_msgTypes,
  658. }.Build()
  659. File_account_proto = out.File
  660. file_account_proto_rawDesc = nil
  661. file_account_proto_goTypes = nil
  662. file_account_proto_depIdxs = nil
  663. }