public final class EmailMessage extends GeneratedMessageV3 implements EmailMessageOrBuilder
An email associated with a support case.
Protobuf type google.cloud.support.v2beta.EmailMessage
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACTOR_FIELD_NUMBER
public static final int ACTOR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BODY_CONTENT_FIELD_NUMBER
public static final int BODY_CONTENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CC_EMAIL_ADDRESSES_FIELD_NUMBER
public static final int CC_EMAIL_ADDRESSES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RECIPIENT_EMAIL_ADDRESSES_FIELD_NUMBER
public static final int RECIPIENT_EMAIL_ADDRESSES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUBJECT_FIELD_NUMBER
public static final int SUBJECT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static EmailMessage getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EmailMessage.Builder newBuilder()
newBuilder(EmailMessage prototype)
public static EmailMessage.Builder newBuilder(EmailMessage prototype)
public static EmailMessage parseDelimitedFrom(InputStream input)
public static EmailMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EmailMessage parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EmailMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EmailMessage parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EmailMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EmailMessage parseFrom(CodedInputStream input)
public static EmailMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EmailMessage parseFrom(InputStream input)
public static EmailMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EmailMessage parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EmailMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EmailMessage> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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 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];
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];
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];
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 |
int
The 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 |
int
The 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];
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.
|
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];
getDefaultInstanceForType()
public EmailMessage getDefaultInstanceForType()
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.
|
getParserForType()
public Parser<EmailMessage> getParserForType()
Overrides
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 |
int
The 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 |
int
The 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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EmailMessage.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EmailMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public EmailMessage.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides