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

package pb.xiugou.x1.protobuf.dayrecharge;

public final class DayRecharge {
  private DayRecharge() {}
  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 DayRechargeInfoResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:pb.DayRechargeInfoResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     *是否已经一键购买所有礼包
     * </pre>
     *
     * <code>bool buy_all = 1;</code>
     * @return The buyAll.
     */
    boolean getBuyAll();

    /**
     * <pre>
     *散装购买的商品ID
     * </pre>
     *
     * <code>repeated int32 day_recharge = 2;</code>
     * @return A list containing the dayRecharge.
     */
    java.util.List<java.lang.Integer> getDayRechargeList();
    /**
     * <pre>
     *散装购买的商品ID
     * </pre>
     *
     * <code>repeated int32 day_recharge = 2;</code>
     * @return The count of dayRecharge.
     */
    int getDayRechargeCount();
    /**
     * <pre>
     *散装购买的商品ID
     * </pre>
     *
     * <code>repeated int32 day_recharge = 2;</code>
     * @param index The index of the element to return.
     * @return The dayRecharge at the given index.
     */
    int getDayRecharge(int index);

    /**
     * <pre>
     *是否领取免费礼包
     * </pre>
     *
     * <code>bool free_reward = 3;</code>
     * @return The freeReward.
     */
    boolean getFreeReward();

