public final class Smtp extends GeneratedMessage implements SmtpOrBuilder
SMTP info. See RFC 2821.
Protobuf type google.backstory.Smtp
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
HELO_FIELD_NUMBER
public static final int HELO_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
IS_TLS_FIELD_NUMBER
public static final int IS_TLS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
IS_WEBMAIL_FIELD_NUMBER
public static final int IS_WEBMAIL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MAIL_FROM_FIELD_NUMBER
public static final int MAIL_FROM_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MESSAGE_PATH_FIELD_NUMBER
public static final int MESSAGE_PATH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RCPT_TO_FIELD_NUMBER
public static final int RCPT_TO_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SERVER_RESPONSE_FIELD_NUMBER
public static final int SERVER_RESPONSE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Smtp getDefaultInstance()
| Returns |
| Type |
Description |
Smtp |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Smtp.Builder newBuilder()
newBuilder(Smtp prototype)
public static Smtp.Builder newBuilder(Smtp prototype)
| Parameter |
| Name |
Description |
prototype |
Smtp
|
parseDelimitedFrom(InputStream input)
public static Smtp parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Smtp |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Smtp parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Smtp |
|
parseFrom(byte[] data)
public static Smtp parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Smtp |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Smtp parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Smtp |
|
parseFrom(ByteString data)
public static Smtp parseFrom(ByteString data)
| Returns |
| Type |
Description |
Smtp |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Smtp parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Smtp |
|
parseFrom(CodedInputStream input)
public static Smtp parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Smtp |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Smtp parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Smtp |
|
parseFrom(InputStream input)
public static Smtp parseFrom(InputStream input)
| Returns |
| Type |
Description |
Smtp |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Smtp parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Smtp |
|
parseFrom(ByteBuffer data)
public static Smtp parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Smtp |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Smtp parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Smtp |
|
parser()
public static Parser<Smtp> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Smtp getDefaultInstanceForType()
| Returns |
| Type |
Description |
Smtp |
|
getHelo()
The client's 'HELO'/'EHLO' string.
string helo = 1;
| Returns |
| Type |
Description |
String |
The helo.
|
getHeloBytes()
public ByteString getHeloBytes()
The client's 'HELO'/'EHLO' string.
string helo = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for helo.
|
getIsTls()
public boolean getIsTls()
If the connection switched to TLS.
bool is_tls = 7;
| Returns |
| Type |
Description |
boolean |
The isTls.
|
getIsWebmail()
public boolean getIsWebmail()
If the message was sent via a webmail client.
bool is_webmail = 6;
| Returns |
| Type |
Description |
boolean |
The isWebmail.
|
getMailFrom()
public String getMailFrom()
The client's 'MAIL FROM' string.
string mail_from = 2;
| Returns |
| Type |
Description |
String |
The mailFrom.
|
getMailFromBytes()
public ByteString getMailFromBytes()
The client's 'MAIL FROM' string.
string mail_from = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for mailFrom.
|
getMessagePath()
public String getMessagePath()
The message's path (extracted from the headers).
string message_path = 5;
| Returns |
| Type |
Description |
String |
The messagePath.
|
getMessagePathBytes()
public ByteString getMessagePathBytes()
The message's path (extracted from the headers).
string message_path = 5;
| Returns |
| Type |
Description |
ByteString |
The bytes for messagePath.
|
getParserForType()
public Parser<Smtp> getParserForType()
Overrides
getRcptTo(int index)
public String getRcptTo(int index)
The client's 'RCPT TO' string(s).
repeated string rcpt_to = 3;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The rcptTo at the given index.
|
getRcptToBytes(int index)
public ByteString getRcptToBytes(int index)
The client's 'RCPT TO' string(s).
repeated string rcpt_to = 3;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the rcptTo at the given index.
|
getRcptToCount()
public int getRcptToCount()
The client's 'RCPT TO' string(s).
repeated string rcpt_to = 3;
| Returns |
| Type |
Description |
int |
The count of rcptTo.
|
getRcptToList()
public ProtocolStringList getRcptToList()
The client's 'RCPT TO' string(s).
repeated string rcpt_to = 3;
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getServerResponse(int index)
public String getServerResponse(int index)
The server's response(s) to the client.
repeated string server_response = 4;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The serverResponse at the given index.
|
getServerResponseBytes(int index)
public ByteString getServerResponseBytes(int index)
The server's response(s) to the client.
repeated string server_response = 4;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the serverResponse at the given index.
|
getServerResponseCount()
public 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 ProtocolStringList getServerResponseList()
The server's response(s) to the client.
repeated string server_response = 4;
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Smtp.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Smtp.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Smtp.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides