178 lines
5.0 KiB
Go
178 lines
5.0 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.8
|
|
// protoc (unknown)
|
|
// source: mail.proto
|
|
|
|
package notify
|
|
|
|
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 SendMailRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SignName string `protobuf:"bytes,1,opt,name=sign_name,json=signName,proto3" json:"sign_name,omitempty"` // 必传项
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SendMailRequest) Reset() {
|
|
*x = SendMailRequest{}
|
|
mi := &file_mail_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SendMailRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendMailRequest) ProtoMessage() {}
|
|
|
|
func (x *SendMailRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_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 SendMailRequest.ProtoReflect.Descriptor instead.
|
|
func (*SendMailRequest) Descriptor() ([]byte, []int) {
|
|
return file_mail_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *SendMailRequest) GetSignName() string {
|
|
if x != nil {
|
|
return x.SignName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SendMailResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SendMailResponse) Reset() {
|
|
*x = SendMailResponse{}
|
|
mi := &file_mail_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SendMailResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendMailResponse) ProtoMessage() {}
|
|
|
|
func (x *SendMailResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_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 SendMailResponse.ProtoReflect.Descriptor instead.
|
|
func (*SendMailResponse) Descriptor() ([]byte, []int) {
|
|
return file_mail_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *SendMailResponse) GetRequestId() string {
|
|
if x != nil {
|
|
return x.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_mail_proto protoreflect.FileDescriptor
|
|
|
|
const file_mail_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\n" +
|
|
"mail.proto\x12\x06notify\".\n" +
|
|
"\x0fSendMailRequest\x12\x1b\n" +
|
|
"\tsign_name\x18\x01 \x01(\tR\bsignName\"1\n" +
|
|
"\x10SendMailResponse\x12\x1d\n" +
|
|
"\n" +
|
|
"request_id\x18\x01 \x01(\tR\trequestId2E\n" +
|
|
"\x04Mail\x12=\n" +
|
|
"\bSendMail\x12\x17.notify.SendMailRequest\x1a\x18.notify.SendMailResponseB\n" +
|
|
"Z\b./notifyb\x06proto3"
|
|
|
|
var (
|
|
file_mail_proto_rawDescOnce sync.Once
|
|
file_mail_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_mail_proto_rawDescGZIP() []byte {
|
|
file_mail_proto_rawDescOnce.Do(func() {
|
|
file_mail_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_mail_proto_rawDesc), len(file_mail_proto_rawDesc)))
|
|
})
|
|
return file_mail_proto_rawDescData
|
|
}
|
|
|
|
var file_mail_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
var file_mail_proto_goTypes = []any{
|
|
(*SendMailRequest)(nil), // 0: notify.SendMailRequest
|
|
(*SendMailResponse)(nil), // 1: notify.SendMailResponse
|
|
}
|
|
var file_mail_proto_depIdxs = []int32{
|
|
0, // 0: notify.Mail.SendMail:input_type -> notify.SendMailRequest
|
|
1, // 1: notify.Mail.SendMail:output_type -> notify.SendMailResponse
|
|
1, // [1:2] is the sub-list for method output_type
|
|
0, // [0:1] 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_mail_proto_init() }
|
|
func file_mail_proto_init() {
|
|
if File_mail_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_mail_proto_rawDesc), len(file_mail_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 2,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_mail_proto_goTypes,
|
|
DependencyIndexes: file_mail_proto_depIdxs,
|
|
MessageInfos: file_mail_proto_msgTypes,
|
|
}.Build()
|
|
File_mail_proto = out.File
|
|
file_mail_proto_goTypes = nil
|
|
file_mail_proto_depIdxs = nil
|
|
}
|