Class GiftStruct
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.GiftStruct
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,GiftStructOrBuilder
public final class GiftStruct
extends com.google.protobuf.GeneratedMessageV3
implements GiftStructOrBuilder
Protobuf type
GiftStruct- 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 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 TypeMethodDescriptionbooleanintfixme 后面的就不写了还有几十个属性booleangetCombo()bool combo = 10;static GiftStructstring describe = 2;com.google.protobuf.ByteStringstring describe = 2;static final com.google.protobuf.Descriptors.Descriptorintuint32 diamondCount = 12;booleanbool doodle = 8;longuint64 duration = 4;booleanbool forCustom = 19;booleanbool forFansclub = 9;booleanGiftStructFansClubInfo fansclubInfo = 6;.Image giftLabelIcon = 15;.Image giftLabelIcon = 15;getIcon()specialEffectsMap = 20;specialEffectsMap = 20;longgetId()uint64 id = 5;getImage().Image image = 1;.Image image = 1;booleanbool isDisplayedOnPanel = 13;string manual = 18;com.google.protobuf.ByteStringstring manual = 18;getName()string name = 16;com.google.protobuf.ByteStringstring name = 16;booleanbool notify = 3;com.google.protobuf.Parser<GiftStruct>longuint64 primaryEffectId = 14;string region = 17;com.google.protobuf.ByteStringstring region = 17;intintgetType()uint32 type = 11;boolean.Image giftLabelIcon = 15;inthashCode()booleanhasIcon()specialEffectsMap = 20;booleanhasImage().Image image = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic GiftStruct.Builderstatic GiftStruct.BuildernewBuilder(GiftStruct prototype) protected GiftStruct.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static GiftStructparseDelimitedFrom(InputStream input) static GiftStructparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GiftStructparseFrom(byte[] data) static GiftStructparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GiftStructparseFrom(com.google.protobuf.ByteString data) static GiftStructparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GiftStructparseFrom(com.google.protobuf.CodedInputStream input) static GiftStructparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GiftStructparseFrom(InputStream input) static GiftStructparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GiftStructparseFrom(ByteBuffer data) static GiftStructparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GiftStruct>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
-
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER- See Also:
-
DESCRIBE_FIELD_NUMBER
public static final int DESCRIBE_FIELD_NUMBER- See Also:
-
NOTIFY_FIELD_NUMBER
public static final int NOTIFY_FIELD_NUMBER- See Also:
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
FORLINKMIC_FIELD_NUMBER
public static final int FORLINKMIC_FIELD_NUMBER- See Also:
-
DOODLE_FIELD_NUMBER
public static final int DOODLE_FIELD_NUMBER- See Also:
-
FORFANSCLUB_FIELD_NUMBER
public static final int FORFANSCLUB_FIELD_NUMBER- See Also:
-
COMBO_FIELD_NUMBER
public static final int COMBO_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
DIAMONDCOUNT_FIELD_NUMBER
public static final int DIAMONDCOUNT_FIELD_NUMBER- See Also:
-
ISDISPLAYEDONPANEL_FIELD_NUMBER
public static final int ISDISPLAYEDONPANEL_FIELD_NUMBER- See Also:
-
PRIMARYEFFECTID_FIELD_NUMBER
public static final int PRIMARYEFFECTID_FIELD_NUMBER- See Also:
-
GIFTLABELICON_FIELD_NUMBER
public static final int GIFTLABELICON_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER- See Also:
-
MANUAL_FIELD_NUMBER
public static final int MANUAL_FIELD_NUMBER- See Also:
-
FORCUSTOM_FIELD_NUMBER
public static final int FORCUSTOM_FIELD_NUMBER- See Also:
-
ICON_FIELD_NUMBER
public static final int ICON_FIELD_NUMBER- See Also:
-
ACTIONTYPE_FIELD_NUMBER
public static final int ACTIONTYPE_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
-
hasImage
public boolean hasImage().Image image = 1;- Specified by:
hasImagein interfaceGiftStructOrBuilder- Returns:
- Whether the image field is set.
-
getImage
.Image image = 1;- Specified by:
getImagein interfaceGiftStructOrBuilder- Returns:
- The image.
-
getImageOrBuilder
.Image image = 1;- Specified by:
getImageOrBuilderin interfaceGiftStructOrBuilder
-
getDescribe
string describe = 2;- Specified by:
getDescribein interfaceGiftStructOrBuilder- Returns:
- The describe.
-
getDescribeBytes
public com.google.protobuf.ByteString getDescribeBytes()string describe = 2;- Specified by:
getDescribeBytesin interfaceGiftStructOrBuilder- Returns:
- The bytes for describe.
-
getNotify
public boolean getNotify()bool notify = 3;- Specified by:
getNotifyin interfaceGiftStructOrBuilder- Returns:
- The notify.
-
getDuration
public long getDuration()uint64 duration = 4;- Specified by:
getDurationin interfaceGiftStructOrBuilder- Returns:
- The duration.
-
getId
public long getId()uint64 id = 5;- Specified by:
getIdin interfaceGiftStructOrBuilder- Returns:
- The id.
-
getForLinkmic
public boolean getForLinkmic()GiftStructFansClubInfo fansclubInfo = 6;
bool forLinkmic = 7;- Specified by:
getForLinkmicin interfaceGiftStructOrBuilder- Returns:
- The forLinkmic.
-
getDoodle
public boolean getDoodle()bool doodle = 8;- Specified by:
getDoodlein interfaceGiftStructOrBuilder- Returns:
- The doodle.
-
getForFansclub
public boolean getForFansclub()bool forFansclub = 9;- Specified by:
getForFansclubin interfaceGiftStructOrBuilder- Returns:
- The forFansclub.
-
getCombo
public boolean getCombo()bool combo = 10;- Specified by:
getComboin interfaceGiftStructOrBuilder- Returns:
- The combo.
-
getType
public int getType()uint32 type = 11;- Specified by:
getTypein interfaceGiftStructOrBuilder- Returns:
- The type.
-
getDiamondCount
public int getDiamondCount()uint32 diamondCount = 12;- Specified by:
getDiamondCountin interfaceGiftStructOrBuilder- Returns:
- The diamondCount.
-
getIsDisplayedOnPanel
public boolean getIsDisplayedOnPanel()bool isDisplayedOnPanel = 13;- Specified by:
getIsDisplayedOnPanelin interfaceGiftStructOrBuilder- Returns:
- The isDisplayedOnPanel.
-
getPrimaryEffectId
public long getPrimaryEffectId()uint64 primaryEffectId = 14;- Specified by:
getPrimaryEffectIdin interfaceGiftStructOrBuilder- Returns:
- The primaryEffectId.
-
hasGiftLabelIcon
public boolean hasGiftLabelIcon().Image giftLabelIcon = 15;- Specified by:
hasGiftLabelIconin interfaceGiftStructOrBuilder- Returns:
- Whether the giftLabelIcon field is set.
-
getGiftLabelIcon
.Image giftLabelIcon = 15;- Specified by:
getGiftLabelIconin interfaceGiftStructOrBuilder- Returns:
- The giftLabelIcon.
-
getGiftLabelIconOrBuilder
.Image giftLabelIcon = 15;- Specified by:
getGiftLabelIconOrBuilderin interfaceGiftStructOrBuilder
-
getName
string name = 16;- Specified by:
getNamein interfaceGiftStructOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 16;- Specified by:
getNameBytesin interfaceGiftStructOrBuilder- Returns:
- The bytes for name.
-
getRegion
string region = 17;- Specified by:
getRegionin interfaceGiftStructOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()string region = 17;- Specified by:
getRegionBytesin interfaceGiftStructOrBuilder- Returns:
- The bytes for region.
-
getManual
string manual = 18;- Specified by:
getManualin interfaceGiftStructOrBuilder- Returns:
- The manual.
-
getManualBytes
public com.google.protobuf.ByteString getManualBytes()string manual = 18;- Specified by:
getManualBytesin interfaceGiftStructOrBuilder- Returns:
- The bytes for manual.
-
getForCustom
public boolean getForCustom()bool forCustom = 19;- Specified by:
getForCustomin interfaceGiftStructOrBuilder- Returns:
- The forCustom.
-
hasIcon
public boolean hasIcon()specialEffectsMap = 20;
.Image icon = 21;- Specified by:
hasIconin interfaceGiftStructOrBuilder- Returns:
- Whether the icon field is set.
-
getIcon
specialEffectsMap = 20;
.Image icon = 21;- Specified by:
getIconin interfaceGiftStructOrBuilder- Returns:
- The icon.
-
getIconOrBuilder
specialEffectsMap = 20;
.Image icon = 21;- Specified by:
getIconOrBuilderin interfaceGiftStructOrBuilder
-
getActionType
public int getActionType()fixme 后面的就不写了还有几十个属性
uint32 actionType = 22;- Specified by:
getActionTypein interfaceGiftStructOrBuilder- Returns:
- The actionType.
-
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 GiftStruct parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GiftStruct parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GiftStruct parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GiftStruct parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GiftStruct parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GiftStruct parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GiftStruct parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GiftStruct parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GiftStruct 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 GiftStruct.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
-