account.pb.go 20 KB

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