java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.ChatMessage
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, ChatMessageOrBuilder

public final class ChatMessage extends com.google.protobuf.GeneratedMessageV3 implements ChatMessageOrBuilder
 聊天
 
Protobuf type ChatMessage
See Also:
  • Field Details

    • COMMON_FIELD_NUMBER

      public static final int COMMON_FIELD_NUMBER
      See Also:
    • USER_FIELD_NUMBER

      public static final int USER_FIELD_NUMBER
      See Also:
    • CONTENT_FIELD_NUMBER

      public static final int CONTENT_FIELD_NUMBER
      See Also:
    • VISIBLETOSENDER_FIELD_NUMBER

      public static final int VISIBLETOSENDER_FIELD_NUMBER
      See Also:
    • BACKGROUNDIMAGE_FIELD_NUMBER

      public static final int BACKGROUNDIMAGE_FIELD_NUMBER
      See Also:
    • FULLSCREENTEXTCOLOR_FIELD_NUMBER

      public static final int FULLSCREENTEXTCOLOR_FIELD_NUMBER
      See Also:
    • BACKGROUNDIMAGEV2_FIELD_NUMBER

      public static final int BACKGROUNDIMAGEV2_FIELD_NUMBER
      See Also:
    • PUBLICAREACOMMON_FIELD_NUMBER

      public static final int PUBLICAREACOMMON_FIELD_NUMBER
      See Also:
    • GIFTIMAGE_FIELD_NUMBER

      public static final int GIFTIMAGE_FIELD_NUMBER
      See Also:
    • AGREEMSGID_FIELD_NUMBER

      public static final int AGREEMSGID_FIELD_NUMBER
      See Also:
    • PRIORITYLEVEL_FIELD_NUMBER

      public static final int PRIORITYLEVEL_FIELD_NUMBER
      See Also:
    • LANDSCAPEAREACOMMON_FIELD_NUMBER

      public static final int LANDSCAPEAREACOMMON_FIELD_NUMBER
      See Also:
    • EVENTTIME_FIELD_NUMBER

      public static final int EVENTTIME_FIELD_NUMBER
      See Also:
    • SENDREVIEW_FIELD_NUMBER

      public static final int SENDREVIEW_FIELD_NUMBER
      See Also:
    • FROMINTERCOM_FIELD_NUMBER

      public static final int FROMINTERCOM_FIELD_NUMBER
      See Also:
    • INTERCOMHIDEUSERCARD_FIELD_NUMBER

      public static final int INTERCOMHIDEUSERCARD_FIELD_NUMBER
      See Also:
    • CHATBY_FIELD_NUMBER

      public static final int CHATBY_FIELD_NUMBER
      See Also:
    • INDIVIDUALCHATPRIORITY_FIELD_NUMBER

      public static final int INDIVIDUALCHATPRIORITY_FIELD_NUMBER
      See Also:
    • RTFCONTENT_FIELD_NUMBER

      public static final int RTFCONTENT_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasCommon

      public boolean hasCommon()
      .Common common = 1;
      Specified by:
      hasCommon in interface ChatMessageOrBuilder
      Returns:
      Whether the common field is set.
    • getCommon

      public Common getCommon()
      .Common common = 1;
      Specified by:
      getCommon in interface ChatMessageOrBuilder
      Returns:
      The common.
    • getCommonOrBuilder

      public CommonOrBuilder getCommonOrBuilder()
      .Common common = 1;
      Specified by:
      getCommonOrBuilder in interface ChatMessageOrBuilder
    • hasUser

      public boolean hasUser()
      .User user = 2;
      Specified by:
      hasUser in interface ChatMessageOrBuilder
      Returns:
      Whether the user field is set.
    • getUser

      public User getUser()
      .User user = 2;
      Specified by:
      getUser in interface ChatMessageOrBuilder
      Returns:
      The user.
    • getUserOrBuilder

      public UserOrBuilder getUserOrBuilder()
      .User user = 2;
      Specified by:
      getUserOrBuilder in interface ChatMessageOrBuilder
    • getContent

      public String getContent()
      string content = 3;
      Specified by:
      getContent in interface ChatMessageOrBuilder
      Returns:
      The content.
    • getContentBytes

      public com.google.protobuf.ByteString getContentBytes()
      string content = 3;
      Specified by:
      getContentBytes in interface ChatMessageOrBuilder
      Returns:
      The bytes for content.
    • getVisibleToSender

      public boolean getVisibleToSender()
      bool visibleToSender = 4;
      Specified by:
      getVisibleToSender in interface ChatMessageOrBuilder
      Returns:
      The visibleToSender.
    • hasBackgroundImage

      public boolean hasBackgroundImage()
      .Image backgroundImage = 5;
      Specified by:
      hasBackgroundImage in interface ChatMessageOrBuilder
      Returns:
      Whether the backgroundImage field is set.
    • getBackgroundImage

      public Image getBackgroundImage()
      .Image backgroundImage = 5;
      Specified by:
      getBackgroundImage in interface ChatMessageOrBuilder
      Returns:
      The backgroundImage.
    • getBackgroundImageOrBuilder

      public ImageOrBuilder getBackgroundImageOrBuilder()
      .Image backgroundImage = 5;
      Specified by:
      getBackgroundImageOrBuilder in interface ChatMessageOrBuilder
    • getFullScreenTextColor

      public String getFullScreenTextColor()
      string fullScreenTextColor = 6;
      Specified by:
      getFullScreenTextColor in interface ChatMessageOrBuilder
      Returns:
      The fullScreenTextColor.
    • getFullScreenTextColorBytes

      public com.google.protobuf.ByteString getFullScreenTextColorBytes()
      string fullScreenTextColor = 6;
      Specified by:
      getFullScreenTextColorBytes in interface ChatMessageOrBuilder
      Returns:
      The bytes for fullScreenTextColor.
    • hasBackgroundImageV2

      public boolean hasBackgroundImageV2()
      .Image backgroundImageV2 = 7;
      Specified by:
      hasBackgroundImageV2 in interface ChatMessageOrBuilder
      Returns:
      Whether the backgroundImageV2 field is set.
    • getBackgroundImageV2

      public Image getBackgroundImageV2()
      .Image backgroundImageV2 = 7;
      Specified by:
      getBackgroundImageV2 in interface ChatMessageOrBuilder
      Returns:
      The backgroundImageV2.
    • getBackgroundImageV2OrBuilder

      public ImageOrBuilder getBackgroundImageV2OrBuilder()
      .Image backgroundImageV2 = 7;
      Specified by:
      getBackgroundImageV2OrBuilder in interface ChatMessageOrBuilder
    • hasPublicAreaCommon

      public boolean hasPublicAreaCommon()
      .PublicAreaCommon publicAreaCommon = 9;
      Specified by:
      hasPublicAreaCommon in interface ChatMessageOrBuilder
      Returns:
      Whether the publicAreaCommon field is set.
    • getPublicAreaCommon

      public PublicAreaCommon getPublicAreaCommon()
      .PublicAreaCommon publicAreaCommon = 9;
      Specified by:
      getPublicAreaCommon in interface ChatMessageOrBuilder
      Returns:
      The publicAreaCommon.
    • getPublicAreaCommonOrBuilder

      public PublicAreaCommonOrBuilder getPublicAreaCommonOrBuilder()
      .PublicAreaCommon publicAreaCommon = 9;
      Specified by:
      getPublicAreaCommonOrBuilder in interface ChatMessageOrBuilder
    • hasGiftImage

      public boolean hasGiftImage()
      .Image giftImage = 10;
      Specified by:
      hasGiftImage in interface ChatMessageOrBuilder
      Returns:
      Whether the giftImage field is set.
    • getGiftImage

      public Image getGiftImage()
      .Image giftImage = 10;
      Specified by:
      getGiftImage in interface ChatMessageOrBuilder
      Returns:
      The giftImage.
    • getGiftImageOrBuilder

      public ImageOrBuilder getGiftImageOrBuilder()
      .Image giftImage = 10;
      Specified by:
      getGiftImageOrBuilder in interface ChatMessageOrBuilder
    • getAgreeMsgId

      public long getAgreeMsgId()
      uint64 agreeMsgId = 11;
      Specified by:
      getAgreeMsgId in interface ChatMessageOrBuilder
      Returns:
      The agreeMsgId.
    • getPriorityLevel

      public int getPriorityLevel()
      uint32 priorityLevel = 12;
      Specified by:
      getPriorityLevel in interface ChatMessageOrBuilder
      Returns:
      The priorityLevel.
    • hasLandscapeAreaCommon

      public boolean hasLandscapeAreaCommon()
      .LandscapeAreaCommon landscapeAreaCommon = 13;
      Specified by:
      hasLandscapeAreaCommon in interface ChatMessageOrBuilder
      Returns:
      Whether the landscapeAreaCommon field is set.
    • getLandscapeAreaCommon

      public LandscapeAreaCommon getLandscapeAreaCommon()
      .LandscapeAreaCommon landscapeAreaCommon = 13;
      Specified by:
      getLandscapeAreaCommon in interface ChatMessageOrBuilder
      Returns:
      The landscapeAreaCommon.
    • getLandscapeAreaCommonOrBuilder

      public LandscapeAreaCommonOrBuilder getLandscapeAreaCommonOrBuilder()
      .LandscapeAreaCommon landscapeAreaCommon = 13;
      Specified by:
      getLandscapeAreaCommonOrBuilder in interface ChatMessageOrBuilder
    • getEventTime

      public long getEventTime()
      uint64 eventTime = 15;
      Specified by:
      getEventTime in interface ChatMessageOrBuilder
      Returns:
      The eventTime.
    • getSendReview

      public boolean getSendReview()
      bool sendReview = 16;
      Specified by:
      getSendReview in interface ChatMessageOrBuilder
      Returns:
      The sendReview.
    • getFromIntercom

      public boolean getFromIntercom()
      bool fromIntercom = 17;
      Specified by:
      getFromIntercom in interface ChatMessageOrBuilder
      Returns:
      The fromIntercom.
    • getIntercomHideUserCard

      public boolean getIntercomHideUserCard()
      bool intercomHideUserCard = 18;
      Specified by:
      getIntercomHideUserCard in interface ChatMessageOrBuilder
      Returns:
      The intercomHideUserCard.
    • getChatBy

      public String getChatBy()
        repeated chatTagsList = 19;
       
      string chatBy = 20;
      Specified by:
      getChatBy in interface ChatMessageOrBuilder
      Returns:
      The chatBy.
    • getChatByBytes

      public com.google.protobuf.ByteString getChatByBytes()
        repeated chatTagsList = 19;
       
      string chatBy = 20;
      Specified by:
      getChatByBytes in interface ChatMessageOrBuilder
      Returns:
      The bytes for chatBy.
    • getIndividualChatPriority

      public int getIndividualChatPriority()
      uint32 individualChatPriority = 21;
      Specified by:
      getIndividualChatPriority in interface ChatMessageOrBuilder
      Returns:
      The individualChatPriority.
    • hasRtfContent

      public boolean hasRtfContent()
      .Text rtfContent = 22;
      Specified by:
      hasRtfContent in interface ChatMessageOrBuilder
      Returns:
      Whether the rtfContent field is set.
    • getRtfContent

      public Text getRtfContent()
      .Text rtfContent = 22;
      Specified by:
      getRtfContent in interface ChatMessageOrBuilder
      Returns:
      The rtfContent.
    • getRtfContentOrBuilder

      public TextOrBuilder getRtfContentOrBuilder()
      .Text rtfContent = 22;
      Specified by:
      getRtfContentOrBuilder in interface ChatMessageOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 ChatMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ChatMessage.Builder newBuilder()
    • newBuilder

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

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

      protected ChatMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ChatMessage getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ChatMessage> 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.GeneratedMessageV3
    • getDefaultInstanceForType

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