// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v7.35.0
// source: module/base/passport/proto/forget.proto

package passport

import (
	protobuf "bsm/full/protobuf"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

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 ForgetVerifyRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Phone         string                 `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"` //手机号
	Code          string                 `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`   // 验证码
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ForgetVerifyRequest) Reset() {
	*x = ForgetVerifyRequest{}
	mi := &file_module_base_passport_proto_forget_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ForgetVerifyRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ForgetVerifyRequest) ProtoMessage() {}

func (x *ForgetVerifyRequest) ProtoReflect() protoreflect.Message {
	mi := &file_module_base_passport_proto_forget_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ForgetVerifyRequest.ProtoReflect.Descriptor instead.
func (*ForgetVerifyRequest) Descriptor() ([]byte, []int) {
	return file_module_base_passport_proto_forget_proto_rawDescGZIP(), []int{0}
}

func (x *ForgetVerifyRequest) GetPhone() string {
	if x != nil {
		return x.Phone
	}
	return ""
}

func (x *ForgetVerifyRequest) GetCode() string {
	if x != nil {
		return x.Code
	}
	return ""
}

type ForgetResetRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Identity      string                 `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` //唯一码
	Password      string                 `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ForgetResetRequest) Reset() {
	*x = ForgetResetRequest{}
	mi := &file_module_base_passport_proto_forget_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ForgetResetRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ForgetResetRequest) ProtoMessage() {}

func (x *ForgetResetRequest) ProtoReflect() protoreflect.Message {
	mi := &file_module_base_passport_proto_forget_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ForgetResetRequest.ProtoReflect.Descriptor instead.
func (*ForgetResetRequest) Descriptor() ([]byte, []int) {
	return file_module_base_passport_proto_forget_proto_rawDescGZIP(), []int{1}
}

func (x *ForgetResetRequest) GetIdentity() string {
	if x != nil {
		return x.Identity
	}
	return ""
}

func (x *ForgetResetRequest) GetPassword() string {
	if x != nil {
		return x.Password
	}
	return ""
}

var File_module_base_passport_proto_forget_proto protoreflect.FileDescriptor

const file_module_base_passport_proto_forget_proto_rawDesc = "" +
	"\n" +
	"'module/base/passport/proto/forget.proto\x12\bpassport\x1a\x15protobuf/blocks.proto\"?\n" +
	"\x13ForgetVerifyRequest\x12\x14\n" +
	"\x05phone\x18\x01 \x01(\tR\x05phone\x12\x12\n" +
	"\x04code\x18\x02 \x01(\tR\x04code\"L\n" +
	"\x12ForgetResetRequest\x12\x1a\n" +
	"\bidentity\x18\x01 \x01(\tR\bidentity\x12\x1a\n" +
	"\bpassword\x18\x02 \x01(\tR\bpassword2\x86\x01\n" +
	"\x06Forget\x12>\n" +
	"\x06Verify\x12\x1d.passport.ForgetVerifyRequest\x1a\x13.blocks.StatusReply\"\x00\x12<\n" +
	"\x05Reset\x12\x1c.passport.ForgetResetRequest\x1a\x13.blocks.StatusReply\"\x00B+Z)bsm/full/module/base/passport/pb;passportb\x06proto3"

var (
	file_module_base_passport_proto_forget_proto_rawDescOnce sync.Once
	file_module_base_passport_proto_forget_proto_rawDescData []byte
)

func file_module_base_passport_proto_forget_proto_rawDescGZIP() []byte {
	file_module_base_passport_proto_forget_proto_rawDescOnce.Do(func() {
		file_module_base_passport_proto_forget_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_base_passport_proto_forget_proto_rawDesc), len(file_module_base_passport_proto_forget_proto_rawDesc)))
	})
	return file_module_base_passport_proto_forget_proto_rawDescData
}

var file_module_base_passport_proto_forget_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_module_base_passport_proto_forget_proto_goTypes = []any{
	(*ForgetVerifyRequest)(nil),  // 0: passport.ForgetVerifyRequest
	(*ForgetResetRequest)(nil),   // 1: passport.ForgetResetRequest
	(*protobuf.StatusReply)(nil), // 2: blocks.StatusReply
}
var file_module_base_passport_proto_forget_proto_depIdxs = []int32{
	0, // 0: passport.Forget.Verify:input_type -> passport.ForgetVerifyRequest
	1, // 1: passport.Forget.Reset:input_type -> passport.ForgetResetRequest
	2, // 2: passport.Forget.Verify:output_type -> blocks.StatusReply
	2, // 3: passport.Forget.Reset:output_type -> blocks.StatusReply
	2, // [2:4] is the sub-list for method output_type
	0, // [0:2] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_module_base_passport_proto_forget_proto_init() }
func file_module_base_passport_proto_forget_proto_init() {
	if File_module_base_passport_proto_forget_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_base_passport_proto_forget_proto_rawDesc), len(file_module_base_passport_proto_forget_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_module_base_passport_proto_forget_proto_goTypes,
		DependencyIndexes: file_module_base_passport_proto_forget_proto_depIdxs,
		MessageInfos:      file_module_base_passport_proto_forget_proto_msgTypes,
	}.Build()
	File_module_base_passport_proto_forget_proto = out.File
	file_module_base_passport_proto_forget_proto_goTypes = nil
	file_module_base_passport_proto_forget_proto_depIdxs = nil
}
