Class FeedItem (0.60.0)
public final class FeedItem extends GeneratedMessageV3 implements FeedItemOrBuilder
A feed item associated with a support case.
Protobuf type google.cloud.support.v2beta.FeedItem
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
ATTACHMENT_FIELD_NUMBER
public static final int ATTACHMENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FeedItem.Builder newBuilder()
newBuilder(FeedItem prototype)
public static FeedItem.Builder newBuilder(FeedItem prototype)
Parameter |
Name |
Description |
prototype |
FeedItem
|
public static FeedItem parseDelimitedFrom(InputStream input)
public static FeedItem parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FeedItem parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FeedItem parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FeedItem parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FeedItem parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FeedItem parseFrom(CodedInputStream input)
public static FeedItem parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FeedItem parseFrom(InputStream input)
public static FeedItem parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FeedItem parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FeedItem parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FeedItem> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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];
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.
|
public CommentOrBuilder getCommentOrBuilder()
Output only. A comment added to the case.
.google.cloud.support.v2beta.Comment comment = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public FeedItem getDefaultInstanceForType()
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];
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];
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];
getEventObjectCase()
public FeedItem.EventObjectCase getEventObjectCase()
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];
getParserForType()
public Parser<FeedItem> getParserForType()
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.
|
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FeedItem.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FeedItem.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public FeedItem.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]