enterprise.pb.go 41 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: enterprise.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 RegisterRequest struct {
  20. // 公司名称
  21. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
  22. // 统一社会信用码
  23. SocialCode string `protobuf:"bytes,2,opt,name=social_code,json=socialCode,proto3" json:"social_code"`
  24. // 法定代表人
  25. LegalPerson string `protobuf:"bytes,3,opt,name=legal_person,json=legalPerson,proto3" json:"legal_person"`
  26. // 证件号
  27. IdCert string `protobuf:"bytes,4,opt,name=id_cert,json=idCert,proto3" json:"id_cert"`
  28. // 营业执照
  29. BusinessLicense []string `protobuf:"bytes,5,rep,name=business_license,json=businessLicense,proto3" json:"business_license"`
  30. // 用户名
  31. UserName string `protobuf:"bytes,6,opt,name=user_name,json=userName,proto3" json:"user_name"`
  32. // 密码
  33. Passwd string `protobuf:"bytes,7,opt,name=passwd,proto3" json:"passwd"`
  34. // 业务联系人
  35. BusinessContact string `protobuf:"bytes,8,opt,name=business_contact,json=businessContact,proto3" json:"business_contact"`
  36. // 业务联系人电话
  37. BusinessContactPhone string `protobuf:"bytes,9,opt,name=business_contact_phone,json=businessContactPhone,proto3" json:"business_contact_phone"`
  38. // 业务负责人
  39. BusinessResponsible string `protobuf:"bytes,10,opt,name=business_responsible,json=businessResponsible,proto3" json:"business_responsible"`
  40. // 业务负责人电话
  41. BusinessResponsiblePhone string `protobuf:"bytes,11,opt,name=business_responsible_phone,json=businessResponsiblePhone,proto3" json:"business_responsible_phone"`
  42. EmergencyContact string `protobuf:"bytes,12,opt,name=emergency_contact,json=emergencyContact,proto3" json:"emergency_contact"`
  43. EmergencyContactPhone string `protobuf:"bytes,13,opt,name=emergency_contact_phone,json=emergencyContactPhone,proto3" json:"emergency_contact_phone"`
  44. // 注册状态 0 待审核 1 通过 2 未通过
  45. Status int32 `protobuf:"varint,14,opt,name=status,proto3" json:"status"`
  46. Province string `protobuf:"bytes,15,opt,name=province,proto3" json:"province"`
  47. City string `protobuf:"bytes,16,opt,name=city,proto3" json:"city"`
  48. Zone string `protobuf:"bytes,17,opt,name=zone,proto3" json:"zone"`
  49. Vcode uint32 `protobuf:"varint,18,opt,name=vcode,proto3" json:"vcode"`
  50. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  51. XXX_unrecognized []byte `json:"-"`
  52. XXX_sizecache int32 `json:"-"`
  53. }
  54. func (m *RegisterRequest) Reset() { *m = RegisterRequest{} }
  55. func (m *RegisterRequest) String() string { return proto.CompactTextString(m) }
  56. func (*RegisterRequest) ProtoMessage() {}
  57. func (*RegisterRequest) Descriptor() ([]byte, []int) {
  58. return fileDescriptor_922055c08d0eda7a, []int{0}
  59. }
  60. func (m *RegisterRequest) XXX_Unmarshal(b []byte) error {
  61. return xxx_messageInfo_RegisterRequest.Unmarshal(m, b)
  62. }
  63. func (m *RegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  64. return xxx_messageInfo_RegisterRequest.Marshal(b, m, deterministic)
  65. }
  66. func (m *RegisterRequest) XXX_Merge(src proto.Message) {
  67. xxx_messageInfo_RegisterRequest.Merge(m, src)
  68. }
  69. func (m *RegisterRequest) XXX_Size() int {
  70. return xxx_messageInfo_RegisterRequest.Size(m)
  71. }
  72. func (m *RegisterRequest) XXX_DiscardUnknown() {
  73. xxx_messageInfo_RegisterRequest.DiscardUnknown(m)
  74. }
  75. var xxx_messageInfo_RegisterRequest proto.InternalMessageInfo
  76. func (m *RegisterRequest) GetName() string {
  77. if m != nil {
  78. return m.Name
  79. }
  80. return ""
  81. }
  82. func (m *RegisterRequest) GetSocialCode() string {
  83. if m != nil {
  84. return m.SocialCode
  85. }
  86. return ""
  87. }
  88. func (m *RegisterRequest) GetLegalPerson() string {
  89. if m != nil {
  90. return m.LegalPerson
  91. }
  92. return ""
  93. }
  94. func (m *RegisterRequest) GetIdCert() string {
  95. if m != nil {
  96. return m.IdCert
  97. }
  98. return ""
  99. }
  100. func (m *RegisterRequest) GetBusinessLicense() []string {
  101. if m != nil {
  102. return m.BusinessLicense
  103. }
  104. return nil
  105. }
  106. func (m *RegisterRequest) GetUserName() string {
  107. if m != nil {
  108. return m.UserName
  109. }
  110. return ""
  111. }
  112. func (m *RegisterRequest) GetPasswd() string {
  113. if m != nil {
  114. return m.Passwd
  115. }
  116. return ""
  117. }
  118. func (m *RegisterRequest) GetBusinessContact() string {
  119. if m != nil {
  120. return m.BusinessContact
  121. }
  122. return ""
  123. }
  124. func (m *RegisterRequest) GetBusinessContactPhone() string {
  125. if m != nil {
  126. return m.BusinessContactPhone
  127. }
  128. return ""
  129. }
  130. func (m *RegisterRequest) GetBusinessResponsible() string {
  131. if m != nil {
  132. return m.BusinessResponsible
  133. }
  134. return ""
  135. }
  136. func (m *RegisterRequest) GetBusinessResponsiblePhone() string {
  137. if m != nil {
  138. return m.BusinessResponsiblePhone
  139. }
  140. return ""
  141. }
  142. func (m *RegisterRequest) GetEmergencyContact() string {
  143. if m != nil {
  144. return m.EmergencyContact
  145. }
  146. return ""
  147. }
  148. func (m *RegisterRequest) GetEmergencyContactPhone() string {
  149. if m != nil {
  150. return m.EmergencyContactPhone
  151. }
  152. return ""
  153. }
  154. func (m *RegisterRequest) GetStatus() int32 {
  155. if m != nil {
  156. return m.Status
  157. }
  158. return 0
  159. }
  160. func (m *RegisterRequest) GetProvince() string {
  161. if m != nil {
  162. return m.Province
  163. }
  164. return ""
  165. }
  166. func (m *RegisterRequest) GetCity() string {
  167. if m != nil {
  168. return m.City
  169. }
  170. return ""
  171. }
  172. func (m *RegisterRequest) GetZone() string {
  173. if m != nil {
  174. return m.Zone
  175. }
  176. return ""
  177. }
  178. func (m *RegisterRequest) GetVcode() uint32 {
  179. if m != nil {
  180. return m.Vcode
  181. }
  182. return 0
  183. }
  184. type RegisterReply struct {
  185. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  186. XXX_unrecognized []byte `json:"-"`
  187. XXX_sizecache int32 `json:"-"`
  188. }
  189. func (m *RegisterReply) Reset() { *m = RegisterReply{} }
  190. func (m *RegisterReply) String() string { return proto.CompactTextString(m) }
  191. func (*RegisterReply) ProtoMessage() {}
  192. func (*RegisterReply) Descriptor() ([]byte, []int) {
  193. return fileDescriptor_922055c08d0eda7a, []int{1}
  194. }
  195. func (m *RegisterReply) XXX_Unmarshal(b []byte) error {
  196. return xxx_messageInfo_RegisterReply.Unmarshal(m, b)
  197. }
  198. func (m *RegisterReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  199. return xxx_messageInfo_RegisterReply.Marshal(b, m, deterministic)
  200. }
  201. func (m *RegisterReply) XXX_Merge(src proto.Message) {
  202. xxx_messageInfo_RegisterReply.Merge(m, src)
  203. }
  204. func (m *RegisterReply) XXX_Size() int {
  205. return xxx_messageInfo_RegisterReply.Size(m)
  206. }
  207. func (m *RegisterReply) XXX_DiscardUnknown() {
  208. xxx_messageInfo_RegisterReply.DiscardUnknown(m)
  209. }
  210. var xxx_messageInfo_RegisterReply proto.InternalMessageInfo
  211. type LoginRequest struct {
  212. User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user"`
  213. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password"`
  214. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  215. XXX_unrecognized []byte `json:"-"`
  216. XXX_sizecache int32 `json:"-"`
  217. }
  218. func (m *LoginRequest) Reset() { *m = LoginRequest{} }
  219. func (m *LoginRequest) String() string { return proto.CompactTextString(m) }
  220. func (*LoginRequest) ProtoMessage() {}
  221. func (*LoginRequest) Descriptor() ([]byte, []int) {
  222. return fileDescriptor_922055c08d0eda7a, []int{2}
  223. }
  224. func (m *LoginRequest) XXX_Unmarshal(b []byte) error {
  225. return xxx_messageInfo_LoginRequest.Unmarshal(m, b)
  226. }
  227. func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  228. return xxx_messageInfo_LoginRequest.Marshal(b, m, deterministic)
  229. }
  230. func (m *LoginRequest) XXX_Merge(src proto.Message) {
  231. xxx_messageInfo_LoginRequest.Merge(m, src)
  232. }
  233. func (m *LoginRequest) XXX_Size() int {
  234. return xxx_messageInfo_LoginRequest.Size(m)
  235. }
  236. func (m *LoginRequest) XXX_DiscardUnknown() {
  237. xxx_messageInfo_LoginRequest.DiscardUnknown(m)
  238. }
  239. var xxx_messageInfo_LoginRequest proto.InternalMessageInfo
  240. func (m *LoginRequest) GetUser() string {
  241. if m != nil {
  242. return m.User
  243. }
  244. return ""
  245. }
  246. func (m *LoginRequest) GetPassword() string {
  247. if m != nil {
  248. return m.Password
  249. }
  250. return ""
  251. }
  252. type LoginReply struct {
  253. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  254. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  255. XXX_unrecognized []byte `json:"-"`
  256. XXX_sizecache int32 `json:"-"`
  257. }
  258. func (m *LoginReply) Reset() { *m = LoginReply{} }
  259. func (m *LoginReply) String() string { return proto.CompactTextString(m) }
  260. func (*LoginReply) ProtoMessage() {}
  261. func (*LoginReply) Descriptor() ([]byte, []int) {
  262. return fileDescriptor_922055c08d0eda7a, []int{3}
  263. }
  264. func (m *LoginReply) XXX_Unmarshal(b []byte) error {
  265. return xxx_messageInfo_LoginReply.Unmarshal(m, b)
  266. }
  267. func (m *LoginReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  268. return xxx_messageInfo_LoginReply.Marshal(b, m, deterministic)
  269. }
  270. func (m *LoginReply) XXX_Merge(src proto.Message) {
  271. xxx_messageInfo_LoginReply.Merge(m, src)
  272. }
  273. func (m *LoginReply) XXX_Size() int {
  274. return xxx_messageInfo_LoginReply.Size(m)
  275. }
  276. func (m *LoginReply) XXX_DiscardUnknown() {
  277. xxx_messageInfo_LoginReply.DiscardUnknown(m)
  278. }
  279. var xxx_messageInfo_LoginReply proto.InternalMessageInfo
  280. func (m *LoginReply) GetUid() int64 {
  281. if m != nil {
  282. return m.Uid
  283. }
  284. return 0
  285. }
  286. type SetPasswdRequest struct {
  287. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone"`
  288. Passwd string `protobuf:"bytes,1,opt,name=passwd,proto3" json:"passwd"`
  289. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  290. XXX_unrecognized []byte `json:"-"`
  291. XXX_sizecache int32 `json:"-"`
  292. }
  293. func (m *SetPasswdRequest) Reset() { *m = SetPasswdRequest{} }
  294. func (m *SetPasswdRequest) String() string { return proto.CompactTextString(m) }
  295. func (*SetPasswdRequest) ProtoMessage() {}
  296. func (*SetPasswdRequest) Descriptor() ([]byte, []int) {
  297. return fileDescriptor_922055c08d0eda7a, []int{4}
  298. }
  299. func (m *SetPasswdRequest) XXX_Unmarshal(b []byte) error {
  300. return xxx_messageInfo_SetPasswdRequest.Unmarshal(m, b)
  301. }
  302. func (m *SetPasswdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  303. return xxx_messageInfo_SetPasswdRequest.Marshal(b, m, deterministic)
  304. }
  305. func (m *SetPasswdRequest) XXX_Merge(src proto.Message) {
  306. xxx_messageInfo_SetPasswdRequest.Merge(m, src)
  307. }
  308. func (m *SetPasswdRequest) XXX_Size() int {
  309. return xxx_messageInfo_SetPasswdRequest.Size(m)
  310. }
  311. func (m *SetPasswdRequest) XXX_DiscardUnknown() {
  312. xxx_messageInfo_SetPasswdRequest.DiscardUnknown(m)
  313. }
  314. var xxx_messageInfo_SetPasswdRequest proto.InternalMessageInfo
  315. func (m *SetPasswdRequest) GetPhone() string {
  316. if m != nil {
  317. return m.Phone
  318. }
  319. return ""
  320. }
  321. func (m *SetPasswdRequest) GetPasswd() string {
  322. if m != nil {
  323. return m.Passwd
  324. }
  325. return ""
  326. }
  327. type SetPasswdReply struct {
  328. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  329. XXX_unrecognized []byte `json:"-"`
  330. XXX_sizecache int32 `json:"-"`
  331. }
  332. func (m *SetPasswdReply) Reset() { *m = SetPasswdReply{} }
  333. func (m *SetPasswdReply) String() string { return proto.CompactTextString(m) }
  334. func (*SetPasswdReply) ProtoMessage() {}
  335. func (*SetPasswdReply) Descriptor() ([]byte, []int) {
  336. return fileDescriptor_922055c08d0eda7a, []int{5}
  337. }
  338. func (m *SetPasswdReply) XXX_Unmarshal(b []byte) error {
  339. return xxx_messageInfo_SetPasswdReply.Unmarshal(m, b)
  340. }
  341. func (m *SetPasswdReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  342. return xxx_messageInfo_SetPasswdReply.Marshal(b, m, deterministic)
  343. }
  344. func (m *SetPasswdReply) XXX_Merge(src proto.Message) {
  345. xxx_messageInfo_SetPasswdReply.Merge(m, src)
  346. }
  347. func (m *SetPasswdReply) XXX_Size() int {
  348. return xxx_messageInfo_SetPasswdReply.Size(m)
  349. }
  350. func (m *SetPasswdReply) XXX_DiscardUnknown() {
  351. xxx_messageInfo_SetPasswdReply.DiscardUnknown(m)
  352. }
  353. var xxx_messageInfo_SetPasswdReply proto.InternalMessageInfo
  354. type CompanyApproveStatusRequest struct {
  355. SocialCode string `protobuf:"bytes,1,opt,name=social_code,json=socialCode,proto3" json:"social_code"`
  356. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  357. XXX_unrecognized []byte `json:"-"`
  358. XXX_sizecache int32 `json:"-"`
  359. }
  360. func (m *CompanyApproveStatusRequest) Reset() { *m = CompanyApproveStatusRequest{} }
  361. func (m *CompanyApproveStatusRequest) String() string { return proto.CompactTextString(m) }
  362. func (*CompanyApproveStatusRequest) ProtoMessage() {}
  363. func (*CompanyApproveStatusRequest) Descriptor() ([]byte, []int) {
  364. return fileDescriptor_922055c08d0eda7a, []int{6}
  365. }
  366. func (m *CompanyApproveStatusRequest) XXX_Unmarshal(b []byte) error {
  367. return xxx_messageInfo_CompanyApproveStatusRequest.Unmarshal(m, b)
  368. }
  369. func (m *CompanyApproveStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  370. return xxx_messageInfo_CompanyApproveStatusRequest.Marshal(b, m, deterministic)
  371. }
  372. func (m *CompanyApproveStatusRequest) XXX_Merge(src proto.Message) {
  373. xxx_messageInfo_CompanyApproveStatusRequest.Merge(m, src)
  374. }
  375. func (m *CompanyApproveStatusRequest) XXX_Size() int {
  376. return xxx_messageInfo_CompanyApproveStatusRequest.Size(m)
  377. }
  378. func (m *CompanyApproveStatusRequest) XXX_DiscardUnknown() {
  379. xxx_messageInfo_CompanyApproveStatusRequest.DiscardUnknown(m)
  380. }
  381. var xxx_messageInfo_CompanyApproveStatusRequest proto.InternalMessageInfo
  382. func (m *CompanyApproveStatusRequest) GetSocialCode() string {
  383. if m != nil {
  384. return m.SocialCode
  385. }
  386. return ""
  387. }
  388. type CompanyApproveStatusReply struct {
  389. Feedback string `protobuf:"bytes,1,opt,name=feedback,proto3" json:"feedback"`
  390. Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status"`
  391. ApproveTime string `protobuf:"bytes,3,opt,name=approve_time,json=approveTime,proto3" json:"approve_time"`
  392. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  393. XXX_unrecognized []byte `json:"-"`
  394. XXX_sizecache int32 `json:"-"`
  395. }
  396. func (m *CompanyApproveStatusReply) Reset() { *m = CompanyApproveStatusReply{} }
  397. func (m *CompanyApproveStatusReply) String() string { return proto.CompactTextString(m) }
  398. func (*CompanyApproveStatusReply) ProtoMessage() {}
  399. func (*CompanyApproveStatusReply) Descriptor() ([]byte, []int) {
  400. return fileDescriptor_922055c08d0eda7a, []int{7}
  401. }
  402. func (m *CompanyApproveStatusReply) XXX_Unmarshal(b []byte) error {
  403. return xxx_messageInfo_CompanyApproveStatusReply.Unmarshal(m, b)
  404. }
  405. func (m *CompanyApproveStatusReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  406. return xxx_messageInfo_CompanyApproveStatusReply.Marshal(b, m, deterministic)
  407. }
  408. func (m *CompanyApproveStatusReply) XXX_Merge(src proto.Message) {
  409. xxx_messageInfo_CompanyApproveStatusReply.Merge(m, src)
  410. }
  411. func (m *CompanyApproveStatusReply) XXX_Size() int {
  412. return xxx_messageInfo_CompanyApproveStatusReply.Size(m)
  413. }
  414. func (m *CompanyApproveStatusReply) XXX_DiscardUnknown() {
  415. xxx_messageInfo_CompanyApproveStatusReply.DiscardUnknown(m)
  416. }
  417. var xxx_messageInfo_CompanyApproveStatusReply proto.InternalMessageInfo
  418. func (m *CompanyApproveStatusReply) GetFeedback() string {
  419. if m != nil {
  420. return m.Feedback
  421. }
  422. return ""
  423. }
  424. func (m *CompanyApproveStatusReply) GetStatus() int32 {
  425. if m != nil {
  426. return m.Status
  427. }
  428. return 0
  429. }
  430. func (m *CompanyApproveStatusReply) GetApproveTime() string {
  431. if m != nil {
  432. return m.ApproveTime
  433. }
  434. return ""
  435. }
  436. type ChangePasswdRequest struct {
  437. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  438. Old string `protobuf:"bytes,2,opt,name=old,proto3" json:"old"`
  439. New string `protobuf:"bytes,3,opt,name=new,proto3" json:"new"`
  440. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  441. XXX_unrecognized []byte `json:"-"`
  442. XXX_sizecache int32 `json:"-"`
  443. }
  444. func (m *ChangePasswdRequest) Reset() { *m = ChangePasswdRequest{} }
  445. func (m *ChangePasswdRequest) String() string { return proto.CompactTextString(m) }
  446. func (*ChangePasswdRequest) ProtoMessage() {}
  447. func (*ChangePasswdRequest) Descriptor() ([]byte, []int) {
  448. return fileDescriptor_922055c08d0eda7a, []int{8}
  449. }
  450. func (m *ChangePasswdRequest) XXX_Unmarshal(b []byte) error {
  451. return xxx_messageInfo_ChangePasswdRequest.Unmarshal(m, b)
  452. }
  453. func (m *ChangePasswdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  454. return xxx_messageInfo_ChangePasswdRequest.Marshal(b, m, deterministic)
  455. }
  456. func (m *ChangePasswdRequest) XXX_Merge(src proto.Message) {
  457. xxx_messageInfo_ChangePasswdRequest.Merge(m, src)
  458. }
  459. func (m *ChangePasswdRequest) XXX_Size() int {
  460. return xxx_messageInfo_ChangePasswdRequest.Size(m)
  461. }
  462. func (m *ChangePasswdRequest) XXX_DiscardUnknown() {
  463. xxx_messageInfo_ChangePasswdRequest.DiscardUnknown(m)
  464. }
  465. var xxx_messageInfo_ChangePasswdRequest proto.InternalMessageInfo
  466. func (m *ChangePasswdRequest) GetUid() int64 {
  467. if m != nil {
  468. return m.Uid
  469. }
  470. return 0
  471. }
  472. func (m *ChangePasswdRequest) GetOld() string {
  473. if m != nil {
  474. return m.Old
  475. }
  476. return ""
  477. }
  478. func (m *ChangePasswdRequest) GetNew() string {
  479. if m != nil {
  480. return m.New
  481. }
  482. return ""
  483. }
  484. type ChangePasswdReply struct {
  485. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  486. XXX_unrecognized []byte `json:"-"`
  487. XXX_sizecache int32 `json:"-"`
  488. }
  489. func (m *ChangePasswdReply) Reset() { *m = ChangePasswdReply{} }
  490. func (m *ChangePasswdReply) String() string { return proto.CompactTextString(m) }
  491. func (*ChangePasswdReply) ProtoMessage() {}
  492. func (*ChangePasswdReply) Descriptor() ([]byte, []int) {
  493. return fileDescriptor_922055c08d0eda7a, []int{9}
  494. }
  495. func (m *ChangePasswdReply) XXX_Unmarshal(b []byte) error {
  496. return xxx_messageInfo_ChangePasswdReply.Unmarshal(m, b)
  497. }
  498. func (m *ChangePasswdReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  499. return xxx_messageInfo_ChangePasswdReply.Marshal(b, m, deterministic)
  500. }
  501. func (m *ChangePasswdReply) XXX_Merge(src proto.Message) {
  502. xxx_messageInfo_ChangePasswdReply.Merge(m, src)
  503. }
  504. func (m *ChangePasswdReply) XXX_Size() int {
  505. return xxx_messageInfo_ChangePasswdReply.Size(m)
  506. }
  507. func (m *ChangePasswdReply) XXX_DiscardUnknown() {
  508. xxx_messageInfo_ChangePasswdReply.DiscardUnknown(m)
  509. }
  510. var xxx_messageInfo_ChangePasswdReply proto.InternalMessageInfo
  511. type PublicityRequest struct {
  512. DeviceCode int32 `protobuf:"varint,1,opt,name=device_code,json=deviceCode,proto3" json:"device_code"`
  513. Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider"`
  514. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  515. XXX_unrecognized []byte `json:"-"`
  516. XXX_sizecache int32 `json:"-"`
  517. }
  518. func (m *PublicityRequest) Reset() { *m = PublicityRequest{} }
  519. func (m *PublicityRequest) String() string { return proto.CompactTextString(m) }
  520. func (*PublicityRequest) ProtoMessage() {}
  521. func (*PublicityRequest) Descriptor() ([]byte, []int) {
  522. return fileDescriptor_922055c08d0eda7a, []int{10}
  523. }
  524. func (m *PublicityRequest) XXX_Unmarshal(b []byte) error {
  525. return xxx_messageInfo_PublicityRequest.Unmarshal(m, b)
  526. }
  527. func (m *PublicityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  528. return xxx_messageInfo_PublicityRequest.Marshal(b, m, deterministic)
  529. }
  530. func (m *PublicityRequest) XXX_Merge(src proto.Message) {
  531. xxx_messageInfo_PublicityRequest.Merge(m, src)
  532. }
  533. func (m *PublicityRequest) XXX_Size() int {
  534. return xxx_messageInfo_PublicityRequest.Size(m)
  535. }
  536. func (m *PublicityRequest) XXX_DiscardUnknown() {
  537. xxx_messageInfo_PublicityRequest.DiscardUnknown(m)
  538. }
  539. var xxx_messageInfo_PublicityRequest proto.InternalMessageInfo
  540. func (m *PublicityRequest) GetDeviceCode() int32 {
  541. if m != nil {
  542. return m.DeviceCode
  543. }
  544. return 0
  545. }
  546. func (m *PublicityRequest) GetProvider() string {
  547. if m != nil {
  548. return m.Provider
  549. }
  550. return ""
  551. }
  552. type PublicityDeviceTypeItem struct {
  553. TypeCode int32 `protobuf:"varint,1,opt,name=type_code,json=typeCode,proto3" json:"type_code"`
  554. TypeName string `protobuf:"bytes,2,opt,name=type_name,json=typeName,proto3" json:"type_name"`
  555. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  556. XXX_unrecognized []byte `json:"-"`
  557. XXX_sizecache int32 `json:"-"`
  558. }
  559. func (m *PublicityDeviceTypeItem) Reset() { *m = PublicityDeviceTypeItem{} }
  560. func (m *PublicityDeviceTypeItem) String() string { return proto.CompactTextString(m) }
  561. func (*PublicityDeviceTypeItem) ProtoMessage() {}
  562. func (*PublicityDeviceTypeItem) Descriptor() ([]byte, []int) {
  563. return fileDescriptor_922055c08d0eda7a, []int{11}
  564. }
  565. func (m *PublicityDeviceTypeItem) XXX_Unmarshal(b []byte) error {
  566. return xxx_messageInfo_PublicityDeviceTypeItem.Unmarshal(m, b)
  567. }
  568. func (m *PublicityDeviceTypeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  569. return xxx_messageInfo_PublicityDeviceTypeItem.Marshal(b, m, deterministic)
  570. }
  571. func (m *PublicityDeviceTypeItem) XXX_Merge(src proto.Message) {
  572. xxx_messageInfo_PublicityDeviceTypeItem.Merge(m, src)
  573. }
  574. func (m *PublicityDeviceTypeItem) XXX_Size() int {
  575. return xxx_messageInfo_PublicityDeviceTypeItem.Size(m)
  576. }
  577. func (m *PublicityDeviceTypeItem) XXX_DiscardUnknown() {
  578. xxx_messageInfo_PublicityDeviceTypeItem.DiscardUnknown(m)
  579. }
  580. var xxx_messageInfo_PublicityDeviceTypeItem proto.InternalMessageInfo
  581. func (m *PublicityDeviceTypeItem) GetTypeCode() int32 {
  582. if m != nil {
  583. return m.TypeCode
  584. }
  585. return 0
  586. }
  587. func (m *PublicityDeviceTypeItem) GetTypeName() string {
  588. if m != nil {
  589. return m.TypeName
  590. }
  591. return ""
  592. }
  593. type PublicityItem struct {
  594. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
  595. SocialCode string `protobuf:"bytes,2,opt,name=social_code,json=socialCode,proto3" json:"social_code"`
  596. Devices []*PublicityDeviceTypeItem `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices"`
  597. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  598. XXX_unrecognized []byte `json:"-"`
  599. XXX_sizecache int32 `json:"-"`
  600. }
  601. func (m *PublicityItem) Reset() { *m = PublicityItem{} }
  602. func (m *PublicityItem) String() string { return proto.CompactTextString(m) }
  603. func (*PublicityItem) ProtoMessage() {}
  604. func (*PublicityItem) Descriptor() ([]byte, []int) {
  605. return fileDescriptor_922055c08d0eda7a, []int{12}
  606. }
  607. func (m *PublicityItem) XXX_Unmarshal(b []byte) error {
  608. return xxx_messageInfo_PublicityItem.Unmarshal(m, b)
  609. }
  610. func (m *PublicityItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  611. return xxx_messageInfo_PublicityItem.Marshal(b, m, deterministic)
  612. }
  613. func (m *PublicityItem) XXX_Merge(src proto.Message) {
  614. xxx_messageInfo_PublicityItem.Merge(m, src)
  615. }
  616. func (m *PublicityItem) XXX_Size() int {
  617. return xxx_messageInfo_PublicityItem.Size(m)
  618. }
  619. func (m *PublicityItem) XXX_DiscardUnknown() {
  620. xxx_messageInfo_PublicityItem.DiscardUnknown(m)
  621. }
  622. var xxx_messageInfo_PublicityItem proto.InternalMessageInfo
  623. func (m *PublicityItem) GetName() string {
  624. if m != nil {
  625. return m.Name
  626. }
  627. return ""
  628. }
  629. func (m *PublicityItem) GetSocialCode() string {
  630. if m != nil {
  631. return m.SocialCode
  632. }
  633. return ""
  634. }
  635. func (m *PublicityItem) GetDevices() []*PublicityDeviceTypeItem {
  636. if m != nil {
  637. return m.Devices
  638. }
  639. return nil
  640. }
  641. type PublicityReply struct {
  642. List []*PublicityItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  643. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  644. XXX_unrecognized []byte `json:"-"`
  645. XXX_sizecache int32 `json:"-"`
  646. }
  647. func (m *PublicityReply) Reset() { *m = PublicityReply{} }
  648. func (m *PublicityReply) String() string { return proto.CompactTextString(m) }
  649. func (*PublicityReply) ProtoMessage() {}
  650. func (*PublicityReply) Descriptor() ([]byte, []int) {
  651. return fileDescriptor_922055c08d0eda7a, []int{13}
  652. }
  653. func (m *PublicityReply) XXX_Unmarshal(b []byte) error {
  654. return xxx_messageInfo_PublicityReply.Unmarshal(m, b)
  655. }
  656. func (m *PublicityReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  657. return xxx_messageInfo_PublicityReply.Marshal(b, m, deterministic)
  658. }
  659. func (m *PublicityReply) XXX_Merge(src proto.Message) {
  660. xxx_messageInfo_PublicityReply.Merge(m, src)
  661. }
  662. func (m *PublicityReply) XXX_Size() int {
  663. return xxx_messageInfo_PublicityReply.Size(m)
  664. }
  665. func (m *PublicityReply) XXX_DiscardUnknown() {
  666. xxx_messageInfo_PublicityReply.DiscardUnknown(m)
  667. }
  668. var xxx_messageInfo_PublicityReply proto.InternalMessageInfo
  669. func (m *PublicityReply) GetList() []*PublicityItem {
  670. if m != nil {
  671. return m.List
  672. }
  673. return nil
  674. }
  675. type EmailUpdateRequest struct {
  676. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  677. Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email"`
  678. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  679. XXX_unrecognized []byte `json:"-"`
  680. XXX_sizecache int32 `json:"-"`
  681. }
  682. func (m *EmailUpdateRequest) Reset() { *m = EmailUpdateRequest{} }
  683. func (m *EmailUpdateRequest) String() string { return proto.CompactTextString(m) }
  684. func (*EmailUpdateRequest) ProtoMessage() {}
  685. func (*EmailUpdateRequest) Descriptor() ([]byte, []int) {
  686. return fileDescriptor_922055c08d0eda7a, []int{14}
  687. }
  688. func (m *EmailUpdateRequest) XXX_Unmarshal(b []byte) error {
  689. return xxx_messageInfo_EmailUpdateRequest.Unmarshal(m, b)
  690. }
  691. func (m *EmailUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  692. return xxx_messageInfo_EmailUpdateRequest.Marshal(b, m, deterministic)
  693. }
  694. func (m *EmailUpdateRequest) XXX_Merge(src proto.Message) {
  695. xxx_messageInfo_EmailUpdateRequest.Merge(m, src)
  696. }
  697. func (m *EmailUpdateRequest) XXX_Size() int {
  698. return xxx_messageInfo_EmailUpdateRequest.Size(m)
  699. }
  700. func (m *EmailUpdateRequest) XXX_DiscardUnknown() {
  701. xxx_messageInfo_EmailUpdateRequest.DiscardUnknown(m)
  702. }
  703. var xxx_messageInfo_EmailUpdateRequest proto.InternalMessageInfo
  704. func (m *EmailUpdateRequest) GetId() int64 {
  705. if m != nil {
  706. return m.Id
  707. }
  708. return 0
  709. }
  710. func (m *EmailUpdateRequest) GetEmail() string {
  711. if m != nil {
  712. return m.Email
  713. }
  714. return ""
  715. }
  716. type EmailUpdateReply struct {
  717. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  718. XXX_unrecognized []byte `json:"-"`
  719. XXX_sizecache int32 `json:"-"`
  720. }
  721. func (m *EmailUpdateReply) Reset() { *m = EmailUpdateReply{} }
  722. func (m *EmailUpdateReply) String() string { return proto.CompactTextString(m) }
  723. func (*EmailUpdateReply) ProtoMessage() {}
  724. func (*EmailUpdateReply) Descriptor() ([]byte, []int) {
  725. return fileDescriptor_922055c08d0eda7a, []int{15}
  726. }
  727. func (m *EmailUpdateReply) XXX_Unmarshal(b []byte) error {
  728. return xxx_messageInfo_EmailUpdateReply.Unmarshal(m, b)
  729. }
  730. func (m *EmailUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  731. return xxx_messageInfo_EmailUpdateReply.Marshal(b, m, deterministic)
  732. }
  733. func (m *EmailUpdateReply) XXX_Merge(src proto.Message) {
  734. xxx_messageInfo_EmailUpdateReply.Merge(m, src)
  735. }
  736. func (m *EmailUpdateReply) XXX_Size() int {
  737. return xxx_messageInfo_EmailUpdateReply.Size(m)
  738. }
  739. func (m *EmailUpdateReply) XXX_DiscardUnknown() {
  740. xxx_messageInfo_EmailUpdateReply.DiscardUnknown(m)
  741. }
  742. var xxx_messageInfo_EmailUpdateReply proto.InternalMessageInfo
  743. type EmailPrepareRequest struct {
  744. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  745. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password"`
  746. Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email"`
  747. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  748. XXX_unrecognized []byte `json:"-"`
  749. XXX_sizecache int32 `json:"-"`
  750. }
  751. func (m *EmailPrepareRequest) Reset() { *m = EmailPrepareRequest{} }
  752. func (m *EmailPrepareRequest) String() string { return proto.CompactTextString(m) }
  753. func (*EmailPrepareRequest) ProtoMessage() {}
  754. func (*EmailPrepareRequest) Descriptor() ([]byte, []int) {
  755. return fileDescriptor_922055c08d0eda7a, []int{16}
  756. }
  757. func (m *EmailPrepareRequest) XXX_Unmarshal(b []byte) error {
  758. return xxx_messageInfo_EmailPrepareRequest.Unmarshal(m, b)
  759. }
  760. func (m *EmailPrepareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  761. return xxx_messageInfo_EmailPrepareRequest.Marshal(b, m, deterministic)
  762. }
  763. func (m *EmailPrepareRequest) XXX_Merge(src proto.Message) {
  764. xxx_messageInfo_EmailPrepareRequest.Merge(m, src)
  765. }
  766. func (m *EmailPrepareRequest) XXX_Size() int {
  767. return xxx_messageInfo_EmailPrepareRequest.Size(m)
  768. }
  769. func (m *EmailPrepareRequest) XXX_DiscardUnknown() {
  770. xxx_messageInfo_EmailPrepareRequest.DiscardUnknown(m)
  771. }
  772. var xxx_messageInfo_EmailPrepareRequest proto.InternalMessageInfo
  773. func (m *EmailPrepareRequest) GetId() int64 {
  774. if m != nil {
  775. return m.Id
  776. }
  777. return 0
  778. }
  779. func (m *EmailPrepareRequest) GetPassword() string {
  780. if m != nil {
  781. return m.Password
  782. }
  783. return ""
  784. }
  785. func (m *EmailPrepareRequest) GetEmail() string {
  786. if m != nil {
  787. return m.Email
  788. }
  789. return ""
  790. }
  791. type EmailPrepareReply struct {
  792. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  793. XXX_unrecognized []byte `json:"-"`
  794. XXX_sizecache int32 `json:"-"`
  795. }
  796. func (m *EmailPrepareReply) Reset() { *m = EmailPrepareReply{} }
  797. func (m *EmailPrepareReply) String() string { return proto.CompactTextString(m) }
  798. func (*EmailPrepareReply) ProtoMessage() {}
  799. func (*EmailPrepareReply) Descriptor() ([]byte, []int) {
  800. return fileDescriptor_922055c08d0eda7a, []int{17}
  801. }
  802. func (m *EmailPrepareReply) XXX_Unmarshal(b []byte) error {
  803. return xxx_messageInfo_EmailPrepareReply.Unmarshal(m, b)
  804. }
  805. func (m *EmailPrepareReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  806. return xxx_messageInfo_EmailPrepareReply.Marshal(b, m, deterministic)
  807. }
  808. func (m *EmailPrepareReply) XXX_Merge(src proto.Message) {
  809. xxx_messageInfo_EmailPrepareReply.Merge(m, src)
  810. }
  811. func (m *EmailPrepareReply) XXX_Size() int {
  812. return xxx_messageInfo_EmailPrepareReply.Size(m)
  813. }
  814. func (m *EmailPrepareReply) XXX_DiscardUnknown() {
  815. xxx_messageInfo_EmailPrepareReply.DiscardUnknown(m)
  816. }
  817. var xxx_messageInfo_EmailPrepareReply proto.InternalMessageInfo
  818. type PhoneUpdateRequest struct {
  819. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  820. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone"`
  821. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  822. XXX_unrecognized []byte `json:"-"`
  823. XXX_sizecache int32 `json:"-"`
  824. }
  825. func (m *PhoneUpdateRequest) Reset() { *m = PhoneUpdateRequest{} }
  826. func (m *PhoneUpdateRequest) String() string { return proto.CompactTextString(m) }
  827. func (*PhoneUpdateRequest) ProtoMessage() {}
  828. func (*PhoneUpdateRequest) Descriptor() ([]byte, []int) {
  829. return fileDescriptor_922055c08d0eda7a, []int{18}
  830. }
  831. func (m *PhoneUpdateRequest) XXX_Unmarshal(b []byte) error {
  832. return xxx_messageInfo_PhoneUpdateRequest.Unmarshal(m, b)
  833. }
  834. func (m *PhoneUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  835. return xxx_messageInfo_PhoneUpdateRequest.Marshal(b, m, deterministic)
  836. }
  837. func (m *PhoneUpdateRequest) XXX_Merge(src proto.Message) {
  838. xxx_messageInfo_PhoneUpdateRequest.Merge(m, src)
  839. }
  840. func (m *PhoneUpdateRequest) XXX_Size() int {
  841. return xxx_messageInfo_PhoneUpdateRequest.Size(m)
  842. }
  843. func (m *PhoneUpdateRequest) XXX_DiscardUnknown() {
  844. xxx_messageInfo_PhoneUpdateRequest.DiscardUnknown(m)
  845. }
  846. var xxx_messageInfo_PhoneUpdateRequest proto.InternalMessageInfo
  847. func (m *PhoneUpdateRequest) GetId() int64 {
  848. if m != nil {
  849. return m.Id
  850. }
  851. return 0
  852. }
  853. func (m *PhoneUpdateRequest) GetPhone() string {
  854. if m != nil {
  855. return m.Phone
  856. }
  857. return ""
  858. }
  859. type PhoneUpdateReply struct {
  860. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  861. XXX_unrecognized []byte `json:"-"`
  862. XXX_sizecache int32 `json:"-"`
  863. }
  864. func (m *PhoneUpdateReply) Reset() { *m = PhoneUpdateReply{} }
  865. func (m *PhoneUpdateReply) String() string { return proto.CompactTextString(m) }
  866. func (*PhoneUpdateReply) ProtoMessage() {}
  867. func (*PhoneUpdateReply) Descriptor() ([]byte, []int) {
  868. return fileDescriptor_922055c08d0eda7a, []int{19}
  869. }
  870. func (m *PhoneUpdateReply) XXX_Unmarshal(b []byte) error {
  871. return xxx_messageInfo_PhoneUpdateReply.Unmarshal(m, b)
  872. }
  873. func (m *PhoneUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  874. return xxx_messageInfo_PhoneUpdateReply.Marshal(b, m, deterministic)
  875. }
  876. func (m *PhoneUpdateReply) XXX_Merge(src proto.Message) {
  877. xxx_messageInfo_PhoneUpdateReply.Merge(m, src)
  878. }
  879. func (m *PhoneUpdateReply) XXX_Size() int {
  880. return xxx_messageInfo_PhoneUpdateReply.Size(m)
  881. }
  882. func (m *PhoneUpdateReply) XXX_DiscardUnknown() {
  883. xxx_messageInfo_PhoneUpdateReply.DiscardUnknown(m)
  884. }
  885. var xxx_messageInfo_PhoneUpdateReply proto.InternalMessageInfo
  886. type UserInfoRequest struct {
  887. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  888. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  889. XXX_unrecognized []byte `json:"-"`
  890. XXX_sizecache int32 `json:"-"`
  891. }
  892. func (m *UserInfoRequest) Reset() { *m = UserInfoRequest{} }
  893. func (m *UserInfoRequest) String() string { return proto.CompactTextString(m) }
  894. func (*UserInfoRequest) ProtoMessage() {}
  895. func (*UserInfoRequest) Descriptor() ([]byte, []int) {
  896. return fileDescriptor_922055c08d0eda7a, []int{20}
  897. }
  898. func (m *UserInfoRequest) XXX_Unmarshal(b []byte) error {
  899. return xxx_messageInfo_UserInfoRequest.Unmarshal(m, b)
  900. }
  901. func (m *UserInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  902. return xxx_messageInfo_UserInfoRequest.Marshal(b, m, deterministic)
  903. }
  904. func (m *UserInfoRequest) XXX_Merge(src proto.Message) {
  905. xxx_messageInfo_UserInfoRequest.Merge(m, src)
  906. }
  907. func (m *UserInfoRequest) XXX_Size() int {
  908. return xxx_messageInfo_UserInfoRequest.Size(m)
  909. }
  910. func (m *UserInfoRequest) XXX_DiscardUnknown() {
  911. xxx_messageInfo_UserInfoRequest.DiscardUnknown(m)
  912. }
  913. var xxx_messageInfo_UserInfoRequest proto.InternalMessageInfo
  914. func (m *UserInfoRequest) GetId() int64 {
  915. if m != nil {
  916. return m.Id
  917. }
  918. return 0
  919. }
  920. type UserInfoReply struct {
  921. Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email"`
  922. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone"`
  923. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  924. XXX_unrecognized []byte `json:"-"`
  925. XXX_sizecache int32 `json:"-"`
  926. }
  927. func (m *UserInfoReply) Reset() { *m = UserInfoReply{} }
  928. func (m *UserInfoReply) String() string { return proto.CompactTextString(m) }
  929. func (*UserInfoReply) ProtoMessage() {}
  930. func (*UserInfoReply) Descriptor() ([]byte, []int) {
  931. return fileDescriptor_922055c08d0eda7a, []int{21}
  932. }
  933. func (m *UserInfoReply) XXX_Unmarshal(b []byte) error {
  934. return xxx_messageInfo_UserInfoReply.Unmarshal(m, b)
  935. }
  936. func (m *UserInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  937. return xxx_messageInfo_UserInfoReply.Marshal(b, m, deterministic)
  938. }
  939. func (m *UserInfoReply) XXX_Merge(src proto.Message) {
  940. xxx_messageInfo_UserInfoReply.Merge(m, src)
  941. }
  942. func (m *UserInfoReply) XXX_Size() int {
  943. return xxx_messageInfo_UserInfoReply.Size(m)
  944. }
  945. func (m *UserInfoReply) XXX_DiscardUnknown() {
  946. xxx_messageInfo_UserInfoReply.DiscardUnknown(m)
  947. }
  948. var xxx_messageInfo_UserInfoReply proto.InternalMessageInfo
  949. func (m *UserInfoReply) GetEmail() string {
  950. if m != nil {
  951. return m.Email
  952. }
  953. return ""
  954. }
  955. func (m *UserInfoReply) GetPhone() string {
  956. if m != nil {
  957. return m.Phone
  958. }
  959. return ""
  960. }
  961. func init() {
  962. proto.RegisterType((*RegisterRequest)(nil), "v1.RegisterRequest")
  963. proto.RegisterType((*RegisterReply)(nil), "v1.RegisterReply")
  964. proto.RegisterType((*LoginRequest)(nil), "v1.LoginRequest")
  965. proto.RegisterType((*LoginReply)(nil), "v1.LoginReply")
  966. proto.RegisterType((*SetPasswdRequest)(nil), "v1.SetPasswdRequest")
  967. proto.RegisterType((*SetPasswdReply)(nil), "v1.SetPasswdReply")
  968. proto.RegisterType((*CompanyApproveStatusRequest)(nil), "v1.CompanyApproveStatusRequest")
  969. proto.RegisterType((*CompanyApproveStatusReply)(nil), "v1.CompanyApproveStatusReply")
  970. proto.RegisterType((*ChangePasswdRequest)(nil), "v1.ChangePasswdRequest")
  971. proto.RegisterType((*ChangePasswdReply)(nil), "v1.ChangePasswdReply")
  972. proto.RegisterType((*PublicityRequest)(nil), "v1.PublicityRequest")
  973. proto.RegisterType((*PublicityDeviceTypeItem)(nil), "v1.PublicityDeviceTypeItem")
  974. proto.RegisterType((*PublicityItem)(nil), "v1.PublicityItem")
  975. proto.RegisterType((*PublicityReply)(nil), "v1.PublicityReply")
  976. proto.RegisterType((*EmailUpdateRequest)(nil), "v1.EmailUpdateRequest")
  977. proto.RegisterType((*EmailUpdateReply)(nil), "v1.EmailUpdateReply")
  978. proto.RegisterType((*EmailPrepareRequest)(nil), "v1.EmailPrepareRequest")
  979. proto.RegisterType((*EmailPrepareReply)(nil), "v1.EmailPrepareReply")
  980. proto.RegisterType((*PhoneUpdateRequest)(nil), "v1.PhoneUpdateRequest")
  981. proto.RegisterType((*PhoneUpdateReply)(nil), "v1.PhoneUpdateReply")
  982. proto.RegisterType((*UserInfoRequest)(nil), "v1.UserInfoRequest")
  983. proto.RegisterType((*UserInfoReply)(nil), "v1.UserInfoReply")
  984. }
  985. func init() {
  986. proto.RegisterFile("enterprise.proto", fileDescriptor_922055c08d0eda7a)
  987. }
  988. var fileDescriptor_922055c08d0eda7a = []byte{
  989. // 821 bytes of a gzipped FileDescriptorProto
  990. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xdf, 0x6f, 0xe3, 0x44,
  991. 0x10, 0x56, 0x92, 0x26, 0x4d, 0xa7, 0x4d, 0xe3, 0x6c, 0x4a, 0x6b, 0x5a, 0x09, 0x52, 0x23, 0xa4,
  992. 0x20, 0x74, 0x3d, 0x95, 0x9f, 0xd2, 0x81, 0x10, 0x10, 0x78, 0x38, 0x71, 0x82, 0xc8, 0xbd, 0x13,
  993. 0x12, 0x2f, 0x91, 0x63, 0xcf, 0xe5, 0x56, 0xd8, 0xeb, 0x65, 0x77, 0x93, 0x53, 0xe0, 0x4f, 0xe0,
  994. 0x9f, 0x46, 0xb3, 0x6b, 0x3b, 0x76, 0xda, 0x82, 0xc4, 0xdb, 0xce, 0x37, 0xf3, 0x7d, 0x33, 0x9e,
  995. 0x99, 0x5d, 0x83, 0x87, 0xc2, 0xa0, 0x92, 0x8a, 0x6b, 0xbc, 0x91, 0x2a, 0x37, 0x39, 0x6b, 0x6f,
  996. 0x6e, 0x83, 0xbf, 0xbb, 0x30, 0x0c, 0x71, 0xc5, 0xb5, 0x41, 0x15, 0xe2, 0x1f, 0x6b, 0xd4, 0x86,
  997. 0x31, 0x38, 0x10, 0x51, 0x86, 0x7e, 0x6b, 0xd2, 0x9a, 0x1e, 0x85, 0xf6, 0xcc, 0xde, 0x87, 0x63,
  998. 0x9d, 0xc7, 0x3c, 0x4a, 0x17, 0x71, 0x9e, 0xa0, 0xdf, 0xb6, 0x2e, 0x70, 0xd0, 0x2c, 0x4f, 0x90,
  999. 0x5d, 0xc3, 0x49, 0x8a, 0xab, 0x28, 0x5d, 0x48, 0x54, 0x3a, 0x17, 0x7e, 0xc7, 0x46, 0x1c, 0x5b,
  1000. 0x6c, 0x6e, 0x21, 0x76, 0x01, 0x87, 0x3c, 0x59, 0xc4, 0xa8, 0x8c, 0x7f, 0x60, 0xbd, 0x3d, 0x9e,
  1001. 0xcc, 0x50, 0x19, 0xf6, 0x11, 0x78, 0xcb, 0xb5, 0xe6, 0x02, 0xb5, 0x5e, 0xa4, 0x3c, 0x46, 0xa1,
  1002. 0xd1, 0xef, 0x4e, 0x3a, 0xd3, 0xa3, 0x70, 0x58, 0xe2, 0x2f, 0x1c, 0xcc, 0xae, 0xe0, 0x68, 0xad,
  1003. 0x51, 0x2d, 0x6c, 0x81, 0x3d, 0xab, 0xd2, 0x27, 0xe0, 0x67, 0x2a, 0xf2, 0x1c, 0x7a, 0x32, 0xd2,
  1004. 0xfa, 0x6d, 0xe2, 0x1f, 0x3a, 0x7d, 0x67, 0x35, 0xf4, 0xe3, 0x5c, 0x98, 0x28, 0x36, 0x7e, 0xdf,
  1005. 0x46, 0x54, 0xfa, 0x33, 0x07, 0xb3, 0xcf, 0xe0, 0x7c, 0x3f, 0x74, 0x21, 0xdf, 0xe4, 0x02, 0xfd,
  1006. 0x23, 0x4b, 0x38, 0xdb, 0x23, 0xcc, 0xc9, 0xc7, 0x6e, 0xa1, 0xc2, 0x17, 0x0a, 0xb5, 0xcc, 0x85,
  1007. 0xe6, 0xcb, 0x14, 0x7d, 0xb0, 0x9c, 0x71, 0xe9, 0x0b, 0x77, 0x2e, 0xf6, 0x35, 0x5c, 0x3e, 0x44,
  1008. 0x29, 0x92, 0x1d, 0x5b, 0xa2, 0xff, 0x00, 0xd1, 0x25, 0xfc, 0x18, 0x46, 0x98, 0xa1, 0x5a, 0xa1,
  1009. 0x88, 0xb7, 0xd5, 0x27, 0x9d, 0x58, 0x92, 0x57, 0x39, 0xca, 0x6f, 0xfa, 0x02, 0x2e, 0xee, 0x05,
  1010. 0x17, 0x79, 0x06, 0x96, 0xf2, 0xce, 0x3e, 0xc5, 0x25, 0x39, 0x87, 0x9e, 0x36, 0x91, 0x59, 0x6b,
  1011. 0xff, 0x74, 0xd2, 0x9a, 0x76, 0xc3, 0xc2, 0x62, 0x97, 0xd0, 0x97, 0x2a, 0xdf, 0x70, 0x11, 0xa3,
  1012. 0x3f, 0x74, 0x23, 0x28, 0x6d, 0xda, 0x9d, 0x98, 0x9b, 0xad, 0xef, 0xb9, 0xdd, 0xa1, 0x33, 0x61,
  1013. 0x7f, 0x52, 0xb2, 0x91, 0xc3, 0xe8, 0xcc, 0xce, 0xa0, 0xbb, 0xb1, 0x9b, 0xc4, 0x26, 0xad, 0xe9,
  1014. 0x20, 0x74, 0x46, 0x30, 0x84, 0xc1, 0x6e, 0x19, 0x65, 0xba, 0x0d, 0xbe, 0x81, 0x93, 0x17, 0xf9,
  1015. 0x8a, 0x8b, 0xda, 0x6a, 0xd2, 0xb4, 0xcb, 0xd5, 0xa4, 0xb3, 0x2d, 0x87, 0xe6, 0x9c, 0xab, 0xa4,
  1016. 0xd8, 0xcb, 0xca, 0x0e, 0xde, 0x03, 0x28, 0xf8, 0x32, 0xdd, 0x32, 0x0f, 0x3a, 0x6b, 0x9e, 0x58,
  1017. 0x72, 0x27, 0xa4, 0x63, 0xf0, 0x2d, 0x78, 0x77, 0x68, 0xe6, 0x76, 0x4d, 0xca, 0x1c, 0x67, 0xd0,
  1018. 0x75, 0xcd, 0x71, 0x62, 0xce, 0xa8, 0xed, 0x56, 0xab, 0xbe, 0x5b, 0x81, 0x07, 0xa7, 0x35, 0x05,
  1019. 0x57, 0xf3, 0xd5, 0x2c, 0xcf, 0x64, 0x24, 0xb6, 0xdf, 0x49, 0xea, 0x0b, 0xde, 0xd9, 0xb6, 0x95,
  1020. 0xf2, 0x7b, 0x37, 0xa9, 0xb5, 0x7f, 0x93, 0x02, 0x05, 0xef, 0x3e, 0xcc, 0xa7, 0x4f, 0xb8, 0x84,
  1021. 0xfe, 0x6b, 0xc4, 0x64, 0x19, 0xc5, 0xbf, 0x17, 0xd4, 0xca, 0xae, 0xcd, 0xab, 0xdd, 0x98, 0xd7,
  1022. 0x35, 0x9c, 0x44, 0x4e, 0x69, 0x61, 0x78, 0x86, 0xe5, 0xd5, 0x2c, 0xb0, 0x97, 0x3c, 0xc3, 0xe0,
  1023. 0x27, 0x18, 0xcf, 0xde, 0x44, 0x62, 0x85, 0xcd, 0x56, 0xdc, 0x6b, 0x18, 0x21, 0x79, 0x5a, 0xf6,
  1024. 0x99, 0x8e, 0x84, 0x08, 0x7c, 0x5b, 0x88, 0xd2, 0x31, 0x18, 0xc3, 0xa8, 0x29, 0x46, 0x5d, 0xf9,
  1025. 0x05, 0xbc, 0xf9, 0x7a, 0x99, 0x72, 0xda, 0x88, 0x5a, 0x2b, 0x12, 0xdc, 0xf0, 0x18, 0x77, 0xad,
  1026. 0xe8, 0x86, 0xe0, 0x20, 0xfb, 0xa8, 0x94, 0x9b, 0x96, 0xa0, 0xaa, 0x46, 0x5b, 0xd8, 0xc1, 0x1d,
  1027. 0x5c, 0x54, 0x82, 0x3f, 0x58, 0xca, 0xcb, 0xad, 0xc4, 0xe7, 0x06, 0x33, 0x7a, 0x24, 0xcc, 0x56,
  1028. 0x36, 0x54, 0xfb, 0x04, 0x58, 0xcd, 0xd2, 0x69, 0x5f, 0x90, 0x42, 0x94, 0x00, 0x7a, 0x41, 0x82,
  1029. 0xbf, 0x60, 0x50, 0x89, 0x5a, 0xa9, 0xff, 0xf5, 0x16, 0x7e, 0x0e, 0x87, 0xee, 0x23, 0xb4, 0xdf,
  1030. 0x99, 0x74, 0xa6, 0xc7, 0x9f, 0x5c, 0xdd, 0x6c, 0x6e, 0x6f, 0x1e, 0xa9, 0x36, 0x2c, 0x63, 0x83,
  1031. 0x2f, 0xe1, 0xb4, 0xd6, 0x22, 0x9a, 0xf6, 0x87, 0x70, 0x90, 0x72, 0x6d, 0xfc, 0x96, 0x55, 0x19,
  1032. 0x35, 0x54, 0x2c, 0xd7, 0xba, 0x83, 0x67, 0xc0, 0x7e, 0xcc, 0x22, 0x9e, 0xbe, 0x92, 0x49, 0x64,
  1033. 0xb0, 0xec, 0xee, 0x29, 0xb4, 0xab, 0xd9, 0xb5, 0x79, 0x42, 0x7b, 0x8d, 0x14, 0x55, 0xee, 0xb5,
  1034. 0x35, 0x02, 0x06, 0x5e, 0x83, 0x4b, 0xb3, 0xfa, 0x15, 0xc6, 0x16, 0x9b, 0x2b, 0x94, 0x91, 0x7a,
  1035. 0x54, 0xf0, 0x5f, 0x2e, 0xde, 0x2e, 0x59, 0xa7, 0x9e, 0x6c, 0x0c, 0xa3, 0xa6, 0x30, 0x65, 0x7b,
  1036. 0x06, 0xcc, 0xbe, 0x37, 0xff, 0x59, 0xfd, 0xfd, 0x5b, 0x49, 0xd5, 0x37, 0xb8, 0xa4, 0x77, 0x0d,
  1037. 0xc3, 0x57, 0x1a, 0xd5, 0x73, 0xf1, 0x3a, 0x7f, 0x44, 0x2c, 0xf8, 0x0a, 0x06, 0xbb, 0x10, 0x6a,
  1038. 0x74, 0x55, 0x6e, 0xab, 0x56, 0xee, 0xc3, 0x39, 0xbf, 0xff, 0xe0, 0xb7, 0x6b, 0x9d, 0x45, 0xca,
  1039. 0x3c, 0xd9, 0xfd, 0x50, 0x9f, 0x64, 0x91, 0x88, 0x56, 0x98, 0xa1, 0x30, 0x4f, 0xe5, 0xf2, 0xe9,
  1040. 0xe6, 0x76, 0xd9, 0xb3, 0xbf, 0xd8, 0x4f, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x5d, 0x29, 0x9d,
  1041. 0x1a, 0x76, 0x07, 0x00, 0x00,
  1042. }