Interface EmailMessageOrBuilder (0.48.0)

public interface EmailMessageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActor()

public abstract 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.

getActorOrBuilder()

public abstract 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 abstract 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.

getBodyContentOrBuilder()

public abstract 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 abstract 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 int

The index of the element to return.

Returns
Type Description
String

The ccEmailAddresses at the given index.

getCcEmailAddressesBytes(int index)

public abstract 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 int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the ccEmailAddresses at the given index.

getCcEmailAddressesCount()

public abstract 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 abstract List<String> getCcEmailAddressesList()

Output only. Email addresses CCed on the email.

repeated string cc_email_addresses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<String>

A list containing the ccEmailAddresses.

getCreateTime()

public abstract 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.

getCreateTimeOrBuilder()

public abstract 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

getName()

public abstract 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 abstract 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 abstract 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 int

The index of the element to return.

Returns
Type Description
String

The recipientEmailAddresses at the given index.

getRecipientEmailAddressesBytes(int index)

public abstract 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 int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the recipientEmailAddresses at the given index.

getRecipientEmailAddressesCount()

public abstract 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 abstract List<String> 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
List<String>

A list containing the recipientEmailAddresses.

getSubject()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.