Package com.google.cloud.support.v2beta
Class EmailMessage
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.support.v2beta.EmailMessage
- All Implemented Interfaces:
EmailMessageOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class EmailMessage
extends com.google.protobuf.GeneratedMessage
implements EmailMessageOrBuilder
An email associated with a support case.Protobuf type
google.cloud.support.v2beta.EmailMessage- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn email associated with a support case.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetActor()Output only.Output only.Output only.Output only.getCcEmailAddresses(int index) Output only.com.google.protobuf.ByteStringgetCcEmailAddressesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static EmailMessagestatic final com.google.protobuf.Descriptors.DescriptorgetName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.Parser<EmailMessage>getRecipientEmailAddresses(int index) Output only.com.google.protobuf.ByteStringgetRecipientEmailAddressesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.intOutput only.com.google.protobuf.ByteStringOutput only.booleanhasActor()Output only.booleanOutput only.booleanOutput only.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic EmailMessage.Builderstatic EmailMessage.BuildernewBuilder(EmailMessage prototype) protected EmailMessage.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static EmailMessageparseDelimitedFrom(InputStream input) static EmailMessageparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EmailMessageparseFrom(byte[] data) static EmailMessageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EmailMessageparseFrom(com.google.protobuf.ByteString data) static EmailMessageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EmailMessageparseFrom(com.google.protobuf.CodedInputStream input) static EmailMessageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EmailMessageparseFrom(InputStream input) static EmailMessageparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EmailMessageparseFrom(ByteBuffer data) static EmailMessageparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EmailMessage>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
ACTOR_FIELD_NUMBER
public static final int ACTOR_FIELD_NUMBER- See Also:
-
SUBJECT_FIELD_NUMBER
public static final int SUBJECT_FIELD_NUMBER- See Also:
-
RECIPIENT_EMAIL_ADDRESSES_FIELD_NUMBER
public static final int RECIPIENT_EMAIL_ADDRESSES_FIELD_NUMBER- See Also:
-
CC_EMAIL_ADDRESSES_FIELD_NUMBER
public static final int CC_EMAIL_ADDRESSES_FIELD_NUMBER- See Also:
-
BODY_CONTENT_FIELD_NUMBER
public static final int BODY_CONTENT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Identifier. Resource name for the email message.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceEmailMessageOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. Resource name for the email message.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceEmailMessageOrBuilder- Returns:
- The bytes for name.
-
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];- Specified by:
hasCreateTimein interfaceEmailMessageOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Time when this email message object was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceEmailMessageOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time when this email message object was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceEmailMessageOrBuilder
-
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];- Specified by:
hasActorin interfaceEmailMessageOrBuilder- Returns:
- Whether the actor field is set.
-
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];- Specified by:
getActorin interfaceEmailMessageOrBuilder- Returns:
- The actor.
-
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];- Specified by:
getActorOrBuilderin interfaceEmailMessageOrBuilder
-
getSubject
Output only. Subject of the email.
string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSubjectin interfaceEmailMessageOrBuilder- Returns:
- The subject.
-
getSubjectBytes
public com.google.protobuf.ByteString getSubjectBytes()Output only. Subject of the email.
string subject = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSubjectBytesin interfaceEmailMessageOrBuilder- Returns:
- The bytes for subject.
-
getRecipientEmailAddressesList
public com.google.protobuf.ProtocolStringList getRecipientEmailAddressesList()Output only. Email addresses the email was sent to.
repeated string recipient_email_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRecipientEmailAddressesListin interfaceEmailMessageOrBuilder- Returns:
- A list containing the recipientEmailAddresses.
-
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];- Specified by:
getRecipientEmailAddressesCountin interfaceEmailMessageOrBuilder- Returns:
- The count of recipientEmailAddresses.
-
getRecipientEmailAddresses
Output only. Email addresses the email was sent to.
repeated string recipient_email_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRecipientEmailAddressesin interfaceEmailMessageOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The recipientEmailAddresses at the given index.
-
getRecipientEmailAddressesBytes
public com.google.protobuf.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];- Specified by:
getRecipientEmailAddressesBytesin interfaceEmailMessageOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the recipientEmailAddresses at the given index.
-
getCcEmailAddressesList
public com.google.protobuf.ProtocolStringList getCcEmailAddressesList()Output only. Email addresses CCed on the email.
repeated string cc_email_addresses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCcEmailAddressesListin interfaceEmailMessageOrBuilder- Returns:
- A list containing the ccEmailAddresses.
-
getCcEmailAddressesCount
public int getCcEmailAddressesCount()Output only. Email addresses CCed on the email.
repeated string cc_email_addresses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCcEmailAddressesCountin interfaceEmailMessageOrBuilder- Returns:
- The count of ccEmailAddresses.
-
getCcEmailAddresses
Output only. Email addresses CCed on the email.
repeated string cc_email_addresses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCcEmailAddressesin interfaceEmailMessageOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ccEmailAddresses at the given index.
-
getCcEmailAddressesBytes
public com.google.protobuf.ByteString getCcEmailAddressesBytes(int index) Output only. Email addresses CCed on the email.
repeated string cc_email_addresses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCcEmailAddressesBytesin interfaceEmailMessageOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ccEmailAddresses at the given index.
-
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];- Specified by:
hasBodyContentin interfaceEmailMessageOrBuilder- Returns:
- Whether the bodyContent field is set.
-
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];- Specified by:
getBodyContentin interfaceEmailMessageOrBuilder- Returns:
- The bodyContent.
-
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];- Specified by:
getBodyContentOrBuilderin interfaceEmailMessageOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EmailMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EmailMessage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EmailMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EmailMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EmailMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EmailMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EmailMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EmailMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EmailMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EmailMessage.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-