account.pb.go 25 KB

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