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:
  • Field Details

  • 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
    • hasImage

      public boolean hasImage()
      .Image image = 1;
      Specified by:
      hasImage in interface GiftStructOrBuilder
      Returns:
      Whether the image field is set.
    • getImage

      public Image getImage()
      .Image image = 1;
      Specified by:
      getImage in interface GiftStructOrBuilder
      Returns:
      The image.
    • getImageOrBuilder

      public ImageOrBuilder getImageOrBuilder()
      .Image image = 1;
      Specified by:
      getImageOrBuilder in interface GiftStructOrBuilder
    • getDescribe

      public String getDescribe()
      string describe = 2;
      Specified by:
      getDescribe in interface GiftStructOrBuilder
      Returns:
      The describe.
    • getDescribeBytes

      public com.google.protobuf.ByteString getDescribeBytes()
      string describe = 2;
      Specified by:
      getDescribeBytes in interface GiftStructOrBuilder
      Returns:
      The bytes for describe.
    • getNotify

      public boolean getNotify()
      bool notify = 3;
      Specified by:
      getNotify in interface GiftStructOrBuilder
      Returns:
      The notify.
    • getDuration

      public long getDuration()
      uint64 duration = 4;
      Specified by:
      getDuration in interface GiftStructOrBuilder
      Returns:
      The duration.
    • getId

      public long getId()
      uint64 id = 5;
      Specified by:
      getId in interface GiftStructOrBuilder
      Returns:
      The id.
    • getForLinkmic

      public boolean getForLinkmic()
        GiftStructFansClubInfo fansclubInfo = 6;
       
      bool forLinkmic = 7;
      Specified by:
      getForLinkmic in interface GiftStructOrBuilder
      Returns:
      The forLinkmic.
    • getDoodle

      public boolean getDoodle()
      bool doodle = 8;
      Specified by:
      getDoodle in interface GiftStructOrBuilder
      Returns:
      The doodle.
    • getForFansclub

      public boolean getForFansclub()
      bool forFansclub = 9;
      Specified by:
      getForFansclub in interface GiftStructOrBuilder
      Returns:
      The forFansclub.
    • getCombo

      public boolean getCombo()
      bool combo = 10;
      Specified by:
      getCombo in interface GiftStructOrBuilder
      Returns:
      The combo.
    • getType

      public int getType()
      uint32 type = 11;
      Specified by:
      getType in interface GiftStructOrBuilder
      Returns:
      The type.
    • getDiamondCount

      public int getDiamondCount()
      uint32 diamondCount = 12;
      Specified by:
      getDiamondCount in interface GiftStructOrBuilder
      Returns:
      The diamondCount.
    • getIsDisplayedOnPanel

      public boolean getIsDisplayedOnPanel()
      bool isDisplayedOnPanel = 13;
      Specified by:
      getIsDisplayedOnPanel in interface GiftStructOrBuilder
      Returns:
      The isDisplayedOnPanel.
    • getPrimaryEffectId

      public long getPrimaryEffectId()
      uint64 primaryEffectId = 14;
      Specified by:
      getPrimaryEffectId in interface GiftStructOrBuilder
      Returns:
      The primaryEffectId.
    • hasGiftLabelIcon

      public boolean hasGiftLabelIcon()
      .Image giftLabelIcon = 15;
      Specified by:
      hasGiftLabelIcon in interface GiftStructOrBuilder
      Returns:
      Whether the giftLabelIcon field is set.
    • getGiftLabelIcon

      public Image getGiftLabelIcon()
      .Image giftLabelIcon = 15;
      Specified by:
      getGiftLabelIcon in interface GiftStructOrBuilder
      Returns:
      The giftLabelIcon.
    • getGiftLabelIconOrBuilder

      public ImageOrBuilder getGiftLabelIconOrBuilder()
      .Image giftLabelIcon = 15;
      Specified by:
      getGiftLabelIconOrBuilder in interface GiftStructOrBuilder
    • getName

      public String getName()
      string name = 16;
      Specified by:
      getName in interface GiftStructOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 16;
      Specified by:
      getNameBytes in interface GiftStructOrBuilder
      Returns:
      The bytes for name.
    • getRegion

      public String getRegion()
      string region = 17;
      Specified by:
      getRegion in interface GiftStructOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
      string region = 17;
      Specified by:
      getRegionBytes in interface GiftStructOrBuilder
      Returns:
      The bytes for region.
    • getManual

      public String getManual()
      string manual = 18;
      Specified by:
      getManual in interface GiftStructOrBuilder
      Returns:
      The manual.
    • getManualBytes

      public com.google.protobuf.ByteString getManualBytes()
      string manual = 18;
      Specified by:
      getManualBytes in interface GiftStructOrBuilder
      Returns:
      The bytes for manual.
    • getForCustom

      public boolean getForCustom()
      bool forCustom = 19;
      Specified by:
      getForCustom in interface GiftStructOrBuilder
      Returns:
      The forCustom.
    • hasIcon

      public boolean hasIcon()
        specialEffectsMap = 20;
       
      .Image icon = 21;
      Specified by:
      hasIcon in interface GiftStructOrBuilder
      Returns:
      Whether the icon field is set.
    • getIcon

      public Image getIcon()
        specialEffectsMap = 20;
       
      .Image icon = 21;
      Specified by:
      getIcon in interface GiftStructOrBuilder
      Returns:
      The icon.
    • getIconOrBuilder

      public ImageOrBuilder getIconOrBuilder()
        specialEffectsMap = 20;
       
      .Image icon = 21;
      Specified by:
      getIconOrBuilder in interface GiftStructOrBuilder
    • getActionType

      public int getActionType()
       fixme 后面的就不写了还有几十个属性
       
      uint32 actionType = 22;
      Specified by:
      getActionType in interface GiftStructOrBuilder
      Returns:
      The actionType.
    • 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 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

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

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

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

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

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

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

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

      public static GiftStruct.Builder newBuilder()
    • newBuilder

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

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

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

      public static GiftStruct getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<GiftStruct> 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 GiftStruct getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder