| // Code generated by protoc-gen-go. DO NOT EDIT. | |
| // versions: | |
| // protoc-gen-go v1.26.0 | |
| // protoc v3.21.12 | |
| // source: mail_service.proto | |
| package mail | |
| import ( | |
| 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 MailServiceError_ErrorCode int32 | |
| const ( | |
| MailServiceError_OK MailServiceError_ErrorCode = 0 | |
| MailServiceError_INTERNAL_ERROR MailServiceError_ErrorCode = 1 | |
| MailServiceError_BAD_REQUEST MailServiceError_ErrorCode = 2 | |
| MailServiceError_UNAUTHORIZED_SENDER MailServiceError_ErrorCode = 3 | |
| MailServiceError_INVALID_ATTACHMENT_TYPE MailServiceError_ErrorCode = 4 | |
| MailServiceError_INVALID_HEADER_NAME MailServiceError_ErrorCode = 5 | |
| MailServiceError_INVALID_CONTENT_ID MailServiceError_ErrorCode = 6 | |
| ) | |
| // Enum value maps for MailServiceError_ErrorCode. | |
| var ( | |
| MailServiceError_ErrorCode_name = map[int32]string{ | |
| 0: "OK", | |
| 1: "INTERNAL_ERROR", | |
| 2: "BAD_REQUEST", | |
| 3: "UNAUTHORIZED_SENDER", | |
| 4: "INVALID_ATTACHMENT_TYPE", | |
| 5: "INVALID_HEADER_NAME", | |
| 6: "INVALID_CONTENT_ID", | |
| } | |
| MailServiceError_ErrorCode_value = map[string]int32{ | |
| "OK": 0, | |
| "INTERNAL_ERROR": 1, | |
| "BAD_REQUEST": 2, | |
| "UNAUTHORIZED_SENDER": 3, | |
| "INVALID_ATTACHMENT_TYPE": 4, | |
| "INVALID_HEADER_NAME": 5, | |
| "INVALID_CONTENT_ID": 6, | |
| } | |
| ) | |
| func (x MailServiceError_ErrorCode) Enum() *MailServiceError_ErrorCode { | |
| p := new(MailServiceError_ErrorCode) | |
| *p = x | |
| return p | |
| } | |
| func (x MailServiceError_ErrorCode) String() string { | |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) | |
| } | |
| func (MailServiceError_ErrorCode) Descriptor() protoreflect.EnumDescriptor { | |
| return file_mail_service_proto_enumTypes[0].Descriptor() | |
| } | |
| func (MailServiceError_ErrorCode) Type() protoreflect.EnumType { | |
| return &file_mail_service_proto_enumTypes[0] | |
| } | |
| func (x MailServiceError_ErrorCode) Number() protoreflect.EnumNumber { | |
| return protoreflect.EnumNumber(x) | |
| } | |
| // Deprecated: Do not use. | |
| func (x *MailServiceError_ErrorCode) UnmarshalJSON(b []byte) error { | |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) | |
| if err != nil { | |
| return err | |
| } | |
| *x = MailServiceError_ErrorCode(num) | |
| return nil | |
| } | |
| // Deprecated: Use MailServiceError_ErrorCode.Descriptor instead. | |
| func (MailServiceError_ErrorCode) EnumDescriptor() ([]byte, []int) { | |
| return file_mail_service_proto_rawDescGZIP(), []int{0, 0} | |
| } | |
| type MailServiceError struct { | |
| state protoimpl.MessageState | |
| sizeCache protoimpl.SizeCache | |
| unknownFields protoimpl.UnknownFields | |
| } | |
| func (x *MailServiceError) Reset() { | |
| *x = MailServiceError{} | |
| if protoimpl.UnsafeEnabled { | |
| mi := &file_mail_service_proto_msgTypes[0] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| } | |
| func (x *MailServiceError) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*MailServiceError) ProtoMessage() {} | |
| func (x *MailServiceError) ProtoReflect() protoreflect.Message { | |
| mi := &file_mail_service_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 MailServiceError.ProtoReflect.Descriptor instead. | |
| func (*MailServiceError) Descriptor() ([]byte, []int) { | |
| return file_mail_service_proto_rawDescGZIP(), []int{0} | |
| } | |
| type MailAttachment struct { | |
| state protoimpl.MessageState | |
| sizeCache protoimpl.SizeCache | |
| unknownFields protoimpl.UnknownFields | |
| FileName *string `protobuf:"bytes,1,req,name=FileName" json:"FileName,omitempty"` | |
| Data []byte `protobuf:"bytes,2,req,name=Data" json:"Data,omitempty"` | |
| ContentID *string `protobuf:"bytes,3,opt,name=ContentID" json:"ContentID,omitempty"` | |
| } | |
| func (x *MailAttachment) Reset() { | |
| *x = MailAttachment{} | |
| if protoimpl.UnsafeEnabled { | |
| mi := &file_mail_service_proto_msgTypes[1] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| } | |
| func (x *MailAttachment) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*MailAttachment) ProtoMessage() {} | |
| func (x *MailAttachment) ProtoReflect() protoreflect.Message { | |
| mi := &file_mail_service_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 MailAttachment.ProtoReflect.Descriptor instead. | |
| func (*MailAttachment) Descriptor() ([]byte, []int) { | |
| return file_mail_service_proto_rawDescGZIP(), []int{1} | |
| } | |
| func (x *MailAttachment) GetFileName() string { | |
| if x != nil && x.FileName != nil { | |
| return *x.FileName | |
| } | |
| return "" | |
| } | |
| func (x *MailAttachment) GetData() []byte { | |
| if x != nil { | |
| return x.Data | |
| } | |
| return nil | |
| } | |
| func (x *MailAttachment) GetContentID() string { | |
| if x != nil && x.ContentID != nil { | |
| return *x.ContentID | |
| } | |
| return "" | |
| } | |
| type MailHeader struct { | |
| state protoimpl.MessageState | |
| sizeCache protoimpl.SizeCache | |
| unknownFields protoimpl.UnknownFields | |
| Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` | |
| Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` | |
| } | |
| func (x *MailHeader) Reset() { | |
| *x = MailHeader{} | |
| if protoimpl.UnsafeEnabled { | |
| mi := &file_mail_service_proto_msgTypes[2] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| } | |
| func (x *MailHeader) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*MailHeader) ProtoMessage() {} | |
| func (x *MailHeader) ProtoReflect() protoreflect.Message { | |
| mi := &file_mail_service_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 MailHeader.ProtoReflect.Descriptor instead. | |
| func (*MailHeader) Descriptor() ([]byte, []int) { | |
| return file_mail_service_proto_rawDescGZIP(), []int{2} | |
| } | |
| func (x *MailHeader) GetName() string { | |
| if x != nil && x.Name != nil { | |
| return *x.Name | |
| } | |
| return "" | |
| } | |
| func (x *MailHeader) GetValue() string { | |
| if x != nil && x.Value != nil { | |
| return *x.Value | |
| } | |
| return "" | |
| } | |
| type MailMessage struct { | |
| state protoimpl.MessageState | |
| sizeCache protoimpl.SizeCache | |
| unknownFields protoimpl.UnknownFields | |
| Sender *string `protobuf:"bytes,1,req,name=Sender" json:"Sender,omitempty"` | |
| ReplyTo *string `protobuf:"bytes,2,opt,name=ReplyTo" json:"ReplyTo,omitempty"` | |
| To []string `protobuf:"bytes,3,rep,name=To" json:"To,omitempty"` | |
| Cc []string `protobuf:"bytes,4,rep,name=Cc" json:"Cc,omitempty"` | |
| Bcc []string `protobuf:"bytes,5,rep,name=Bcc" json:"Bcc,omitempty"` | |
| Subject *string `protobuf:"bytes,6,req,name=Subject" json:"Subject,omitempty"` | |
| TextBody *string `protobuf:"bytes,7,opt,name=TextBody" json:"TextBody,omitempty"` | |
| HtmlBody *string `protobuf:"bytes,8,opt,name=HtmlBody" json:"HtmlBody,omitempty"` | |
| Attachment []*MailAttachment `protobuf:"bytes,9,rep,name=Attachment" json:"Attachment,omitempty"` | |
| Header []*MailHeader `protobuf:"bytes,10,rep,name=Header" json:"Header,omitempty"` | |
| } | |
| func (x *MailMessage) Reset() { | |
| *x = MailMessage{} | |
| if protoimpl.UnsafeEnabled { | |
| mi := &file_mail_service_proto_msgTypes[3] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| } | |
| func (x *MailMessage) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*MailMessage) ProtoMessage() {} | |
| func (x *MailMessage) ProtoReflect() protoreflect.Message { | |
| mi := &file_mail_service_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 MailMessage.ProtoReflect.Descriptor instead. | |
| func (*MailMessage) Descriptor() ([]byte, []int) { | |
| return file_mail_service_proto_rawDescGZIP(), []int{3} | |
| } | |
| func (x *MailMessage) GetSender() string { | |
| if x != nil && x.Sender != nil { | |
| return *x.Sender | |
| } | |
| return "" | |
| } | |
| func (x *MailMessage) GetReplyTo() string { | |
| if x != nil && x.ReplyTo != nil { | |
| return *x.ReplyTo | |
| } | |
| return "" | |
| } | |
| func (x *MailMessage) GetTo() []string { | |
| if x != nil { | |
| return x.To | |
| } | |
| return nil | |
| } | |
| func (x *MailMessage) GetCc() []string { | |
| if x != nil { | |
| return x.Cc | |
| } | |
| return nil | |
| } | |
| func (x *MailMessage) GetBcc() []string { | |
| if x != nil { | |
| return x.Bcc | |
| } | |
| return nil | |
| } | |
| func (x *MailMessage) GetSubject() string { | |
| if x != nil && x.Subject != nil { | |
| return *x.Subject | |
| } | |
| return "" | |
| } | |
| func (x *MailMessage) GetTextBody() string { | |
| if x != nil && x.TextBody != nil { | |
| return *x.TextBody | |
| } | |
| return "" | |
| } | |
| func (x *MailMessage) GetHtmlBody() string { | |
| if x != nil && x.HtmlBody != nil { | |
| return *x.HtmlBody | |
| } | |
| return "" | |
| } | |
| func (x *MailMessage) GetAttachment() []*MailAttachment { | |
| if x != nil { | |
| return x.Attachment | |
| } | |
| return nil | |
| } | |
| func (x *MailMessage) GetHeader() []*MailHeader { | |
| if x != nil { | |
| return x.Header | |
| } | |
| return nil | |
| } | |
| var File_mail_service_proto protoreflect.FileDescriptor | |
| var file_mail_service_proto_rawDesc = []byte{ | |
| 0x0a, 0x12, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, | |
| 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, | |
| 0x76, 0x32, 0x22, 0xb4, 0x01, 0x0a, 0x10, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, | |
| 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x9f, 0x01, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, | |
| 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00, 0x12, 0x12, 0x0a, | |
| 0x0e, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, | |
| 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x41, 0x44, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, | |
| 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x49, 0x5a, | |
| 0x45, 0x44, 0x5f, 0x53, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, 0x49, | |
| 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x41, 0x54, 0x54, 0x41, 0x43, 0x48, 0x4d, 0x45, 0x4e, | |
| 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x56, 0x41, | |
| 0x4c, 0x49, 0x44, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, | |
| 0x05, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x4f, 0x4e, | |
| 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x49, 0x44, 0x10, 0x06, 0x22, 0x5e, 0x0a, 0x0e, 0x4d, 0x61, 0x69, | |
| 0x6c, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x46, | |
| 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x46, | |
| 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, | |
| 0x02, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x43, | |
| 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, | |
| 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x22, 0x36, 0x0a, 0x0a, 0x4d, 0x61, 0x69, | |
| 0x6c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, | |
| 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, | |
| 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, | |
| 0x65, 0x22, 0xb3, 0x02, 0x0a, 0x0b, 0x4d, 0x61, 0x69, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, | |
| 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, | |
| 0x09, 0x52, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x52, 0x65, 0x70, | |
| 0x6c, 0x79, 0x54, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x52, 0x65, 0x70, 0x6c, | |
| 0x79, 0x54, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x54, 0x6f, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, | |
| 0x02, 0x54, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x43, 0x63, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, | |
| 0x02, 0x43, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x63, 0x63, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, | |
| 0x52, 0x03, 0x42, 0x63, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, | |
| 0x18, 0x06, 0x20, 0x02, 0x28, 0x09, 0x52, 0x07, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, | |
| 0x1a, 0x0a, 0x08, 0x54, 0x65, 0x78, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, | |
| 0x09, 0x52, 0x08, 0x54, 0x65, 0x78, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x48, | |
| 0x74, 0x6d, 0x6c, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x48, | |
| 0x74, 0x6d, 0x6c, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x3c, 0x0a, 0x0a, 0x41, 0x74, 0x74, 0x61, 0x63, | |
| 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x70, | |
| 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x41, | |
| 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x41, 0x74, 0x74, 0x61, 0x63, | |
| 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, | |
| 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, | |
| 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, | |
| 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, 0x2e, 0x5a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, | |
| 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x61, 0x70, 0x70, | |
| 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, | |
| 0x61, 0x6c, 0x2f, 0x6d, 0x61, 0x69, 0x6c, | |
| } | |
| var ( | |
| file_mail_service_proto_rawDescOnce sync.Once | |
| file_mail_service_proto_rawDescData = file_mail_service_proto_rawDesc | |
| ) | |
| func file_mail_service_proto_rawDescGZIP() []byte { | |
| file_mail_service_proto_rawDescOnce.Do(func() { | |
| file_mail_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_mail_service_proto_rawDescData) | |
| }) | |
| return file_mail_service_proto_rawDescData | |
| } | |
| var file_mail_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) | |
| var file_mail_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4) | |
| var file_mail_service_proto_goTypes = []interface{}{ | |
| (MailServiceError_ErrorCode)(0), // 0: appengine.v2.MailServiceError.ErrorCode | |
| (*MailServiceError)(nil), // 1: appengine.v2.MailServiceError | |
| (*MailAttachment)(nil), // 2: appengine.v2.MailAttachment | |
| (*MailHeader)(nil), // 3: appengine.v2.MailHeader | |
| (*MailMessage)(nil), // 4: appengine.v2.MailMessage | |
| } | |
| var file_mail_service_proto_depIdxs = []int32{ | |
| 2, // 0: appengine.v2.MailMessage.Attachment:type_name -> appengine.v2.MailAttachment | |
| 3, // 1: appengine.v2.MailMessage.Header:type_name -> appengine.v2.MailHeader | |
| 2, // [2:2] is the sub-list for method output_type | |
| 2, // [2:2] is the sub-list for method input_type | |
| 2, // [2:2] is the sub-list for extension type_name | |
| 2, // [2:2] is the sub-list for extension extendee | |
| 0, // [0:2] is the sub-list for field type_name | |
| } | |
| func init() { file_mail_service_proto_init() } | |
| func file_mail_service_proto_init() { | |
| if File_mail_service_proto != nil { | |
| return | |
| } | |
| if !protoimpl.UnsafeEnabled { | |
| file_mail_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { | |
| switch v := v.(*MailServiceError); i { | |
| case 0: | |
| return &v.state | |
| case 1: | |
| return &v.sizeCache | |
| case 2: | |
| return &v.unknownFields | |
| default: | |
| return nil | |
| } | |
| } | |
| file_mail_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { | |
| switch v := v.(*MailAttachment); i { | |
| case 0: | |
| return &v.state | |
| case 1: | |
| return &v.sizeCache | |
| case 2: | |
| return &v.unknownFields | |
| default: | |
| return nil | |
| } | |
| } | |
| file_mail_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { | |
| switch v := v.(*MailHeader); i { | |
| case 0: | |
| return &v.state | |
| case 1: | |
| return &v.sizeCache | |
| case 2: | |
| return &v.unknownFields | |
| default: | |
| return nil | |
| } | |
| } | |
| file_mail_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { | |
| switch v := v.(*MailMessage); 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_mail_service_proto_rawDesc, | |
| NumEnums: 1, | |
| NumMessages: 4, | |
| NumExtensions: 0, | |
| NumServices: 0, | |
| }, | |
| GoTypes: file_mail_service_proto_goTypes, | |
| DependencyIndexes: file_mail_service_proto_depIdxs, | |
| EnumInfos: file_mail_service_proto_enumTypes, | |
| MessageInfos: file_mail_service_proto_msgTypes, | |
| }.Build() | |
| File_mail_service_proto = out.File | |
| file_mail_service_proto_rawDesc = nil | |
| file_mail_service_proto_goTypes = nil | |
| file_mail_service_proto_depIdxs = nil | |
| } |