Class MailServicePb.MailMessage.Builder (2.0.0)

public static final class MailServicePb.MailMessage.Builder extends GeneratedMessageV3.Builder<MailServicePb.MailMessage.Builder> implements MailServicePb.MailMessageOrBuilder

Inheritance

Object > com.google.protobuf.AbstractMessageLite.Builder > com.google.protobuf.AbstractMessage.Builder > com.google.protobuf.GeneratedMessageV3.Builder > MailServicePb.MailMessage.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
com.google.protobuf.Descriptors.Descriptor

Methods

addAllAttachment(Iterable<? extends MailServicePb.MailAttachment> arg0)

public MailServicePb.MailMessage.Builder addAllAttachment(Iterable<? extends MailServicePb.MailAttachment> arg0)
Parameter
Name Description
arg0 Iterable<? extends com.google.appengine.api.mail.MailServicePb.MailAttachment>
Returns
Type Description
MailServicePb.MailMessage.Builder

addAllBcc(Iterable<String> arg0)

public MailServicePb.MailMessage.Builder addAllBcc(Iterable<String> arg0)
Parameter
Name Description
arg0 Iterable<String>
Returns
Type Description
MailServicePb.MailMessage.Builder

addAllCc(Iterable<String> arg0)

public MailServicePb.MailMessage.Builder addAllCc(Iterable<String> arg0)
Parameter
Name Description
arg0 Iterable<String>
Returns
Type Description
MailServicePb.MailMessage.Builder

addAllHeader(Iterable<? extends MailServicePb.MailHeader> arg0)

public MailServicePb.MailMessage.Builder addAllHeader(Iterable<? extends MailServicePb.MailHeader> arg0)
Parameter
Name Description
arg0 Iterable<? extends com.google.appengine.api.mail.MailServicePb.MailHeader>
Returns
Type Description
MailServicePb.MailMessage.Builder

addAllTo(Iterable<String> arg0)

public MailServicePb.MailMessage.Builder addAllTo(Iterable<String> arg0)
Parameter
Name Description
arg0 Iterable<String>
Returns
Type Description
MailServicePb.MailMessage.Builder

addAttachment(MailServicePb.MailAttachment arg0)

public MailServicePb.MailMessage.Builder addAttachment(MailServicePb.MailAttachment arg0)
Parameter
Name Description
arg0 MailAttachment
Returns
Type Description
MailServicePb.MailMessage.Builder

addAttachment(MailServicePb.MailAttachment.Builder arg0)

public MailServicePb.MailMessage.Builder addAttachment(MailServicePb.MailAttachment.Builder arg0)
Parameter
Name Description
arg0 Builder
Returns
Type Description
MailServicePb.MailMessage.Builder

addAttachment(int arg0, MailServicePb.MailAttachment arg1)

public MailServicePb.MailMessage.Builder addAttachment(int arg0, MailServicePb.MailAttachment arg1)
Parameters
Name Description
arg0 int
arg1 MailAttachment
Returns
Type Description
MailServicePb.MailMessage.Builder

addAttachment(int arg0, MailServicePb.MailAttachment.Builder arg1)

public MailServicePb.MailMessage.Builder addAttachment(int arg0, MailServicePb.MailAttachment.Builder arg1)
Parameters
Name Description
arg0 int
arg1 Builder
Returns
Type Description
MailServicePb.MailMessage.Builder

addAttachmentBuilder()

public MailServicePb.MailAttachment.Builder addAttachmentBuilder()
Returns
Type Description
Builder

addAttachmentBuilder(int arg0)

