public interface SmtpOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getHelo()
public abstract String getHelo()The client's 'HELO'/'EHLO' string.
string helo = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The helo. |
getHeloBytes()
public abstract ByteString getHeloBytes()The client's 'HELO'/'EHLO' string.
string helo = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for helo. |
getIsTls()
public abstract boolean getIsTls()If the connection switched to TLS.
bool is_tls = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
The isTls. |
getIsWebmail()
public abstract boolean getIsWebmail()If the message was sent via a webmail client.
bool is_webmail = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
The isWebmail. |
getMailFrom()
public abstract String getMailFrom()The client's 'MAIL FROM' string.
string mail_from = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The mailFrom. |
getMailFromBytes()
public abstract ByteString getMailFromBytes()The client's 'MAIL FROM' string.
string mail_from = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mailFrom. |
getMessagePath()
public abstract String getMessagePath()The message's path (extracted from the headers).
string message_path = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The messagePath. |
getMessagePathBytes()
public abstract ByteString getMessagePathBytes()The message's path (extracted from the headers).
string message_path = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for messagePath. |
getRcptTo(int index)
public abstract String getRcptTo(int index)The client's 'RCPT TO' string(s).
repeated string rcpt_to = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The rcptTo at the given index. |
getRcptToBytes(int index)
public abstract ByteString getRcptToBytes(int index)The client's 'RCPT TO' string(s).
repeated string rcpt_to = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the rcptTo at the given index. |
getRcptToCount()
public abstract int getRcptToCount()The client's 'RCPT TO' string(s).
repeated string rcpt_to = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of rcptTo. |
getRcptToList()
public abstract List<String> getRcptToList()The client's 'RCPT TO' string(s).
repeated string rcpt_to = 3;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the rcptTo. |
getServerResponse(int index)
public abstract String getServerResponse(int index)The server's response(s) to the client.
repeated string server_response = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The serverResponse at the given index. |
getServerResponseBytes(int index)
public abstract ByteString getServerResponseBytes(int index)The server's response(s) to the client.
repeated string server_response = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the serverResponse at the given index. |
getServerResponseCount()
public abstract int getServerResponseCount()The server's response(s) to the client.
repeated string server_response = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The count of serverResponse. |
getServerResponseList()
public abstract List<String> getServerResponseList()The server's response(s) to the client.
repeated string server_response = 4;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the serverResponse. |