Class ChatMessage
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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonguint64 agreeMsgId = 11;.Image backgroundImage = 5;.Image backgroundImage = 5;.Image backgroundImageV2 = 7;.Image backgroundImageV2 = 7;repeated chatTagsList = 19;com.google.protobuf.ByteStringrepeated chatTagsList = 19;.Common common = 1;.Common common = 1;string content = 3;com.google.protobuf.ByteStringstring content = 3;static ChatMessagestatic final com.google.protobuf.Descriptors.Descriptorlonguint64 eventTime = 15;booleanbool fromIntercom = 17;string fullScreenTextColor = 6;com.google.protobuf.ByteStringstring fullScreenTextColor = 6;.Image giftImage = 10;.Image giftImage = 10;intuint32 individualChatPriority = 21;booleanbool intercomHideUserCard = 18;.LandscapeAreaCommon landscapeAreaCommon = 13;.LandscapeAreaCommon landscapeAreaCommon = 13;com.google.protobuf.Parser<ChatMessage>intuint32 priorityLevel = 12;.PublicAreaCommon publicAreaCommon = 9;.PublicAreaCommon publicAreaCommon = 9;.Text rtfContent = 22;.Text rtfContent = 22;booleanbool sendReview = 16;intgetUser().User user = 2;.User user = 2;booleanbool visibleToSender = 4;boolean.Image backgroundImage = 5;boolean.Image backgroundImageV2 = 7;boolean.Common common = 1;boolean.Image giftImage = 10;inthashCode()boolean.LandscapeAreaCommon landscapeAreaCommon = 13;boolean.PublicAreaCommon publicAreaCommon = 9;boolean.Text rtfContent = 22;booleanhasUser().User user = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ChatMessage.Builderstatic ChatMessage.BuildernewBuilder(ChatMessage prototype) protected ChatMessage.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ChatMessageparseDelimitedFrom(InputStream input) static ChatMessageparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChatMessageparseFrom(byte[] data) static ChatMessageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChatMessageparseFrom(com.google.protobuf.ByteString data) static ChatMessageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChatMessageparseFrom(com.google.protobuf.CodedInputStream input) static ChatMessageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChatMessageparseFrom(InputStream input) static ChatMessageparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChatMessageparseFrom(ByteBuffer data) static ChatMessageparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ChatMessage>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasCommon
public boolean hasCommon().Common common = 1;- Specified by:
hasCommonin interfaceChatMessageOrBuilder- Returns:
- Whether the common field is set.
-
getCommon
.Common common = 1;- Specified by:
getCommonin interfaceChatMessageOrBuilder- Returns:
- The common.
-
getCommonOrBuilder
.Common common = 1;- Specified by:
getCommonOrBuilderin interfaceChatMessageOrBuilder
-
hasUser
public boolean hasUser().User user = 2;- Specified by:
hasUserin interfaceChatMessageOrBuilder- Returns:
- Whether the user field is set.
-
getUser
.User user = 2;- Specified by:
getUserin interfaceChatMessageOrBuilder- Returns:
- The user.
-
getUserOrBuilder
.User user = 2;- Specified by:
getUserOrBuilderin interfaceChatMessageOrBuilder
-
getContent
string content = 3;- Specified by:
getContentin interfaceChatMessageOrBuilder- Returns:
- The content.
-
getContentBytes
public com.google.protobuf.ByteString getContentBytes()string content = 3;- Specified by:
getContentBytesin interfaceChatMessageOrBuilder- Returns:
- The bytes for content.
-
getVisibleToSender
public boolean getVisibleToSender()bool visibleToSender = 4;- Specified by:
getVisibleToSenderin interfaceChatMessageOrBuilder- Returns:
- The visibleToSender.
-
hasBackgroundImage
public boolean hasBackgroundImage().Image backgroundImage = 5;- Specified by:
hasBackgroundImagein interfaceChatMessageOrBuilder- Returns:
- Whether the backgroundImage field is set.
-
getBackgroundImage
.Image backgroundImage = 5;- Specified by:
getBackgroundImagein interfaceChatMessageOrBuilder- Returns:
- The backgroundImage.
-
getBackgroundImageOrBuilder
.Image backgroundImage = 5;- Specified by:
getBackgroundImageOrBuilderin interfaceChatMessageOrBuilder
-
getFullScreenTextColor
string fullScreenTextColor = 6;- Specified by:
getFullScreenTextColorin interfaceChatMessageOrBuilder- Returns:
- The fullScreenTextColor.
-
getFullScreenTextColorBytes
public com.google.protobuf.ByteString getFullScreenTextColorBytes()string fullScreenTextColor = 6;- Specified by:
getFullScreenTextColorBytesin interfaceChatMessageOrBuilder- Returns:
- The bytes for fullScreenTextColor.
-
hasBackgroundImageV2
public boolean hasBackgroundImageV2().Image backgroundImageV2 = 7;- Specified by:
hasBackgroundImageV2in interfaceChatMessageOrBuilder- Returns:
- Whether the backgroundImageV2 field is set.
-
getBackgroundImageV2
.Image backgroundImageV2 = 7;- Specified by:
getBackgroundImageV2in interfaceChatMessageOrBuilder- Returns:
- The backgroundImageV2.
-
getBackgroundImageV2OrBuilder
.Image backgroundImageV2 = 7;- Specified by:
getBackgroundImageV2OrBuilderin interfaceChatMessageOrBuilder
-
hasPublicAreaCommon
public boolean hasPublicAreaCommon().PublicAreaCommon publicAreaCommon = 9;- Specified by:
hasPublicAreaCommonin interfaceChatMessageOrBuilder- Returns:
- Whether the publicAreaCommon field is set.
-
getPublicAreaCommon
.PublicAreaCommon publicAreaCommon = 9;- Specified by:
getPublicAreaCommonin interfaceChatMessageOrBuilder- Returns:
- The publicAreaCommon.
-
getPublicAreaCommonOrBuilder
.PublicAreaCommon publicAreaCommon = 9;- Specified by:
getPublicAreaCommonOrBuilderin interfaceChatMessageOrBuilder
-
hasGiftImage
public boolean hasGiftImage().Image giftImage = 10;- Specified by:
hasGiftImagein interfaceChatMessageOrBuilder- Returns:
- Whether the giftImage field is set.
-
getGiftImage
.Image giftImage = 10;- Specified by:
getGiftImagein interfaceChatMessageOrBuilder- Returns:
- The giftImage.
-
getGiftImageOrBuilder
.Image giftImage = 10;- Specified by:
getGiftImageOrBuilderin interfaceChatMessageOrBuilder
-
getAgreeMsgId
public long getAgreeMsgId()uint64 agreeMsgId = 11;- Specified by:
getAgreeMsgIdin interfaceChatMessageOrBuilder- Returns:
- The agreeMsgId.
-
getPriorityLevel
public int getPriorityLevel()uint32 priorityLevel = 12;- Specified by:
getPriorityLevelin interfaceChatMessageOrBuilder- Returns:
- The priorityLevel.
-
hasLandscapeAreaCommon
public boolean hasLandscapeAreaCommon().LandscapeAreaCommon landscapeAreaCommon = 13;- Specified by:
hasLandscapeAreaCommonin interfaceChatMessageOrBuilder- Returns:
- Whether the landscapeAreaCommon field is set.
-
getLandscapeAreaCommon
.LandscapeAreaCommon landscapeAreaCommon = 13;- Specified by:
getLandscapeAreaCommonin interfaceChatMessageOrBuilder- Returns:
- The landscapeAreaCommon.
-
getLandscapeAreaCommonOrBuilder
.LandscapeAreaCommon landscapeAreaCommon = 13;- Specified by:
getLandscapeAreaCommonOrBuilderin interfaceChatMessageOrBuilder
-
getEventTime
public long getEventTime()uint64 eventTime = 15;- Specified by:
getEventTimein interfaceChatMessageOrBuilder- Returns:
- The eventTime.
-
getSendReview
public boolean getSendReview()bool sendReview = 16;- Specified by:
getSendReviewin interfaceChatMessageOrBuilder- Returns:
- The sendReview.
-
getFromIntercom
public boolean getFromIntercom()bool fromIntercom = 17;- Specified by:
getFromIntercomin interfaceChatMessageOrBuilder- Returns:
- The fromIntercom.
-
getIntercomHideUserCard
public boolean getIntercomHideUserCard()bool intercomHideUserCard = 18;- Specified by:
getIntercomHideUserCardin interfaceChatMessageOrBuilder- Returns:
- The intercomHideUserCard.
-
getChatBy
repeated chatTagsList = 19;
string chatBy = 20;- Specified by:
getChatByin interfaceChatMessageOrBuilder- Returns:
- The chatBy.
-
getChatByBytes
public com.google.protobuf.ByteString getChatByBytes()repeated chatTagsList = 19;
string chatBy = 20;- Specified by:
getChatByBytesin interfaceChatMessageOrBuilder- Returns:
- The bytes for chatBy.
-
getIndividualChatPriority
public int getIndividualChatPriority()uint32 individualChatPriority = 21;- Specified by:
getIndividualChatPriorityin interfaceChatMessageOrBuilder- Returns:
- The individualChatPriority.
-
hasRtfContent
public boolean hasRtfContent().Text rtfContent = 22;- Specified by:
hasRtfContentin interfaceChatMessageOrBuilder- Returns:
- Whether the rtfContent field is set.
-
getRtfContent
.Text rtfContent = 22;- Specified by:
getRtfContentin interfaceChatMessageOrBuilder- Returns:
- The rtfContent.
-
getRtfContentOrBuilder
.Text rtfContent = 22;- Specified by:
getRtfContentOrBuilderin interfaceChatMessageOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static ChatMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ChatMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ChatMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ChatMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-