Interface EmailOrBuilder (0.3.0)

public interface EmailOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBcc(int index)

public abstract String getBcc(int index)

A list of 'bcc' addresses.

repeated string bcc = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The bcc at the given index.

getBccBytes(int index)

public abstract ByteString getBccBytes(int index)

A list of 'bcc' addresses.

repeated string bcc = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the bcc at the given index.

getBccCount()

public abstract int getBccCount()

A list of 'bcc' addresses.

repeated string bcc = 5;

Returns
Type Description
int

The count of bcc.

getBccList()

public abstract List<String> getBccList()

A list of 'bcc' addresses.

repeated string bcc = 5;

Returns
Type Description
List<String>

A list containing the bcc.

getBounceAddress()

public abstract String getBounceAddress()

The envelope from address. https://en.wikipedia.org/wiki/Bounce_address

string bounce_address = 8;

Returns
Type Description
String

The bounceAddress.

getBounceAddressBytes()

public abstract ByteString getBounceAddressBytes()

The envelope from address. https://en.wikipedia.org/wiki/Bounce_address

string bounce_address = 8;

Returns
Type Description
ByteString

The bytes for bounceAddress.

getCc(int index)

public abstract String getCc(int index)

A list of 'cc' addresses.

repeated string cc = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The cc at the given index.

getCcBytes(int index)

public abstract ByteString getCcBytes(int index)

A list of 'cc' addresses.

repeated string cc = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the cc at the given index.

getCcCount()

public abstract int getCcCount()

A list of 'cc' addresses.

repeated string cc = 4;

Returns
Type Description
int

The count of cc.

getCcList()

public abstract List<String> getCcList()

A list of 'cc' addresses.

repeated string cc = 4;

Returns
Type Description
List<String>

A list containing the cc.

getFrom()

public abstract String getFrom()

The 'from' address.

string from = 1;

Returns
Type Description
String

The from.

getFromBytes()

public abstract ByteString getFromBytes()

The 'from' address.

string from = 1;

Returns
Type Description
ByteString

The bytes for from.

getMailId()

public abstract String getMailId()

The mail (or message) ID.

string mail_id = 6;

Returns
Type Description
String

The mailId.

getMailIdBytes()

public abstract ByteString getMailIdBytes()

The mail (or message) ID.

string mail_id = 6;

Returns
Type Description
ByteString

The bytes for mailId.

getReplyTo()

public abstract String getReplyTo()

The 'reply to' address.

string reply_to = 2;

Returns
Type Description
String

The replyTo.

getReplyToBytes()

public abstract ByteString getReplyToBytes()

The 'reply to' address.

string reply_to = 2;

Returns
Type Description
ByteString

The bytes for replyTo.

getSubject(int index)

public abstract String getSubject(int index)

The subject line(s) of the email.

repeated string subject = 7;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The subject at the given index.

getSubjectBytes(int index)

public abstract ByteString getSubjectBytes(int index)

The subject line(s) of the email.

repeated string subject = 7;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the subject at the given index.

getSubjectCount()

public abstract int getSubjectCount()

The subject line(s) of the email.

repeated string subject = 7;

Returns
Type Description
int

The count of subject.

getSubjectList()

public abstract List<String> getSubjectList()

The subject line(s) of the email.

repeated string subject = 7;

Returns
Type Description
List<String>

A list containing the subject.

getTo(int index)

public abstract String getTo(int index)

A list of 'to' addresses.

repeated string to = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The to at the given index.

getToBytes(int index)

public abstract ByteString getToBytes(int index)

A list of 'to' addresses.

repeated string to = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the to at the given index.

getToCount()

public abstract int getToCount()

A list of 'to' addresses.

repeated string to = 3;

Returns
Type Description
int

The count of to.

getToList()

public abstract List<String> getToList()

A list of 'to' addresses.

repeated string to = 3;

Returns
Type Description
List<String>

A list containing the to.