go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/server/internal/gae/mail/mail_service.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.31.0
     4  // 	protoc        v3.21.7
     5  // source: go.chromium.org/luci/server/internal/gae/mail/mail_service.proto
     6  
     7  package mail
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type MailServiceError_ErrorCode int32
    24  
    25  const (
    26  	MailServiceError_OK                      MailServiceError_ErrorCode = 0
    27  	MailServiceError_INTERNAL_ERROR          MailServiceError_ErrorCode = 1
    28  	MailServiceError_BAD_REQUEST             MailServiceError_ErrorCode = 2
    29  	MailServiceError_UNAUTHORIZED_SENDER     MailServiceError_ErrorCode = 3
    30  	MailServiceError_INVALID_ATTACHMENT_TYPE MailServiceError_ErrorCode = 4
    31  	MailServiceError_INVALID_HEADER_NAME     MailServiceError_ErrorCode = 5
    32  	MailServiceError_INVALID_CONTENT_ID      MailServiceError_ErrorCode = 6
    33  )
    34  
    35  // Enum value maps for MailServiceError_ErrorCode.
    36  var (
    37  	MailServiceError_ErrorCode_name = map[int32]string{
    38  		0: "OK",
    39  		1: "INTERNAL_ERROR",
    40  		2: "BAD_REQUEST",
    41  		3: "UNAUTHORIZED_SENDER",
    42  		4: "INVALID_ATTACHMENT_TYPE",
    43  		5: "INVALID_HEADER_NAME",
    44  		6: "INVALID_CONTENT_ID",
    45  	}
    46  	MailServiceError_ErrorCode_value = map[string]int32{
    47  		"OK":                      0,
    48  		"INTERNAL_ERROR":          1,
    49  		"BAD_REQUEST":             2,
    50  		"UNAUTHORIZED_SENDER":     3,
    51  		"INVALID_ATTACHMENT_TYPE": 4,
    52  		"INVALID_HEADER_NAME":     5,
    53  		"INVALID_CONTENT_ID":      6,
    54  	}
    55  )
    56  
    57  func (x MailServiceError_ErrorCode) Enum() *MailServiceError_ErrorCode {
    58  	p := new(MailServiceError_ErrorCode)
    59  	*p = x
    60  	return p
    61  }
    62  
    63  func (x MailServiceError_ErrorCode) String() string {
    64  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    65  }
    66  
    67  func (MailServiceError_ErrorCode) Descriptor() protoreflect.EnumDescriptor {
    68  	return file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_enumTypes[0].Descriptor()
    69  }
    70  
    71  func (MailServiceError_ErrorCode) Type() protoreflect.EnumType {
    72  	return &file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_enumTypes[0]
    73  }
    74  
    75  func (x MailServiceError_ErrorCode) Number() protoreflect.EnumNumber {
    76  	return protoreflect.EnumNumber(x)
    77  }
    78  
    79  // Deprecated: Do not use.
    80  func (x *MailServiceError_ErrorCode) UnmarshalJSON(b []byte) error {
    81  	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
    82  	if err != nil {
    83  		return err
    84  	}
    85  	*x = MailServiceError_ErrorCode(num)
    86  	return nil
    87  }
    88  
    89  // Deprecated: Use MailServiceError_ErrorCode.Descriptor instead.
    90  func (MailServiceError_ErrorCode) EnumDescriptor() ([]byte, []int) {
    91  	return file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDescGZIP(), []int{0, 0}
    92  }
    93  
    94  type MailServiceError struct {
    95  	state         protoimpl.MessageState
    96  	sizeCache     protoimpl.SizeCache
    97  	unknownFields protoimpl.UnknownFields
    98  }
    99  
   100  func (x *MailServiceError) Reset() {
   101  	*x = MailServiceError{}
   102  	if protoimpl.UnsafeEnabled {
   103  		mi := &file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_msgTypes[0]
   104  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   105  		ms.StoreMessageInfo(mi)
   106  	}
   107  }
   108  
   109  func (x *MailServiceError) String() string {
   110  	return protoimpl.X.MessageStringOf(x)
   111  }
   112  
   113  func (*MailServiceError) ProtoMessage() {}
   114  
   115  func (x *MailServiceError) ProtoReflect() protoreflect.Message {
   116  	mi := &file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_msgTypes[0]
   117  	if protoimpl.UnsafeEnabled && x != nil {
   118  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   119  		if ms.LoadMessageInfo() == nil {
   120  			ms.StoreMessageInfo(mi)
   121  		}
   122  		return ms
   123  	}
   124  	return mi.MessageOf(x)
   125  }
   126  
   127  // Deprecated: Use MailServiceError.ProtoReflect.Descriptor instead.
   128  func (*MailServiceError) Descriptor() ([]byte, []int) {
   129  	return file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDescGZIP(), []int{0}
   130  }
   131  
   132  type MailAttachment struct {
   133  	state         protoimpl.MessageState
   134  	sizeCache     protoimpl.SizeCache
   135  	unknownFields protoimpl.UnknownFields
   136  
   137  	FileName  *string `protobuf:"bytes,1,req,name=FileName" json:"FileName,omitempty"`
   138  	Data      []byte  `protobuf:"bytes,2,req,name=Data" json:"Data,omitempty"`
   139  	ContentID *string `protobuf:"bytes,3,opt,name=ContentID" json:"ContentID,omitempty"`
   140  }
   141  
   142  func (x *MailAttachment) Reset() {
   143  	*x = MailAttachment{}
   144  	if protoimpl.UnsafeEnabled {
   145  		mi := &file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_msgTypes[1]
   146  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   147  		ms.StoreMessageInfo(mi)
   148  	}
   149  }
   150  
   151  func (x *MailAttachment) String() string {
   152  	return protoimpl.X.MessageStringOf(x)
   153  }
   154  
   155  func (*MailAttachment) ProtoMessage() {}
   156  
   157  func (x *MailAttachment) ProtoReflect() protoreflect.Message {
   158  	mi := &file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_msgTypes[1]
   159  	if protoimpl.UnsafeEnabled && x != nil {
   160  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   161  		if ms.LoadMessageInfo() == nil {
   162  			ms.StoreMessageInfo(mi)
   163  		}
   164  		return ms
   165  	}
   166  	return mi.MessageOf(x)
   167  }
   168  
   169  // Deprecated: Use MailAttachment.ProtoReflect.Descriptor instead.
   170  func (*MailAttachment) Descriptor() ([]byte, []int) {
   171  	return file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDescGZIP(), []int{1}
   172  }
   173  
   174  func (x *MailAttachment) GetFileName() string {
   175  	if x != nil && x.FileName != nil {
   176  		return *x.FileName
   177  	}
   178  	return ""
   179  }
   180  
   181  func (x *MailAttachment) GetData() []byte {
   182  	if x != nil {
   183  		return x.Data
   184  	}
   185  	return nil
   186  }
   187  
   188  func (x *MailAttachment) GetContentID() string {
   189  	if x != nil && x.ContentID != nil {
   190  		return *x.ContentID
   191  	}
   192  	return ""
   193  }
   194  
   195  type MailHeader struct {
   196  	state         protoimpl.MessageState
   197  	sizeCache     protoimpl.SizeCache
   198  	unknownFields protoimpl.UnknownFields
   199  
   200  	Name  *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
   201  	Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
   202  }
   203  
   204  func (x *MailHeader) Reset() {
   205  	*x = MailHeader{}
   206  	if protoimpl.UnsafeEnabled {
   207  		mi := &file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_msgTypes[2]
   208  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   209  		ms.StoreMessageInfo(mi)
   210  	}
   211  }
   212  
   213  func (x *MailHeader) String() string {
   214  	return protoimpl.X.MessageStringOf(x)
   215  }
   216  
   217  func (*MailHeader) ProtoMessage() {}
   218  
   219  func (x *MailHeader) ProtoReflect() protoreflect.Message {
   220  	mi := &file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_msgTypes[2]
   221  	if protoimpl.UnsafeEnabled && x != nil {
   222  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   223  		if ms.LoadMessageInfo() == nil {
   224  			ms.StoreMessageInfo(mi)
   225  		}
   226  		return ms
   227  	}
   228  	return mi.MessageOf(x)
   229  }
   230  
   231  // Deprecated: Use MailHeader.ProtoReflect.Descriptor instead.
   232  func (*MailHeader) Descriptor() ([]byte, []int) {
   233  	return file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDescGZIP(), []int{2}
   234  }
   235  
   236  func (x *MailHeader) GetName() string {
   237  	if x != nil && x.Name != nil {
   238  		return *x.Name
   239  	}
   240  	return ""
   241  }
   242  
   243  func (x *MailHeader) GetValue() string {
   244  	if x != nil && x.Value != nil {
   245  		return *x.Value
   246  	}
   247  	return ""
   248  }
   249  
   250  type MailMessage struct {
   251  	state         protoimpl.MessageState
   252  	sizeCache     protoimpl.SizeCache
   253  	unknownFields protoimpl.UnknownFields
   254  
   255  	Sender     *string           `protobuf:"bytes,1,req,name=Sender" json:"Sender,omitempty"`
   256  	ReplyTo    *string           `protobuf:"bytes,2,opt,name=ReplyTo" json:"ReplyTo,omitempty"`
   257  	To         []string          `protobuf:"bytes,3,rep,name=To" json:"To,omitempty"`
   258  	Cc         []string          `protobuf:"bytes,4,rep,name=Cc" json:"Cc,omitempty"`
   259  	Bcc        []string          `protobuf:"bytes,5,rep,name=Bcc" json:"Bcc,omitempty"`
   260  	Subject    *string           `protobuf:"bytes,6,req,name=Subject" json:"Subject,omitempty"`
   261  	TextBody   *string           `protobuf:"bytes,7,opt,name=TextBody" json:"TextBody,omitempty"`
   262  	HtmlBody   *string           `protobuf:"bytes,8,opt,name=HtmlBody" json:"HtmlBody,omitempty"`
   263  	Attachment []*MailAttachment `protobuf:"bytes,9,rep,name=Attachment" json:"Attachment,omitempty"`
   264  	Header     []*MailHeader     `protobuf:"bytes,10,rep,name=Header" json:"Header,omitempty"`
   265  }
   266  
   267  func (x *MailMessage) Reset() {
   268  	*x = MailMessage{}
   269  	if protoimpl.UnsafeEnabled {
   270  		mi := &file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_msgTypes[3]
   271  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   272  		ms.StoreMessageInfo(mi)
   273  	}
   274  }
   275  
   276  func (x *MailMessage) String() string {
   277  	return protoimpl.X.MessageStringOf(x)
   278  }
   279  
   280  func (*MailMessage) ProtoMessage() {}
   281  
   282  func (x *MailMessage) ProtoReflect() protoreflect.Message {
   283  	mi := &file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_msgTypes[3]
   284  	if protoimpl.UnsafeEnabled && x != nil {
   285  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   286  		if ms.LoadMessageInfo() == nil {
   287  			ms.StoreMessageInfo(mi)
   288  		}
   289  		return ms
   290  	}
   291  	return mi.MessageOf(x)
   292  }
   293  
   294  // Deprecated: Use MailMessage.ProtoReflect.Descriptor instead.
   295  func (*MailMessage) Descriptor() ([]byte, []int) {
   296  	return file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDescGZIP(), []int{3}
   297  }
   298  
   299  func (x *MailMessage) GetSender() string {
   300  	if x != nil && x.Sender != nil {
   301  		return *x.Sender
   302  	}
   303  	return ""
   304  }
   305  
   306  func (x *MailMessage) GetReplyTo() string {
   307  	if x != nil && x.ReplyTo != nil {
   308  		return *x.ReplyTo
   309  	}
   310  	return ""
   311  }
   312  
   313  func (x *MailMessage) GetTo() []string {
   314  	if x != nil {
   315  		return x.To
   316  	}
   317  	return nil
   318  }
   319  
   320  func (x *MailMessage) GetCc() []string {
   321  	if x != nil {
   322  		return x.Cc
   323  	}
   324  	return nil
   325  }
   326  
   327  func (x *MailMessage) GetBcc() []string {
   328  	if x != nil {
   329  		return x.Bcc
   330  	}
   331  	return nil
   332  }
   333  
   334  func (x *MailMessage) GetSubject() string {
   335  	if x != nil && x.Subject != nil {
   336  		return *x.Subject
   337  	}
   338  	return ""
   339  }
   340  
   341  func (x *MailMessage) GetTextBody() string {
   342  	if x != nil && x.TextBody != nil {
   343  		return *x.TextBody
   344  	}
   345  	return ""
   346  }
   347  
   348  func (x *MailMessage) GetHtmlBody() string {
   349  	if x != nil && x.HtmlBody != nil {
   350  		return *x.HtmlBody
   351  	}
   352  	return ""
   353  }
   354  
   355  func (x *MailMessage) GetAttachment() []*MailAttachment {
   356  	if x != nil {
   357  		return x.Attachment
   358  	}
   359  	return nil
   360  }
   361  
   362  func (x *MailMessage) GetHeader() []*MailHeader {
   363  	if x != nil {
   364  		return x.Header
   365  	}
   366  	return nil
   367  }
   368  
   369  var File_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto protoreflect.FileDescriptor
   370  
   371  var file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDesc = []byte{
   372  	0x0a, 0x40, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   373  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x69, 0x6e,
   374  	0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67, 0x61, 0x65, 0x2f, 0x6d, 0x61, 0x69, 0x6c, 0x2f,
   375  	0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   376  	0x74, 0x6f, 0x12, 0x17, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61,
   377  	0x6c, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x22, 0xb4, 0x01, 0x0a, 0x10,
   378  	0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72,
   379  	0x22, 0x9f, 0x01, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x06,
   380  	0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e,
   381  	0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x41,
   382  	0x44, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x55,
   383  	0x4e, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x49, 0x5a, 0x45, 0x44, 0x5f, 0x53, 0x45, 0x4e, 0x44,
   384  	0x45, 0x52, 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f,
   385  	0x41, 0x54, 0x54, 0x41, 0x43, 0x48, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10,
   386  	0x04, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x48, 0x45, 0x41,
   387  	0x44, 0x45, 0x52, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4e,
   388  	0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x49, 0x44,
   389  	0x10, 0x06, 0x22, 0x5e, 0x0a, 0x0e, 0x4d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68,
   390  	0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65,
   391  	0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65,
   392  	0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x04,
   393  	0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49,
   394  	0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
   395  	0x49, 0x44, 0x22, 0x36, 0x0a, 0x0a, 0x4d, 0x61, 0x69, 0x6c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
   396  	0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04,
   397  	0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
   398  	0x02, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xc9, 0x02, 0x0a, 0x0b, 0x4d,
   399  	0x61, 0x69, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x65,
   400  	0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x06, 0x53, 0x65, 0x6e, 0x64,
   401  	0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x54, 0x6f, 0x18, 0x02, 0x20,
   402  	0x01, 0x28, 0x09, 0x52, 0x07, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x54, 0x6f, 0x12, 0x0e, 0x0a, 0x02,
   403  	0x54, 0x6f, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x02, 0x54, 0x6f, 0x12, 0x0e, 0x0a, 0x02,
   404  	0x43, 0x63, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x02, 0x43, 0x63, 0x12, 0x10, 0x0a, 0x03,
   405  	0x42, 0x63, 0x63, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x42, 0x63, 0x63, 0x12, 0x18,
   406  	0x0a, 0x07, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x06, 0x20, 0x02, 0x28, 0x09, 0x52,
   407  	0x07, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x54, 0x65, 0x78, 0x74,
   408  	0x42, 0x6f, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x54, 0x65, 0x78, 0x74,
   409  	0x42, 0x6f, 0x64, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x48, 0x74, 0x6d, 0x6c, 0x42, 0x6f, 0x64, 0x79,
   410  	0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x48, 0x74, 0x6d, 0x6c, 0x42, 0x6f, 0x64, 0x79,
   411  	0x12, 0x47, 0x0a, 0x0a, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x09,
   412  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x69, 0x6e, 0x74, 0x65,
   413  	0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x4d,
   414  	0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x41,
   415  	0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x48, 0x65, 0x61,
   416  	0x64, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6c, 0x75, 0x63, 0x69,
   417  	0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67,
   418  	0x69, 0x6e, 0x65, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06,
   419  	0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72,
   420  	0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73,
   421  	0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67,
   422  	0x61, 0x65, 0x2f, 0x6d, 0x61, 0x69, 0x6c,
   423  }
   424  
   425  var (
   426  	file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDescOnce sync.Once
   427  	file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDescData = file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDesc
   428  )
   429  
   430  func file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDescGZIP() []byte {
   431  	file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDescOnce.Do(func() {
   432  		file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDescData)
   433  	})
   434  	return file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDescData
   435  }
   436  
   437  var file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   438  var file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   439  var file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_goTypes = []interface{}{
   440  	(MailServiceError_ErrorCode)(0), // 0: luci.internal.appengine.MailServiceError.ErrorCode
   441  	(*MailServiceError)(nil),        // 1: luci.internal.appengine.MailServiceError
   442  	(*MailAttachment)(nil),          // 2: luci.internal.appengine.MailAttachment
   443  	(*MailHeader)(nil),              // 3: luci.internal.appengine.MailHeader
   444  	(*MailMessage)(nil),             // 4: luci.internal.appengine.MailMessage
   445  }
   446  var file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_depIdxs = []int32{
   447  	2, // 0: luci.internal.appengine.MailMessage.Attachment:type_name -> luci.internal.appengine.MailAttachment
   448  	3, // 1: luci.internal.appengine.MailMessage.Header:type_name -> luci.internal.appengine.MailHeader
   449  	2, // [2:2] is the sub-list for method output_type
   450  	2, // [2:2] is the sub-list for method input_type
   451  	2, // [2:2] is the sub-list for extension type_name
   452  	2, // [2:2] is the sub-list for extension extendee
   453  	0, // [0:2] is the sub-list for field type_name
   454  }
   455  
   456  func init() { file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_init() }
   457  func file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_init() {
   458  	if File_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto != nil {
   459  		return
   460  	}
   461  	if !protoimpl.UnsafeEnabled {
   462  		file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   463  			switch v := v.(*MailServiceError); i {
   464  			case 0:
   465  				return &v.state
   466  			case 1:
   467  				return &v.sizeCache
   468  			case 2:
   469  				return &v.unknownFields
   470  			default:
   471  				return nil
   472  			}
   473  		}
   474  		file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   475  			switch v := v.(*MailAttachment); i {
   476  			case 0:
   477  				return &v.state
   478  			case 1:
   479  				return &v.sizeCache
   480  			case 2:
   481  				return &v.unknownFields
   482  			default:
   483  				return nil
   484  			}
   485  		}
   486  		file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   487  			switch v := v.(*MailHeader); i {
   488  			case 0:
   489  				return &v.state
   490  			case 1:
   491  				return &v.sizeCache
   492  			case 2:
   493  				return &v.unknownFields
   494  			default:
   495  				return nil
   496  			}
   497  		}
   498  		file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   499  			switch v := v.(*MailMessage); i {
   500  			case 0:
   501  				return &v.state
   502  			case 1:
   503  				return &v.sizeCache
   504  			case 2:
   505  				return &v.unknownFields
   506  			default:
   507  				return nil
   508  			}
   509  		}
   510  	}
   511  	type x struct{}
   512  	out := protoimpl.TypeBuilder{
   513  		File: protoimpl.DescBuilder{
   514  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   515  			RawDescriptor: file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDesc,
   516  			NumEnums:      1,
   517  			NumMessages:   4,
   518  			NumExtensions: 0,
   519  			NumServices:   0,
   520  		},
   521  		GoTypes:           file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_goTypes,
   522  		DependencyIndexes: file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_depIdxs,
   523  		EnumInfos:         file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_enumTypes,
   524  		MessageInfos:      file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_msgTypes,
   525  	}.Build()
   526  	File_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto = out.File
   527  	file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_rawDesc = nil
   528  	file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_goTypes = nil
   529  	file_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto_depIdxs = nil
   530  }