public MailServicePb.MailAttachment.Builder addAttachmentBuilder(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
Builder

addBcc(String arg0)

public MailServicePb.MailMessage.Builder addBcc(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
MailServicePb.MailMessage.Builder

addBccBytes(ByteString arg0)

public MailServicePb.MailMessage.Builder addBccBytes(ByteString arg0)
Parameter
Name Description
arg0 com.google.protobuf.ByteString
Returns
Type Description
MailServicePb.MailMessage.Builder

addCc(String arg0)

public MailServicePb.MailMessage.Builder addCc(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
MailServicePb.MailMessage.Builder

addCcBytes(ByteString arg0)

public MailServicePb.MailMessage.Builder addCcBytes(ByteString arg0)
Parameter
Name Description
arg0 com.google.protobuf.ByteString
Returns
Type Description
MailServicePb.MailMessage.Builder

addHeader(MailServicePb.MailHeader arg0)

public MailServicePb.MailMessage.Builder addHeader(MailServicePb.MailHeader arg0)
Parameter
Name Description
arg0 MailHeader
Returns
Type Description
MailServicePb.MailMessage.Builder

addHeader(MailServicePb.MailHeader.Builder arg0)

public MailServicePb.MailMessage.Builder addHeader(MailServicePb.MailHeader.Builder arg0)
Parameter
Name Description
arg0 Builder
Returns
Type Description
MailServicePb.MailMessage.Builder

addHeader(int arg0, MailServicePb.MailHeader arg1)

public MailServicePb.MailMessage.Builder addHeader(int arg0, MailServicePb.MailHeader arg1)
Parameters
Name Description
arg0 int
arg1 MailHeader
Returns
Type Description
MailServicePb.MailMessage.Builder

addHeader(int arg0, MailServicePb.MailHeader.Builder arg1)

public MailServicePb.MailMessage.Builder addHeader(int arg0, MailServicePb.MailHeader.Builder arg1)
Parameters
Name Description
arg0 int
arg1 Builder
Returns
Type Description
MailServicePb.MailMessage.Builder

addHeaderBuilder()

public MailServicePb.MailHeader.Builder addHeaderBuilder()
Returns
Type Description
Builder

addHeaderBuilder(int arg0)

public MailServicePb.MailHeader.Builder addHeaderBuilder(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
Builder

addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)

public MailServicePb.MailMessage.Builder addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)
Parameters
Name Description
arg0 com.google.protobuf.Descriptors.FieldDescriptor
arg1 Object
Returns
Type Description
MailServicePb.MailMessage.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

addTo(String arg0)

public MailServicePb.MailMessage.Builder addTo(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
MailServicePb.MailMessage.Builder

addToBytes(ByteString arg0)

public MailServicePb.MailMessage.Builder addToBytes(ByteString arg0)
Parameter
Name Description
arg0 com.google.protobuf.ByteString
Returns
Type Description
MailServicePb.MailMessage.Builder

build()

public MailServicePb.MailMessage build()
Returns
Type Description
MailMessage

buildPartial()

public MailServicePb.MailMessage buildPartial()
Returns
Type Description
MailMessage

clear()

public MailServicePb.MailMessage.Builder clear()
Returns
Type Description
MailServicePb.MailMessage.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clear()

clearAmpHtmlBody()

public MailServicePb.MailMessage.Builder clearAmpHtmlBody()
Returns
Type Description
MailServicePb.MailMessage.Builder

clearAttachment()

public MailServicePb.MailMessage.Builder clearAttachment()
Returns
Type Description
MailServicePb.MailMessage.Builder

clearBcc()

public MailServicePb.MailMessage.Builder clearBcc()
Returns
Type Description
MailServicePb.MailMessage.Builder

clearCc()

public MailServicePb.MailMessage.Builder clearCc()
Returns
Type Description
MailServicePb.MailMessage.Builder

clearField(Descriptors.FieldDescriptor arg0)

public MailServicePb.MailMessage.Builder clearField(Descriptors.FieldDescriptor arg0)
Parameter
Name Description
arg0 com.google.protobuf.Descriptors.FieldDescriptor
Returns
Type Description
MailServicePb.MailMessage.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor)

clearHeader()

public MailServicePb.MailMessage.Builder clearHeader()
Returns
Type Description
MailServicePb.MailMessage.Builder

clearHtmlBody()

public MailServicePb.MailMessage.Builder clearHtmlBody()
Returns
Type Description
MailServicePb.MailMessage.Builder

clearOneof(Descriptors.OneofDescriptor arg0)

public MailServicePb.MailMessage.Builder clearOneof(Descriptors.OneofDescriptor arg0)
Parameter
Name Description
arg0 com.google.protobuf.Descriptors.OneofDescriptor
Returns
Type Description
MailServicePb.MailMessage.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)

clearReplyTo()

public MailServicePb.MailMessage.Builder clearReplyTo()
Returns
Type Description
MailServicePb.MailMessage.Builder

clearSender()

public MailServicePb.MailMessage.Builder clearSender()
Returns
Type Description
MailServicePb.MailMessage.Builder

clearSubject()

public MailServicePb.MailMessage.Builder clearSubject()
Returns
Type Description
MailServicePb.MailMessage.Builder

clearTextBody()

public MailServicePb.MailMessage.Builder clearTextBody()
Returns
Type Description
MailServicePb.MailMessage.Builder

clearTo()

public MailServicePb.MailMessage.Builder clearTo()
Returns
Type Description
MailServicePb.MailMessage.Builder

clone()

public MailServicePb.MailMessage.Builder clone()
Returns
Type Description
MailServicePb.MailMessage.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clone()

getAmpHtmlBody()

public String getAmpHtmlBody()
Returns
Type Description
String

getAmpHtmlBodyBytes()

public ByteString getAmpHtmlBodyBytes()
Returns
Type Description
com.google.protobuf.ByteString

getAttachment(int arg0)

public MailServicePb.MailAttachment getAttachment(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
MailAttachment

getAttachmentBuilder(int arg0)

public MailServicePb.MailAttachment.Builder getAttachmentBuilder(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
Builder

getAttachmentBuilderList()

public List<MailServicePb.MailAttachment.Builder> getAttachmentBuilderList()
Returns
Type Description
List<Builder>

getAttachmentCount()

public int getAttachmentCount()
Returns
Type Description
int

getAttachmentList()

public List<MailServicePb.MailAttachment> getAttachmentList()
Returns
Type Description
List<MailAttachment>

getAttachmentOrBuilder(int arg0)

public MailServicePb.MailAttachmentOrBuilder getAttachmentOrBuilder(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
MailAttachmentOrBuilder

getAttachmentOrBuilderList()

public List<? extends MailServicePb.MailAttachmentOrBuilder> getAttachmentOrBuilderList()
Returns
Type Description
List<? extends com.google.appengine.api.mail.MailServicePb.MailAttachmentOrBuilder>

getBcc(int arg0)

public String getBcc(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
String

getBccBytes(int arg0)

public ByteString getBccBytes(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
com.google.protobuf.ByteString

getBccCount()

public int getBccCount()
Returns
Type Description
int

getBccList()

public ProtocolStringList getBccList()
Returns
Type Description
com.google.protobuf.ProtocolStringList

getCc(int arg0)

public String getCc(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
String

getCcBytes(int arg0)

public ByteString getCcBytes(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
com.google.protobuf.ByteString

getCcCount()

public int getCcCount()
Returns
Type Description
int

getCcList()

public ProtocolStringList getCcList()
Returns
Type Description
com.google.protobuf.ProtocolStringList

getDefaultInstanceForType()

public MailServicePb.MailMessage getDefaultInstanceForType()
Returns
Type Description
MailMessage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
com.google.protobuf.Descriptors.Descriptor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.getDescriptorForType()

getHeader(int arg0)

public MailServicePb.MailHeader getHeader(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
MailHeader

getHeaderBuilder(int arg0)

public MailServicePb.MailHeader.Builder getHeaderBuilder(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
Builder

getHeaderBuilderList()

public List<MailServicePb.MailHeader.Builder> getHeaderBuilderList()
Returns
Type Description
List<Builder>

getHeaderCount()

public int getHeaderCount()
Returns
Type Description
int

getHeaderList()

public List<MailServicePb.MailHeader> getHeaderList()
Returns
Type Description
List<MailHeader>

getHeaderOrBuilder(int arg0)

public MailServicePb.MailHeaderOrBuilder getHeaderOrBuilder(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
MailHeaderOrBuilder

getHeaderOrBuilderList()

public List<? extends MailServicePb.MailHeaderOrBuilder> getHeaderOrBuilderList()
Returns
Type Description
List<? extends com.google.appengine.api.mail.MailServicePb.MailHeaderOrBuilder>

getHtmlBody()

public String getHtmlBody()
Returns
Type Description
String

getHtmlBodyBytes()

public ByteString getHtmlBodyBytes()
Returns
Type Description
com.google.protobuf.ByteString

getReplyTo()

public String getReplyTo()
Returns
Type Description
String

getReplyToBytes()

public ByteString getReplyToBytes()
Returns
Type Description
com.google.protobuf.ByteString

getSender()

public String getSender()
Returns
Type Description
String

getSenderBytes()

public ByteString getSenderBytes()
Returns
Type Description
com.google.protobuf.ByteString

getSubject()

public String getSubject()
Returns
Type Description
String

getSubjectBytes()

public ByteString getSubjectBytes()
Returns
Type Description
com.google.protobuf.ByteString

getTextBody()

public String getTextBody()
Returns
Type Description
String

getTextBodyBytes()

public ByteString getTextBodyBytes()
Returns
Type Description
com.google.protobuf.ByteString

getTo(int arg0)

public String getTo(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
String

getToBytes(int arg0)

public ByteString getToBytes(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
com.google.protobuf.ByteString

getToCount()

public int getToCount()
Returns
Type Description
int

getToList()

public ProtocolStringList getToList()
Returns
Type Description
com.google.protobuf.ProtocolStringList

hasAmpHtmlBody()

public boolean hasAmpHtmlBody()
Returns
Type Description
boolean

hasHtmlBody()

public boolean hasHtmlBody()
Returns
Type Description
boolean

hasReplyTo()

public boolean hasReplyTo()
Returns
Type Description
boolean

hasSender()

public boolean hasSender()
Returns
Type Description
boolean

hasSubject()

public boolean hasSubject()
Returns
Type Description
boolean

hasTextBody()

public boolean hasTextBody()
Returns
Type Description
boolean

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetFieldAccessorTable()

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.isInitialized()

mergeFrom(MailServicePb.MailMessage arg0)

public MailServicePb.MailMessage.Builder mergeFrom(MailServicePb.MailMessage arg0)
Parameter
Name Description
arg0 MailMessage
Returns
Type Description
MailServicePb.MailMessage.Builder

mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

public MailServicePb.MailMessage.Builder mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 com.google.protobuf.CodedInputStream
arg1 com.google.protobuf.ExtensionRegistryLite
Returns
Type Description
MailServicePb.MailMessage.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
Exceptions
Type Description
IOException

mergeFrom(Message arg0)

public MailServicePb.MailMessage.Builder mergeFrom(Message arg0)
Parameter
Name Description
arg0 com.google.protobuf.Message
Returns
Type Description
MailServicePb.MailMessage.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.Message)

mergeUnknownFields(UnknownFieldSet arg0)

public final MailServicePb.MailMessage.Builder mergeUnknownFields(UnknownFieldSet arg0)
Parameter
Name Description
arg0 com.google.protobuf.UnknownFieldSet
Returns
Type Description
MailServicePb.MailMessage.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet)

removeAttachment(int arg0)

public MailServicePb.MailMessage.Builder removeAttachment(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
MailServicePb.MailMessage.Builder

removeHeader(int arg0)

public MailServicePb.MailMessage.Builder removeHeader(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
MailServicePb.MailMessage.Builder

setAmpHtmlBody(String arg0)

public MailServicePb.MailMessage.Builder setAmpHtmlBody(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
MailServicePb.MailMessage.Builder

setAmpHtmlBodyBytes(ByteString arg0)

public MailServicePb.MailMessage.Builder setAmpHtmlBodyBytes(ByteString arg0)
Parameter
Name Description
arg0 com.google.protobuf.ByteString
Returns
Type Description
MailServicePb.MailMessage.Builder

setAttachment(int arg0, MailServicePb.MailAttachment arg1)

public MailServicePb.MailMessage.Builder setAttachment(int arg0, MailServicePb.MailAttachment arg1)
Parameters
Name Description
arg0 int
arg1 MailAttachment
Returns
Type Description
MailServicePb.MailMessage.Builder

setAttachment(int arg0, MailServicePb.MailAttachment.Builder arg1)

public MailServicePb.MailMessage.Builder setAttachment(int arg0, MailServicePb.MailAttachment.Builder arg1)
Parameters
Name Description
arg0 int
arg1 Builder
Returns
Type Description
MailServicePb.MailMessage.Builder

setBcc(int arg0, String arg1)

public MailServicePb.MailMessage.Builder setBcc(int arg0, String arg1)
Parameters
Name Description
arg0 int
arg1 String
Returns
Type Description
MailServicePb.MailMessage.Builder

setCc(int arg0, String arg1)

public MailServicePb.MailMessage.Builder setCc(int arg0, String arg1)
Parameters
Name Description
arg0 int
arg1 String
Returns
Type Description
MailServicePb.MailMessage.Builder

setField(Descriptors.FieldDescriptor arg0, Object arg1)

public MailServicePb.MailMessage.Builder setField(Descriptors.FieldDescriptor arg0, Object arg1)
Parameters
Name Description
arg0 com.google.protobuf.Descriptors.FieldDescriptor
arg1 Object
Returns
Type Description
MailServicePb.MailMessage.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

setHeader(int arg0, MailServicePb.MailHeader arg1)

public MailServicePb.MailMessage.Builder setHeader(int arg0, MailServicePb.MailHeader arg1)
Parameters
Name Description
arg0 int
arg1 MailHeader
Returns
Type Description
MailServicePb.MailMessage.Builder

setHeader(int arg0, MailServicePb.MailHeader.Builder arg1)

public MailServicePb.MailMessage.Builder setHeader(int arg0, MailServicePb.MailHeader.Builder arg1)
Parameters
Name Description
arg0 int
arg1 Builder
Returns
Type Description
MailServicePb.MailMessage.Builder

setHtmlBody(String arg0)

public MailServicePb.MailMessage.Builder setHtmlBody(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
MailServicePb.MailMessage.Builder

setHtmlBodyBytes(ByteString arg0)

public MailServicePb.MailMessage.Builder setHtmlBodyBytes(ByteString arg0)
Parameter
Name Description
arg0 com.google.protobuf.ByteString
Returns
Type Description
MailServicePb.MailMessage.Builder

setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)

public MailServicePb.MailMessage.Builder setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)
Parameters
Name Description
arg0 com.google.protobuf.Descriptors.FieldDescriptor
arg1 int
arg2 Object
Returns
Type Description
MailServicePb.MailMessage.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)

setReplyTo(String arg0)

public MailServicePb.MailMessage.Builder setReplyTo(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
MailServicePb.MailMessage.Builder

setReplyToBytes(ByteString arg0)

public MailServicePb.MailMessage.Builder setReplyToBytes(ByteString arg0)
Parameter
Name Description
arg0 com.google.protobuf.ByteString
Returns
Type Description
MailServicePb.MailMessage.Builder

setSender(String arg0)

public MailServicePb.MailMessage.Builder setSender(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
MailServicePb.MailMessage.Builder

setSenderBytes(ByteString arg0)

public MailServicePb.MailMessage.Builder setSenderBytes(ByteString arg0)
Parameter
Name Description
arg0 com.google.protobuf.ByteString
Returns
Type Description
MailServicePb.MailMessage.Builder

setSubject(String arg0)

public MailServicePb.MailMessage.Builder setSubject(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
MailServicePb.MailMessage.Builder

setSubjectBytes(ByteString arg0)

public MailServicePb.MailMessage.Builder setSubjectBytes(ByteString arg0)
Parameter
Name Description
arg0 com.google.protobuf.ByteString
Returns
Type Description
MailServicePb.MailMessage.Builder

setTextBody(String arg0)

public MailServicePb.MailMessage.Builder setTextBody(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
MailServicePb.MailMessage.Builder

setTextBodyBytes(ByteString arg0)

public MailServicePb.MailMessage.Builder setTextBodyBytes(ByteString arg0)
Parameter
Name Description
arg0 com.google.protobuf.ByteString
Returns
Type Description
MailServicePb.MailMessage.Builder

setTo(int arg0, String arg1)

public MailServicePb.MailMessage.Builder setTo(int arg0, String arg1)
Parameters
Name Description
arg0 int
arg1 String
Returns
Type Description
MailServicePb.MailMessage.Builder

setUnknownFields(UnknownFieldSet arg0)

public final MailServicePb.MailMessage.Builder setUnknownFields(UnknownFieldSet arg0)
Parameter
Name Description
arg0 com.google.protobuf.UnknownFieldSet
Returns
Type Description
MailServicePb.MailMessage.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet)