- 0.62.0 (latest)
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class EmailMessage.Builder extends GeneratedMessageV3.Builder<EmailMessage.Builder> implements EmailMessageOrBuilderAn email associated with a support case.
 Protobuf type google.cloud.support.v2beta.EmailMessage
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EmailMessage.BuilderImplements
EmailMessageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllCcEmailAddresses(Iterable<String> values)
public EmailMessage.Builder addAllCcEmailAddresses(Iterable<String> values)Output only. Email addresses CCed on the email.
 repeated string cc_email_addresses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<String>The ccEmailAddresses to add. | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
addAllRecipientEmailAddresses(Iterable<String> values)
public EmailMessage.Builder addAllRecipientEmailAddresses(Iterable<String> values)Output only. Email addresses the email was sent to.
 
 repeated string recipient_email_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<String>The recipientEmailAddresses to add. | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
addCcEmailAddresses(String value)
public EmailMessage.Builder addCcEmailAddresses(String value)Output only. Email addresses CCed on the email.
 repeated string cc_email_addresses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe ccEmailAddresses to add. | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
addCcEmailAddressesBytes(ByteString value)
public EmailMessage.Builder addCcEmailAddressesBytes(ByteString value)Output only. Email addresses CCed on the email.
 repeated string cc_email_addresses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes of the ccEmailAddresses to add. | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
addRecipientEmailAddresses(String value)
public EmailMessage.Builder addRecipientEmailAddresses(String value)Output only. Email addresses the email was sent to.
 
 repeated string recipient_email_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe recipientEmailAddresses to add. | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
addRecipientEmailAddressesBytes(ByteString value)
public EmailMessage.Builder addRecipientEmailAddressesBytes(ByteString value)Output only. Email addresses the email was sent to.
 
 repeated string recipient_email_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes of the recipientEmailAddresses to add. | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EmailMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
build()
public EmailMessage build()| Returns | |
|---|---|
| Type | Description | 
| EmailMessage | |
buildPartial()
public EmailMessage buildPartial()| Returns | |
|---|---|
| Type | Description | 
| EmailMessage | |
clear()
public EmailMessage.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
clearActor()
public EmailMessage.Builder clearActor()Output only. The user or Google Support agent that created this email message. This is inferred from the headers on the email message.
 
 .google.cloud.support.v2beta.Actor actor = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
clearBodyContent()
public EmailMessage.Builder clearBodyContent()Output only. The full email message body. A best-effort attempt is made to remove extraneous reply threads.
 
 .google.cloud.support.v2beta.TextContent body_content = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
clearCcEmailAddresses()
public EmailMessage.Builder clearCcEmailAddresses()Output only. Email addresses CCed on the email.
 repeated string cc_email_addresses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
clearCreateTime()
public EmailMessage.Builder clearCreateTime()Output only. Time when this email message object was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
clearField(Descriptors.FieldDescriptor field)
public EmailMessage.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
clearName()
public EmailMessage.Builder clearName()Identifier. Resource name for the email message.
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public EmailMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
clearRecipientEmailAddresses()
public EmailMessage.Builder clearRecipientEmailAddresses()Output only. Email addresses the email was sent to.
 
 repeated string recipient_email_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
clearSubject()
public EmailMessage.Builder clearSubject()Output only. Subject of the email.
 string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
clone()
public EmailMessage.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
getActor()
public Actor getActor()Output only. The user or Google Support agent that created this email message. This is inferred from the headers on the email message.
 
 .google.cloud.support.v2beta.Actor actor = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Actor | The actor. | 
getActorBuilder()
public Actor.Builder getActorBuilder()Output only. The user or Google Support agent that created this email message. This is inferred from the headers on the email message.
 
 .google.cloud.support.v2beta.Actor actor = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Actor.Builder | |
getActorOrBuilder()
public ActorOrBuilder getActorOrBuilder()Output only. The user or Google Support agent that created this email message. This is inferred from the headers on the email message.
 
 .google.cloud.support.v2beta.Actor actor = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ActorOrBuilder | |
getBodyContent()
public TextContent getBodyContent()Output only. The full email message body. A best-effort attempt is made to remove extraneous reply threads.
 
 .google.cloud.support.v2beta.TextContent body_content = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TextContent | The bodyContent. | 
getBodyContentBuilder()
public TextContent.Builder getBodyContentBuilder()Output only. The full email message body. A best-effort attempt is made to remove extraneous reply threads.
 
 .google.cloud.support.v2beta.TextContent body_content = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TextContent.Builder | |
getBodyContentOrBuilder()
public TextContentOrBuilder getBodyContentOrBuilder()Output only. The full email message body. A best-effort attempt is made to remove extraneous reply threads.
 
 .google.cloud.support.v2beta.TextContent body_content = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TextContentOrBuilder | |
getCcEmailAddresses(int index)
public String getCcEmailAddresses(int index)Output only. Email addresses CCed on the email.
 repeated string cc_email_addresses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| String | The ccEmailAddresses at the given index. | 
getCcEmailAddressesBytes(int index)
public ByteString getCcEmailAddressesBytes(int index)Output only. Email addresses CCed on the email.
 repeated string cc_email_addresses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the value to return. | 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes of the ccEmailAddresses at the given index. | 
getCcEmailAddressesCount()
public int getCcEmailAddressesCount()Output only. Email addresses CCed on the email.
 repeated string cc_email_addresses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The count of ccEmailAddresses. | 
getCcEmailAddressesList()
public ProtocolStringList getCcEmailAddressesList()Output only. Email addresses CCed on the email.
 repeated string cc_email_addresses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProtocolStringList | A list containing the ccEmailAddresses. | 
getCreateTime()
public Timestamp getCreateTime()Output only. Time when this email message object was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The createTime. | 
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Time when this email message object was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time when this email message object was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getDefaultInstanceForType()
public EmailMessage getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| EmailMessage | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getName()
public String getName()Identifier. Resource name for the email message.
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public ByteString getNameBytes()Identifier. Resource name for the email message.
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getRecipientEmailAddresses(int index)
public String getRecipientEmailAddresses(int index)Output only. Email addresses the email was sent to.
 
 repeated string recipient_email_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| String | The recipientEmailAddresses at the given index. | 
getRecipientEmailAddressesBytes(int index)
public ByteString getRecipientEmailAddressesBytes(int index)Output only. Email addresses the email was sent to.
 
 repeated string recipient_email_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the value to return. | 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes of the recipientEmailAddresses at the given index. | 
getRecipientEmailAddressesCount()
public int getRecipientEmailAddressesCount()Output only. Email addresses the email was sent to.
 
 repeated string recipient_email_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The count of recipientEmailAddresses. | 
getRecipientEmailAddressesList()
public ProtocolStringList getRecipientEmailAddressesList()Output only. Email addresses the email was sent to.
 
 repeated string recipient_email_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProtocolStringList | A list containing the recipientEmailAddresses. | 
getSubject()
public String getSubject()Output only. Subject of the email.
 string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The subject. | 
getSubjectBytes()
public ByteString getSubjectBytes()Output only. Subject of the email.
 string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for subject. | 
hasActor()
public boolean hasActor()Output only. The user or Google Support agent that created this email message. This is inferred from the headers on the email message.
 
 .google.cloud.support.v2beta.Actor actor = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the actor field is set. | 
hasBodyContent()
public boolean hasBodyContent()Output only. The full email message body. A best-effort attempt is made to remove extraneous reply threads.
 
 .google.cloud.support.v2beta.TextContent body_content = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the bodyContent field is set. | 
hasCreateTime()
public boolean hasCreateTime()Output only. Time when this email message object was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the createTime field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeActor(Actor value)
public EmailMessage.Builder mergeActor(Actor value)Output only. The user or Google Support agent that created this email message. This is inferred from the headers on the email message.
 
 .google.cloud.support.v2beta.Actor actor = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Actor | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
mergeBodyContent(TextContent value)
public EmailMessage.Builder mergeBodyContent(TextContent value)Output only. The full email message body. A best-effort attempt is made to remove extraneous reply threads.
 
 .google.cloud.support.v2beta.TextContent body_content = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | TextContent | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
mergeCreateTime(Timestamp value)
public EmailMessage.Builder mergeCreateTime(Timestamp value)Output only. Time when this email message object was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
mergeFrom(EmailMessage other)
public EmailMessage.Builder mergeFrom(EmailMessage other)| Parameter | |
|---|---|
| Name | Description | 
| other | EmailMessage | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EmailMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public EmailMessage.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EmailMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
setActor(Actor value)
public EmailMessage.Builder setActor(Actor value)Output only. The user or Google Support agent that created this email message. This is inferred from the headers on the email message.
 
 .google.cloud.support.v2beta.Actor actor = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Actor | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
setActor(Actor.Builder builderForValue)
public EmailMessage.Builder setActor(Actor.Builder builderForValue)Output only. The user or Google Support agent that created this email message. This is inferred from the headers on the email message.
 
 .google.cloud.support.v2beta.Actor actor = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Actor.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
setBodyContent(TextContent value)
public EmailMessage.Builder setBodyContent(TextContent value)Output only. The full email message body. A best-effort attempt is made to remove extraneous reply threads.
 
 .google.cloud.support.v2beta.TextContent body_content = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | TextContent | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
setBodyContent(TextContent.Builder builderForValue)
public EmailMessage.Builder setBodyContent(TextContent.Builder builderForValue)Output only. The full email message body. A best-effort attempt is made to remove extraneous reply threads.
 
 .google.cloud.support.v2beta.TextContent body_content = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | TextContent.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
setCcEmailAddresses(int index, String value)
public EmailMessage.Builder setCcEmailAddresses(int index, String value)Output only. Email addresses CCed on the email.
 repeated string cc_email_addresses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | StringThe ccEmailAddresses to set. | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
setCreateTime(Timestamp value)
public EmailMessage.Builder setCreateTime(Timestamp value)Output only. Time when this email message object was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
setCreateTime(Timestamp.Builder builderForValue)
public EmailMessage.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Time when this email message object was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public EmailMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
setName(String value)
public EmailMessage.Builder setName(String value)Identifier. Resource name for the email message.
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public EmailMessage.Builder setNameBytes(ByteString value)Identifier. Resource name for the email message.
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
setRecipientEmailAddresses(int index, String value)
public EmailMessage.Builder setRecipientEmailAddresses(int index, String value)Output only. Email addresses the email was sent to.
 
 repeated string recipient_email_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | StringThe recipientEmailAddresses to set. | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EmailMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |
setSubject(String value)
public EmailMessage.Builder setSubject(String value)Output only. Subject of the email.
 string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe subject to set. | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
setSubjectBytes(ByteString value)
public EmailMessage.Builder setSubjectBytes(ByteString value)Output only. Subject of the email.
 string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for subject to set. | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final EmailMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| EmailMessage.Builder | |