Class FeedItem (0.47.0)

public final class FeedItem extends GeneratedMessageV3 implements FeedItemOrBuilder

A feed item associated with a support case.

Protobuf type google.cloud.support.v2beta.FeedItem

Implements

FeedItemOrBuilder

Static Fields

ATTACHMENT_FIELD_NUMBER

public static final int ATTACHMENT_FIELD_NUMBER
Field Value
Type Description
int

COMMENT_FIELD_NUMBER

public static final int COMMENT_FIELD_NUMBER
Field Value
Type Description
int

DELETED_ATTACHMENT_FIELD_NUMBER

public static final int DELETED_ATTACHMENT_FIELD_NUMBER
Field Value
Type Description
int

EMAIL_MESSAGE_FIELD_NUMBER

public static final int EMAIL_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

EVENT_TIME_FIELD_NUMBER

public static final int EVENT_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FeedItem getDefaultInstance()
Returns
Type Description
FeedItem

getDescriptor()

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

newBuilder()

public static FeedItem.Builder newBuilder()
Returns
Type Description
FeedItem.Builder

newBuilder(FeedItem prototype)

public static FeedItem.Builder newBuilder(FeedItem prototype)
Parameter
Name Description
prototype FeedItem
Returns
Type Description
FeedItem.Builder

parseDelimitedFrom(InputStream input)

public static FeedItem parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeedItem
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeedItem parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeedItem
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FeedItem parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FeedItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FeedItem parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeedItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FeedItem parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FeedItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FeedItem parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeedItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FeedItem parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FeedItem
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FeedItem parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeedItem
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FeedItem parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeedItem
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeedItem parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeedItem
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FeedItem parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FeedItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FeedItem parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeedItem
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FeedItem> parser()
Returns
Type Description
Parser<FeedItem>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAttachment()

public Attachment getAttachment()

Output only. An attachment attached to the case.

.google.cloud.support.v2beta.Attachment attachment = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Attachment

The attachment.

getAttachmentOrBuilder()

public AttachmentOrBuilder getAttachmentOrBuilder()

Output only. An attachment attached to the case.

.google.cloud.support.v2beta.Attachment attachment = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AttachmentOrBuilder

getComment()

public Comment getComment()

Output only. A comment added to the case.

.google.cloud.support.v2beta.Comment comment = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Comment

The comment.

getCommentOrBuilder()

public CommentOrBuilder getCommentOrBuilder()

Output only. A comment added to the case.

.google.cloud.support.v2beta.Comment comment = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CommentOrBuilder

getDefaultInstanceForType()

public FeedItem getDefaultInstanceForType()
Returns
Type Description
FeedItem

getDeletedAttachment()

public Attachment getDeletedAttachment()

Output only. A deleted attachment that used to be associated with the support case.

.google.cloud.support.v2beta.Attachment deleted_attachment = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Attachment

The deletedAttachment.

getDeletedAttachmentOrBuilder()

public AttachmentOrBuilder getDeletedAttachmentOrBuilder()

Output only. A deleted attachment that used to be associated with the support case.

.google.cloud.support.v2beta.Attachment deleted_attachment = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AttachmentOrBuilder

getEmailMessage()

public EmailMessage getEmailMessage()

Output only. An email message received in reply to the case.

.google.cloud.support.v2beta.EmailMessage email_message = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EmailMessage

The emailMessage.

getEmailMessageOrBuilder()

public EmailMessageOrBuilder getEmailMessageOrBuilder()

Output only. An email message received in reply to the case.

.google.cloud.support.v2beta.EmailMessage email_message = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EmailMessageOrBuilder

getEventObjectCase()

public FeedItem.EventObjectCase getEventObjectCase()
Returns
Type Description
FeedItem.EventObjectCase

getEventTime()

public Timestamp getEventTime()

Output only. Time corresponding to the event of this item.

.google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The eventTime.

getEventTimeOrBuilder()

public TimestampOrBuilder getEventTimeOrBuilder()

Output only. Time corresponding to the event of this item.

.google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<FeedItem> getParserForType()
Returns
Type Description
Parser<FeedItem>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAttachment()

public boolean hasAttachment()

Output only. An attachment attached to the case.

.google.cloud.support.v2beta.Attachment attachment = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the attachment field is set.

hasComment()

public boolean hasComment()

Output only. A comment added to the case.

.google.cloud.support.v2beta.Comment comment = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the comment field is set.

hasDeletedAttachment()

public boolean hasDeletedAttachment()

Output only. A deleted attachment that used to be associated with the support case.

.google.cloud.support.v2beta.Attachment deleted_attachment = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the deletedAttachment field is set.

hasEmailMessage()

public boolean hasEmailMessage()

Output only. An email message received in reply to the case.

.google.cloud.support.v2beta.EmailMessage email_message = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the emailMessage field is set.

hasEventTime()

public boolean hasEventTime()

Output only. Time corresponding to the event of this item.

.google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the eventTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FeedItem.Builder newBuilderForType()
Returns
Type Description
FeedItem.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FeedItem.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FeedItem.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FeedItem.Builder toBuilder()
Returns
Type Description
FeedItem.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException