Class FeedItem

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.support.v2beta.FeedItem
All Implemented Interfaces:
FeedItemOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class FeedItem extends com.google.protobuf.GeneratedMessage implements FeedItemOrBuilder
 A feed item associated with a support case.
 
Protobuf type google.cloud.support.v2beta.FeedItem
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    A feed item associated with a support case.
    static enum 
     

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

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Output only.
    Output only.
    Output only.
    Output only.
    static FeedItem
     
     
    Output only.
    Output only.
    static final com.google.protobuf.Descriptors.Descriptor
     
    Output only.
    Output only.
     
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    com.google.protobuf.Parser<FeedItem>
     
    int
     
    boolean
    Output only.
    boolean
    Output only.
    boolean
    Output only.
    boolean
    Output only.
    boolean
    Output only.
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(FeedItem prototype)
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static FeedItem
     
    static FeedItem
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FeedItem
    parseFrom(byte[] data)
     
    static FeedItem
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FeedItem
    parseFrom(com.google.protobuf.ByteString data)
     
    static FeedItem
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FeedItem
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static FeedItem
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FeedItem
     
    static FeedItem
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FeedItem
     
    static FeedItem
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<FeedItem>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • COMMENT_FIELD_NUMBER

      public static final int COMMENT_FIELD_NUMBER
      See Also:
    • ATTACHMENT_FIELD_NUMBER

      public static final int ATTACHMENT_FIELD_NUMBER
      See Also:
    • EMAIL_MESSAGE_FIELD_NUMBER

      public static final int EMAIL_MESSAGE_FIELD_NUMBER
      See Also:
    • DELETED_ATTACHMENT_FIELD_NUMBER

      public static final int DELETED_ATTACHMENT_FIELD_NUMBER
      See Also:
    • EVENT_TIME_FIELD_NUMBER

      public static final int EVENT_TIME_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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getEventObjectCase

      public FeedItem.EventObjectCase getEventObjectCase()
      Specified by:
      getEventObjectCase in interface FeedItemOrBuilder
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static FeedItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FeedItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FeedItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FeedItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FeedItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FeedItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FeedItem parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FeedItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FeedItem parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FeedItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FeedItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FeedItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static FeedItem.Builder newBuilder()
    • newBuilder

      public static FeedItem.Builder newBuilder(FeedItem prototype)
    • toBuilder

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

      protected FeedItem.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static FeedItem getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FeedItem> parser()
    • getParserForType

      public com.google.protobuf.Parser<FeedItem> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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