/*
 * MIT License
 *
 * Copyright (c) 2023 OrdinaryRoad
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: WebGiftFeed.proto

package tech.ordinaryroad.live.chat.client.kuaishou.protobuf;

public final class WebGiftFeedOuterClass {
  private WebGiftFeedOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface WebGiftFeedOrBuilder extends
      // @@protoc_insertion_point(interface_extends:WebGiftFeed)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string id = 1;</code>
     * @return The id.
     */
    java.lang.String getId();
    /**
     * <code>string id = 1;</code>
     * @return The bytes for id.
     */
    com.google.protobuf.ByteString
        getIdBytes();

    /**
     * <code>.SimpleUserInfo user = 2;</code>
     * @return Whether the user field is set.
     */
    boolean hasUser();
    /**
     * <code>.SimpleUserInfo user = 2;</code>
     * @return The user.
     */
    tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo getUser();
    /**
     * <code>.SimpleUserInfo user = 2;</code>
     */
    tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfoOrBuilder getUserOrBuilder();

    /**
     * <code>uint64 time = 3;</code>
     * @return The time.
     */
    long getTime();

    /**
     * <code>uint32 intGiftId = 4;</code>
     * @return The intGiftId.
     */
    int getIntGiftId();

    /**
     * <code>uint64 sortRank = 5;</code>
     * @return The sortRank.
     */
    long getSortRank();

    /**
     * <code>string mergeKey = 6;</code>
     * @return The mergeKey.
     */
    java.lang.String getMergeKey();
    /**
     * <code>string mergeKey = 6;</code>
     * @return The bytes for mergeKey.
     */
    com.google.protobuf.ByteString
        getMergeKeyBytes();

    /**
     * <code>uint32 batchSize = 7;</code>
     * @return The batchSize.
     */
    int getBatchSize();

    /**
     * <code>uint32 comboCount = 8;</code>
     * @return The comboCount.
     */
    int getComboCount();

    /**
     * <code>uint32 rank = 9;</code>
     * @return The rank.
     */
    int getRank();

    /**
     * <code>uint64 expireDuration = 10;</code>
     * @return The expireDuration.
     */
    long getExpireDuration();

    /**
     * <code>uint64 clientTimestamp = 11;</code>
     * @return The clientTimestamp.
     */
    long getClientTimestamp();

    /**
     * <code>uint64 slotDisplayDuration = 12;</code>
     * @return The slotDisplayDuration.
     */
    long getSlotDisplayDuration();

    /**
     * <code>uint32 starLevel = 13;</code>
     * @return The starLevel.
     */
    int getStarLevel();

    /**
     * <code>.WebGiftFeed.StyleType styleType = 14;</code>
     * @return The enum numeric value on the wire for styleType.
     */
    int getStyleTypeValue();
    /**
     * <code>.WebGiftFeed.StyleType styleType = 14;</code>
     * @return The styleType.
     */
    tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.StyleType getStyleType();

    /**
     * <code>.WebLiveAssistantType liveAssistantType = 15;</code>
     * @return The enum numeric value on the wire for liveAssistantType.
     */
    int getLiveAssistantTypeValue();
    /**
     * <code>.WebLiveAssistantType liveAssistantType = 15;</code>
     * @return The liveAssistantType.
     */
    tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebLiveAssistantTypeOuterClass.WebLiveAssistantType getLiveAssistantType();

    /**
     * <code>string deviceHash = 16;</code>
     * @return The deviceHash.
     */
    java.lang.String getDeviceHash();
    /**
     * <code>string deviceHash = 16;</code>
     * @return The bytes for deviceHash.
     */
    com.google.protobuf.ByteString
        getDeviceHashBytes();

    /**
     * <code>bool danmakuDisplay = 17;</code>
     * @return The danmakuDisplay.
     */
    boolean getDanmakuDisplay();
  }
  /**
   * Protobuf type {@code WebGiftFeed}
   */
  public static final class WebGiftFeed extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:WebGiftFeed)
      WebGiftFeedOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use WebGiftFeed.newBuilder() to construct.
    private WebGiftFeed(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private WebGiftFeed() {
      id_ = "";
      mergeKey_ = "";
      styleType_ = 0;
      liveAssistantType_ = 0;
      deviceHash_ = "";
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new WebGiftFeed();
    }

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.internal_static_WebGiftFeed_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.internal_static_WebGiftFeed_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.class, tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.Builder.class);
    }

    /**
     * Protobuf enum {@code WebGiftFeed.StyleType}
     */
    public enum StyleType
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>UNKNOWN_STYLE = 0;</code>
       */
      UNKNOWN_STYLE(0),
      /**
       * <code>BATCH_STAR_0 = 1;</code>
       */
      BATCH_STAR_0(1),
      /**
       * <code>BATCH_STAR_1 = 2;</code>
       */
      BATCH_STAR_1(2),
      /**
       * <code>BATCH_STAR_2 = 3;</code>
       */
      BATCH_STAR_2(3),
      /**
       * <code>BATCH_STAR_3 = 4;</code>
       */
      BATCH_STAR_3(4),
      /**
       * <code>BATCH_STAR_4 = 5;</code>
       */
      BATCH_STAR_4(5),
      /**
       * <code>BATCH_STAR_5 = 6;</code>
       */
      BATCH_STAR_5(6),
      /**
       * <code>BATCH_STAR_6 = 7;</code>
       */
      BATCH_STAR_6(7),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>UNKNOWN_STYLE = 0;</code>
       */
      public static final int UNKNOWN_STYLE_VALUE = 0;
      /**
       * <code>BATCH_STAR_0 = 1;</code>
       */
      public static final int BATCH_STAR_0_VALUE = 1;
      /**
       * <code>BATCH_STAR_1 = 2;</code>
       */
      public static final int BATCH_STAR_1_VALUE = 2;
      /**
       * <code>BATCH_STAR_2 = 3;</code>
       */
      public static final int BATCH_STAR_2_VALUE = 3;
      /**
       * <code>BATCH_STAR_3 = 4;</code>
       */
      public static final int BATCH_STAR_3_VALUE = 4;
      /**
       * <code>BATCH_STAR_4 = 5;</code>
       */
      public static final int BATCH_STAR_4_VALUE = 5;
      /**
       * <code>BATCH_STAR_5 = 6;</code>
       */
      public static final int BATCH_STAR_5_VALUE = 6;
      /**
       * <code>BATCH_STAR_6 = 7;</code>
       */
      public static final int BATCH_STAR_6_VALUE = 7;


      public final int getNumber() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static StyleType valueOf(int value) {
        return forNumber(value);
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       */
      public static StyleType forNumber(int value) {
        switch (value) {
          case 0: return UNKNOWN_STYLE;
          case 1: return BATCH_STAR_0;
          case 2: return BATCH_STAR_1;
          case 3: return BATCH_STAR_2;
          case 4: return BATCH_STAR_3;
          case 5: return BATCH_STAR_4;
          case 6: return BATCH_STAR_5;
          case 7: return BATCH_STAR_6;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<StyleType>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          StyleType> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<StyleType>() {
              public StyleType findValueByNumber(int number) {
                return StyleType.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalStateException(
              "Can't get the descriptor of an unrecognized enum value.");
        }
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.getDescriptor().getEnumTypes().get(0);
      }

      private static final StyleType[] VALUES = values();

      public static StyleType valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        if (desc.getIndex() == -1) {
          return UNRECOGNIZED;
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private StyleType(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:WebGiftFeed.StyleType)
    }

    public static final int ID_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private volatile java.lang.Object id_ = "";
    /**
     * <code>string id = 1;</code>
     * @return The id.
     */
    @java.lang.Override
    public java.lang.String getId() {
      java.lang.Object ref = id_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        id_ = s;
        return s;
      }
    }
    /**
     * <code>string id = 1;</code>
     * @return The bytes for id.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getIdBytes() {
      java.lang.Object ref = id_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        id_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int USER_FIELD_NUMBER = 2;
    private tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo user_;
    /**
     * <code>.SimpleUserInfo user = 2;</code>
     * @return Whether the user field is set.
     */
    @java.lang.Override
    public boolean hasUser() {
      return user_ != null;
    }
    /**
     * <code>.SimpleUserInfo user = 2;</code>
     * @return The user.
     */
    @java.lang.Override
    public tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo getUser() {
      return user_ == null ? tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo.getDefaultInstance() : user_;
    }
    /**
     * <code>.SimpleUserInfo user = 2;</code>
     */
    @java.lang.Override
    public tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfoOrBuilder getUserOrBuilder() {
      return user_ == null ? tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo.getDefaultInstance() : user_;
    }

    public static final int TIME_FIELD_NUMBER = 3;
    private long time_ = 0L;
    /**
     * <code>uint64 time = 3;</code>
     * @return The time.
     */
    @java.lang.Override
    public long getTime() {
      return time_;
    }

    public static final int INTGIFTID_FIELD_NUMBER = 4;
    private int intGiftId_ = 0;
    /**
     * <code>uint32 intGiftId = 4;</code>
     * @return The intGiftId.
     */
    @java.lang.Override
    public int getIntGiftId() {
      return intGiftId_;
    }

    public static final int SORTRANK_FIELD_NUMBER = 5;
    private long sortRank_ = 0L;
    /**
     * <code>uint64 sortRank = 5;</code>
     * @return The sortRank.
     */
    @java.lang.Override
    public long getSortRank() {
      return sortRank_;
    }

    public static final int MERGEKEY_FIELD_NUMBER = 6;
    @SuppressWarnings("serial")
    private volatile java.lang.Object mergeKey_ = "";
    /**
     * <code>string mergeKey = 6;</code>
     * @return The mergeKey.
     */
    @java.lang.Override
    public java.lang.String getMergeKey() {
      java.lang.Object ref = mergeKey_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        mergeKey_ = s;
        return s;
      }
    }
    /**
     * <code>string mergeKey = 6;</code>
     * @return The bytes for mergeKey.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getMergeKeyBytes() {
      java.lang.Object ref = mergeKey_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        mergeKey_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int BATCHSIZE_FIELD_NUMBER = 7;
    private int batchSize_ = 0;
    /**
     * <code>uint32 batchSize = 7;</code>
     * @return The batchSize.
     */
    @java.lang.Override
    public int getBatchSize() {
      return batchSize_;
    }

    public static final int COMBOCOUNT_FIELD_NUMBER = 8;
    private int comboCount_ = 0;
    /**
     * <code>uint32 comboCount = 8;</code>
     * @return The comboCount.
     */
    @java.lang.Override
    public int getComboCount() {
      return comboCount_;
    }

    public static final int RANK_FIELD_NUMBER = 9;
    private int rank_ = 0;
    /**
     * <code>uint32 rank = 9;</code>
     * @return The rank.
     */
    @java.lang.Override
    public int getRank() {
      return rank_;
    }

    public static final int EXPIREDURATION_FIELD_NUMBER = 10;
    private long expireDuration_ = 0L;
    /**
     * <code>uint64 expireDuration = 10;</code>
     * @return The expireDuration.
     */
    @java.lang.Override
    public long getExpireDuration() {
      return expireDuration_;
    }

    public static final int CLIENTTIMESTAMP_FIELD_NUMBER = 11;
    private long clientTimestamp_ = 0L;
    /**
     * <code>uint64 clientTimestamp = 11;</code>
     * @return The clientTimestamp.
     */
    @java.lang.Override
    public long getClientTimestamp() {
      return clientTimestamp_;
    }

    public static final int SLOTDISPLAYDURATION_FIELD_NUMBER = 12;
    private long slotDisplayDuration_ = 0L;
    /**
     * <code>uint64 slotDisplayDuration = 12;</code>
     * @return The slotDisplayDuration.
     */
    @java.lang.Override
    public long getSlotDisplayDuration() {
      return slotDisplayDuration_;
    }

    public static final int STARLEVEL_FIELD_NUMBER = 13;
    private int starLevel_ = 0;
    /**
     * <code>uint32 starLevel = 13;</code>
     * @return The starLevel.
     */
    @java.lang.Override
    public int getStarLevel() {
      return starLevel_;
    }

    public static final int STYLETYPE_FIELD_NUMBER = 14;
    private int styleType_ = 0;
    /**
     * <code>.WebGiftFeed.StyleType styleType = 14;</code>
     * @return The enum numeric value on the wire for styleType.
     */
    @java.lang.Override public int getStyleTypeValue() {
      return styleType_;
    }
    /**
     * <code>.WebGiftFeed.StyleType styleType = 14;</code>
     * @return The styleType.
     */
    @java.lang.Override public tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.StyleType getStyleType() {
      tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.StyleType result = tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.StyleType.forNumber(styleType_);
      return result == null ? tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.StyleType.UNRECOGNIZED : result;
    }

    public static final int LIVEASSISTANTTYPE_FIELD_NUMBER = 15;
    private int liveAssistantType_ = 0;
    /**
     * <code>.WebLiveAssistantType liveAssistantType = 15;</code>
     * @return The enum numeric value on the wire for liveAssistantType.
     */
    @java.lang.Override public int getLiveAssistantTypeValue() {
      return liveAssistantType_;
    }
    /**
     * <code>.WebLiveAssistantType liveAssistantType = 15;</code>
     * @return The liveAssistantType.
     */
    @java.lang.Override public tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebLiveAssistantTypeOuterClass.WebLiveAssistantType getLiveAssistantType() {
      tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebLiveAssistantTypeOuterClass.WebLiveAssistantType result = tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebLiveAssistantTypeOuterClass.WebLiveAssistantType.forNumber(liveAssistantType_);
      return result == null ? tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebLiveAssistantTypeOuterClass.WebLiveAssistantType.UNRECOGNIZED : result;
    }

    public static final int DEVICEHASH_FIELD_NUMBER = 16;
    @SuppressWarnings("serial")
    private volatile java.lang.Object deviceHash_ = "";
    /**
     * <code>string deviceHash = 16;</code>
     * @return The deviceHash.
     */
    @java.lang.Override
    public java.lang.String getDeviceHash() {
      java.lang.Object ref = deviceHash_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        deviceHash_ = s;
        return s;
      }
    }
    /**
     * <code>string deviceHash = 16;</code>
     * @return The bytes for deviceHash.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDeviceHashBytes() {
      java.lang.Object ref = deviceHash_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        deviceHash_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DANMAKUDISPLAY_FIELD_NUMBER = 17;
    private boolean danmakuDisplay_ = false;
    /**
     * <code>bool danmakuDisplay = 17;</code>
     * @return The danmakuDisplay.
     */
    @java.lang.Override
    public boolean getDanmakuDisplay() {
      return danmakuDisplay_;
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
      }
      if (user_ != null) {
        output.writeMessage(2, getUser());
      }
      if (time_ != 0L) {
        output.writeUInt64(3, time_);
      }
      if (intGiftId_ != 0) {
        output.writeUInt32(4, intGiftId_);
      }
      if (sortRank_ != 0L) {
        output.writeUInt64(5, sortRank_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mergeKey_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 6, mergeKey_);
      }
      if (batchSize_ != 0) {
        output.writeUInt32(7, batchSize_);
      }
      if (comboCount_ != 0) {
        output.writeUInt32(8, comboCount_);
      }
      if (rank_ != 0) {
        output.writeUInt32(9, rank_);
      }
      if (expireDuration_ != 0L) {
        output.writeUInt64(10, expireDuration_);
      }
      if (clientTimestamp_ != 0L) {
        output.writeUInt64(11, clientTimestamp_);
      }
      if (slotDisplayDuration_ != 0L) {
        output.writeUInt64(12, slotDisplayDuration_);
      }
      if (starLevel_ != 0) {
        output.writeUInt32(13, starLevel_);
      }
      if (styleType_ != tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.StyleType.UNKNOWN_STYLE.getNumber()) {
        output.writeEnum(14, styleType_);
      }
      if (liveAssistantType_ != tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebLiveAssistantTypeOuterClass.WebLiveAssistantType.UNKNOWN_ASSISTANT_TYPE.getNumber()) {
        output.writeEnum(15, liveAssistantType_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deviceHash_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 16, deviceHash_);
      }
      if (danmakuDisplay_ != false) {
        output.writeBool(17, danmakuDisplay_);
      }
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
      }
      if (user_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getUser());
      }
      if (time_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(3, time_);
      }
      if (intGiftId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(4, intGiftId_);
      }
      if (sortRank_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(5, sortRank_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mergeKey_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, mergeKey_);
      }
      if (batchSize_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(7, batchSize_);
      }
      if (comboCount_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(8, comboCount_);
      }
      if (rank_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(9, rank_);
      }
      if (expireDuration_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(10, expireDuration_);
      }
      if (clientTimestamp_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(11, clientTimestamp_);
      }
      if (slotDisplayDuration_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(12, slotDisplayDuration_);
      }
      if (starLevel_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(13, starLevel_);
      }
      if (styleType_ != tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.StyleType.UNKNOWN_STYLE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(14, styleType_);
      }
      if (liveAssistantType_ != tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebLiveAssistantTypeOuterClass.WebLiveAssistantType.UNKNOWN_ASSISTANT_TYPE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(15, liveAssistantType_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deviceHash_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, deviceHash_);
      }
      if (danmakuDisplay_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(17, danmakuDisplay_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed)) {
        return super.equals(obj);
      }
      tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed other = (tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed) obj;

      if (!getId()
          .equals(other.getId())) return false;
      if (hasUser() != other.hasUser()) return false;
      if (hasUser()) {
        if (!getUser()
            .equals(other.getUser())) return false;
      }
      if (getTime()
          != other.getTime()) return false;
      if (getIntGiftId()
          != other.getIntGiftId()) return false;
      if (getSortRank()
          != other.getSortRank()) return false;
      if (!getMergeKey()
          .equals(other.getMergeKey())) return false;
      if (getBatchSize()
          != other.getBatchSize()) return false;
      if (getComboCount()
          != other.getComboCount()) return false;
      if (getRank()
          != other.getRank()) return false;
      if (getExpireDuration()
          != other.getExpireDuration()) return false;
      if (getClientTimestamp()
          != other.getClientTimestamp()) return false;
      if (getSlotDisplayDuration()
          != other.getSlotDisplayDuration()) return false;
      if (getStarLevel()
          != other.getStarLevel()) return false;
      if (styleType_ != other.styleType_) return false;
      if (liveAssistantType_ != other.liveAssistantType_) return false;
      if (!getDeviceHash()
          .equals(other.getDeviceHash())) return false;
      if (getDanmakuDisplay()
          != other.getDanmakuDisplay()) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + ID_FIELD_NUMBER;
      hash = (53 * hash) + getId().hashCode();
      if (hasUser()) {
        hash = (37 * hash) + USER_FIELD_NUMBER;
        hash = (53 * hash) + getUser().hashCode();
      }
      hash = (37 * hash) + TIME_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getTime());
      hash = (37 * hash) + INTGIFTID_FIELD_NUMBER;
      hash = (53 * hash) + getIntGiftId();
      hash = (37 * hash) + SORTRANK_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getSortRank());
      hash = (37 * hash) + MERGEKEY_FIELD_NUMBER;
      hash = (53 * hash) + getMergeKey().hashCode();
      hash = (37 * hash) + BATCHSIZE_FIELD_NUMBER;
      hash = (53 * hash) + getBatchSize();
      hash = (37 * hash) + COMBOCOUNT_FIELD_NUMBER;
      hash = (53 * hash) + getComboCount();
      hash = (37 * hash) + RANK_FIELD_NUMBER;
      hash = (53 * hash) + getRank();
      hash = (37 * hash) + EXPIREDURATION_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getExpireDuration());
      hash = (37 * hash) + CLIENTTIMESTAMP_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getClientTimestamp());
      hash = (37 * hash) + SLOTDISPLAYDURATION_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getSlotDisplayDuration());
      hash = (37 * hash) + STARLEVEL_FIELD_NUMBER;
      hash = (53 * hash) + getStarLevel();
      hash = (37 * hash) + STYLETYPE_FIELD_NUMBER;
      hash = (53 * hash) + styleType_;
      hash = (37 * hash) + LIVEASSISTANTTYPE_FIELD_NUMBER;
      hash = (53 * hash) + liveAssistantType_;
      hash = (37 * hash) + DEVICEHASH_FIELD_NUMBER;
      hash = (53 * hash) + getDeviceHash().hashCode();
      hash = (37 * hash) + DANMAKUDISPLAY_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getDanmakuDisplay());
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public static tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code WebGiftFeed}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:WebGiftFeed)
        tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeedOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.internal_static_WebGiftFeed_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.internal_static_WebGiftFeed_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.class, tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.Builder.class);
      }

      // Construct using tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.newBuilder()
      private Builder() {

      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        id_ = "";
        user_ = null;
        if (userBuilder_ != null) {
          userBuilder_.dispose();
          userBuilder_ = null;
        }
        time_ = 0L;
        intGiftId_ = 0;
        sortRank_ = 0L;
        mergeKey_ = "";
        batchSize_ = 0;
        comboCount_ = 0;
        rank_ = 0;
        expireDuration_ = 0L;
        clientTimestamp_ = 0L;
        slotDisplayDuration_ = 0L;
        starLevel_ = 0;
        styleType_ = 0;
        liveAssistantType_ = 0;
        deviceHash_ = "";
        danmakuDisplay_ = false;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.internal_static_WebGiftFeed_descriptor;
      }

      @java.lang.Override
      public tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed getDefaultInstanceForType() {
        return tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.getDefaultInstance();
      }

      @java.lang.Override
      public tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed build() {
        tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed buildPartial() {
        tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed result = new tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.id_ = id_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.user_ = userBuilder_ == null
              ? user_
              : userBuilder_.build();
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.time_ = time_;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.intGiftId_ = intGiftId_;
        }
        if (((from_bitField0_ & 0x00000010) != 0)) {
          result.sortRank_ = sortRank_;
        }
        if (((from_bitField0_ & 0x00000020) != 0)) {
          result.mergeKey_ = mergeKey_;
        }
        if (((from_bitField0_ & 0x00000040) != 0)) {
          result.batchSize_ = batchSize_;
        }
        if (((from_bitField0_ & 0x00000080) != 0)) {
          result.comboCount_ = comboCount_;
        }
        if (((from_bitField0_ & 0x00000100) != 0)) {
          result.rank_ = rank_;
        }
        if (((from_bitField0_ & 0x00000200) != 0)) {
          result.expireDuration_ = expireDuration_;
        }
        if (((from_bitField0_ & 0x00000400) != 0)) {
          result.clientTimestamp_ = clientTimestamp_;
        }
        if (((from_bitField0_ & 0x00000800) != 0)) {
          result.slotDisplayDuration_ = slotDisplayDuration_;
        }
        if (((from_bitField0_ & 0x00001000) != 0)) {
          result.starLevel_ = starLevel_;
        }
        if (((from_bitField0_ & 0x00002000) != 0)) {
          result.styleType_ = styleType_;
        }
        if (((from_bitField0_ & 0x00004000) != 0)) {
          result.liveAssistantType_ = liveAssistantType_;
        }
        if (((from_bitField0_ & 0x00008000) != 0)) {
          result.deviceHash_ = deviceHash_;
        }
        if (((from_bitField0_ & 0x00010000) != 0)) {
          result.danmakuDisplay_ = danmakuDisplay_;
        }
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed) {
          return mergeFrom((tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed other) {
        if (other == tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.getDefaultInstance()) return this;
        if (!other.getId().isEmpty()) {
          id_ = other.id_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (other.hasUser()) {
          mergeUser(other.getUser());
        }
        if (other.getTime() != 0L) {
          setTime(other.getTime());
        }
        if (other.getIntGiftId() != 0) {
          setIntGiftId(other.getIntGiftId());
        }
        if (other.getSortRank() != 0L) {
          setSortRank(other.getSortRank());
        }
        if (!other.getMergeKey().isEmpty()) {
          mergeKey_ = other.mergeKey_;
          bitField0_ |= 0x00000020;
          onChanged();
        }
        if (other.getBatchSize() != 0) {
          setBatchSize(other.getBatchSize());
        }
        if (other.getComboCount() != 0) {
          setComboCount(other.getComboCount());
        }
        if (other.getRank() != 0) {
          setRank(other.getRank());
        }
        if (other.getExpireDuration() != 0L) {
          setExpireDuration(other.getExpireDuration());
        }
        if (other.getClientTimestamp() != 0L) {
          setClientTimestamp(other.getClientTimestamp());
        }
        if (other.getSlotDisplayDuration() != 0L) {
          setSlotDisplayDuration(other.getSlotDisplayDuration());
        }
        if (other.getStarLevel() != 0) {
          setStarLevel(other.getStarLevel());
        }
        if (other.styleType_ != 0) {
          setStyleTypeValue(other.getStyleTypeValue());
        }
        if (other.liveAssistantType_ != 0) {
          setLiveAssistantTypeValue(other.getLiveAssistantTypeValue());
        }
        if (!other.getDeviceHash().isEmpty()) {
          deviceHash_ = other.deviceHash_;
          bitField0_ |= 0x00008000;
          onChanged();
        }
        if (other.getDanmakuDisplay() != false) {
          setDanmakuDisplay(other.getDanmakuDisplay());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                id_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                input.readMessage(
                    getUserFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              case 24: {
                time_ = input.readUInt64();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
              case 32: {
                intGiftId_ = input.readUInt32();
                bitField0_ |= 0x00000008;
                break;
              } // case 32
              case 40: {
                sortRank_ = input.readUInt64();
                bitField0_ |= 0x00000010;
                break;
              } // case 40
              case 50: {
                mergeKey_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000020;
                break;
              } // case 50
              case 56: {
                batchSize_ = input.readUInt32();
                bitField0_ |= 0x00000040;
                break;
              } // case 56
              case 64: {
                comboCount_ = input.readUInt32();
                bitField0_ |= 0x00000080;
                break;
              } // case 64
              case 72: {
                rank_ = input.readUInt32();
                bitField0_ |= 0x00000100;
                break;
              } // case 72
              case 80: {
                expireDuration_ = input.readUInt64();
                bitField0_ |= 0x00000200;
                break;
              } // case 80
              case 88: {
                clientTimestamp_ = input.readUInt64();
                bitField0_ |= 0x00000400;
                break;
              } // case 88
              case 96: {
                slotDisplayDuration_ = input.readUInt64();
                bitField0_ |= 0x00000800;
                break;
              } // case 96
              case 104: {
                starLevel_ = input.readUInt32();
                bitField0_ |= 0x00001000;
                break;
              } // case 104
              case 112: {
                styleType_ = input.readEnum();
                bitField0_ |= 0x00002000;
                break;
              } // case 112
              case 120: {
                liveAssistantType_ = input.readEnum();
                bitField0_ |= 0x00004000;
                break;
              } // case 120
              case 130: {
                deviceHash_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00008000;
                break;
              } // case 130
              case 136: {
                danmakuDisplay_ = input.readBool();
                bitField0_ |= 0x00010000;
                break;
              } // case 136
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private java.lang.Object id_ = "";
      /**
       * <code>string id = 1;</code>
       * @return The id.
       */
      public java.lang.String getId() {
        java.lang.Object ref = id_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          id_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string id = 1;</code>
       * @return The bytes for id.
       */
      public com.google.protobuf.ByteString
          getIdBytes() {
        java.lang.Object ref = id_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          id_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string id = 1;</code>
       * @param value The id to set.
       * @return This builder for chaining.
       */
      public Builder setId(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        id_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>string id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearId() {
        id_ = getDefaultInstance().getId();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>string id = 1;</code>
       * @param value The bytes for id to set.
       * @return This builder for chaining.
       */
      public Builder setIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        id_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo user_;
      private com.google.protobuf.SingleFieldBuilderV3<
          tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo, tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo.Builder, tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfoOrBuilder> userBuilder_;
      /**
       * <code>.SimpleUserInfo user = 2;</code>
       * @return Whether the user field is set.
       */
      public boolean hasUser() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>.SimpleUserInfo user = 2;</code>
       * @return The user.
       */
      public tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo getUser() {
        if (userBuilder_ == null) {
          return user_ == null ? tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo.getDefaultInstance() : user_;
        } else {
          return userBuilder_.getMessage();
        }
      }
      /**
       * <code>.SimpleUserInfo user = 2;</code>
       */
      public Builder setUser(tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo value) {
        if (userBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          user_ = value;
        } else {
          userBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>.SimpleUserInfo user = 2;</code>
       */
      public Builder setUser(
          tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo.Builder builderForValue) {
        if (userBuilder_ == null) {
          user_ = builderForValue.build();
        } else {
          userBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>.SimpleUserInfo user = 2;</code>
       */
      public Builder mergeUser(tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo value) {
        if (userBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0) &&
            user_ != null &&
            user_ != tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo.getDefaultInstance()) {
            getUserBuilder().mergeFrom(value);
          } else {
            user_ = value;
          }
        } else {
          userBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>.SimpleUserInfo user = 2;</code>
       */
      public Builder clearUser() {
        bitField0_ = (bitField0_ & ~0x00000002);
        user_ = null;
        if (userBuilder_ != null) {
          userBuilder_.dispose();
          userBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.SimpleUserInfo user = 2;</code>
       */
      public tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo.Builder getUserBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getUserFieldBuilder().getBuilder();
      }
      /**
       * <code>.SimpleUserInfo user = 2;</code>
       */
      public tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfoOrBuilder getUserOrBuilder() {
        if (userBuilder_ != null) {
          return userBuilder_.getMessageOrBuilder();
        } else {
          return user_ == null ?
              tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo.getDefaultInstance() : user_;
        }
      }
      /**
       * <code>.SimpleUserInfo user = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo, tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo.Builder, tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfoOrBuilder> 
          getUserFieldBuilder() {
        if (userBuilder_ == null) {
          userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo, tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfo.Builder, tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.SimpleUserInfoOrBuilder>(
                  getUser(),
                  getParentForChildren(),
                  isClean());
          user_ = null;
        }
        return userBuilder_;
      }

      private long time_ ;
      /**
       * <code>uint64 time = 3;</code>
       * @return The time.
       */
      @java.lang.Override
      public long getTime() {
        return time_;
      }
      /**
       * <code>uint64 time = 3;</code>
       * @param value The time to set.
       * @return This builder for chaining.
       */
      public Builder setTime(long value) {

        time_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 time = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearTime() {
        bitField0_ = (bitField0_ & ~0x00000004);
        time_ = 0L;
        onChanged();
        return this;
      }

      private int intGiftId_ ;
      /**
       * <code>uint32 intGiftId = 4;</code>
       * @return The intGiftId.
       */
      @java.lang.Override
      public int getIntGiftId() {
        return intGiftId_;
      }
      /**
       * <code>uint32 intGiftId = 4;</code>
       * @param value The intGiftId to set.
       * @return This builder for chaining.
       */
      public Builder setIntGiftId(int value) {

        intGiftId_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 intGiftId = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearIntGiftId() {
        bitField0_ = (bitField0_ & ~0x00000008);
        intGiftId_ = 0;
        onChanged();
        return this;
      }

      private long sortRank_ ;
      /**
       * <code>uint64 sortRank = 5;</code>
       * @return The sortRank.
       */
      @java.lang.Override
      public long getSortRank() {
        return sortRank_;
      }
      /**
       * <code>uint64 sortRank = 5;</code>
       * @param value The sortRank to set.
       * @return This builder for chaining.
       */
      public Builder setSortRank(long value) {

        sortRank_ = value;
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 sortRank = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearSortRank() {
        bitField0_ = (bitField0_ & ~0x00000010);
        sortRank_ = 0L;
        onChanged();
        return this;
      }

      private java.lang.Object mergeKey_ = "";
      /**
       * <code>string mergeKey = 6;</code>
       * @return The mergeKey.
       */
      public java.lang.String getMergeKey() {
        java.lang.Object ref = mergeKey_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          mergeKey_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string mergeKey = 6;</code>
       * @return The bytes for mergeKey.
       */
      public com.google.protobuf.ByteString
          getMergeKeyBytes() {
        java.lang.Object ref = mergeKey_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          mergeKey_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string mergeKey = 6;</code>
       * @param value The mergeKey to set.
       * @return This builder for chaining.
       */
      public Builder setMergeKey(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        mergeKey_ = value;
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }
      /**
       * <code>string mergeKey = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearMergeKey() {
        mergeKey_ = getDefaultInstance().getMergeKey();
        bitField0_ = (bitField0_ & ~0x00000020);
        onChanged();
        return this;
      }
      /**
       * <code>string mergeKey = 6;</code>
       * @param value The bytes for mergeKey to set.
       * @return This builder for chaining.
       */
      public Builder setMergeKeyBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        mergeKey_ = value;
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }

      private int batchSize_ ;
      /**
       * <code>uint32 batchSize = 7;</code>
       * @return The batchSize.
       */
      @java.lang.Override
      public int getBatchSize() {
        return batchSize_;
      }
      /**
       * <code>uint32 batchSize = 7;</code>
       * @param value The batchSize to set.
       * @return This builder for chaining.
       */
      public Builder setBatchSize(int value) {

        batchSize_ = value;
        bitField0_ |= 0x00000040;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 batchSize = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearBatchSize() {
        bitField0_ = (bitField0_ & ~0x00000040);
        batchSize_ = 0;
        onChanged();
        return this;
      }

      private int comboCount_ ;
      /**
       * <code>uint32 comboCount = 8;</code>
       * @return The comboCount.
       */
      @java.lang.Override
      public int getComboCount() {
        return comboCount_;
      }
      /**
       * <code>uint32 comboCount = 8;</code>
       * @param value The comboCount to set.
       * @return This builder for chaining.
       */
      public Builder setComboCount(int value) {

        comboCount_ = value;
        bitField0_ |= 0x00000080;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 comboCount = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearComboCount() {
        bitField0_ = (bitField0_ & ~0x00000080);
        comboCount_ = 0;
        onChanged();
        return this;
      }

      private int rank_ ;
      /**
       * <code>uint32 rank = 9;</code>
       * @return The rank.
       */
      @java.lang.Override
      public int getRank() {
        return rank_;
      }
      /**
       * <code>uint32 rank = 9;</code>
       * @param value The rank to set.
       * @return This builder for chaining.
       */
      public Builder setRank(int value) {

        rank_ = value;
        bitField0_ |= 0x00000100;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 rank = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearRank() {
        bitField0_ = (bitField0_ & ~0x00000100);
        rank_ = 0;
        onChanged();
        return this;
      }

      private long expireDuration_ ;
      /**
       * <code>uint64 expireDuration = 10;</code>
       * @return The expireDuration.
       */
      @java.lang.Override
      public long getExpireDuration() {
        return expireDuration_;
      }
      /**
       * <code>uint64 expireDuration = 10;</code>
       * @param value The expireDuration to set.
       * @return This builder for chaining.
       */
      public Builder setExpireDuration(long value) {

        expireDuration_ = value;
        bitField0_ |= 0x00000200;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 expireDuration = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearExpireDuration() {
        bitField0_ = (bitField0_ & ~0x00000200);
        expireDuration_ = 0L;
        onChanged();
        return this;
      }

      private long clientTimestamp_ ;
      /**
       * <code>uint64 clientTimestamp = 11;</code>
       * @return The clientTimestamp.
       */
      @java.lang.Override
      public long getClientTimestamp() {
        return clientTimestamp_;
      }
      /**
       * <code>uint64 clientTimestamp = 11;</code>
       * @param value The clientTimestamp to set.
       * @return This builder for chaining.
       */
      public Builder setClientTimestamp(long value) {

        clientTimestamp_ = value;
        bitField0_ |= 0x00000400;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 clientTimestamp = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearClientTimestamp() {
        bitField0_ = (bitField0_ & ~0x00000400);
        clientTimestamp_ = 0L;
        onChanged();
        return this;
      }

      private long slotDisplayDuration_ ;
      /**
       * <code>uint64 slotDisplayDuration = 12;</code>
       * @return The slotDisplayDuration.
       */
      @java.lang.Override
      public long getSlotDisplayDuration() {
        return slotDisplayDuration_;
      }
      /**
       * <code>uint64 slotDisplayDuration = 12;</code>
       * @param value The slotDisplayDuration to set.
       * @return This builder for chaining.
       */
      public Builder setSlotDisplayDuration(long value) {

        slotDisplayDuration_ = value;
        bitField0_ |= 0x00000800;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 slotDisplayDuration = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearSlotDisplayDuration() {
        bitField0_ = (bitField0_ & ~0x00000800);
        slotDisplayDuration_ = 0L;
        onChanged();
        return this;
      }

      private int starLevel_ ;
      /**
       * <code>uint32 starLevel = 13;</code>
       * @return The starLevel.
       */
      @java.lang.Override
      public int getStarLevel() {
        return starLevel_;
      }
      /**
       * <code>uint32 starLevel = 13;</code>
       * @param value The starLevel to set.
       * @return This builder for chaining.
       */
      public Builder setStarLevel(int value) {

        starLevel_ = value;
        bitField0_ |= 0x00001000;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 starLevel = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearStarLevel() {
        bitField0_ = (bitField0_ & ~0x00001000);
        starLevel_ = 0;
        onChanged();
        return this;
      }

      private int styleType_ = 0;
      /**
       * <code>.WebGiftFeed.StyleType styleType = 14;</code>
       * @return The enum numeric value on the wire for styleType.
       */
      @java.lang.Override public int getStyleTypeValue() {
        return styleType_;
      }
      /**
       * <code>.WebGiftFeed.StyleType styleType = 14;</code>
       * @param value The enum numeric value on the wire for styleType to set.
       * @return This builder for chaining.
       */
      public Builder setStyleTypeValue(int value) {
        styleType_ = value;
        bitField0_ |= 0x00002000;
        onChanged();
        return this;
      }
      /**
       * <code>.WebGiftFeed.StyleType styleType = 14;</code>
       * @return The styleType.
       */
      @java.lang.Override
      public tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.StyleType getStyleType() {
        tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.StyleType result = tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.StyleType.forNumber(styleType_);
        return result == null ? tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.StyleType.UNRECOGNIZED : result;
      }
      /**
       * <code>.WebGiftFeed.StyleType styleType = 14;</code>
       * @param value The styleType to set.
       * @return This builder for chaining.
       */
      public Builder setStyleType(tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.StyleType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00002000;
        styleType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.WebGiftFeed.StyleType styleType = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearStyleType() {
        bitField0_ = (bitField0_ & ~0x00002000);
        styleType_ = 0;
        onChanged();
        return this;
      }

      private int liveAssistantType_ = 0;
      /**
       * <code>.WebLiveAssistantType liveAssistantType = 15;</code>
       * @return The enum numeric value on the wire for liveAssistantType.
       */
      @java.lang.Override public int getLiveAssistantTypeValue() {
        return liveAssistantType_;
      }
      /**
       * <code>.WebLiveAssistantType liveAssistantType = 15;</code>
       * @param value The enum numeric value on the wire for liveAssistantType to set.
       * @return This builder for chaining.
       */
      public Builder setLiveAssistantTypeValue(int value) {
        liveAssistantType_ = value;
        bitField0_ |= 0x00004000;
        onChanged();
        return this;
      }
      /**
       * <code>.WebLiveAssistantType liveAssistantType = 15;</code>
       * @return The liveAssistantType.
       */
      @java.lang.Override
      public tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebLiveAssistantTypeOuterClass.WebLiveAssistantType getLiveAssistantType() {
        tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebLiveAssistantTypeOuterClass.WebLiveAssistantType result = tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebLiveAssistantTypeOuterClass.WebLiveAssistantType.forNumber(liveAssistantType_);
        return result == null ? tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebLiveAssistantTypeOuterClass.WebLiveAssistantType.UNRECOGNIZED : result;
      }
      /**
       * <code>.WebLiveAssistantType liveAssistantType = 15;</code>
       * @param value The liveAssistantType to set.
       * @return This builder for chaining.
       */
      public Builder setLiveAssistantType(tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebLiveAssistantTypeOuterClass.WebLiveAssistantType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00004000;
        liveAssistantType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.WebLiveAssistantType liveAssistantType = 15;</code>
       * @return This builder for chaining.
       */
      public Builder clearLiveAssistantType() {
        bitField0_ = (bitField0_ & ~0x00004000);
        liveAssistantType_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object deviceHash_ = "";
      /**
       * <code>string deviceHash = 16;</code>
       * @return The deviceHash.
       */
      public java.lang.String getDeviceHash() {
        java.lang.Object ref = deviceHash_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          deviceHash_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string deviceHash = 16;</code>
       * @return The bytes for deviceHash.
       */
      public com.google.protobuf.ByteString
          getDeviceHashBytes() {
        java.lang.Object ref = deviceHash_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          deviceHash_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string deviceHash = 16;</code>
       * @param value The deviceHash to set.
       * @return This builder for chaining.
       */
      public Builder setDeviceHash(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        deviceHash_ = value;
        bitField0_ |= 0x00008000;
        onChanged();
        return this;
      }
      /**
       * <code>string deviceHash = 16;</code>
       * @return This builder for chaining.
       */
      public Builder clearDeviceHash() {
        deviceHash_ = getDefaultInstance().getDeviceHash();
        bitField0_ = (bitField0_ & ~0x00008000);
        onChanged();
        return this;
      }
      /**
       * <code>string deviceHash = 16;</code>
       * @param value The bytes for deviceHash to set.
       * @return This builder for chaining.
       */
      public Builder setDeviceHashBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        deviceHash_ = value;
        bitField0_ |= 0x00008000;
        onChanged();
        return this;
      }

      private boolean danmakuDisplay_ ;
      /**
       * <code>bool danmakuDisplay = 17;</code>
       * @return The danmakuDisplay.
       */
      @java.lang.Override
      public boolean getDanmakuDisplay() {
        return danmakuDisplay_;
      }
      /**
       * <code>bool danmakuDisplay = 17;</code>
       * @param value The danmakuDisplay to set.
       * @return This builder for chaining.
       */
      public Builder setDanmakuDisplay(boolean value) {

        danmakuDisplay_ = value;
        bitField0_ |= 0x00010000;
        onChanged();
        return this;
      }
      /**
       * <code>bool danmakuDisplay = 17;</code>
       * @return This builder for chaining.
       */
      public Builder clearDanmakuDisplay() {
        bitField0_ = (bitField0_ & ~0x00010000);
        danmakuDisplay_ = false;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:WebGiftFeed)
    }

    // @@protoc_insertion_point(class_scope:WebGiftFeed)
    private static final tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed();
    }

    public static tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<WebGiftFeed>
        PARSER = new com.google.protobuf.AbstractParser<WebGiftFeed>() {
      @java.lang.Override
      public WebGiftFeed parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (com.google.protobuf.UninitializedMessageException e) {
          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(e)
              .setUnfinishedMessage(builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };

    public static com.google.protobuf.Parser<WebGiftFeed> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<WebGiftFeed> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_WebGiftFeed_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_WebGiftFeed_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\021WebGiftFeed.proto\032\024SimpleUserInfo.prot" +
      "o\032\032WebLiveAssistantType.proto\"\273\004\n\013WebGif" +
      "tFeed\022\n\n\002id\030\001 \001(\t\022\035\n\004user\030\002 \001(\0132\017.Simple" +
      "UserInfo\022\014\n\004time\030\003 \001(\004\022\021\n\tintGiftId\030\004 \001(" +
      "\r\022\020\n\010sortRank\030\005 \001(\004\022\020\n\010mergeKey\030\006 \001(\t\022\021\n" +
      "\tbatchSize\030\007 \001(\r\022\022\n\ncomboCount\030\010 \001(\r\022\014\n\004" +
      "rank\030\t \001(\r\022\026\n\016expireDuration\030\n \001(\004\022\027\n\017cl" +
      "ientTimestamp\030\013 \001(\004\022\033\n\023slotDisplayDurati" +
      "on\030\014 \001(\004\022\021\n\tstarLevel\030\r \001(\r\022)\n\tstyleType" +
      "\030\016 \001(\0162\026.WebGiftFeed.StyleType\0220\n\021liveAs" +
      "sistantType\030\017 \001(\0162\025.WebLiveAssistantType" +
      "\022\022\n\ndeviceHash\030\020 \001(\t\022\026\n\016danmakuDisplay\030\021" +
      " \001(\010\"\234\001\n\tStyleType\022\021\n\rUNKNOWN_STYLE\020\000\022\020\n" +
      "\014BATCH_STAR_0\020\001\022\020\n\014BATCH_STAR_1\020\002\022\020\n\014BAT" +
      "CH_STAR_2\020\003\022\020\n\014BATCH_STAR_3\020\004\022\020\n\014BATCH_S" +
      "TAR_4\020\005\022\020\n\014BATCH_STAR_5\020\006\022\020\n\014BATCH_STAR_" +
      "6\020\007B6\n4tech.ordinaryroad.live.chat.clien" +
      "t.kuaishou.protobufb\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.getDescriptor(),
          tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebLiveAssistantTypeOuterClass.getDescriptor(),
        });
    internal_static_WebGiftFeed_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_WebGiftFeed_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_WebGiftFeed_descriptor,
        new java.lang.String[] { "Id", "User", "Time", "IntGiftId", "SortRank", "MergeKey", "BatchSize", "ComboCount", "Rank", "ExpireDuration", "ClientTimestamp", "SlotDisplayDuration", "StarLevel", "StyleType", "LiveAssistantType", "DeviceHash", "DanmakuDisplay", });
    tech.ordinaryroad.live.chat.client.kuaishou.protobuf.SimpleUserInfoOuterClass.getDescriptor();
    tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebLiveAssistantTypeOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
