Send feedback
  
   
 
  
    
      Interface MailServicePb.MailMessageOrBuilder (2.0.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
    
    
    
    
      
  
  
  
    
public   static   interface  MailServicePb . MailMessageOrBuilder   extends   MessageOrBuilder  
  
    
Implements 
    com.google.protobuf.MessageOrBuilder Methods
   
  getAmpHtmlBody() 
  
    
public   abstract   String   getAmpHtmlBody ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getAmpHtmlBodyBytes() 
  
    
public   abstract   ByteString   getAmpHtmlBodyBytes ()  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.protobuf.ByteString  
     
  
  getAttachment(int arg0) 
  
    
public   abstract   MailServicePb . MailAttachment   getAttachment ( int   arg0 )  
  
    
      
        Parameter  
      
        Name Description  
      
        arg0int  
     
  
  
  getAttachmentCount() 
  
    
public   abstract   int   getAttachmentCount ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getAttachmentList() 
  
    
public   abstract   List<MailServicePb . MailAttachment >  getAttachmentList ()  
  
  getAttachmentOrBuilder(int arg0) 
  
    
public   abstract   MailServicePb . MailAttachmentOrBuilder   getAttachmentOrBuilder ( int   arg0 )  
  
    
      
        Parameter  
      
        Name Description  
      
        arg0int  
     
  
  
  getAttachmentOrBuilderList() 
  
    
public   abstract   List <?   extends   MailServicePb . MailAttachmentOrBuilder >  getAttachmentOrBuilderList ()  
  
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.appengine.api.mail.MailServicePb.MailAttachmentOrBuilder > 
     
  
  getBcc(int arg0) 
  
    
public   abstract   String   getBcc ( int   arg0 )  
  
    
      
        Parameter  
      
        Name Description  
      
        arg0int  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getBccBytes(int arg0) 
  
    
public   abstract   ByteString   getBccBytes ( int   arg0 )  
  
    
      
        Parameter  
      
        Name Description  
      
        arg0int  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.protobuf.ByteString  
     
  
  getBccCount() 
  
    
public   abstract   int   getBccCount ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getBccList() 
  
    
public   abstract   List<String>   getBccList ()  
  
  getCc(int arg0) 
  
    
public   abstract   String   getCc ( int   arg0 )  
  
    
      
        Parameter  
      
        Name Description  
      
        arg0int  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getCcBytes(int arg0) 
  
    
public   abstract   ByteString   getCcBytes ( int   arg0 )  
  
    
      
        Parameter  
      
        Name Description  
      
        arg0int  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.protobuf.ByteString  
     
  
  getCcCount() 
  
    
public   abstract   int   getCcCount ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getCcList() 
  
    
public   abstract   List<String>   getCcList ()  
  
  
  
  
    
public   abstract   MailServicePb . MailHeader   getHeader ( int   arg0 )  
  
    
      
        Parameter  
      
        Name Description  
      
        arg0int  
     
  
  
  
  
  
    
public   abstract   int   getHeaderCount ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  
  
  
    
public   abstract   List<MailServicePb . MailHeader >  getHeaderList ()  
  
  
  
  
    
public   abstract   MailServicePb . MailHeaderOrBuilder   getHeaderOrBuilder ( int   arg0 )  
  
    
      
        Parameter  
      
        Name Description  
      
        arg0int  
     
  
  
  
  
  
    
public   abstract   List <?   extends   MailServicePb . MailHeaderOrBuilder >  getHeaderOrBuilderList ()  
  
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.appengine.api.mail.MailServicePb.MailHeaderOrBuilder > 
     
  
  getHtmlBody() 
  
    
public   abstract   String   getHtmlBody ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getHtmlBodyBytes() 
  
    
public   abstract   ByteString   getHtmlBodyBytes ()  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.protobuf.ByteString  
     
  
  getReplyTo() 
  
    
public   abstract   String   getReplyTo ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getReplyToBytes() 
  
    
public   abstract   ByteString   getReplyToBytes ()  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.protobuf.ByteString  
     
  
  getSender() 
  
    
public   abstract   String   getSender ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getSenderBytes() 
  
    
public   abstract   ByteString   getSenderBytes ()  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.protobuf.ByteString  
     
  
  getSubject() 
  
    
public   abstract   String   getSubject ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getSubjectBytes() 
  
    
public   abstract   ByteString   getSubjectBytes ()  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.protobuf.ByteString  
     
  
  getTextBody() 
  
    
public   abstract   String   getTextBody ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getTextBodyBytes() 
  
    
public   abstract   ByteString   getTextBodyBytes ()  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.protobuf.ByteString  
     
  
  getTo(int arg0) 
  
    
public   abstract   String   getTo ( int   arg0 )  
  
    
      
        Parameter  
      
        Name Description  
      
        arg0int  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getToBytes(int arg0) 
  
    
public   abstract   ByteString   getToBytes ( int   arg0 )  
  
    
      
        Parameter  
      
        Name Description  
      
        arg0int  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.protobuf.ByteString  
     
  
  getToCount() 
  
    
public   abstract   int   getToCount ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getToList() 
  
    
public   abstract   List<String>   getToList ()  
  
  hasAmpHtmlBody() 
  
    
public   abstract   boolean   hasAmpHtmlBody ()  
  
  hasHtmlBody() 
  
    
public   abstract   boolean   hasHtmlBody ()  
  
  hasReplyTo() 
  
    
public   abstract   boolean   hasReplyTo ()  
  
  hasSender() 
  
    
public   abstract   boolean   hasSender ()  
  
  hasSubject() 
  
    
public   abstract   boolean   hasSubject ()  
  
  hasTextBody() 
  
    
public   abstract   boolean   hasTextBody ()  
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-16 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-16 UTC."],[],[]]