Class MailServicePb.MailHeader.Builder (2.0.0)

public static final class MailServicePb.MailHeader.Builder extends GeneratedMessageV3.Builder<MailServicePb.MailHeader.Builder> implements MailServicePb.MailHeaderOrBuilder

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)

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

build()

public MailServicePb.MailHeader build()
Returns
Type Description
MailHeader

buildPartial()

public MailServicePb.MailHeader buildPartial()
Returns
Type Description
MailHeader

clear()

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

clearField(Descriptors.FieldDescriptor arg0)

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

clearName()

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

clearOneof(Descriptors.OneofDescriptor arg0)

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

clearValue()

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

clone()

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

getDefaultInstanceForType()

public MailServicePb.MailHeader getDefaultInstanceForType()
Returns
Type Description
MailHeader

getDescriptorForType()

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

getName()

public String getName()
Returns
Type Description
String

getNameBytes()

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

getValue()

public String getValue()
Returns
Type Description
String

getValueBytes()

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

hasName()

public boolean hasName()
Returns
Type Description
boolean

hasValue()

public boolean hasValue()
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.MailHeader arg0)

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

mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

public MailServicePb.MailHeader.Builder mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 com.google.protobuf.CodedInputStream
arg1 com.google.protobuf.ExtensionRegistryLite
Returns
Type Description
MailServicePb.MailHeader.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.MailHeader.Builder mergeFrom(Message arg0)
Parameter
Name Description
arg0 com.google.protobuf.Message
Returns
Type Description
MailServicePb.MailHeader.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.Message)

mergeUnknownFields(UnknownFieldSet arg0)

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

setField(Descriptors.FieldDescriptor arg0, Object arg1)

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

setName(String arg0)

public MailServicePb.MailHeader.Builder setName(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
MailServicePb.MailHeader.Builder

setNameBytes(ByteString arg0)

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

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

public MailServicePb.MailHeader.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.MailHeader.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)

setUnknownFields(UnknownFieldSet arg0)

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

setValue(String arg0)

public MailServicePb.MailHeader.Builder setValue(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
MailServicePb.MailHeader.Builder

setValueBytes(ByteString arg0)

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