Class FeedItem.Builder (0.48.0)

public static final class FeedItem.Builder extends GeneratedMessageV3.Builder<FeedItem.Builder> implements FeedItemOrBuilder

A feed item associated with a support case.

Protobuf type google.cloud.support.v2beta.FeedItem

Implements

FeedItemOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FeedItem.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FeedItem.Builder
Overrides

build()

public FeedItem build()
Returns
Type Description
FeedItem

buildPartial()

public FeedItem buildPartial()
Returns
Type Description
FeedItem

clear()

public FeedItem.Builder clear()
Returns
Type Description
FeedItem.Builder
Overrides

clearAttachment()

public FeedItem.Builder clearAttachment()

Output only. An attachment attached to the case.

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

Returns
Type Description
FeedItem.Builder

clearComment()

public FeedItem.Builder clearComment()

Output only. A comment added to the case.

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

Returns
Type Description
FeedItem.Builder

clearDeletedAttachment()

public FeedItem.Builder clearDeletedAttachment()

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
FeedItem.Builder

clearEmailMessage()

public FeedItem.Builder clearEmailMessage()

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
FeedItem.Builder

clearEventObject()

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

clearEventTime()

public FeedItem.Builder clearEventTime()

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
FeedItem.Builder

clearField(Descriptors.FieldDescriptor field)

public FeedItem.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FeedItem.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FeedItem.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FeedItem.Builder
Overrides

clone()

public FeedItem.Builder clone()
Returns
Type Description
FeedItem.Builder
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.

getAttachmentBuilder()

public Attachment.Builder getAttachmentBuilder()

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.Builder

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.

getCommentBuilder()

public Comment.Builder getCommentBuilder()

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.Builder

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.

getDeletedAttachmentBuilder()

public Attachment.Builder getDeletedAttachmentBuilder()

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.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getEmailMessageBuilder()

public EmailMessage.Builder getEmailMessageBuilder()

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.Builder

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.

getEventTimeBuilder()

public Timestamp.Builder getEventTimeBuilder()

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
Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAttachment(Attachment value)

public FeedItem.Builder mergeAttachment(Attachment value)

Output only. An attachment attached to the case.

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

Parameter
Name Description
value Attachment
Returns
Type Description
FeedItem.Builder

mergeComment(Comment value)

public FeedItem.Builder mergeComment(Comment value)

Output only. A comment added to the case.

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

Parameter
Name Description
value Comment
Returns
Type Description
FeedItem.Builder

mergeDeletedAttachment(Attachment value)

public FeedItem.Builder mergeDeletedAttachment(Attachment value)

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];

Parameter
Name Description
value Attachment
Returns
Type Description
FeedItem.Builder

mergeEmailMessage(EmailMessage value)

public FeedItem.Builder mergeEmailMessage(EmailMessage value)

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];

Parameter
Name Description
value EmailMessage
Returns
Type Description
FeedItem.Builder

mergeEventTime(Timestamp value)

public FeedItem.Builder mergeEventTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
FeedItem.Builder

mergeFrom(FeedItem other)

public FeedItem.Builder mergeFrom(FeedItem other)
Parameter
Name Description
other FeedItem
Returns
Type Description
FeedItem.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeedItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeedItem.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FeedItem.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FeedItem.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeedItem.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeedItem.Builder
Overrides

setAttachment(Attachment value)

public FeedItem.Builder setAttachment(Attachment value)

Output only. An attachment attached to the case.

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

Parameter
Name Description
value Attachment
Returns
Type Description
FeedItem.Builder

setAttachment(Attachment.Builder builderForValue)

public FeedItem.Builder setAttachment(Attachment.Builder builderForValue)

Output only. An attachment attached to the case.

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

Parameter
Name Description
builderForValue Attachment.Builder
Returns
Type Description
FeedItem.Builder

setComment(Comment value)

public FeedItem.Builder setComment(Comment value)

Output only. A comment added to the case.

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

Parameter
Name Description
value Comment
Returns
Type Description
FeedItem.Builder

setComment(Comment.Builder builderForValue)

public FeedItem.Builder setComment(Comment.Builder builderForValue)

Output only. A comment added to the case.

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

Parameter
Name Description
builderForValue Comment.Builder
Returns
Type Description
FeedItem.Builder

setDeletedAttachment(Attachment value)

public FeedItem.Builder setDeletedAttachment(Attachment value)

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];

Parameter
Name Description
value Attachment
Returns
Type Description
FeedItem.Builder

setDeletedAttachment(Attachment.Builder builderForValue)

public FeedItem.Builder setDeletedAttachment(Attachment.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Attachment.Builder
Returns
Type Description
FeedItem.Builder

setEmailMessage(EmailMessage value)

public FeedItem.Builder setEmailMessage(EmailMessage value)

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];

Parameter
Name Description
value EmailMessage
Returns
Type Description
FeedItem.Builder

setEmailMessage(EmailMessage.Builder builderForValue)

public FeedItem.Builder setEmailMessage(EmailMessage.Builder builderForValue)

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];

Parameter
Name Description
builderForValue EmailMessage.Builder
Returns
Type Description
FeedItem.Builder

setEventTime(Timestamp value)

public FeedItem.Builder setEventTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
FeedItem.Builder

setEventTime(Timestamp.Builder builderForValue)

public FeedItem.Builder setEventTime(Timestamp.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FeedItem.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FeedItem.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FeedItem.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FeedItem.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FeedItem.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FeedItem.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeedItem.Builder
Overrides