123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: user.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package v1
- import (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- math "math"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- type LoginRequest struct {
- User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user"`
- Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *LoginRequest) Reset() { *m = LoginRequest{} }
- func (m *LoginRequest) String() string { return proto.CompactTextString(m) }
- func (*LoginRequest) ProtoMessage() {}
- func (*LoginRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{0}
- }
- func (m *LoginRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LoginRequest.Unmarshal(m, b)
- }
- func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LoginRequest.Marshal(b, m, deterministic)
- }
- func (m *LoginRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LoginRequest.Merge(m, src)
- }
- func (m *LoginRequest) XXX_Size() int {
- return xxx_messageInfo_LoginRequest.Size(m)
- }
- func (m *LoginRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_LoginRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_LoginRequest proto.InternalMessageInfo
- func (m *LoginRequest) GetUser() string {
- if m != nil {
- return m.User
- }
- return ""
- }
- func (m *LoginRequest) GetPassword() string {
- if m != nil {
- return m.Password
- }
- return ""
- }
- type LoginReply struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
- Develop int32 `protobuf:"varint,2,opt,name=develop,proto3" json:"develop"`
- Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *LoginReply) Reset() { *m = LoginReply{} }
- func (m *LoginReply) String() string { return proto.CompactTextString(m) }
- func (*LoginReply) ProtoMessage() {}
- func (*LoginReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{1}
- }
- func (m *LoginReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LoginReply.Unmarshal(m, b)
- }
- func (m *LoginReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LoginReply.Marshal(b, m, deterministic)
- }
- func (m *LoginReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LoginReply.Merge(m, src)
- }
- func (m *LoginReply) XXX_Size() int {
- return xxx_messageInfo_LoginReply.Size(m)
- }
- func (m *LoginReply) XXX_DiscardUnknown() {
- xxx_messageInfo_LoginReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_LoginReply proto.InternalMessageInfo
- func (m *LoginReply) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *LoginReply) GetDevelop() int32 {
- if m != nil {
- return m.Develop
- }
- return 0
- }
- func (m *LoginReply) GetPhone() string {
- if m != nil {
- return m.Phone
- }
- return ""
- }
- type ChangePasswdRequest struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
- Old string `protobuf:"bytes,2,opt,name=old,proto3" json:"old"`
- New string `protobuf:"bytes,3,opt,name=new,proto3" json:"new"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ChangePasswdRequest) Reset() { *m = ChangePasswdRequest{} }
- func (m *ChangePasswdRequest) String() string { return proto.CompactTextString(m) }
- func (*ChangePasswdRequest) ProtoMessage() {}
- func (*ChangePasswdRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{2}
- }
- func (m *ChangePasswdRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ChangePasswdRequest.Unmarshal(m, b)
- }
- func (m *ChangePasswdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ChangePasswdRequest.Marshal(b, m, deterministic)
- }
- func (m *ChangePasswdRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ChangePasswdRequest.Merge(m, src)
- }
- func (m *ChangePasswdRequest) XXX_Size() int {
- return xxx_messageInfo_ChangePasswdRequest.Size(m)
- }
- func (m *ChangePasswdRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ChangePasswdRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_ChangePasswdRequest proto.InternalMessageInfo
- func (m *ChangePasswdRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *ChangePasswdRequest) GetOld() string {
- if m != nil {
- return m.Old
- }
- return ""
- }
- func (m *ChangePasswdRequest) GetNew() string {
- if m != nil {
- return m.New
- }
- return ""
- }
- type ChangePasswdReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ChangePasswdReply) Reset() { *m = ChangePasswdReply{} }
- func (m *ChangePasswdReply) String() string { return proto.CompactTextString(m) }
- func (*ChangePasswdReply) ProtoMessage() {}
- func (*ChangePasswdReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{3}
- }
- func (m *ChangePasswdReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ChangePasswdReply.Unmarshal(m, b)
- }
- func (m *ChangePasswdReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ChangePasswdReply.Marshal(b, m, deterministic)
- }
- func (m *ChangePasswdReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ChangePasswdReply.Merge(m, src)
- }
- func (m *ChangePasswdReply) XXX_Size() int {
- return xxx_messageInfo_ChangePasswdReply.Size(m)
- }
- func (m *ChangePasswdReply) XXX_DiscardUnknown() {
- xxx_messageInfo_ChangePasswdReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_ChangePasswdReply proto.InternalMessageInfo
- type SetPhoneRequest struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
- Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone"`
- Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *SetPhoneRequest) Reset() { *m = SetPhoneRequest{} }
- func (m *SetPhoneRequest) String() string { return proto.CompactTextString(m) }
- func (*SetPhoneRequest) ProtoMessage() {}
- func (*SetPhoneRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{4}
- }
- func (m *SetPhoneRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetPhoneRequest.Unmarshal(m, b)
- }
- func (m *SetPhoneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetPhoneRequest.Marshal(b, m, deterministic)
- }
- func (m *SetPhoneRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetPhoneRequest.Merge(m, src)
- }
- func (m *SetPhoneRequest) XXX_Size() int {
- return xxx_messageInfo_SetPhoneRequest.Size(m)
- }
- func (m *SetPhoneRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetPhoneRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_SetPhoneRequest proto.InternalMessageInfo
- func (m *SetPhoneRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *SetPhoneRequest) GetPhone() string {
- if m != nil {
- return m.Phone
- }
- return ""
- }
- func (m *SetPhoneRequest) GetEmail() string {
- if m != nil {
- return m.Email
- }
- return ""
- }
- type SetPhoneReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *SetPhoneReply) Reset() { *m = SetPhoneReply{} }
- func (m *SetPhoneReply) String() string { return proto.CompactTextString(m) }
- func (*SetPhoneReply) ProtoMessage() {}
- func (*SetPhoneReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{5}
- }
- func (m *SetPhoneReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetPhoneReply.Unmarshal(m, b)
- }
- func (m *SetPhoneReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetPhoneReply.Marshal(b, m, deterministic)
- }
- func (m *SetPhoneReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetPhoneReply.Merge(m, src)
- }
- func (m *SetPhoneReply) XXX_Size() int {
- return xxx_messageInfo_SetPhoneReply.Size(m)
- }
- func (m *SetPhoneReply) XXX_DiscardUnknown() {
- xxx_messageInfo_SetPhoneReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_SetPhoneReply proto.InternalMessageInfo
- type GetPhoneRequest struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetPhoneRequest) Reset() { *m = GetPhoneRequest{} }
- func (m *GetPhoneRequest) String() string { return proto.CompactTextString(m) }
- func (*GetPhoneRequest) ProtoMessage() {}
- func (*GetPhoneRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{6}
- }
- func (m *GetPhoneRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetPhoneRequest.Unmarshal(m, b)
- }
- func (m *GetPhoneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetPhoneRequest.Marshal(b, m, deterministic)
- }
- func (m *GetPhoneRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetPhoneRequest.Merge(m, src)
- }
- func (m *GetPhoneRequest) XXX_Size() int {
- return xxx_messageInfo_GetPhoneRequest.Size(m)
- }
- func (m *GetPhoneRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetPhoneRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetPhoneRequest proto.InternalMessageInfo
- func (m *GetPhoneRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- type GetPhoneReply struct {
- Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone"`
- Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetPhoneReply) Reset() { *m = GetPhoneReply{} }
- func (m *GetPhoneReply) String() string { return proto.CompactTextString(m) }
- func (*GetPhoneReply) ProtoMessage() {}
- func (*GetPhoneReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{7}
- }
- func (m *GetPhoneReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetPhoneReply.Unmarshal(m, b)
- }
- func (m *GetPhoneReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetPhoneReply.Marshal(b, m, deterministic)
- }
- func (m *GetPhoneReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetPhoneReply.Merge(m, src)
- }
- func (m *GetPhoneReply) XXX_Size() int {
- return xxx_messageInfo_GetPhoneReply.Size(m)
- }
- func (m *GetPhoneReply) XXX_DiscardUnknown() {
- xxx_messageInfo_GetPhoneReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetPhoneReply proto.InternalMessageInfo
- func (m *GetPhoneReply) GetPhone() string {
- if m != nil {
- return m.Phone
- }
- return ""
- }
- func (m *GetPhoneReply) GetEmail() string {
- if m != nil {
- return m.Email
- }
- return ""
- }
- type SetPasswdRequest struct {
- Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone"`
- Passwd string `protobuf:"bytes,1,opt,name=passwd,proto3" json:"passwd"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *SetPasswdRequest) Reset() { *m = SetPasswdRequest{} }
- func (m *SetPasswdRequest) String() string { return proto.CompactTextString(m) }
- func (*SetPasswdRequest) ProtoMessage() {}
- func (*SetPasswdRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{8}
- }
- func (m *SetPasswdRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetPasswdRequest.Unmarshal(m, b)
- }
- func (m *SetPasswdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetPasswdRequest.Marshal(b, m, deterministic)
- }
- func (m *SetPasswdRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetPasswdRequest.Merge(m, src)
- }
- func (m *SetPasswdRequest) XXX_Size() int {
- return xxx_messageInfo_SetPasswdRequest.Size(m)
- }
- func (m *SetPasswdRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetPasswdRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_SetPasswdRequest proto.InternalMessageInfo
- func (m *SetPasswdRequest) GetPhone() string {
- if m != nil {
- return m.Phone
- }
- return ""
- }
- func (m *SetPasswdRequest) GetPasswd() string {
- if m != nil {
- return m.Passwd
- }
- return ""
- }
- type SetPasswdReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *SetPasswdReply) Reset() { *m = SetPasswdReply{} }
- func (m *SetPasswdReply) String() string { return proto.CompactTextString(m) }
- func (*SetPasswdReply) ProtoMessage() {}
- func (*SetPasswdReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{9}
- }
- func (m *SetPasswdReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetPasswdReply.Unmarshal(m, b)
- }
- func (m *SetPasswdReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetPasswdReply.Marshal(b, m, deterministic)
- }
- func (m *SetPasswdReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetPasswdReply.Merge(m, src)
- }
- func (m *SetPasswdReply) XXX_Size() int {
- return xxx_messageInfo_SetPasswdReply.Size(m)
- }
- func (m *SetPasswdReply) XXX_DiscardUnknown() {
- xxx_messageInfo_SetPasswdReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_SetPasswdReply proto.InternalMessageInfo
- type EmailUpdateRequest struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *EmailUpdateRequest) Reset() { *m = EmailUpdateRequest{} }
- func (m *EmailUpdateRequest) String() string { return proto.CompactTextString(m) }
- func (*EmailUpdateRequest) ProtoMessage() {}
- func (*EmailUpdateRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{10}
- }
- func (m *EmailUpdateRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_EmailUpdateRequest.Unmarshal(m, b)
- }
- func (m *EmailUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_EmailUpdateRequest.Marshal(b, m, deterministic)
- }
- func (m *EmailUpdateRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EmailUpdateRequest.Merge(m, src)
- }
- func (m *EmailUpdateRequest) XXX_Size() int {
- return xxx_messageInfo_EmailUpdateRequest.Size(m)
- }
- func (m *EmailUpdateRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_EmailUpdateRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_EmailUpdateRequest proto.InternalMessageInfo
- func (m *EmailUpdateRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *EmailUpdateRequest) GetEmail() string {
- if m != nil {
- return m.Email
- }
- return ""
- }
- type EmailUpdateReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *EmailUpdateReply) Reset() { *m = EmailUpdateReply{} }
- func (m *EmailUpdateReply) String() string { return proto.CompactTextString(m) }
- func (*EmailUpdateReply) ProtoMessage() {}
- func (*EmailUpdateReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{11}
- }
- func (m *EmailUpdateReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_EmailUpdateReply.Unmarshal(m, b)
- }
- func (m *EmailUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_EmailUpdateReply.Marshal(b, m, deterministic)
- }
- func (m *EmailUpdateReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EmailUpdateReply.Merge(m, src)
- }
- func (m *EmailUpdateReply) XXX_Size() int {
- return xxx_messageInfo_EmailUpdateReply.Size(m)
- }
- func (m *EmailUpdateReply) XXX_DiscardUnknown() {
- xxx_messageInfo_EmailUpdateReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_EmailUpdateReply proto.InternalMessageInfo
- type EmailPrepareRequest struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password"`
- Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *EmailPrepareRequest) Reset() { *m = EmailPrepareRequest{} }
- func (m *EmailPrepareRequest) String() string { return proto.CompactTextString(m) }
- func (*EmailPrepareRequest) ProtoMessage() {}
- func (*EmailPrepareRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{12}
- }
- func (m *EmailPrepareRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_EmailPrepareRequest.Unmarshal(m, b)
- }
- func (m *EmailPrepareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_EmailPrepareRequest.Marshal(b, m, deterministic)
- }
- func (m *EmailPrepareRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EmailPrepareRequest.Merge(m, src)
- }
- func (m *EmailPrepareRequest) XXX_Size() int {
- return xxx_messageInfo_EmailPrepareRequest.Size(m)
- }
- func (m *EmailPrepareRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_EmailPrepareRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_EmailPrepareRequest proto.InternalMessageInfo
- func (m *EmailPrepareRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *EmailPrepareRequest) GetPassword() string {
- if m != nil {
- return m.Password
- }
- return ""
- }
- func (m *EmailPrepareRequest) GetEmail() string {
- if m != nil {
- return m.Email
- }
- return ""
- }
- type EmailPrepareReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *EmailPrepareReply) Reset() { *m = EmailPrepareReply{} }
- func (m *EmailPrepareReply) String() string { return proto.CompactTextString(m) }
- func (*EmailPrepareReply) ProtoMessage() {}
- func (*EmailPrepareReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{13}
- }
- func (m *EmailPrepareReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_EmailPrepareReply.Unmarshal(m, b)
- }
- func (m *EmailPrepareReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_EmailPrepareReply.Marshal(b, m, deterministic)
- }
- func (m *EmailPrepareReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EmailPrepareReply.Merge(m, src)
- }
- func (m *EmailPrepareReply) XXX_Size() int {
- return xxx_messageInfo_EmailPrepareReply.Size(m)
- }
- func (m *EmailPrepareReply) XXX_DiscardUnknown() {
- xxx_messageInfo_EmailPrepareReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_EmailPrepareReply proto.InternalMessageInfo
- type PhoneUpdateRequest struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *PhoneUpdateRequest) Reset() { *m = PhoneUpdateRequest{} }
- func (m *PhoneUpdateRequest) String() string { return proto.CompactTextString(m) }
- func (*PhoneUpdateRequest) ProtoMessage() {}
- func (*PhoneUpdateRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{14}
- }
- func (m *PhoneUpdateRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PhoneUpdateRequest.Unmarshal(m, b)
- }
- func (m *PhoneUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PhoneUpdateRequest.Marshal(b, m, deterministic)
- }
- func (m *PhoneUpdateRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PhoneUpdateRequest.Merge(m, src)
- }
- func (m *PhoneUpdateRequest) XXX_Size() int {
- return xxx_messageInfo_PhoneUpdateRequest.Size(m)
- }
- func (m *PhoneUpdateRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_PhoneUpdateRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_PhoneUpdateRequest proto.InternalMessageInfo
- func (m *PhoneUpdateRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *PhoneUpdateRequest) GetPhone() string {
- if m != nil {
- return m.Phone
- }
- return ""
- }
- type PhoneUpdateReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *PhoneUpdateReply) Reset() { *m = PhoneUpdateReply{} }
- func (m *PhoneUpdateReply) String() string { return proto.CompactTextString(m) }
- func (*PhoneUpdateReply) ProtoMessage() {}
- func (*PhoneUpdateReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{15}
- }
- func (m *PhoneUpdateReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PhoneUpdateReply.Unmarshal(m, b)
- }
- func (m *PhoneUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PhoneUpdateReply.Marshal(b, m, deterministic)
- }
- func (m *PhoneUpdateReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PhoneUpdateReply.Merge(m, src)
- }
- func (m *PhoneUpdateReply) XXX_Size() int {
- return xxx_messageInfo_PhoneUpdateReply.Size(m)
- }
- func (m *PhoneUpdateReply) XXX_DiscardUnknown() {
- xxx_messageInfo_PhoneUpdateReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_PhoneUpdateReply proto.InternalMessageInfo
- type UserInfoRequest struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *UserInfoRequest) Reset() { *m = UserInfoRequest{} }
- func (m *UserInfoRequest) String() string { return proto.CompactTextString(m) }
- func (*UserInfoRequest) ProtoMessage() {}
- func (*UserInfoRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{16}
- }
- func (m *UserInfoRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UserInfoRequest.Unmarshal(m, b)
- }
- func (m *UserInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UserInfoRequest.Marshal(b, m, deterministic)
- }
- func (m *UserInfoRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UserInfoRequest.Merge(m, src)
- }
- func (m *UserInfoRequest) XXX_Size() int {
- return xxx_messageInfo_UserInfoRequest.Size(m)
- }
- func (m *UserInfoRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_UserInfoRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_UserInfoRequest proto.InternalMessageInfo
- func (m *UserInfoRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- type UserInfoReply struct {
- Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email"`
- Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *UserInfoReply) Reset() { *m = UserInfoReply{} }
- func (m *UserInfoReply) String() string { return proto.CompactTextString(m) }
- func (*UserInfoReply) ProtoMessage() {}
- func (*UserInfoReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_116e343673f7ffaf, []int{17}
- }
- func (m *UserInfoReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UserInfoReply.Unmarshal(m, b)
- }
- func (m *UserInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UserInfoReply.Marshal(b, m, deterministic)
- }
- func (m *UserInfoReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UserInfoReply.Merge(m, src)
- }
- func (m *UserInfoReply) XXX_Size() int {
- return xxx_messageInfo_UserInfoReply.Size(m)
- }
- func (m *UserInfoReply) XXX_DiscardUnknown() {
- xxx_messageInfo_UserInfoReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_UserInfoReply proto.InternalMessageInfo
- func (m *UserInfoReply) GetEmail() string {
- if m != nil {
- return m.Email
- }
- return ""
- }
- func (m *UserInfoReply) GetPhone() string {
- if m != nil {
- return m.Phone
- }
- return ""
- }
- func init() {
- proto.RegisterType((*LoginRequest)(nil), "v1.LoginRequest")
- proto.RegisterType((*LoginReply)(nil), "v1.LoginReply")
- proto.RegisterType((*ChangePasswdRequest)(nil), "v1.ChangePasswdRequest")
- proto.RegisterType((*ChangePasswdReply)(nil), "v1.ChangePasswdReply")
- proto.RegisterType((*SetPhoneRequest)(nil), "v1.SetPhoneRequest")
- proto.RegisterType((*SetPhoneReply)(nil), "v1.SetPhoneReply")
- proto.RegisterType((*GetPhoneRequest)(nil), "v1.GetPhoneRequest")
- proto.RegisterType((*GetPhoneReply)(nil), "v1.GetPhoneReply")
- proto.RegisterType((*SetPasswdRequest)(nil), "v1.SetPasswdRequest")
- proto.RegisterType((*SetPasswdReply)(nil), "v1.SetPasswdReply")
- proto.RegisterType((*EmailUpdateRequest)(nil), "v1.EmailUpdateRequest")
- proto.RegisterType((*EmailUpdateReply)(nil), "v1.EmailUpdateReply")
- proto.RegisterType((*EmailPrepareRequest)(nil), "v1.EmailPrepareRequest")
- proto.RegisterType((*EmailPrepareReply)(nil), "v1.EmailPrepareReply")
- proto.RegisterType((*PhoneUpdateRequest)(nil), "v1.PhoneUpdateRequest")
- proto.RegisterType((*PhoneUpdateReply)(nil), "v1.PhoneUpdateReply")
- proto.RegisterType((*UserInfoRequest)(nil), "v1.UserInfoRequest")
- proto.RegisterType((*UserInfoReply)(nil), "v1.UserInfoReply")
- }
- func init() {
- proto.RegisterFile("user.proto", fileDescriptor_116e343673f7ffaf)
- }
- var fileDescriptor_116e343673f7ffaf = []byte{
- // 388 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xc1, 0xab, 0xd3, 0x40,
- 0x10, 0x87, 0x49, 0x62, 0xab, 0x0e, 0xb6, 0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