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

package sender

import (
	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)
)

// sms module
type SmsSendRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Provider      string                 `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	SignName      string                 `protobuf:"bytes,2,opt,name=sign_name,json=signName,proto3" json:"sign_name,omitempty"`                                                             // 必传项
	TemplateCode  string                 `protobuf:"bytes,3,opt,name=template_code,json=templateCode,proto3" json:"template_code,omitempty"`                                                 // 必传项
	Phone         string                 `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`                                                                                   // 必传项
	IsGenCode     bool                   `protobuf:"varint,6,opt,name=is_gen_code,json=isGenCode,proto3" json:"is_gen_code,omitempty"`                                                       // 是否生成验证码
	Paramters     map[string]string      `protobuf:"bytes,5,rep,name=paramters,proto3" json:"paramters,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // 验证码相关
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SmsSendRequest) ProtoMessage() {}

func (x *SmsSendRequest) ProtoReflect() protoreflect.Message {
	mi := &file_module_base_sender_proto_sms_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 SmsSendRequest.ProtoReflect.Descriptor instead.
func (*SmsSendRequest) Descriptor() ([]byte, []int) {
	return file_module_base_sender_proto_sms_proto_rawDescGZIP(), []int{0}
}

func (x *SmsSendRequest) GetProvider() string {
	if x != nil {
		return x.Provider
	}
	return ""
}

func (x *SmsSendRequest) GetSignName() string {
	if x != nil {
		return x.SignName
	}
	return ""
}

func (x *SmsSendRequest) GetTemplateCode() string {
	if x != nil {
		return x.TemplateCode
	}
	return ""
}

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

func (x *SmsSendRequest) GetIsGenCode() bool {
	if x != nil {
		return x.IsGenCode
	}
	return false
}

func (x *SmsSendRequest) GetParamters() map[string]string {
	if x != nil {
		return x.Paramters
	}
	return nil
}

type SmsReply struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Reply         string                 `protobuf:"bytes,1,opt,name=reply,proto3" json:"reply,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SmsReply) ProtoMessage() {}

func (x *SmsReply) ProtoReflect() protoreflect.Message {
	mi := &file_module_base_sender_proto_sms_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 SmsReply.ProtoReflect.Descriptor instead.
func (*SmsReply) Descriptor() ([]byte, []int) {
	return file_module_base_sender_proto_sms_proto_rawDescGZIP(), []int{1}
}

func (x *SmsReply) GetReply() string {
	if x != nil {
		return x.Reply
	}
	return ""
}

type SmsVerifyRequest 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 *SmsVerifyRequest) Reset() {
	*x = SmsVerifyRequest{}
	mi := &file_module_base_sender_proto_sms_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SmsVerifyRequest) ProtoMessage() {}

func (x *SmsVerifyRequest) ProtoReflect() protoreflect.Message {
	mi := &file_module_base_sender_proto_sms_proto_msgTypes[2]
	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 SmsVerifyRequest.ProtoReflect.Descriptor instead.
func (*SmsVerifyRequest) Descriptor() ([]byte, []int) {
	return file_module_base_sender_proto_sms_proto_rawDescGZIP(), []int{2}
}

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

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

var File_module_base_sender_proto_sms_proto protoreflect.FileDescriptor

const file_module_base_sender_proto_sms_proto_rawDesc = "" +
	"\n" +
	"\"module/base/sender/proto/sms.proto\x12\x06sender\"\xa7\x02\n" +
	"\x0eSmsSendRequest\x12\x1a\n" +
	"\bprovider\x18\x01 \x01(\tR\bprovider\x12\x1b\n" +
	"\tsign_name\x18\x02 \x01(\tR\bsignName\x12#\n" +
	"\rtemplate_code\x18\x03 \x01(\tR\ftemplateCode\x12\x14\n" +
	"\x05phone\x18\x04 \x01(\tR\x05phone\x12\x1e\n" +
	"\vis_gen_code\x18\x06 \x01(\bR\tisGenCode\x12C\n" +
	"\tparamters\x18\x05 \x03(\v2%.sender.SmsSendRequest.ParamtersEntryR\tparamters\x1a<\n" +
	"\x0eParamtersEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\" \n" +
	"\bSmsReply\x12\x14\n" +
	"\x05reply\x18\x01 \x01(\tR\x05reply\"<\n" +
	"\x10SmsVerifyRequest\x12\x14\n" +
	"\x05phone\x18\x01 \x01(\tR\x05phone\x12\x12\n" +
	"\x04code\x18\x02 \x01(\tR\x04code2m\n" +
	"\x03Sms\x120\n" +
	"\x04Send\x12\x16.sender.SmsSendRequest\x1a\x10.sender.SmsReply\x124\n" +
	"\x06Verify\x12\x18.sender.SmsVerifyRequest\x1a\x10.sender.SmsReplyB'Z%bsm/full/module/base/sender/pb;senderb\x06proto3"

var (
	file_module_base_sender_proto_sms_proto_rawDescOnce sync.Once
	file_module_base_sender_proto_sms_proto_rawDescData []byte
)

func file_module_base_sender_proto_sms_proto_rawDescGZIP() []byte {
	file_module_base_sender_proto_sms_proto_rawDescOnce.Do(func() {
		file_module_base_sender_proto_sms_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_base_sender_proto_sms_proto_rawDesc), len(file_module_base_sender_proto_sms_proto_rawDesc)))
	})
	return file_module_base_sender_proto_sms_proto_rawDescData
}

var file_module_base_sender_proto_sms_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_module_base_sender_proto_sms_proto_goTypes = []any{
	(*SmsSendRequest)(nil),   // 0: sender.SmsSendRequest
	(*SmsReply)(nil),         // 1: sender.SmsReply
	(*SmsVerifyRequest)(nil), // 2: sender.SmsVerifyRequest
	nil,                      // 3: sender.SmsSendRequest.ParamtersEntry
}
var file_module_base_sender_proto_sms_proto_depIdxs = []int32{
	3, // 0: sender.SmsSendRequest.paramters:type_name -> sender.SmsSendRequest.ParamtersEntry
	0, // 1: sender.Sms.Send:input_type -> sender.SmsSendRequest
	2, // 2: sender.Sms.Verify:input_type -> sender.SmsVerifyRequest
	1, // 3: sender.Sms.Send:output_type -> sender.SmsReply
	1, // 4: sender.Sms.Verify:output_type -> sender.SmsReply
	3, // [3:5] is the sub-list for method output_type
	1, // [1:3] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_module_base_sender_proto_sms_proto_init() }
func file_module_base_sender_proto_sms_proto_init() {
	if File_module_base_sender_proto_sms_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_sender_proto_sms_proto_rawDesc), len(file_module_base_sender_proto_sms_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_module_base_sender_proto_sms_proto_goTypes,
		DependencyIndexes: file_module_base_sender_proto_sms_proto_depIdxs,
		MessageInfos:      file_module_base_sender_proto_sms_proto_msgTypes,
	}.Build()
	File_module_base_sender_proto_sms_proto = out.File
	file_module_base_sender_proto_sms_proto_goTypes = nil
	file_module_base_sender_proto_sms_proto_depIdxs = nil
}