    /**
     * <pre>
     *当前可购的轮数
     * </pre>
     *
     * <code>int32 buy_round = 4;</code>
     * @return The buyRound.
     */
    int getBuyRound();
  }
  /**
   * Protobuf type {@code pb.DayRechargeInfoResponse}
   */
  public  static final class DayRechargeInfoResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.DayRechargeInfoResponse)
      DayRechargeInfoResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DayRechargeInfoResponse.newBuilder() to construct.
    private DayRechargeInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DayRechargeInfoResponse() {
      dayRecharge_ = emptyIntList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DayRechargeInfoResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {

              buyAll_ = input.readBool();
              break;
            }
            case 16: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                dayRecharge_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              dayRecharge_.addInt(input.readInt32());
              break;
            }
            case 18: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                dayRecharge_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                dayRecharge_.addInt(input.readInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 24: {

              freeReward_ = input.readBool();
              break;
            }
            case 32: {

              buyRound_ = input.readInt32();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          dayRecharge_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeInfoResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeInfoResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse.class, pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse.Builder.class);
    }

    /**
     * Protobuf enum {@code pb.DayRechargeInfoResponse.Proto}
     */
    public enum Proto
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>UNKNOWN = 0;</code>
       */
      UNKNOWN(0),
      /**
       * <code>ID = 2900001;</code>
       */
      ID(2900001),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>UNKNOWN = 0;</code>
       */
      public static final int UNKNOWN_VALUE = 0;
      /**
       * <code>ID = 2900001;</code>
       */
      public static final int ID_VALUE = 2900001;


      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 Proto 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 Proto forNumber(int value) {
        switch (value) {
          case 0: return UNKNOWN;
          case 2900001: return ID;
          default: return null;
        }
      }

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

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse.getDescriptor().getEnumTypes().get(0);
      }

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

      public static Proto 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 Proto(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:pb.DayRechargeInfoResponse.Proto)
    }

    public static final int BUY_ALL_FIELD_NUMBER = 1;
    private boolean buyAll_;
    /**
     * <pre>
     *是否已经一键购买所有礼包
     * </pre>
     *
     * <code>bool buy_all = 1;</code>
     * @return The buyAll.
     */
    public boolean getBuyAll() {
      return buyAll_;
    }

    public static final int DAY_RECHARGE_FIELD_NUMBER = 2;
    private com.google.protobuf.Internal.IntList dayRecharge_;
    /**
     * <pre>
     *散装购买的商品ID
     * </pre>
     *
     * <code>repeated int32 day_recharge = 2;</code>
     * @return A list containing the dayRecharge.
     */
    public java.util.List<java.lang.Integer>
        getDayRechargeList() {
      return dayRecharge_;
    }
    /**
     * <pre>
     *散装购买的商品ID
     * </pre>
     *
     * <code>repeated int32 day_recharge = 2;</code>
     * @return The count of dayRecharge.
     */
    public int getDayRechargeCount() {
      return dayRecharge_.size();
    }
    /**
     * <pre>
     *散装购买的商品ID
     * </pre>
     *
     * <code>repeated int32 day_recharge = 2;</code>
     * @param index The index of the element to return.
     * @return The dayRecharge at the given index.
     */
    public int getDayRecharge(int index) {
      return dayRecharge_.getInt(index);
    }
    private int dayRechargeMemoizedSerializedSize = -1;

    public static final int FREE_REWARD_FIELD_NUMBER = 3;
    private boolean freeReward_;
    /**
     * <pre>
     *是否领取免费礼包
     * </pre>
     *
     * <code>bool free_reward = 3;</code>
     * @return The freeReward.
     */
    public boolean getFreeReward() {
      return freeReward_;
    }

    public static final int BUY_ROUND_FIELD_NUMBER = 4;
    private int buyRound_;
    /**
     * <pre>
     *当前可购的轮数
     * </pre>
     *
     * <code>int32 buy_round = 4;</code>
     * @return The buyRound.
     */
    public int getBuyRound() {
      return buyRound_;
    }

    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 {
      getSerializedSize();
      if (buyAll_ != false) {
        output.writeBool(1, buyAll_);
      }
      if (getDayRechargeList().size() > 0) {
        output.writeUInt32NoTag(18);
        output.writeUInt32NoTag(dayRechargeMemoizedSerializedSize);
      }
      for (int i = 0; i < dayRecharge_.size(); i++) {
        output.writeInt32NoTag(dayRecharge_.getInt(i));
      }
      if (freeReward_ != false) {
        output.writeBool(3, freeReward_);
      }
      if (buyRound_ != 0) {
        output.writeInt32(4, buyRound_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (buyAll_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1, buyAll_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < dayRecharge_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dayRecharge_.getInt(i));
        }
        size += dataSize;
        if (!getDayRechargeList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        dayRechargeMemoizedSerializedSize = dataSize;
      }
      if (freeReward_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(3, freeReward_);
      }
      if (buyRound_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(4, buyRound_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse other = (pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse) obj;

      if (getBuyAll()
          != other.getBuyAll()) return false;
      if (!getDayRechargeList()
          .equals(other.getDayRechargeList())) return false;
      if (getFreeReward()
          != other.getFreeReward()) return false;
      if (getBuyRound()
          != other.getBuyRound()) return false;
      if (!unknownFields.equals(other.unknownFields)) 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) + BUY_ALL_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getBuyAll());
      if (getDayRechargeCount() > 0) {
        hash = (37 * hash) + DAY_RECHARGE_FIELD_NUMBER;
        hash = (53 * hash) + getDayRechargeList().hashCode();
      }
      hash = (37 * hash) + FREE_REWARD_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getFreeReward());
      hash = (37 * hash) + BUY_ROUND_FIELD_NUMBER;
      hash = (53 * hash) + getBuyRound();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse 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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse 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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse 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(pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse 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 pb.DayRechargeInfoResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:pb.DayRechargeInfoResponse)
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeInfoResponse_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeInfoResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse.class, pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        buyAll_ = false;

        dayRecharge_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        freeReward_ = false;

        buyRound_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeInfoResponse_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse.getDefaultInstance();
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse build() {
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse buildPartial() {
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse result = new pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse(this);
        int from_bitField0_ = bitField0_;
        result.buyAll_ = buyAll_;
        if (((bitField0_ & 0x00000001) != 0)) {
          dayRecharge_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.dayRecharge_ = dayRecharge_;
        result.freeReward_ = freeReward_;
        result.buyRound_ = buyRound_;
        onBuilt();
        return result;
      }

      @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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse) {
          return mergeFrom((pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse other) {
        if (other == pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse.getDefaultInstance()) return this;
        if (other.getBuyAll() != false) {
          setBuyAll(other.getBuyAll());
        }
        if (!other.dayRecharge_.isEmpty()) {
          if (dayRecharge_.isEmpty()) {
            dayRecharge_ = other.dayRecharge_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureDayRechargeIsMutable();
            dayRecharge_.addAll(other.dayRecharge_);
          }
          onChanged();
        }
        if (other.getFreeReward() != false) {
          setFreeReward(other.getFreeReward());
        }
        if (other.getBuyRound() != 0) {
          setBuyRound(other.getBuyRound());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private boolean buyAll_ ;
      /**
       * <pre>
       *是否已经一键购买所有礼包
       * </pre>
       *
       * <code>bool buy_all = 1;</code>
       * @return The buyAll.
       */
      public boolean getBuyAll() {
        return buyAll_;
      }
      /**
       * <pre>
       *是否已经一键购买所有礼包
       * </pre>
       *
       * <code>bool buy_all = 1;</code>
       * @param value The buyAll to set.
       * @return This builder for chaining.
       */
      public Builder setBuyAll(boolean value) {
        
        buyAll_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *是否已经一键购买所有礼包
       * </pre>
       *
       * <code>bool buy_all = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearBuyAll() {
        
        buyAll_ = false;
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList dayRecharge_ = emptyIntList();
      private void ensureDayRechargeIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          dayRecharge_ = mutableCopy(dayRecharge_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <pre>
       *散装购买的商品ID
       * </pre>
       *
       * <code>repeated int32 day_recharge = 2;</code>
       * @return A list containing the dayRecharge.
       */
      public java.util.List<java.lang.Integer>
          getDayRechargeList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(dayRecharge_) : dayRecharge_;
      }
      /**
       * <pre>
       *散装购买的商品ID
       * </pre>
       *
       * <code>repeated int32 day_recharge = 2;</code>
       * @return The count of dayRecharge.
       */
      public int getDayRechargeCount() {
        return dayRecharge_.size();
      }
      /**
       * <pre>
       *散装购买的商品ID
       * </pre>
       *
       * <code>repeated int32 day_recharge = 2;</code>
       * @param index The index of the element to return.
       * @return The dayRecharge at the given index.
       */
      public int getDayRecharge(int index) {
        return dayRecharge_.getInt(index);
      }
      /**
       * <pre>
       *散装购买的商品ID
       * </pre>
       *
       * <code>repeated int32 day_recharge = 2;</code>
       * @param index The index to set the value at.
       * @param value The dayRecharge to set.
       * @return This builder for chaining.
       */
      public Builder setDayRecharge(
          int index, int value) {
        ensureDayRechargeIsMutable();
        dayRecharge_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *散装购买的商品ID
       * </pre>
       *
       * <code>repeated int32 day_recharge = 2;</code>
       * @param value The dayRecharge to add.
       * @return This builder for chaining.
       */
      public Builder addDayRecharge(int value) {
        ensureDayRechargeIsMutable();
        dayRecharge_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *散装购买的商品ID
       * </pre>
       *
       * <code>repeated int32 day_recharge = 2;</code>
       * @param values The dayRecharge to add.
       * @return This builder for chaining.
       */
      public Builder addAllDayRecharge(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureDayRechargeIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, dayRecharge_);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *散装购买的商品ID
       * </pre>
       *
       * <code>repeated int32 day_recharge = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearDayRecharge() {
        dayRecharge_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private boolean freeReward_ ;
      /**
       * <pre>
       *是否领取免费礼包
       * </pre>
       *
       * <code>bool free_reward = 3;</code>
       * @return The freeReward.
       */
      public boolean getFreeReward() {
        return freeReward_;
      }
      /**
       * <pre>
       *是否领取免费礼包
       * </pre>
       *
       * <code>bool free_reward = 3;</code>
       * @param value The freeReward to set.
       * @return This builder for chaining.
       */
      public Builder setFreeReward(boolean value) {
        
        freeReward_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *是否领取免费礼包
       * </pre>
       *
       * <code>bool free_reward = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearFreeReward() {
        
        freeReward_ = false;
        onChanged();
        return this;
      }

      private int buyRound_ ;
      /**
       * <pre>
       *当前可购的轮数
       * </pre>
       *
       * <code>int32 buy_round = 4;</code>
       * @return The buyRound.
       */
      public int getBuyRound() {
        return buyRound_;
      }
      /**
       * <pre>
       *当前可购的轮数
       * </pre>
       *
       * <code>int32 buy_round = 4;</code>
       * @param value The buyRound to set.
       * @return This builder for chaining.
       */
      public Builder setBuyRound(int value) {
        
        buyRound_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *当前可购的轮数
       * </pre>
       *
       * <code>int32 buy_round = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearBuyRound() {
        
        buyRound_ = 0;
        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:pb.DayRechargeInfoResponse)
    }

    // @@protoc_insertion_point(class_scope:pb.DayRechargeInfoResponse)
    private static final pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse();
    }

    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<DayRechargeInfoResponse>
        PARSER = new com.google.protobuf.AbstractParser<DayRechargeInfoResponse>() {
      @java.lang.Override
      public DayRechargeInfoResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new DayRechargeInfoResponse(input, extensionRegistry);
      }
    };

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeInfoResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DayRechargeRewardRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:pb.DayRechargeRewardRequest)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * <pre>
   *领取免费好礼
   * </pre>
   *
   * Protobuf type {@code pb.DayRechargeRewardRequest}
   */
  public  static final class DayRechargeRewardRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.DayRechargeRewardRequest)
      DayRechargeRewardRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DayRechargeRewardRequest.newBuilder() to construct.
    private DayRechargeRewardRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DayRechargeRewardRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DayRechargeRewardRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeRewardRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeRewardRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest.class, pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest.Builder.class);
    }

    /**
     * Protobuf enum {@code pb.DayRechargeRewardRequest.Proto}
     */
    public enum Proto
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>UNKNOWN = 0;</code>
       */
      UNKNOWN(0),
      /**
       * <code>ID = 2900002;</code>
       */
      ID(2900002),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>UNKNOWN = 0;</code>
       */
      public static final int UNKNOWN_VALUE = 0;
      /**
       * <code>ID = 2900002;</code>
       */
      public static final int ID_VALUE = 2900002;


      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 Proto 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 Proto forNumber(int value) {
        switch (value) {
          case 0: return UNKNOWN;
          case 2900002: return ID;
          default: return null;
        }
      }

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

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest.getDescriptor().getEnumTypes().get(0);
      }

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

      public static Proto 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 Proto(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:pb.DayRechargeRewardRequest.Proto)
    }

    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 {
      unknownFields.writeTo(output);
    }

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

      size = 0;
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest other = (pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest) obj;

      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest 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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest 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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest 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(pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest 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;
    }
    /**
     * <pre>
     *领取免费好礼
     * </pre>
     *
     * Protobuf type {@code pb.DayRechargeRewardRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:pb.DayRechargeRewardRequest)
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeRewardRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeRewardRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest.class, pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeRewardRequest_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest.getDefaultInstance();
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest build() {
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest buildPartial() {
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest result = new pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest(this);
        onBuilt();
        return result;
      }

      @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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest) {
          return mergeFrom((pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest other) {
        if (other == pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest.getDefaultInstance()) return this;
        this.mergeUnknownFields(other.unknownFields);
        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 {
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        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:pb.DayRechargeRewardRequest)
    }

    // @@protoc_insertion_point(class_scope:pb.DayRechargeRewardRequest)
    private static final pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest();
    }

    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<DayRechargeRewardRequest>
        PARSER = new com.google.protobuf.AbstractParser<DayRechargeRewardRequest>() {
      @java.lang.Override
      public DayRechargeRewardRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new DayRechargeRewardRequest(input, extensionRegistry);
      }
    };

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DayRechargeRewardResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:pb.DayRechargeRewardResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     *是否领取免费礼包
     * </pre>
     *
     * <code>bool free_reward = 1;</code>
     * @return The freeReward.
     */
    boolean getFreeReward();
  }
  /**
   * Protobuf type {@code pb.DayRechargeRewardResponse}
   */
  public  static final class DayRechargeRewardResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.DayRechargeRewardResponse)
      DayRechargeRewardResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DayRechargeRewardResponse.newBuilder() to construct.
    private DayRechargeRewardResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DayRechargeRewardResponse() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DayRechargeRewardResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {

              freeReward_ = input.readBool();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeRewardResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeRewardResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse.class, pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse.Builder.class);
    }

    /**
     * Protobuf enum {@code pb.DayRechargeRewardResponse.Proto}
     */
    public enum Proto
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>UNKNOWN = 0;</code>
       */
      UNKNOWN(0),
      /**
       * <code>ID = 2900002;</code>
       */
      ID(2900002),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>UNKNOWN = 0;</code>
       */
      public static final int UNKNOWN_VALUE = 0;
      /**
       * <code>ID = 2900002;</code>
       */
      public static final int ID_VALUE = 2900002;


      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 Proto 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 Proto forNumber(int value) {
        switch (value) {
          case 0: return UNKNOWN;
          case 2900002: return ID;
          default: return null;
        }
      }

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

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse.getDescriptor().getEnumTypes().get(0);
      }

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

      public static Proto 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 Proto(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:pb.DayRechargeRewardResponse.Proto)
    }

    public static final int FREE_REWARD_FIELD_NUMBER = 1;
    private boolean freeReward_;
    /**
     * <pre>
     *是否领取免费礼包
     * </pre>
     *
     * <code>bool free_reward = 1;</code>
     * @return The freeReward.
     */
    public boolean getFreeReward() {
      return freeReward_;
    }

    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 (freeReward_ != false) {
        output.writeBool(1, freeReward_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (freeReward_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1, freeReward_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse other = (pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse) obj;

      if (getFreeReward()
          != other.getFreeReward()) return false;
      if (!unknownFields.equals(other.unknownFields)) 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) + FREE_REWARD_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getFreeReward());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse 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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse 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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse 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(pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse 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 pb.DayRechargeRewardResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:pb.DayRechargeRewardResponse)
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeRewardResponse_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeRewardResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse.class, pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        freeReward_ = false;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeRewardResponse_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse.getDefaultInstance();
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse build() {
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse buildPartial() {
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse result = new pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse(this);
        result.freeReward_ = freeReward_;
        onBuilt();
        return result;
      }

      @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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse) {
          return mergeFrom((pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse other) {
        if (other == pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse.getDefaultInstance()) return this;
        if (other.getFreeReward() != false) {
          setFreeReward(other.getFreeReward());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private boolean freeReward_ ;
      /**
       * <pre>
       *是否领取免费礼包
       * </pre>
       *
       * <code>bool free_reward = 1;</code>
       * @return The freeReward.
       */
      public boolean getFreeReward() {
        return freeReward_;
      }
      /**
       * <pre>
       *是否领取免费礼包
       * </pre>
       *
       * <code>bool free_reward = 1;</code>
       * @param value The freeReward to set.
       * @return This builder for chaining.
       */
      public Builder setFreeReward(boolean value) {
        
        freeReward_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *是否领取免费礼包
       * </pre>
       *
       * <code>bool free_reward = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearFreeReward() {
        
        freeReward_ = 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:pb.DayRechargeRewardResponse)
    }

    // @@protoc_insertion_point(class_scope:pb.DayRechargeRewardResponse)
    private static final pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse();
    }

    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<DayRechargeRewardResponse>
        PARSER = new com.google.protobuf.AbstractParser<DayRechargeRewardResponse>() {
      @java.lang.Override
      public DayRechargeRewardResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new DayRechargeRewardResponse(input, extensionRegistry);
      }
    };

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeRewardResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DayRechargeBuyMessageOrBuilder extends
      // @@protoc_insertion_point(interface_extends:pb.DayRechargeBuyMessage)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     *是否已经一键购买所有礼包
     * </pre>
     *
     * <code>bool buy_all = 1;</code>
     * @return The buyAll.
     */
    boolean getBuyAll();

    /**
     * <pre>
     *散装购买的商品ID
     * </pre>
     *
     * <code>repeated int32 day_recharge = 2;</code>
     * @return A list containing the dayRecharge.
     */
    java.util.List<java.lang.Integer> getDayRechargeList();
    /**
     * <pre>
     *散装购买的商品ID
     * </pre>
     *
     * <code>repeated int32 day_recharge = 2;</code>
     * @return The count of dayRecharge.
     */
    int getDayRechargeCount();
    /**
     * <pre>
     *散装购买的商品ID
     * </pre>
     *
     * <code>repeated int32 day_recharge = 2;</code>
     * @param index The index of the element to return.
     * @return The dayRecharge at the given index.
     */
    int getDayRecharge(int index);

    /**
     * <pre>
     *当前可购的轮数
     * </pre>
     *
     * <code>int32 buy_round = 3;</code>
     * @return The buyRound.
     */
    int getBuyRound();
  }
  /**
   * <pre>
   *每日礼包购买推送
   * </pre>
   *
   * Protobuf type {@code pb.DayRechargeBuyMessage}
   */
  public  static final class DayRechargeBuyMessage extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.DayRechargeBuyMessage)
      DayRechargeBuyMessageOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DayRechargeBuyMessage.newBuilder() to construct.
    private DayRechargeBuyMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DayRechargeBuyMessage() {
      dayRecharge_ = emptyIntList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DayRechargeBuyMessage(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {

              buyAll_ = input.readBool();
              break;
            }
            case 16: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                dayRecharge_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              dayRecharge_.addInt(input.readInt32());
              break;
            }
            case 18: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                dayRecharge_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                dayRecharge_.addInt(input.readInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 24: {

              buyRound_ = input.readInt32();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          dayRecharge_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeBuyMessage_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeBuyMessage_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage.class, pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage.Builder.class);
    }

    /**
     * Protobuf enum {@code pb.DayRechargeBuyMessage.Proto}
     */
    public enum Proto
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>UNKNOWN = 0;</code>
       */
      UNKNOWN(0),
      /**
       * <code>ID = 2900003;</code>
       */
      ID(2900003),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>UNKNOWN = 0;</code>
       */
      public static final int UNKNOWN_VALUE = 0;
      /**
       * <code>ID = 2900003;</code>
       */
      public static final int ID_VALUE = 2900003;


      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 Proto 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 Proto forNumber(int value) {
        switch (value) {
          case 0: return UNKNOWN;
          case 2900003: return ID;
          default: return null;
        }
      }

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

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage.getDescriptor().getEnumTypes().get(0);
      }

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

      public static Proto 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 Proto(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:pb.DayRechargeBuyMessage.Proto)
    }

    public static final int BUY_ALL_FIELD_NUMBER = 1;
    private boolean buyAll_;
    /**
     * <pre>
     *是否已经一键购买所有礼包
     * </pre>
     *
     * <code>bool buy_all = 1;</code>
     * @return The buyAll.
     */
    public boolean getBuyAll() {
      return buyAll_;
    }

    public static final int DAY_RECHARGE_FIELD_NUMBER = 2;
    private com.google.protobuf.Internal.IntList dayRecharge_;
    /**
     * <pre>
     *散装购买的商品ID
     * </pre>
     *
     * <code>repeated int32 day_recharge = 2;</code>
     * @return A list containing the dayRecharge.
     */
    public java.util.List<java.lang.Integer>
        getDayRechargeList() {
      return dayRecharge_;
    }
    /**
     * <pre>
     *散装购买的商品ID
     * </pre>
     *
     * <code>repeated int32 day_recharge = 2;</code>
     * @return The count of dayRecharge.
     */
    public int getDayRechargeCount() {
      return dayRecharge_.size();
    }
    /**
     * <pre>
     *散装购买的商品ID
     * </pre>
     *
     * <code>repeated int32 day_recharge = 2;</code>
     * @param index The index of the element to return.
     * @return The dayRecharge at the given index.
     */
    public int getDayRecharge(int index) {
      return dayRecharge_.getInt(index);
    }
    private int dayRechargeMemoizedSerializedSize = -1;

    public static final int BUY_ROUND_FIELD_NUMBER = 3;
    private int buyRound_;
    /**
     * <pre>
     *当前可购的轮数
     * </pre>
     *
     * <code>int32 buy_round = 3;</code>
     * @return The buyRound.
     */
    public int getBuyRound() {
      return buyRound_;
    }

    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 {
      getSerializedSize();
      if (buyAll_ != false) {
        output.writeBool(1, buyAll_);
      }
      if (getDayRechargeList().size() > 0) {
        output.writeUInt32NoTag(18);
        output.writeUInt32NoTag(dayRechargeMemoizedSerializedSize);
      }
      for (int i = 0; i < dayRecharge_.size(); i++) {
        output.writeInt32NoTag(dayRecharge_.getInt(i));
      }
      if (buyRound_ != 0) {
        output.writeInt32(3, buyRound_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (buyAll_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1, buyAll_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < dayRecharge_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dayRecharge_.getInt(i));
        }
        size += dataSize;
        if (!getDayRechargeList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        dayRechargeMemoizedSerializedSize = dataSize;
      }
      if (buyRound_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, buyRound_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage other = (pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage) obj;

      if (getBuyAll()
          != other.getBuyAll()) return false;
      if (!getDayRechargeList()
          .equals(other.getDayRechargeList())) return false;
      if (getBuyRound()
          != other.getBuyRound()) return false;
      if (!unknownFields.equals(other.unknownFields)) 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) + BUY_ALL_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getBuyAll());
      if (getDayRechargeCount() > 0) {
        hash = (37 * hash) + DAY_RECHARGE_FIELD_NUMBER;
        hash = (53 * hash) + getDayRechargeList().hashCode();
      }
      hash = (37 * hash) + BUY_ROUND_FIELD_NUMBER;
      hash = (53 * hash) + getBuyRound();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage 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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage 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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage 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(pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage 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;
    }
    /**
     * <pre>
     *每日礼包购买推送
     * </pre>
     *
     * Protobuf type {@code pb.DayRechargeBuyMessage}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:pb.DayRechargeBuyMessage)
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessageOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeBuyMessage_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeBuyMessage_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage.class, pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        buyAll_ = false;

        dayRecharge_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        buyRound_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.internal_static_pb_DayRechargeBuyMessage_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage.getDefaultInstance();
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage build() {
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage buildPartial() {
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage result = new pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage(this);
        int from_bitField0_ = bitField0_;
        result.buyAll_ = buyAll_;
        if (((bitField0_ & 0x00000001) != 0)) {
          dayRecharge_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.dayRecharge_ = dayRecharge_;
        result.buyRound_ = buyRound_;
        onBuilt();
        return result;
      }

      @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 pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage) {
          return mergeFrom((pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage other) {
        if (other == pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage.getDefaultInstance()) return this;
        if (other.getBuyAll() != false) {
          setBuyAll(other.getBuyAll());
        }
        if (!other.dayRecharge_.isEmpty()) {
          if (dayRecharge_.isEmpty()) {
            dayRecharge_ = other.dayRecharge_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureDayRechargeIsMutable();
            dayRecharge_.addAll(other.dayRecharge_);
          }
          onChanged();
        }
        if (other.getBuyRound() != 0) {
          setBuyRound(other.getBuyRound());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private boolean buyAll_ ;
      /**
       * <pre>
       *是否已经一键购买所有礼包
       * </pre>
       *
       * <code>bool buy_all = 1;</code>
       * @return The buyAll.
       */
      public boolean getBuyAll() {
        return buyAll_;
      }
      /**
       * <pre>
       *是否已经一键购买所有礼包
       * </pre>
       *
       * <code>bool buy_all = 1;</code>
       * @param value The buyAll to set.
       * @return This builder for chaining.
       */
      public Builder setBuyAll(boolean value) {
        
        buyAll_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *是否已经一键购买所有礼包
       * </pre>
       *
       * <code>bool buy_all = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearBuyAll() {
        
        buyAll_ = false;
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList dayRecharge_ = emptyIntList();
      private void ensureDayRechargeIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          dayRecharge_ = mutableCopy(dayRecharge_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <pre>
       *散装购买的商品ID
       * </pre>
       *
       * <code>repeated int32 day_recharge = 2;</code>
       * @return A list containing the dayRecharge.
       */
      public java.util.List<java.lang.Integer>
          getDayRechargeList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(dayRecharge_) : dayRecharge_;
      }
      /**
       * <pre>
       *散装购买的商品ID
       * </pre>
       *
       * <code>repeated int32 day_recharge = 2;</code>
       * @return The count of dayRecharge.
       */
      public int getDayRechargeCount() {
        return dayRecharge_.size();
      }
      /**
       * <pre>
       *散装购买的商品ID
       * </pre>
       *
       * <code>repeated int32 day_recharge = 2;</code>
       * @param index The index of the element to return.
       * @return The dayRecharge at the given index.
       */
      public int getDayRecharge(int index) {
        return dayRecharge_.getInt(index);
      }
      /**
       * <pre>
       *散装购买的商品ID
       * </pre>
       *
       * <code>repeated int32 day_recharge = 2;</code>
       * @param index The index to set the value at.
       * @param value The dayRecharge to set.
       * @return This builder for chaining.
       */
      public Builder setDayRecharge(
          int index, int value) {
        ensureDayRechargeIsMutable();
        dayRecharge_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *散装购买的商品ID
       * </pre>
       *
       * <code>repeated int32 day_recharge = 2;</code>
       * @param value The dayRecharge to add.
       * @return This builder for chaining.
       */
      public Builder addDayRecharge(int value) {
        ensureDayRechargeIsMutable();
        dayRecharge_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *散装购买的商品ID
       * </pre>
       *
       * <code>repeated int32 day_recharge = 2;</code>
       * @param values The dayRecharge to add.
       * @return This builder for chaining.
       */
      public Builder addAllDayRecharge(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureDayRechargeIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, dayRecharge_);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *散装购买的商品ID
       * </pre>
       *
       * <code>repeated int32 day_recharge = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearDayRecharge() {
        dayRecharge_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private int buyRound_ ;
      /**
       * <pre>
       *当前可购的轮数
       * </pre>
       *
       * <code>int32 buy_round = 3;</code>
       * @return The buyRound.
       */
      public int getBuyRound() {
        return buyRound_;
      }
      /**
       * <pre>
       *当前可购的轮数
       * </pre>
       *
       * <code>int32 buy_round = 3;</code>
       * @param value The buyRound to set.
       * @return This builder for chaining.
       */
      public Builder setBuyRound(int value) {
        
        buyRound_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *当前可购的轮数
       * </pre>
       *
       * <code>int32 buy_round = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearBuyRound() {
        
        buyRound_ = 0;
        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:pb.DayRechargeBuyMessage)
    }

    // @@protoc_insertion_point(class_scope:pb.DayRechargeBuyMessage)
    private static final pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage();
    }

    public static pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<DayRechargeBuyMessage>
        PARSER = new com.google.protobuf.AbstractParser<DayRechargeBuyMessage>() {
      @java.lang.Override
      public DayRechargeBuyMessage parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new DayRechargeBuyMessage(input, extensionRegistry);
      }
    };

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.dayrecharge.DayRecharge.DayRechargeBuyMessage getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_DayRechargeInfoResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_DayRechargeInfoResponse_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_DayRechargeRewardRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_DayRechargeRewardRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_DayRechargeRewardResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_DayRechargeRewardResponse_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_DayRechargeBuyMessage_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_DayRechargeBuyMessage_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\021DayRecharge.proto\022\002pb\"\211\001\n\027DayRechargeI" +
      "nfoResponse\022\017\n\007buy_all\030\001 \001(\010\022\024\n\014day_rech" +
      "arge\030\002 \003(\005\022\023\n\013free_reward\030\003 \001(\010\022\021\n\tbuy_r" +
      "ound\030\004 \001(\005\"\037\n\005Proto\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\241" +
      "\200\261\001\";\n\030DayRechargeRewardRequest\"\037\n\005Proto" +
      "\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\242\200\261\001\"Q\n\031DayRechargeR" +
      "ewardResponse\022\023\n\013free_reward\030\001 \001(\010\"\037\n\005Pr" +
      "oto\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\242\200\261\001\"r\n\025DayRechar" +
      "geBuyMessage\022\017\n\007buy_all\030\001 \001(\010\022\024\n\014day_rec" +
      "harge\030\002 \003(\005\022\021\n\tbuy_round\030\003 \001(\005\"\037\n\005Proto\022" +
      "\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\243\200\261\001B;\n!pb.xiugou.x1." +
      "protobuf.dayrecharge\252\002\025pb.xiugou.x1.prot" +
      "obufb\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_pb_DayRechargeInfoResponse_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_pb_DayRechargeInfoResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_DayRechargeInfoResponse_descriptor,
        new java.lang.String[] { "BuyAll", "DayRecharge", "FreeReward", "BuyRound", });
    internal_static_pb_DayRechargeRewardRequest_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_pb_DayRechargeRewardRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_DayRechargeRewardRequest_descriptor,
        new java.lang.String[] { });
    internal_static_pb_DayRechargeRewardResponse_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_pb_DayRechargeRewardResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_DayRechargeRewardResponse_descriptor,
        new java.lang.String[] { "FreeReward", });
    internal_static_pb_DayRechargeBuyMessage_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_pb_DayRechargeBuyMessage_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_DayRechargeBuyMessage_descriptor,
        new java.lang.String[] { "BuyAll", "DayRecharge", "BuyRound", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
