Class FeedItem.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FeedItem.Builder>
com.google.cloud.support.v2beta.FeedItem.Builder
All Implemented Interfaces:
FeedItemOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FeedItem

public static final class FeedItem.Builder extends com.google.protobuf.GeneratedMessage.Builder<FeedItem.Builder> implements FeedItemOrBuilder
 A feed item associated with a support case.
 
Protobuf type google.cloud.support.v2beta.FeedItem
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FeedItem.Builder>
    • clear

      public FeedItem.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FeedItem.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FeedItem.Builder>
    • getDefaultInstanceForType

      public FeedItem getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FeedItem build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FeedItem buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FeedItem.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FeedItem.Builder>
    • mergeFrom

      public FeedItem.Builder mergeFrom(FeedItem other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FeedItem.Builder>
    • mergeFrom

      public FeedItem.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FeedItem.Builder>
      Throws:
      IOException
    • getEventObjectCase

      public FeedItem.EventObjectCase getEventObjectCase()
      Specified by:
      getEventObjectCase in interface FeedItemOrBuilder
    • clearEventObject

      public FeedItem.Builder clearEventObject()
    • 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];
      Specified by:
      hasComment in interface FeedItemOrBuilder
      Returns:
      Whether the comment field is set.
    • 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];
      Specified by:
      getComment in interface FeedItemOrBuilder
      Returns:
      The comment.
    • setComment

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

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

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getCommentOrBuilder in interface FeedItemOrBuilder
    • 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];
      Specified by:
      hasAttachment in interface FeedItemOrBuilder
      Returns:
      Whether the attachment field is set.
    • 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];
      Specified by:
      getAttachment in interface FeedItemOrBuilder
      Returns:
      The attachment.
    • setAttachment

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

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

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getAttachmentOrBuilder in interface FeedItemOrBuilder
    • 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];
      Specified by:
      hasEmailMessage in interface FeedItemOrBuilder
      Returns:
      Whether the emailMessage field is set.
    • 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];
      Specified by:
      getEmailMessage in interface FeedItemOrBuilder
      Returns:
      The emailMessage.
    • setEmailMessage

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

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

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getEmailMessageOrBuilder in interface FeedItemOrBuilder
    • 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];
      Specified by:
      hasDeletedAttachment in interface FeedItemOrBuilder
      Returns:
      Whether the deletedAttachment field is set.
    • 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];
      Specified by:
      getDeletedAttachment in interface FeedItemOrBuilder
      Returns:
      The deletedAttachment.
    • setDeletedAttachment

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

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

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getDeletedAttachmentOrBuilder in interface FeedItemOrBuilder
    • 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];
      Specified by:
      hasEventTime in interface FeedItemOrBuilder
      Returns:
      Whether the eventTime field is set.
    • getEventTime

      public com.google.protobuf.Timestamp getEventTime()
       Output only. Time corresponding to the event of this item.
       
      .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEventTime in interface FeedItemOrBuilder
      Returns:
      The eventTime.
    • setEventTime

      public FeedItem.Builder setEventTime(com.google.protobuf.Timestamp value)
       Output only. Time corresponding to the event of this item.
       
      .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEventTime

      public FeedItem.Builder setEventTime(com.google.protobuf.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];
    • mergeEventTime

      public FeedItem.Builder mergeEventTime(com.google.protobuf.Timestamp value)
       Output only. Time corresponding to the event of this item.
       
      .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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];
    • getEventTimeBuilder

      public com.google.protobuf.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];
    • getEventTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()
       Output only. Time corresponding to the event of this item.
       
      .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEventTimeOrBuilder in interface FeedItemOrBuilder