1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.34.2
- // protoc v4.25.3
- // source: user/v2/user.proto
- package v2
- import (
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- _ "google.golang.org/genproto/googleapis/api/annotations"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type SignInResponse_Location_PointType int32
- const (
- // 未知
- SignInResponse_Location_UNKNOWN SignInResponse_Location_PointType = 0
- // GPS
- SignInResponse_Location_GPS SignInResponse_Location_PointType = 1
- // WIFI
- SignInResponse_Location_WIFI SignInResponse_Location_PointType = 2
- // 基站
- SignInResponse_Location_CELL SignInResponse_Location_PointType = 3
- // IP
- SignInResponse_Location_IP SignInResponse_Location_PointType = 4
- )
- // Enum value maps for SignInResponse_Location_PointType.
- var (
- SignInResponse_Location_PointType_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "GPS",
- 2: "WIFI",
- 3: "CELL",
- 4: "IP",
- }
- SignInResponse_Location_PointType_value = map[string]int32{
- "UNKNOWN": 0,
- "GPS": 1,
- "WIFI": 2,
- "CELL": 3,
- "IP": 4,
- }
- )
- func (x SignInResponse_Location_PointType) Enum() *SignInResponse_Location_PointType {
- p := new(SignInResponse_Location_PointType)
- *p = x
- return p
- }
- func (x SignInResponse_Location_PointType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (SignInResponse_Location_PointType) Descriptor() protoreflect.EnumDescriptor {
- return file_user_v2_user_proto_enumTypes[0].Descriptor()
- }
- func (SignInResponse_Location_PointType) Type() protoreflect.EnumType {
- return &file_user_v2_user_proto_enumTypes[0]
- }
- func (x SignInResponse_Location_PointType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use SignInResponse_Location_PointType.Descriptor instead.
- func (SignInResponse_Location_PointType) EnumDescriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{7, 1, 0}
- }
- // 重设密码 Request
- type ResetPasswordRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 旧密码
- OldPassword string `protobuf:"bytes,1,opt,name=oldPassword,proto3" json:"oldPassword,omitempty"`
- // 新密码
- NewPassword string `protobuf:"bytes,2,opt,name=newPassword,proto3" json:"newPassword,omitempty"`
- }
- func (x *ResetPasswordRequest) Reset() {
- *x = ResetPasswordRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ResetPasswordRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ResetPasswordRequest) ProtoMessage() {}
- func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.
- func (*ResetPasswordRequest) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{0}
- }
- func (x *ResetPasswordRequest) GetOldPassword() string {
- if x != nil {
- return x.OldPassword
- }
- return ""
- }
- func (x *ResetPasswordRequest) GetNewPassword() string {
- if x != nil {
- return x.NewPassword
- }
- return ""
- }
- // 重设密码 Response
- type ResetPasswordResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *ResetPasswordResponse) Reset() {
- *x = ResetPasswordResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ResetPasswordResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ResetPasswordResponse) ProtoMessage() {}
- func (x *ResetPasswordResponse) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.
- func (*ResetPasswordResponse) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{1}
- }
- // 找回密码 Request
- type RetrievePasswordRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 邮箱
- Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
- // 新密码
- Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
- }
- func (x *RetrievePasswordRequest) Reset() {
- *x = RetrievePasswordRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *RetrievePasswordRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RetrievePasswordRequest) ProtoMessage() {}
- func (x *RetrievePasswordRequest) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use RetrievePasswordRequest.ProtoReflect.Descriptor instead.
- func (*RetrievePasswordRequest) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{2}
- }
- func (x *RetrievePasswordRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
- }
- func (x *RetrievePasswordRequest) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
- }
- // 找回密码 Response
- type RetrievePasswordResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *RetrievePasswordResponse) Reset() {
- *x = RetrievePasswordResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *RetrievePasswordResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RetrievePasswordResponse) ProtoMessage() {}
- func (x *RetrievePasswordResponse) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use RetrievePasswordResponse.ProtoReflect.Descriptor instead.
- func (*RetrievePasswordResponse) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{3}
- }
- // 注销账号 Request
- type UnregisterRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 密码
- Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
- }
- func (x *UnregisterRequest) Reset() {
- *x = UnregisterRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UnregisterRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UnregisterRequest) ProtoMessage() {}
- func (x *UnregisterRequest) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use UnregisterRequest.ProtoReflect.Descriptor instead.
- func (*UnregisterRequest) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{4}
- }
- func (x *UnregisterRequest) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
- }
- // 注销账号 Response
- type UnregisterResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *UnregisterResponse) Reset() {
- *x = UnregisterResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UnregisterResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UnregisterResponse) ProtoMessage() {}
- func (x *UnregisterResponse) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use UnregisterResponse.ProtoReflect.Descriptor instead.
- func (*UnregisterResponse) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{5}
- }
- // 登录 Request
- type SignInRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 手机号
- Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"`
- // 国家码
- AreaCode string `protobuf:"bytes,2,opt,name=areaCode,proto3" json:"areaCode,omitempty"`
- // 密码
- Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
- // 邮箱
- Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
- // 验证码
- Captcha string `protobuf:"bytes,5,opt,name=captcha,proto3" json:"captcha,omitempty"`
- }
- func (x *SignInRequest) Reset() {
- *x = SignInRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SignInRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SignInRequest) ProtoMessage() {}
- func (x *SignInRequest) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.
- func (*SignInRequest) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{6}
- }
- func (x *SignInRequest) GetPhone() string {
- if x != nil {
- return x.Phone
- }
- return ""
- }
- func (x *SignInRequest) GetAreaCode() string {
- if x != nil {
- return x.AreaCode
- }
- return ""
- }
- func (x *SignInRequest) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
- }
- func (x *SignInRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
- }
- func (x *SignInRequest) GetCaptcha() string {
- if x != nil {
- return x.Captcha
- }
- return ""
- }
- // 登录 Response
- type SignInResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 当前登录的 AccessToken
- Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
- // 当前登录的用户
- Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
- // 绑定的小孩列表
- ChildList []*SignInResponse_Child `protobuf:"bytes,3,rep,name=childList,proto3" json:"childList,omitempty"`
- }
- func (x *SignInResponse) Reset() {
- *x = SignInResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SignInResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SignInResponse) ProtoMessage() {}
- func (x *SignInResponse) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.
- func (*SignInResponse) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{7}
- }
- func (x *SignInResponse) GetToken() string {
- if x != nil {
- return x.Token
- }
- return ""
- }
- func (x *SignInResponse) GetUid() string {
- if x != nil {
- return x.Uid
- }
- return ""
- }
- func (x *SignInResponse) GetChildList() []*SignInResponse_Child {
- if x != nil {
- return x.ChildList
- }
- return nil
- }
- type SignUpRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 手机号
- Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"`
- // 国家码
- AreaCode string `protobuf:"bytes,2,opt,name=areaCode,proto3" json:"areaCode,omitempty"`
- // 密码
- Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
- // 邮箱
- Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
- // 验证码
- Captcha string `protobuf:"bytes,5,opt,name=captcha,proto3" json:"captcha,omitempty"`
- }
- func (x *SignUpRequest) Reset() {
- *x = SignUpRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SignUpRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SignUpRequest) ProtoMessage() {}
- func (x *SignUpRequest) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SignUpRequest.ProtoReflect.Descriptor instead.
- func (*SignUpRequest) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{8}
- }
- func (x *SignUpRequest) GetPhone() string {
- if x != nil {
- return x.Phone
- }
- return ""
- }
- func (x *SignUpRequest) GetAreaCode() string {
- if x != nil {
- return x.AreaCode
- }
- return ""
- }
- func (x *SignUpRequest) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
- }
- func (x *SignUpRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
- }
- func (x *SignUpRequest) GetCaptcha() string {
- if x != nil {
- return x.Captcha
- }
- return ""
- }
- type SignUpResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *SignUpResponse) Reset() {
- *x = SignUpResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SignUpResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SignUpResponse) ProtoMessage() {}
- func (x *SignUpResponse) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SignUpResponse.ProtoReflect.Descriptor instead.
- func (*SignUpResponse) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{9}
- }
- type SMSCodeRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 手机号
- Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"`
- // 国家码
- AreaCode string `protobuf:"bytes,2,opt,name=areaCode,proto3" json:"areaCode,omitempty"`
- }
- func (x *SMSCodeRequest) Reset() {
- *x = SMSCodeRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SMSCodeRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SMSCodeRequest) ProtoMessage() {}
- func (x *SMSCodeRequest) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SMSCodeRequest.ProtoReflect.Descriptor instead.
- func (*SMSCodeRequest) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{10}
- }
- func (x *SMSCodeRequest) GetPhone() string {
- if x != nil {
- return x.Phone
- }
- return ""
- }
- func (x *SMSCodeRequest) GetAreaCode() string {
- if x != nil {
- return x.AreaCode
- }
- return ""
- }
- type SMSCodeResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *SMSCodeResponse) Reset() {
- *x = SMSCodeResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SMSCodeResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SMSCodeResponse) ProtoMessage() {}
- func (x *SMSCodeResponse) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SMSCodeResponse.ProtoReflect.Descriptor instead.
- func (*SMSCodeResponse) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{11}
- }
- type SignInResponse_Device struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Did int64 `protobuf:"varint,1,opt,name=did,proto3" json:"did,omitempty"` // 设备ID
- Battery int32 `protobuf:"varint,2,opt,name=battery,proto3" json:"battery,omitempty"` // 电池电量
- Signal int32 `protobuf:"varint,3,opt,name=signal,proto3" json:"signal,omitempty"` // 当前信号值
- SignalMax int32 `protobuf:"varint,4,opt,name=signalMax,proto3" json:"signalMax,omitempty"` // 最大信号值
- Ticket string `protobuf:"bytes,5,opt,name=ticket,proto3" json:"ticket,omitempty"`
- }
- func (x *SignInResponse_Device) Reset() {
- *x = SignInResponse_Device{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SignInResponse_Device) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SignInResponse_Device) ProtoMessage() {}
- func (x *SignInResponse_Device) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SignInResponse_Device.ProtoReflect.Descriptor instead.
- func (*SignInResponse_Device) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{7, 0}
- }
- func (x *SignInResponse_Device) GetDid() int64 {
- if x != nil {
- return x.Did
- }
- return 0
- }
- func (x *SignInResponse_Device) GetBattery() int32 {
- if x != nil {
- return x.Battery
- }
- return 0
- }
- func (x *SignInResponse_Device) GetSignal() int32 {
- if x != nil {
- return x.Signal
- }
- return 0
- }
- func (x *SignInResponse_Device) GetSignalMax() int32 {
- if x != nil {
- return x.SignalMax
- }
- return 0
- }
- func (x *SignInResponse_Device) GetTicket() string {
- if x != nil {
- return x.Ticket
- }
- return ""
- }
- type SignInResponse_Location struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Latitude string `protobuf:"bytes,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
- Longitude string `protobuf:"bytes,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
- PositionTime int64 `protobuf:"varint,3,opt,name=positionTime,proto3" json:"positionTime,omitempty"`
- Radius int32 `protobuf:"varint,4,opt,name=radius,proto3" json:"radius,omitempty"`
- PointType SignInResponse_Location_PointType `protobuf:"varint,5,opt,name=pointType,proto3,enum=api.user.v2.SignInResponse_Location_PointType" json:"pointType,omitempty"`
- }
- func (x *SignInResponse_Location) Reset() {
- *x = SignInResponse_Location{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SignInResponse_Location) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SignInResponse_Location) ProtoMessage() {}
- func (x *SignInResponse_Location) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SignInResponse_Location.ProtoReflect.Descriptor instead.
- func (*SignInResponse_Location) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{7, 1}
- }
- func (x *SignInResponse_Location) GetLatitude() string {
- if x != nil {
- return x.Latitude
- }
- return ""
- }
- func (x *SignInResponse_Location) GetLongitude() string {
- if x != nil {
- return x.Longitude
- }
- return ""
- }
- func (x *SignInResponse_Location) GetPositionTime() int64 {
- if x != nil {
- return x.PositionTime
- }
- return 0
- }
- func (x *SignInResponse_Location) GetRadius() int32 {
- if x != nil {
- return x.Radius
- }
- return 0
- }
- func (x *SignInResponse_Location) GetPointType() SignInResponse_Location_PointType {
- if x != nil {
- return x.PointType
- }
- return SignInResponse_Location_UNKNOWN
- }
- type SignInResponse_Child struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 小孩ID
- Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
- StepCount int32 `protobuf:"varint,2,opt,name=stepCount,proto3" json:"stepCount,omitempty"`
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
- Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
- // 绑定的设备
- Device *SignInResponse_Device `protobuf:"bytes,5,opt,name=device,proto3" json:"device,omitempty"`
- // 最后一次位置
- LastLocation *SignInResponse_Location `protobuf:"bytes,6,opt,name=lastLocation,proto3" json:"lastLocation,omitempty"`
- }
- func (x *SignInResponse_Child) Reset() {
- *x = SignInResponse_Child{}
- if protoimpl.UnsafeEnabled {
- mi := &file_user_v2_user_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SignInResponse_Child) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SignInResponse_Child) ProtoMessage() {}
- func (x *SignInResponse_Child) ProtoReflect() protoreflect.Message {
- mi := &file_user_v2_user_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SignInResponse_Child.ProtoReflect.Descriptor instead.
- func (*SignInResponse_Child) Descriptor() ([]byte, []int) {
- return file_user_v2_user_proto_rawDescGZIP(), []int{7, 2}
- }
- func (x *SignInResponse_Child) GetCid() string {
- if x != nil {
- return x.Cid
- }
- return ""
- }
- func (x *SignInResponse_Child) GetStepCount() int32 {
- if x != nil {
- return x.StepCount
- }
- return 0
- }
- func (x *SignInResponse_Child) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *SignInResponse_Child) GetAvatar() string {
- if x != nil {
- return x.Avatar
- }
- return ""
- }
- func (x *SignInResponse_Child) GetDevice() *SignInResponse_Device {
- if x != nil {
- return x.Device
- }
- return nil
- }
- func (x *SignInResponse_Child) GetLastLocation() *SignInResponse_Location {
- if x != nil {
- return x.LastLocation
- }
- return nil
- }
- var File_user_v2_user_proto protoreflect.FileDescriptor
- var file_user_v2_user_proto_rawDesc = []byte{
- 0x0a, 0x12, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76,
- 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e,
- 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
- 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
- 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x65,
- 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x12, 0x29, 0x0a, 0x0b, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b,
- 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x29, 0x0a, 0x0b, 0x6e,
- 0x65, 0x77, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x50, 0x61,
- 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x65, 0x74, 0x50,
- 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
- 0x5f, 0x0a, 0x17, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x50, 0x61, 0x73, 0x73, 0x77,
- 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x05, 0x65, 0x6d,
- 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x72, 0x04,
- 0x10, 0x01, 0x60, 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x23, 0x0a, 0x08, 0x70,
- 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa,
- 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64,
- 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x50, 0x61, 0x73, 0x73,
- 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x0a, 0x11,
- 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x23, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x70, 0x61,
- 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69,
- 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc9, 0x01, 0x0a,
- 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a,
- 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x14, 0xfa,
- 0x42, 0x11, 0x72, 0x0f, 0x32, 0x0d, 0x5e, 0x31, 0x5b, 0x33, 0x2d, 0x39, 0x5d, 0x5c, 0x64, 0x7b,
- 0x39, 0x7d, 0x24, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x23, 0x0a, 0x08, 0x61, 0x72,
- 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42,
- 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x61, 0x72, 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x12,
- 0x23, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73,
- 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1f, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x09, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x72, 0x04, 0x10, 0x01, 0x60, 0x01, 0x52, 0x05,
- 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x21, 0x0a, 0x07, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x04, 0x52,
- 0x07, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x22, 0xfa, 0x05, 0x0a, 0x0e, 0x53, 0x69, 0x67,
- 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74,
- 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65,
- 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
- 0x75, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x09, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x4c, 0x69, 0x73, 0x74,
- 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65,
- 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x09, 0x63, 0x68, 0x69, 0x6c, 0x64,
- 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x82, 0x01, 0x0a, 0x06, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12,
- 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x64, 0x69,
- 0x64, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x07, 0x62, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73,
- 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x69, 0x67,
- 0x6e, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4d, 0x61, 0x78,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4d, 0x61,
- 0x78, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x1a, 0x8d, 0x02, 0x0a, 0x08, 0x4c, 0x6f,
- 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75,
- 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75,
- 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65,
- 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
- 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x4c, 0x0a, 0x09,
- 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69,
- 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c, 0x6f, 0x63,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52,
- 0x09, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3d, 0x0a, 0x09, 0x50, 0x6f,
- 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
- 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x50, 0x53, 0x10, 0x01, 0x12, 0x08, 0x0a,
- 0x04, 0x57, 0x49, 0x46, 0x49, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x45, 0x4c, 0x4c, 0x10,
- 0x03, 0x12, 0x06, 0x0a, 0x02, 0x49, 0x50, 0x10, 0x04, 0x1a, 0xe9, 0x01, 0x0a, 0x05, 0x43, 0x68,
- 0x69, 0x6c, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x65, 0x70, 0x43, 0x6f, 0x75,
- 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x74, 0x65, 0x70, 0x43, 0x6f,
- 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61,
- 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12,
- 0x3a, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69,
- 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x65, 0x76,
- 0x69, 0x63, 0x65, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x48, 0x0a, 0x0c, 0x6c,
- 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e,
- 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c,
- 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x63,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc9, 0x01, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x14, 0xfa, 0x42, 0x11, 0x72, 0x0f, 0x32, 0x0d, 0x5e,
- 0x31, 0x5b, 0x33, 0x2d, 0x39, 0x5d, 0x5c, 0x64, 0x7b, 0x39, 0x7d, 0x24, 0x52, 0x05, 0x70, 0x68,
- 0x6f, 0x6e, 0x65, 0x12, 0x23, 0x0a, 0x08, 0x61, 0x72, 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08,
- 0x61, 0x72, 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73,
- 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72,
- 0x02, 0x10, 0x01, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1f, 0x0a,
- 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xfa, 0x42,
- 0x06, 0x72, 0x04, 0x10, 0x01, 0x60, 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x21,
- 0x0a, 0x07, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42,
- 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x04, 0x52, 0x07, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68,
- 0x61, 0x22, 0x10, 0x0a, 0x0e, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x22, 0x61, 0x0a, 0x0e, 0x53, 0x4d, 0x53, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x42, 0x14, 0xfa, 0x42, 0x11, 0x72, 0x0f, 0x32, 0x0d, 0x5e, 0x31, 0x5b,
- 0x33, 0x2d, 0x39, 0x5d, 0x5c, 0x64, 0x7b, 0x39, 0x7d, 0x24, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e,
- 0x65, 0x12, 0x23, 0x0a, 0x08, 0x61, 0x72, 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x61, 0x72,
- 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x53, 0x4d, 0x53, 0x43, 0x6f, 0x64,
- 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xed, 0x05, 0x0a, 0x04, 0x55, 0x73,
- 0x65, 0x72, 0x12, 0x6b, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x12, 0x1a, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49,
- 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75,
- 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x3a, 0x01, 0x2a,
- 0x22, 0x1d, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63,
- 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x2d, 0x69, 0x6e, 0x12,
- 0x6b, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70, 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72,
- 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d, 0x2f,
- 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f,
- 0x75, 0x73, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x2d, 0x75, 0x70, 0x12, 0x7a, 0x0a, 0x0a,
- 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73,
- 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73,
- 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4,
- 0x93, 0x02, 0x25, 0x3a, 0x01, 0x2a, 0x22, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x32,
- 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x75, 0x6e,
- 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x87, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x73,
- 0x65, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x50, 0x61,
- 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x65,
- 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x01, 0x2a, 0x22, 0x24, 0x2f, 0x61,
- 0x70, 0x69, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75,
- 0x73, 0x65, 0x72, 0x2f, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
- 0x72, 0x64, 0x12, 0x93, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x50,
- 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73,
- 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x50, 0x61,
- 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x74, 0x72,
- 0x69, 0x65, 0x76, 0x65, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22,
- 0x27, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74,
- 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x2d,
- 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x6f, 0x0a, 0x07, 0x53, 0x4d, 0x53, 0x43,
- 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76,
- 0x32, 0x2e, 0x53, 0x4d, 0x53, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53,
- 0x4d, 0x53, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29,
- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x01, 0x2a, 0x22, 0x1e, 0x2f, 0x61, 0x70, 0x69, 0x73,
- 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72,
- 0x2f, 0x73, 0x6d, 0x73, 0x2d, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x30, 0x0a, 0x0b, 0x61, 0x70, 0x69,
- 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x50, 0x01, 0x5a, 0x1f, 0x73, 0x69, 0x6b, 0x65,
- 0x79, 0x2f, 0x77, 0x33, 0x30, 0x33, 0x61, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x2f, 0x61, 0x70, 0x69,
- 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x3b, 0x76, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x33,
- }
- var (
- file_user_v2_user_proto_rawDescOnce sync.Once
- file_user_v2_user_proto_rawDescData = file_user_v2_user_proto_rawDesc
- )
- func file_user_v2_user_proto_rawDescGZIP() []byte {
- file_user_v2_user_proto_rawDescOnce.Do(func() {
- file_user_v2_user_proto_rawDescData = protoimpl.X.CompressGZIP(file_user_v2_user_proto_rawDescData)
- })
- return file_user_v2_user_proto_rawDescData
- }
- var file_user_v2_user_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
- var file_user_v2_user_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
- var file_user_v2_user_proto_goTypes = []any{
- (SignInResponse_Location_PointType)(0), // 0: api.user.v2.SignInResponse.Location.PointType
- (*ResetPasswordRequest)(nil), // 1: api.user.v2.ResetPasswordRequest
- (*ResetPasswordResponse)(nil), // 2: api.user.v2.ResetPasswordResponse
- (*RetrievePasswordRequest)(nil), // 3: api.user.v2.RetrievePasswordRequest
- (*RetrievePasswordResponse)(nil), // 4: api.user.v2.RetrievePasswordResponse
- (*UnregisterRequest)(nil), // 5: api.user.v2.UnregisterRequest
- (*UnregisterResponse)(nil), // 6: api.user.v2.UnregisterResponse
- (*SignInRequest)(nil), // 7: api.user.v2.SignInRequest
- (*SignInResponse)(nil), // 8: api.user.v2.SignInResponse
- (*SignUpRequest)(nil), // 9: api.user.v2.SignUpRequest
- (*SignUpResponse)(nil), // 10: api.user.v2.SignUpResponse
- (*SMSCodeRequest)(nil), // 11: api.user.v2.SMSCodeRequest
- (*SMSCodeResponse)(nil), // 12: api.user.v2.SMSCodeResponse
- (*SignInResponse_Device)(nil), // 13: api.user.v2.SignInResponse.Device
- (*SignInResponse_Location)(nil), // 14: api.user.v2.SignInResponse.Location
- (*SignInResponse_Child)(nil), // 15: api.user.v2.SignInResponse.Child
- }
- var file_user_v2_user_proto_depIdxs = []int32{
- 15, // 0: api.user.v2.SignInResponse.childList:type_name -> api.user.v2.SignInResponse.Child
- 0, // 1: api.user.v2.SignInResponse.Location.pointType:type_name -> api.user.v2.SignInResponse.Location.PointType
- 13, // 2: api.user.v2.SignInResponse.Child.device:type_name -> api.user.v2.SignInResponse.Device
- 14, // 3: api.user.v2.SignInResponse.Child.lastLocation:type_name -> api.user.v2.SignInResponse.Location
- 7, // 4: api.user.v2.User.SignIn:input_type -> api.user.v2.SignInRequest
- 9, // 5: api.user.v2.User.SignUp:input_type -> api.user.v2.SignUpRequest
- 5, // 6: api.user.v2.User.Unregister:input_type -> api.user.v2.UnregisterRequest
- 1, // 7: api.user.v2.User.ResetPassword:input_type -> api.user.v2.ResetPasswordRequest
- 3, // 8: api.user.v2.User.RetrievePassword:input_type -> api.user.v2.RetrievePasswordRequest
- 11, // 9: api.user.v2.User.SMSCode:input_type -> api.user.v2.SMSCodeRequest
- 8, // 10: api.user.v2.User.SignIn:output_type -> api.user.v2.SignInResponse
- 10, // 11: api.user.v2.User.SignUp:output_type -> api.user.v2.SignUpResponse
- 6, // 12: api.user.v2.User.Unregister:output_type -> api.user.v2.UnregisterResponse
- 2, // 13: api.user.v2.User.ResetPassword:output_type -> api.user.v2.ResetPasswordResponse
- 4, // 14: api.user.v2.User.RetrievePassword:output_type -> api.user.v2.RetrievePasswordResponse
- 12, // 15: api.user.v2.User.SMSCode:output_type -> api.user.v2.SMSCodeResponse
- 10, // [10:16] is the sub-list for method output_type
- 4, // [4:10] is the sub-list for method input_type
- 4, // [4:4] is the sub-list for extension type_name
- 4, // [4:4] is the sub-list for extension extendee
- 0, // [0:4] is the sub-list for field type_name
- }
- func init() { file_user_v2_user_proto_init() }
- func file_user_v2_user_proto_init() {
- if File_user_v2_user_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_user_v2_user_proto_msgTypes[0].Exporter = func(v any, i int) any {
- switch v := v.(*ResetPasswordRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_user_proto_msgTypes[1].Exporter = func(v any, i int) any {
- switch v := v.(*ResetPasswordResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_user_proto_msgTypes[2].Exporter = func(v any, i int) any {
- switch v := v.(*RetrievePasswordRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_user_proto_msgTypes[3].Exporter = func(v any, i int) any {
- switch v := v.(*RetrievePasswordResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_user_proto_msgTypes[4].Exporter = func(v any, i int) any {
- switch v := v.(*UnregisterRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_user_proto_msgTypes[5].Exporter = func(v any, i int) any {
- switch v := v.(*UnregisterResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_user_proto_msgTypes[6].Exporter = func(v any, i int) any {
- switch v := v.(*SignInRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_user_proto_msgTypes[7].Exporter = func(v any, i int) any {
- switch v := v.(*SignInResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_user_proto_msgTypes[8].Exporter = func(v any, i int) any {
- switch v := v.(*SignUpRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_user_proto_msgTypes[9].Exporter = func(v any, i int) any {
- switch v := v.(*SignUpResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_user_proto_msgTypes[10].Exporter = func(v any, i int) any {
- switch v := v.(*SMSCodeRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_user_proto_msgTypes[11].Exporter = func(v any, i int) any {
- switch v := v.(*SMSCodeResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_user_proto_msgTypes[12].Exporter = func(v any, i int) any {
- switch v := v.(*SignInResponse_Device); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_user_proto_msgTypes[13].Exporter = func(v any, i int) any {
- switch v := v.(*SignInResponse_Location); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_user_v2_user_proto_msgTypes[14].Exporter = func(v any, i int) any {
- switch v := v.(*SignInResponse_Child); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_user_v2_user_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 15,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_user_v2_user_proto_goTypes,
- DependencyIndexes: file_user_v2_user_proto_depIdxs,
- EnumInfos: file_user_v2_user_proto_enumTypes,
- MessageInfos: file_user_v2_user_proto_msgTypes,
- }.Build()
- File_user_v2_user_proto = out.File
- file_user_v2_user_proto_rawDesc = nil
- file_user_v2_user_proto_goTypes = nil
- file_user_v2_user_proto_depIdxs = nil
- }
|