java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GiftStruct.Builder>
tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.GiftStruct.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, GiftStructOrBuilder
Enclosing class:
GiftStruct

public static final class GiftStruct.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GiftStruct.Builder> implements GiftStructOrBuilder
Protobuf type GiftStruct
  • Method Details

    • 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.Builder<GiftStruct.Builder>
    • clear

      public GiftStruct.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<GiftStruct.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GiftStruct.Builder>
    • getDefaultInstanceForType

      public GiftStruct getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

      public GiftStruct.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<GiftStruct.Builder>
    • setField

      public GiftStruct.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<GiftStruct.Builder>
    • clearField

      public GiftStruct.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GiftStruct.Builder>
    • clearOneof

      public GiftStruct.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GiftStruct.Builder>
    • setRepeatedField

      public GiftStruct.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GiftStruct.Builder>
    • addRepeatedField

      public GiftStruct.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GiftStruct.Builder>
    • mergeFrom

      public GiftStruct.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GiftStruct.Builder>
    • mergeFrom

      public GiftStruct.Builder mergeFrom(GiftStruct other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GiftStruct.Builder>
    • mergeFrom

      public GiftStruct.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GiftStruct.Builder>
      Throws:
      IOException
    • 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.
    • setImage

      public GiftStruct.Builder setImage(Image value)
      .Image image = 1;
    • setImage

      public GiftStruct.Builder setImage(Image.Builder builderForValue)
      .Image image = 1;
    • mergeImage

      public GiftStruct.Builder mergeImage(Image value)
      .Image image = 1;
    • clearImage

      public GiftStruct.Builder clearImage()
      .Image image = 1;
    • getImageBuilder

      public Image.Builder getImageBuilder()
      .Image image = 1;
    • 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.
    • setDescribe

      public GiftStruct.Builder setDescribe(String value)
      string describe = 2;
      Parameters:
      value - The describe to set.
      Returns:
      This builder for chaining.
    • clearDescribe

      public GiftStruct.Builder clearDescribe()
      string describe = 2;
      Returns:
      This builder for chaining.
    • setDescribeBytes

      public GiftStruct.Builder setDescribeBytes(com.google.protobuf.ByteString value)
      string describe = 2;
      Parameters:
      value - The bytes for describe to set.
      Returns:
      This builder for chaining.
    • getNotify

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

      public GiftStruct.Builder setNotify(boolean value)
      bool notify = 3;
      Parameters:
      value - The notify to set.
      Returns:
      This builder for chaining.
    • clearNotify

      public GiftStruct.Builder clearNotify()
      bool notify = 3;
      Returns:
      This builder for chaining.
    • getDuration

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

      public GiftStruct.Builder setDuration(long value)
      uint64 duration = 4;
      Parameters:
      value - The duration to set.
      Returns:
      This builder for chaining.
    • clearDuration

      public GiftStruct.Builder clearDuration()
      uint64 duration = 4;
      Returns:
      This builder for chaining.
    • getId

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

      public GiftStruct.Builder setId(long value)
      uint64 id = 5;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public GiftStruct.Builder clearId()
      uint64 id = 5;
      Returns:
      This builder for chaining.
    • getForLinkmic

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

      public GiftStruct.Builder setForLinkmic(boolean value)
        GiftStructFansClubInfo fansclubInfo = 6;
       
      bool forLinkmic = 7;
      Parameters:
      value - The forLinkmic to set.
      Returns:
      This builder for chaining.
    • clearForLinkmic

      public GiftStruct.Builder clearForLinkmic()
        GiftStructFansClubInfo fansclubInfo = 6;
       
      bool forLinkmic = 7;
      Returns:
      This builder for chaining.
    • getDoodle

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

      public GiftStruct.Builder setDoodle(boolean value)
      bool doodle = 8;
      Parameters:
      value - The doodle to set.
      Returns:
      This builder for chaining.
    • clearDoodle

      public GiftStruct.Builder clearDoodle()
      bool doodle = 8;
      Returns:
      This builder for chaining.
    • getForFansclub

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

      public GiftStruct.Builder setForFansclub(boolean value)
      bool forFansclub = 9;
      Parameters:
      value - The forFansclub to set.
      Returns:
      This builder for chaining.
    • clearForFansclub

      public GiftStruct.Builder clearForFansclub()
      bool forFansclub = 9;
      Returns:
      This builder for chaining.
    • getCombo

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

      public GiftStruct.Builder setCombo(boolean value)
      bool combo = 10;
      Parameters:
      value - The combo to set.
      Returns:
      This builder for chaining.
    • clearCombo

      public GiftStruct.Builder clearCombo()
      bool combo = 10;
      Returns:
      This builder for chaining.
    • getType

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

      public GiftStruct.Builder setType(int value)
      uint32 type = 11;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public GiftStruct.Builder clearType()
      uint32 type = 11;
      Returns:
      This builder for chaining.
    • getDiamondCount

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

      public GiftStruct.Builder setDiamondCount(int value)
      uint32 diamondCount = 12;
      Parameters:
      value - The diamondCount to set.
      Returns:
      This builder for chaining.
    • clearDiamondCount

      public GiftStruct.Builder clearDiamondCount()
      uint32 diamondCount = 12;
      Returns:
      This builder for chaining.
    • getIsDisplayedOnPanel

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

      public GiftStruct.Builder setIsDisplayedOnPanel(boolean value)
      bool isDisplayedOnPanel = 13;
      Parameters:
      value - The isDisplayedOnPanel to set.
      Returns:
      This builder for chaining.
    • clearIsDisplayedOnPanel

      public GiftStruct.Builder clearIsDisplayedOnPanel()
      bool isDisplayedOnPanel = 13;
      Returns:
      This builder for chaining.
    • getPrimaryEffectId

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

      public GiftStruct.Builder setPrimaryEffectId(long value)
      uint64 primaryEffectId = 14;
      Parameters:
      value - The primaryEffectId to set.
      Returns:
      This builder for chaining.
    • clearPrimaryEffectId

      public GiftStruct.Builder clearPrimaryEffectId()
      uint64 primaryEffectId = 14;
      Returns:
      This builder for chaining.
    • 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.
    • setGiftLabelIcon

      public GiftStruct.Builder setGiftLabelIcon(Image value)
      .Image giftLabelIcon = 15;
    • setGiftLabelIcon

      public GiftStruct.Builder setGiftLabelIcon(Image.Builder builderForValue)
      .Image giftLabelIcon = 15;
    • mergeGiftLabelIcon

      public GiftStruct.Builder mergeGiftLabelIcon(Image value)
      .Image giftLabelIcon = 15;
    • clearGiftLabelIcon

      public GiftStruct.Builder clearGiftLabelIcon()
      .Image giftLabelIcon = 15;
    • getGiftLabelIconBuilder

      public Image.Builder getGiftLabelIconBuilder()
      .Image giftLabelIcon = 15;
    • 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.
    • setName

      public GiftStruct.Builder setName(String value)
      string name = 16;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public GiftStruct.Builder clearName()
      string name = 16;
      Returns:
      This builder for chaining.
    • setNameBytes

      public GiftStruct.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 16;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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.
    • setRegion

      public GiftStruct.Builder setRegion(String value)
      string region = 17;
      Parameters:
      value - The region to set.
      Returns:
      This builder for chaining.
    • clearRegion

      public GiftStruct.Builder clearRegion()
      string region = 17;
      Returns:
      This builder for chaining.
    • setRegionBytes

      public GiftStruct.Builder setRegionBytes(com.google.protobuf.ByteString value)
      string region = 17;
      Parameters:
      value - The bytes for region to set.
      Returns:
      This builder for chaining.
    • 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.
    • setManual

      public GiftStruct.Builder setManual(String value)
      string manual = 18;
      Parameters:
      value - The manual to set.
      Returns:
      This builder for chaining.
    • clearManual

      public GiftStruct.Builder clearManual()
      string manual = 18;
      Returns:
      This builder for chaining.
    • setManualBytes

      public GiftStruct.Builder setManualBytes(com.google.protobuf.ByteString value)
      string manual = 18;
      Parameters:
      value - The bytes for manual to set.
      Returns:
      This builder for chaining.
    • getForCustom

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

      public GiftStruct.Builder setForCustom(boolean value)
      bool forCustom = 19;
      Parameters:
      value - The forCustom to set.
      Returns:
      This builder for chaining.
    • clearForCustom

      public GiftStruct.Builder clearForCustom()
      bool forCustom = 19;
      Returns:
      This builder for chaining.
    • 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.
    • setIcon

      public GiftStruct.Builder setIcon(Image value)
        specialEffectsMap = 20;
       
      .Image icon = 21;
    • setIcon

      public GiftStruct.Builder setIcon(Image.Builder builderForValue)
        specialEffectsMap = 20;
       
      .Image icon = 21;
    • mergeIcon

      public GiftStruct.Builder mergeIcon(Image value)
        specialEffectsMap = 20;
       
      .Image icon = 21;
    • clearIcon

      public GiftStruct.Builder clearIcon()
        specialEffectsMap = 20;
       
      .Image icon = 21;
    • getIconBuilder

      public Image.Builder getIconBuilder()
        specialEffectsMap = 20;
       
      .Image icon = 21;
    • 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.
    • setActionType

      public GiftStruct.Builder setActionType(int value)
       fixme 后面的就不写了还有几十个属性
       
      uint32 actionType = 22;
      Parameters:
      value - The actionType to set.
      Returns:
      This builder for chaining.
    • clearActionType

      public GiftStruct.Builder clearActionType()
       fixme 后面的就不写了还有几十个属性
       
      uint32 actionType = 22;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final GiftStruct.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GiftStruct.Builder>
    • mergeUnknownFields

      public final GiftStruct.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GiftStruct.Builder>