user.pb.go 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: user.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package v1
  5. import (
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. math "math"
  9. )
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  19. type LoginRequest struct {
  20. User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user"`
  21. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password"`
  22. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  23. XXX_unrecognized []byte `json:"-"`
  24. XXX_sizecache int32 `json:"-"`
  25. }
  26. func (m *LoginRequest) Reset() { *m = LoginRequest{} }
  27. func (m *LoginRequest) String() string { return proto.CompactTextString(m) }
  28. func (*LoginRequest) ProtoMessage() {}
  29. func (*LoginRequest) Descriptor() ([]byte, []int) {
  30. return fileDescriptor_116e343673f7ffaf, []int{0}
  31. }
  32. func (m *LoginRequest) XXX_Unmarshal(b []byte) error {
  33. return xxx_messageInfo_LoginRequest.Unmarshal(m, b)
  34. }
  35. func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  36. return xxx_messageInfo_LoginRequest.Marshal(b, m, deterministic)
  37. }
  38. func (m *LoginRequest) XXX_Merge(src proto.Message) {
  39. xxx_messageInfo_LoginRequest.Merge(m, src)
  40. }
  41. func (m *LoginRequest) XXX_Size() int {
  42. return xxx_messageInfo_LoginRequest.Size(m)
  43. }
  44. func (m *LoginRequest) XXX_DiscardUnknown() {
  45. xxx_messageInfo_LoginRequest.DiscardUnknown(m)
  46. }
  47. var xxx_messageInfo_LoginRequest proto.InternalMessageInfo
  48. func (m *LoginRequest) GetUser() string {
  49. if m != nil {
  50. return m.User
  51. }
  52. return ""
  53. }
  54. func (m *LoginRequest) GetPassword() string {
  55. if m != nil {
  56. return m.Password
  57. }
  58. return ""
  59. }
  60. type LoginReply struct {
  61. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  62. Develop int32 `protobuf:"varint,2,opt,name=develop,proto3" json:"develop"`
  63. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone"`
  64. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  65. XXX_unrecognized []byte `json:"-"`
  66. XXX_sizecache int32 `json:"-"`
  67. }
  68. func (m *LoginReply) Reset() { *m = LoginReply{} }
  69. func (m *LoginReply) String() string { return proto.CompactTextString(m) }
  70. func (*LoginReply) ProtoMessage() {}
  71. func (*LoginReply) Descriptor() ([]byte, []int) {
  72. return fileDescriptor_116e343673f7ffaf, []int{1}
  73. }
  74. func (m *LoginReply) XXX_Unmarshal(b []byte) error {
  75. return xxx_messageInfo_LoginReply.Unmarshal(m, b)
  76. }
  77. func (m *LoginReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  78. return xxx_messageInfo_LoginReply.Marshal(b, m, deterministic)
  79. }
  80. func (m *LoginReply) XXX_Merge(src proto.Message) {
  81. xxx_messageInfo_LoginReply.Merge(m, src)
  82. }
  83. func (m *LoginReply) XXX_Size() int {
  84. return xxx_messageInfo_LoginReply.Size(m)
  85. }
  86. func (m *LoginReply) XXX_DiscardUnknown() {
  87. xxx_messageInfo_LoginReply.DiscardUnknown(m)
  88. }
  89. var xxx_messageInfo_LoginReply proto.InternalMessageInfo
  90. func (m *LoginReply) GetUid() int64 {
  91. if m != nil {
  92. return m.Uid
  93. }
  94. return 0
  95. }
  96. func (m *LoginReply) GetDevelop() int32 {
  97. if m != nil {
  98. return m.Develop
  99. }
  100. return 0
  101. }
  102. func (m *LoginReply) GetPhone() string {
  103. if m != nil {
  104. return m.Phone
  105. }
  106. return ""
  107. }
  108. type ChangePasswdRequest struct {
  109. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  110. Old string `protobuf:"bytes,2,opt,name=old,proto3" json:"old"`
  111. New string `protobuf:"bytes,3,opt,name=new,proto3" json:"new"`
  112. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  113. XXX_unrecognized []byte `json:"-"`
  114. XXX_sizecache int32 `json:"-"`
  115. }
  116. func (m *ChangePasswdRequest) Reset() { *m = ChangePasswdRequest{} }
  117. func (m *ChangePasswdRequest) String() string { return proto.CompactTextString(m) }
  118. func (*ChangePasswdRequest) ProtoMessage() {}
  119. func (*ChangePasswdRequest) Descriptor() ([]byte, []int) {
  120. return fileDescriptor_116e343673f7ffaf, []int{2}
  121. }
  122. func (m *ChangePasswdRequest) XXX_Unmarshal(b []byte) error {
  123. return xxx_messageInfo_ChangePasswdRequest.Unmarshal(m, b)
  124. }
  125. func (m *ChangePasswdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  126. return xxx_messageInfo_ChangePasswdRequest.Marshal(b, m, deterministic)
  127. }
  128. func (m *ChangePasswdRequest) XXX_Merge(src proto.Message) {
  129. xxx_messageInfo_ChangePasswdRequest.Merge(m, src)
  130. }
  131. func (m *ChangePasswdRequest) XXX_Size() int {
  132. return xxx_messageInfo_ChangePasswdRequest.Size(m)
  133. }
  134. func (m *ChangePasswdRequest) XXX_DiscardUnknown() {
  135. xxx_messageInfo_ChangePasswdRequest.DiscardUnknown(m)
  136. }
  137. var xxx_messageInfo_ChangePasswdRequest proto.InternalMessageInfo
  138. func (m *ChangePasswdRequest) GetUid() int64 {
  139. if m != nil {
  140. return m.Uid
  141. }
  142. return 0
  143. }
  144. func (m *ChangePasswdRequest) GetOld() string {
  145. if m != nil {
  146. return m.Old
  147. }
  148. return ""
  149. }
  150. func (m *ChangePasswdRequest) GetNew() string {
  151. if m != nil {
  152. return m.New
  153. }
  154. return ""
  155. }
  156. type ChangePasswdReply struct {
  157. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  158. XXX_unrecognized []byte `json:"-"`
  159. XXX_sizecache int32 `json:"-"`
  160. }
  161. func (m *ChangePasswdReply) Reset() { *m = ChangePasswdReply{} }
  162. func (m *ChangePasswdReply) String() string { return proto.CompactTextString(m) }
  163. func (*ChangePasswdReply) ProtoMessage() {}
  164. func (*ChangePasswdReply) Descriptor() ([]byte, []int) {
  165. return fileDescriptor_116e343673f7ffaf, []int{3}
  166. }
  167. func (m *ChangePasswdReply) XXX_Unmarshal(b []byte) error {
  168. return xxx_messageInfo_ChangePasswdReply.Unmarshal(m, b)
  169. }
  170. func (m *ChangePasswdReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  171. return xxx_messageInfo_ChangePasswdReply.Marshal(b, m, deterministic)
  172. }
  173. func (m *ChangePasswdReply) XXX_Merge(src proto.Message) {
  174. xxx_messageInfo_ChangePasswdReply.Merge(m, src)
  175. }
  176. func (m *ChangePasswdReply) XXX_Size() int {
  177. return xxx_messageInfo_ChangePasswdReply.Size(m)
  178. }
  179. func (m *ChangePasswdReply) XXX_DiscardUnknown() {
  180. xxx_messageInfo_ChangePasswdReply.DiscardUnknown(m)
  181. }
  182. var xxx_messageInfo_ChangePasswdReply proto.InternalMessageInfo
  183. type SetPhoneRequest struct {
  184. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  185. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone"`
  186. Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email"`
  187. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  188. XXX_unrecognized []byte `json:"-"`
  189. XXX_sizecache int32 `json:"-"`
  190. }
  191. func (m *SetPhoneRequest) Reset() { *m = SetPhoneRequest{} }
  192. func (m *SetPhoneRequest) String() string { return proto.CompactTextString(m) }
  193. func (*SetPhoneRequest) ProtoMessage() {}
  194. func (*SetPhoneRequest) Descriptor() ([]byte, []int) {
  195. return fileDescriptor_116e343673f7ffaf, []int{4}
  196. }
  197. func (m *SetPhoneRequest) XXX_Unmarshal(b []byte) error {
  198. return xxx_messageInfo_SetPhoneRequest.Unmarshal(m, b)
  199. }
  200. func (m *SetPhoneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  201. return xxx_messageInfo_SetPhoneRequest.Marshal(b, m, deterministic)
  202. }
  203. func (m *SetPhoneRequest) XXX_Merge(src proto.Message) {
  204. xxx_messageInfo_SetPhoneRequest.Merge(m, src)
  205. }
  206. func (m *SetPhoneRequest) XXX_Size() int {
  207. return xxx_messageInfo_SetPhoneRequest.Size(m)
  208. }
  209. func (m *SetPhoneRequest) XXX_DiscardUnknown() {
  210. xxx_messageInfo_SetPhoneRequest.DiscardUnknown(m)
  211. }
  212. var xxx_messageInfo_SetPhoneRequest proto.InternalMessageInfo
  213. func (m *SetPhoneRequest) GetUid() int64 {
  214. if m != nil {
  215. return m.Uid
  216. }
  217. return 0
  218. }
  219. func (m *SetPhoneRequest) GetPhone() string {
  220. if m != nil {
  221. return m.Phone
  222. }
  223. return ""
  224. }
  225. func (m *SetPhoneRequest) GetEmail() string {
  226. if m != nil {
  227. return m.Email
  228. }
  229. return ""
  230. }
  231. type SetPhoneReply struct {
  232. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  233. XXX_unrecognized []byte `json:"-"`
  234. XXX_sizecache int32 `json:"-"`
  235. }
  236. func (m *SetPhoneReply) Reset() { *m = SetPhoneReply{} }
  237. func (m *SetPhoneReply) String() string { return proto.CompactTextString(m) }
  238. func (*SetPhoneReply) ProtoMessage() {}
  239. func (*SetPhoneReply) Descriptor() ([]byte, []int) {
  240. return fileDescriptor_116e343673f7ffaf, []int{5}
  241. }
  242. func (m *SetPhoneReply) XXX_Unmarshal(b []byte) error {
  243. return xxx_messageInfo_SetPhoneReply.Unmarshal(m, b)
  244. }
  245. func (m *SetPhoneReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  246. return xxx_messageInfo_SetPhoneReply.Marshal(b, m, deterministic)
  247. }
  248. func (m *SetPhoneReply) XXX_Merge(src proto.Message) {
  249. xxx_messageInfo_SetPhoneReply.Merge(m, src)
  250. }
  251. func (m *SetPhoneReply) XXX_Size() int {
  252. return xxx_messageInfo_SetPhoneReply.Size(m)
  253. }
  254. func (m *SetPhoneReply) XXX_DiscardUnknown() {
  255. xxx_messageInfo_SetPhoneReply.DiscardUnknown(m)
  256. }
  257. var xxx_messageInfo_SetPhoneReply proto.InternalMessageInfo
  258. type GetPhoneRequest struct {
  259. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  260. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  261. XXX_unrecognized []byte `json:"-"`
  262. XXX_sizecache int32 `json:"-"`
  263. }
  264. func (m *GetPhoneRequest) Reset() { *m = GetPhoneRequest{} }
  265. func (m *GetPhoneRequest) String() string { return proto.CompactTextString(m) }
  266. func (*GetPhoneRequest) ProtoMessage() {}
  267. func (*GetPhoneRequest) Descriptor() ([]byte, []int) {
  268. return fileDescriptor_116e343673f7ffaf, []int{6}
  269. }
  270. func (m *GetPhoneRequest) XXX_Unmarshal(b []byte) error {
  271. return xxx_messageInfo_GetPhoneRequest.Unmarshal(m, b)
  272. }
  273. func (m *GetPhoneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  274. return xxx_messageInfo_GetPhoneRequest.Marshal(b, m, deterministic)
  275. }
  276. func (m *GetPhoneRequest) XXX_Merge(src proto.Message) {
  277. xxx_messageInfo_GetPhoneRequest.Merge(m, src)
  278. }
  279. func (m *GetPhoneRequest) XXX_Size() int {
  280. return xxx_messageInfo_GetPhoneRequest.Size(m)
  281. }
  282. func (m *GetPhoneRequest) XXX_DiscardUnknown() {
  283. xxx_messageInfo_GetPhoneRequest.DiscardUnknown(m)
  284. }
  285. var xxx_messageInfo_GetPhoneRequest proto.InternalMessageInfo
  286. func (m *GetPhoneRequest) GetUid() int64 {
  287. if m != nil {
  288. return m.Uid
  289. }
  290. return 0
  291. }
  292. type GetPhoneReply struct {
  293. Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone"`
  294. Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email"`
  295. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  296. XXX_unrecognized []byte `json:"-"`
  297. XXX_sizecache int32 `json:"-"`
  298. }
  299. func (m *GetPhoneReply) Reset() { *m = GetPhoneReply{} }
  300. func (m *GetPhoneReply) String() string { return proto.CompactTextString(m) }
  301. func (*GetPhoneReply) ProtoMessage() {}
  302. func (*GetPhoneReply) Descriptor() ([]byte, []int) {
  303. return fileDescriptor_116e343673f7ffaf, []int{7}
  304. }
  305. func (m *GetPhoneReply) XXX_Unmarshal(b []byte) error {
  306. return xxx_messageInfo_GetPhoneReply.Unmarshal(m, b)
  307. }
  308. func (m *GetPhoneReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  309. return xxx_messageInfo_GetPhoneReply.Marshal(b, m, deterministic)
  310. }
  311. func (m *GetPhoneReply) XXX_Merge(src proto.Message) {
  312. xxx_messageInfo_GetPhoneReply.Merge(m, src)
  313. }
  314. func (m *GetPhoneReply) XXX_Size() int {
  315. return xxx_messageInfo_GetPhoneReply.Size(m)
  316. }
  317. func (m *GetPhoneReply) XXX_DiscardUnknown() {
  318. xxx_messageInfo_GetPhoneReply.DiscardUnknown(m)
  319. }
  320. var xxx_messageInfo_GetPhoneReply proto.InternalMessageInfo
  321. func (m *GetPhoneReply) GetPhone() string {
  322. if m != nil {
  323. return m.Phone
  324. }
  325. return ""
  326. }
  327. func (m *GetPhoneReply) GetEmail() string {
  328. if m != nil {
  329. return m.Email
  330. }
  331. return ""
  332. }
  333. type SetPasswdRequest struct {
  334. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone"`
  335. Passwd string `protobuf:"bytes,1,opt,name=passwd,proto3" json:"passwd"`
  336. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  337. XXX_unrecognized []byte `json:"-"`
  338. XXX_sizecache int32 `json:"-"`
  339. }
  340. func (m *SetPasswdRequest) Reset() { *m = SetPasswdRequest{} }
  341. func (m *SetPasswdRequest) String() string { return proto.CompactTextString(m) }
  342. func (*SetPasswdRequest) ProtoMessage() {}
  343. func (*SetPasswdRequest) Descriptor() ([]byte, []int) {
  344. return fileDescriptor_116e343673f7ffaf, []int{8}
  345. }
  346. func (m *SetPasswdRequest) XXX_Unmarshal(b []byte) error {
  347. return xxx_messageInfo_SetPasswdRequest.Unmarshal(m, b)
  348. }
  349. func (m *SetPasswdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  350. return xxx_messageInfo_SetPasswdRequest.Marshal(b, m, deterministic)
  351. }
  352. func (m *SetPasswdRequest) XXX_Merge(src proto.Message) {
  353. xxx_messageInfo_SetPasswdRequest.Merge(m, src)
  354. }
  355. func (m *SetPasswdRequest) XXX_Size() int {
  356. return xxx_messageInfo_SetPasswdRequest.Size(m)
  357. }
  358. func (m *SetPasswdRequest) XXX_DiscardUnknown() {
  359. xxx_messageInfo_SetPasswdRequest.DiscardUnknown(m)
  360. }
  361. var xxx_messageInfo_SetPasswdRequest proto.InternalMessageInfo
  362. func (m *SetPasswdRequest) GetPhone() string {
  363. if m != nil {
  364. return m.Phone
  365. }
  366. return ""
  367. }
  368. func (m *SetPasswdRequest) GetPasswd() string {
  369. if m != nil {
  370. return m.Passwd
  371. }
  372. return ""
  373. }
  374. type SetPasswdReply struct {
  375. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  376. XXX_unrecognized []byte `json:"-"`
  377. XXX_sizecache int32 `json:"-"`
  378. }
  379. func (m *SetPasswdReply) Reset() { *m = SetPasswdReply{} }
  380. func (m *SetPasswdReply) String() string { return proto.CompactTextString(m) }
  381. func (*SetPasswdReply) ProtoMessage() {}
  382. func (*SetPasswdReply) Descriptor() ([]byte, []int) {
  383. return fileDescriptor_116e343673f7ffaf, []int{9}
  384. }
  385. func (m *SetPasswdReply) XXX_Unmarshal(b []byte) error {
  386. return xxx_messageInfo_SetPasswdReply.Unmarshal(m, b)
  387. }
  388. func (m *SetPasswdReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  389. return xxx_messageInfo_SetPasswdReply.Marshal(b, m, deterministic)
  390. }
  391. func (m *SetPasswdReply) XXX_Merge(src proto.Message) {
  392. xxx_messageInfo_SetPasswdReply.Merge(m, src)
  393. }
  394. func (m *SetPasswdReply) XXX_Size() int {
  395. return xxx_messageInfo_SetPasswdReply.Size(m)
  396. }
  397. func (m *SetPasswdReply) XXX_DiscardUnknown() {
  398. xxx_messageInfo_SetPasswdReply.DiscardUnknown(m)
  399. }
  400. var xxx_messageInfo_SetPasswdReply proto.InternalMessageInfo
  401. type EmailUpdateRequest struct {
  402. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  403. Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email"`
  404. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  405. XXX_unrecognized []byte `json:"-"`
  406. XXX_sizecache int32 `json:"-"`
  407. }
  408. func (m *EmailUpdateRequest) Reset() { *m = EmailUpdateRequest{} }
  409. func (m *EmailUpdateRequest) String() string { return proto.CompactTextString(m) }
  410. func (*EmailUpdateRequest) ProtoMessage() {}
  411. func (*EmailUpdateRequest) Descriptor() ([]byte, []int) {
  412. return fileDescriptor_116e343673f7ffaf, []int{10}
  413. }
  414. func (m *EmailUpdateRequest) XXX_Unmarshal(b []byte) error {
  415. return xxx_messageInfo_EmailUpdateRequest.Unmarshal(m, b)
  416. }
  417. func (m *EmailUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  418. return xxx_messageInfo_EmailUpdateRequest.Marshal(b, m, deterministic)
  419. }
  420. func (m *EmailUpdateRequest) XXX_Merge(src proto.Message) {
  421. xxx_messageInfo_EmailUpdateRequest.Merge(m, src)
  422. }
  423. func (m *EmailUpdateRequest) XXX_Size() int {
  424. return xxx_messageInfo_EmailUpdateRequest.Size(m)
  425. }
  426. func (m *EmailUpdateRequest) XXX_DiscardUnknown() {
  427. xxx_messageInfo_EmailUpdateRequest.DiscardUnknown(m)
  428. }
  429. var xxx_messageInfo_EmailUpdateRequest proto.InternalMessageInfo
  430. func (m *EmailUpdateRequest) GetId() int64 {
  431. if m != nil {
  432. return m.Id
  433. }
  434. return 0
  435. }
  436. func (m *EmailUpdateRequest) GetEmail() string {
  437. if m != nil {
  438. return m.Email
  439. }
  440. return ""
  441. }
  442. type EmailUpdateReply struct {
  443. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  444. XXX_unrecognized []byte `json:"-"`
  445. XXX_sizecache int32 `json:"-"`
  446. }
  447. func (m *EmailUpdateReply) Reset() { *m = EmailUpdateReply{} }
  448. func (m *EmailUpdateReply) String() string { return proto.CompactTextString(m) }
  449. func (*EmailUpdateReply) ProtoMessage() {}
  450. func (*EmailUpdateReply) Descriptor() ([]byte, []int) {
  451. return fileDescriptor_116e343673f7ffaf, []int{11}
  452. }
  453. func (m *EmailUpdateReply) XXX_Unmarshal(b []byte) error {
  454. return xxx_messageInfo_EmailUpdateReply.Unmarshal(m, b)
  455. }
  456. func (m *EmailUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  457. return xxx_messageInfo_EmailUpdateReply.Marshal(b, m, deterministic)
  458. }
  459. func (m *EmailUpdateReply) XXX_Merge(src proto.Message) {
  460. xxx_messageInfo_EmailUpdateReply.Merge(m, src)
  461. }
  462. func (m *EmailUpdateReply) XXX_Size() int {
  463. return xxx_messageInfo_EmailUpdateReply.Size(m)
  464. }
  465. func (m *EmailUpdateReply) XXX_DiscardUnknown() {
  466. xxx_messageInfo_EmailUpdateReply.DiscardUnknown(m)
  467. }
  468. var xxx_messageInfo_EmailUpdateReply proto.InternalMessageInfo
  469. type EmailPrepareRequest struct {
  470. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  471. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password"`
  472. Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email"`
  473. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  474. XXX_unrecognized []byte `json:"-"`
  475. XXX_sizecache int32 `json:"-"`
  476. }
  477. func (m *EmailPrepareRequest) Reset() { *m = EmailPrepareRequest{} }
  478. func (m *EmailPrepareRequest) String() string { return proto.CompactTextString(m) }
  479. func (*EmailPrepareRequest) ProtoMessage() {}
  480. func (*EmailPrepareRequest) Descriptor() ([]byte, []int) {
  481. return fileDescriptor_116e343673f7ffaf, []int{12}
  482. }
  483. func (m *EmailPrepareRequest) XXX_Unmarshal(b []byte) error {
  484. return xxx_messageInfo_EmailPrepareRequest.Unmarshal(m, b)
  485. }
  486. func (m *EmailPrepareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  487. return xxx_messageInfo_EmailPrepareRequest.Marshal(b, m, deterministic)
  488. }
  489. func (m *EmailPrepareRequest) XXX_Merge(src proto.Message) {
  490. xxx_messageInfo_EmailPrepareRequest.Merge(m, src)
  491. }
  492. func (m *EmailPrepareRequest) XXX_Size() int {
  493. return xxx_messageInfo_EmailPrepareRequest.Size(m)
  494. }
  495. func (m *EmailPrepareRequest) XXX_DiscardUnknown() {
  496. xxx_messageInfo_EmailPrepareRequest.DiscardUnknown(m)
  497. }
  498. var xxx_messageInfo_EmailPrepareRequest proto.InternalMessageInfo
  499. func (m *EmailPrepareRequest) GetId() int64 {
  500. if m != nil {
  501. return m.Id
  502. }
  503. return 0
  504. }
  505. func (m *EmailPrepareRequest) GetPassword() string {
  506. if m != nil {
  507. return m.Password
  508. }
  509. return ""
  510. }
  511. func (m *EmailPrepareRequest) GetEmail() string {
  512. if m != nil {
  513. return m.Email
  514. }
  515. return ""
  516. }
  517. type EmailPrepareReply struct {
  518. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  519. XXX_unrecognized []byte `json:"-"`
  520. XXX_sizecache int32 `json:"-"`
  521. }
  522. func (m *EmailPrepareReply) Reset() { *m = EmailPrepareReply{} }
  523. func (m *EmailPrepareReply) String() string { return proto.CompactTextString(m) }
  524. func (*EmailPrepareReply) ProtoMessage() {}
  525. func (*EmailPrepareReply) Descriptor() ([]byte, []int) {
  526. return fileDescriptor_116e343673f7ffaf, []int{13}
  527. }
  528. func (m *EmailPrepareReply) XXX_Unmarshal(b []byte) error {
  529. return xxx_messageInfo_EmailPrepareReply.Unmarshal(m, b)
  530. }
  531. func (m *EmailPrepareReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  532. return xxx_messageInfo_EmailPrepareReply.Marshal(b, m, deterministic)
  533. }
  534. func (m *EmailPrepareReply) XXX_Merge(src proto.Message) {
  535. xxx_messageInfo_EmailPrepareReply.Merge(m, src)
  536. }
  537. func (m *EmailPrepareReply) XXX_Size() int {
  538. return xxx_messageInfo_EmailPrepareReply.Size(m)
  539. }
  540. func (m *EmailPrepareReply) XXX_DiscardUnknown() {
  541. xxx_messageInfo_EmailPrepareReply.DiscardUnknown(m)
  542. }
  543. var xxx_messageInfo_EmailPrepareReply proto.InternalMessageInfo
  544. type PhoneUpdateRequest struct {
  545. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  546. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone"`
  547. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  548. XXX_unrecognized []byte `json:"-"`
  549. XXX_sizecache int32 `json:"-"`
  550. }
  551. func (m *PhoneUpdateRequest) Reset() { *m = PhoneUpdateRequest{} }
  552. func (m *PhoneUpdateRequest) String() string { return proto.CompactTextString(m) }
  553. func (*PhoneUpdateRequest) ProtoMessage() {}
  554. func (*PhoneUpdateRequest) Descriptor() ([]byte, []int) {
  555. return fileDescriptor_116e343673f7ffaf, []int{14}
  556. }
  557. func (m *PhoneUpdateRequest) XXX_Unmarshal(b []byte) error {
  558. return xxx_messageInfo_PhoneUpdateRequest.Unmarshal(m, b)
  559. }
  560. func (m *PhoneUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  561. return xxx_messageInfo_PhoneUpdateRequest.Marshal(b, m, deterministic)
  562. }
  563. func (m *PhoneUpdateRequest) XXX_Merge(src proto.Message) {
  564. xxx_messageInfo_PhoneUpdateRequest.Merge(m, src)
  565. }
  566. func (m *PhoneUpdateRequest) XXX_Size() int {
  567. return xxx_messageInfo_PhoneUpdateRequest.Size(m)
  568. }
  569. func (m *PhoneUpdateRequest) XXX_DiscardUnknown() {
  570. xxx_messageInfo_PhoneUpdateRequest.DiscardUnknown(m)
  571. }
  572. var xxx_messageInfo_PhoneUpdateRequest proto.InternalMessageInfo
  573. func (m *PhoneUpdateRequest) GetId() int64 {
  574. if m != nil {
  575. return m.Id
  576. }
  577. return 0
  578. }
  579. func (m *PhoneUpdateRequest) GetPhone() string {
  580. if m != nil {
  581. return m.Phone
  582. }
  583. return ""
  584. }
  585. type PhoneUpdateReply struct {
  586. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  587. XXX_unrecognized []byte `json:"-"`
  588. XXX_sizecache int32 `json:"-"`
  589. }
  590. func (m *PhoneUpdateReply) Reset() { *m = PhoneUpdateReply{} }
  591. func (m *PhoneUpdateReply) String() string { return proto.CompactTextString(m) }
  592. func (*PhoneUpdateReply) ProtoMessage() {}
  593. func (*PhoneUpdateReply) Descriptor() ([]byte, []int) {
  594. return fileDescriptor_116e343673f7ffaf, []int{15}
  595. }
  596. func (m *PhoneUpdateReply) XXX_Unmarshal(b []byte) error {
  597. return xxx_messageInfo_PhoneUpdateReply.Unmarshal(m, b)
  598. }
  599. func (m *PhoneUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  600. return xxx_messageInfo_PhoneUpdateReply.Marshal(b, m, deterministic)
  601. }
  602. func (m *PhoneUpdateReply) XXX_Merge(src proto.Message) {
  603. xxx_messageInfo_PhoneUpdateReply.Merge(m, src)
  604. }
  605. func (m *PhoneUpdateReply) XXX_Size() int {
  606. return xxx_messageInfo_PhoneUpdateReply.Size(m)
  607. }
  608. func (m *PhoneUpdateReply) XXX_DiscardUnknown() {
  609. xxx_messageInfo_PhoneUpdateReply.DiscardUnknown(m)
  610. }
  611. var xxx_messageInfo_PhoneUpdateReply proto.InternalMessageInfo
  612. type UserInfoRequest struct {
  613. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  614. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  615. XXX_unrecognized []byte `json:"-"`
  616. XXX_sizecache int32 `json:"-"`
  617. }
  618. func (m *UserInfoRequest) Reset() { *m = UserInfoRequest{} }
  619. func (m *UserInfoRequest) String() string { return proto.CompactTextString(m) }
  620. func (*UserInfoRequest) ProtoMessage() {}
  621. func (*UserInfoRequest) Descriptor() ([]byte, []int) {
  622. return fileDescriptor_116e343673f7ffaf, []int{16}
  623. }
  624. func (m *UserInfoRequest) XXX_Unmarshal(b []byte) error {
  625. return xxx_messageInfo_UserInfoRequest.Unmarshal(m, b)
  626. }
  627. func (m *UserInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  628. return xxx_messageInfo_UserInfoRequest.Marshal(b, m, deterministic)
  629. }
  630. func (m *UserInfoRequest) XXX_Merge(src proto.Message) {
  631. xxx_messageInfo_UserInfoRequest.Merge(m, src)
  632. }
  633. func (m *UserInfoRequest) XXX_Size() int {
  634. return xxx_messageInfo_UserInfoRequest.Size(m)
  635. }
  636. func (m *UserInfoRequest) XXX_DiscardUnknown() {
  637. xxx_messageInfo_UserInfoRequest.DiscardUnknown(m)
  638. }
  639. var xxx_messageInfo_UserInfoRequest proto.InternalMessageInfo
  640. func (m *UserInfoRequest) GetId() int64 {
  641. if m != nil {
  642. return m.Id
  643. }
  644. return 0
  645. }
  646. type UserInfoReply struct {
  647. Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email"`
  648. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone"`
  649. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  650. XXX_unrecognized []byte `json:"-"`
  651. XXX_sizecache int32 `json:"-"`
  652. }
  653. func (m *UserInfoReply) Reset() { *m = UserInfoReply{} }
  654. func (m *UserInfoReply) String() string { return proto.CompactTextString(m) }
  655. func (*UserInfoReply) ProtoMessage() {}
  656. func (*UserInfoReply) Descriptor() ([]byte, []int) {
  657. return fileDescriptor_116e343673f7ffaf, []int{17}
  658. }
  659. func (m *UserInfoReply) XXX_Unmarshal(b []byte) error {
  660. return xxx_messageInfo_UserInfoReply.Unmarshal(m, b)
  661. }
  662. func (m *UserInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  663. return xxx_messageInfo_UserInfoReply.Marshal(b, m, deterministic)
  664. }
  665. func (m *UserInfoReply) XXX_Merge(src proto.Message) {
  666. xxx_messageInfo_UserInfoReply.Merge(m, src)
  667. }
  668. func (m *UserInfoReply) XXX_Size() int {
  669. return xxx_messageInfo_UserInfoReply.Size(m)
  670. }
  671. func (m *UserInfoReply) XXX_DiscardUnknown() {
  672. xxx_messageInfo_UserInfoReply.DiscardUnknown(m)
  673. }
  674. var xxx_messageInfo_UserInfoReply proto.InternalMessageInfo
  675. func (m *UserInfoReply) GetEmail() string {
  676. if m != nil {
  677. return m.Email
  678. }
  679. return ""
  680. }
  681. func (m *UserInfoReply) GetPhone() string {
  682. if m != nil {
  683. return m.Phone
  684. }
  685. return ""
  686. }
  687. func init() {
  688. proto.RegisterType((*LoginRequest)(nil), "v1.LoginRequest")
  689. proto.RegisterType((*LoginReply)(nil), "v1.LoginReply")
  690. proto.RegisterType((*ChangePasswdRequest)(nil), "v1.ChangePasswdRequest")
  691. proto.RegisterType((*ChangePasswdReply)(nil), "v1.ChangePasswdReply")
  692. proto.RegisterType((*SetPhoneRequest)(nil), "v1.SetPhoneRequest")
  693. proto.RegisterType((*SetPhoneReply)(nil), "v1.SetPhoneReply")
  694. proto.RegisterType((*GetPhoneRequest)(nil), "v1.GetPhoneRequest")
  695. proto.RegisterType((*GetPhoneReply)(nil), "v1.GetPhoneReply")
  696. proto.RegisterType((*SetPasswdRequest)(nil), "v1.SetPasswdRequest")
  697. proto.RegisterType((*SetPasswdReply)(nil), "v1.SetPasswdReply")
  698. proto.RegisterType((*EmailUpdateRequest)(nil), "v1.EmailUpdateRequest")
  699. proto.RegisterType((*EmailUpdateReply)(nil), "v1.EmailUpdateReply")
  700. proto.RegisterType((*EmailPrepareRequest)(nil), "v1.EmailPrepareRequest")
  701. proto.RegisterType((*EmailPrepareReply)(nil), "v1.EmailPrepareReply")
  702. proto.RegisterType((*PhoneUpdateRequest)(nil), "v1.PhoneUpdateRequest")
  703. proto.RegisterType((*PhoneUpdateReply)(nil), "v1.PhoneUpdateReply")
  704. proto.RegisterType((*UserInfoRequest)(nil), "v1.UserInfoRequest")
  705. proto.RegisterType((*UserInfoReply)(nil), "v1.UserInfoReply")
  706. }
  707. func init() {
  708. proto.RegisterFile("user.proto", fileDescriptor_116e343673f7ffaf)
  709. }
  710. var fileDescriptor_116e343673f7ffaf = []byte{
  711. // 388 bytes of a gzipped FileDescriptorProto
  712. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xc1, 0xab, 0xd3, 0x40,
  713. 0x10, 0x87, 0x49, 0x62, 0xab, 0x0e, 0xb6, 0x49, 0x37, 0x22, 0xc1, 0x93, 0xdd, 0x5e, 0xbc, 0xd4,
  714. 0x52, 0xbc, 0x29, 0x88, 0x28, 0x52, 0x44, 0xd1, 0x12, 0x29, 0xc2, 0xbb, 0x6d, 0xc9, 0xbe, 0xb4,
  715. 0x90, 0xec, 0xee, 0xdb, 0xa4, 0x29, 0xfd, 0xef, 0x1f, 0xb3, 0x4d, 0xd2, 0x84, 0x26, 0xaf, 0xb7,
  716. 0x99, 0x21, 0xf3, 0xfd, 0x3e, 0x66, 0x5b, 0x80, 0x43, 0xc6, 0xf5, 0x07, 0xa5, 0x65, 0x2e, 0x89,
  717. 0x5d, 0x2c, 0xe9, 0x17, 0x78, 0xf5, 0x5b, 0xc6, 0x7b, 0x11, 0xf2, 0x87, 0x03, 0xcf, 0x72, 0x42,
  718. 0xe0, 0x19, 0x7e, 0x11, 0x58, 0xef, 0xac, 0xf7, 0x2f, 0x43, 0x53, 0x93, 0xb7, 0xf0, 0x42, 0xb1,
  719. 0x2c, 0x3b, 0x4a, 0x1d, 0x05, 0xb6, 0x99, 0xd7, 0x3d, 0xfd, 0x03, 0x50, 0xee, 0xab, 0xe4, 0x44,
  720. 0x3c, 0x70, 0x0e, 0xfb, 0xc8, 0x2c, 0x3b, 0x21, 0x96, 0x24, 0x80, 0xe7, 0x11, 0x2f, 0x78, 0x22,
  721. 0x95, 0x59, 0x1d, 0x84, 0x55, 0x4b, 0x5e, 0xc3, 0x40, 0xed, 0xa4, 0xe0, 0x81, 0x63, 0x90, 0xe7,
  722. 0x86, 0xfe, 0x02, 0xff, 0xfb, 0x8e, 0x89, 0x98, 0xaf, 0x31, 0x21, 0xaa, 0xb4, 0xae, 0xc1, 0x1e,
  723. 0x38, 0x32, 0xa9, 0x7c, 0xb0, 0xc4, 0x89, 0xe0, 0xc7, 0x12, 0x87, 0x25, 0xf5, 0x61, 0xd2, 0x86,
  724. 0xa9, 0xe4, 0x44, 0xff, 0x82, 0xfb, 0x8f, 0xe7, 0x6b, 0x4c, 0xeb, 0xa7, 0xd7, 0x72, 0x76, 0x43,
  725. 0x0e, 0xa7, 0x3c, 0x65, 0xfb, 0xa4, 0x52, 0x36, 0x0d, 0x75, 0x61, 0x74, 0x01, 0x62, 0xc2, 0x0c,
  726. 0xdc, 0xd5, 0xad, 0x04, 0xfa, 0x19, 0x46, 0xab, 0xe6, 0xd6, 0x25, 0xd2, 0xea, 0x8c, 0xb4, 0x9b,
  727. 0x91, 0x5f, 0xc1, 0xc3, 0xc8, 0xd6, 0x89, 0xba, 0x95, 0xdf, 0xc0, 0xd0, 0xbc, 0x55, 0x54, 0x62,
  728. 0xcb, 0x8e, 0x7a, 0x30, 0x6e, 0x10, 0xd0, 0xfa, 0x13, 0x90, 0x1f, 0x08, 0xdf, 0xa8, 0x88, 0xe5,
  729. 0xb5, 0xf8, 0x18, 0xec, 0xda, 0xdb, 0x3e, 0x1f, 0xa6, 0xc3, 0x87, 0x80, 0xd7, 0xda, 0x45, 0xde,
  730. 0x7f, 0xf0, 0xcd, 0x6c, 0xad, 0xb9, 0x62, 0xba, 0x17, 0xf8, 0xc4, 0x8f, 0xab, 0xe7, 0xde, 0x3e,
  731. 0x4c, 0xda, 0xe0, 0xd2, 0xde, 0xdc, 0xf2, 0xa6, 0xfd, 0xf5, 0x8d, 0xd0, 0xbe, 0xb5, 0x8b, 0xbc,
  732. 0x29, 0xb8, 0x9b, 0x8c, 0xeb, 0x9f, 0xe2, 0x5e, 0xf6, 0xc0, 0xf0, 0x05, 0x2f, 0x9f, 0x94, 0x2f,
  733. 0x78, 0xd6, 0xb5, 0x1a, 0xba, 0xdd, 0x99, 0xdf, 0x66, 0x77, 0xd3, 0x2c, 0x65, 0x3a, 0x9f, 0xc7,
  734. 0xb2, 0xe0, 0x5a, 0xa4, 0x5c, 0xe4, 0xf3, 0x94, 0x09, 0x16, 0x73, 0x2c, 0x17, 0x6a, 0xbb, 0x28,
  735. 0x96, 0xdb, 0xa1, 0xf9, 0x9f, 0x7e, 0x7c, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x67, 0x2e, 0xcf, 0x7f,
  736. 0xb5, 0x03, 0x00, 0x00,
  737. }