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

package pb.xiugou.x1.protobuf.promotion;

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

    /**
     * <pre>
     *活动类型ID
     * </pre>
     *
     * <code>int32 type_id = 1;</code>
     * @return The typeId.
     */
    int getTypeId();
  }
  /**
   * <pre>
   *活动目标
   * </pre>
   *
   * Protobuf type {@code pb.HuoDongMuBiaoInfoRequest}
   */
  public  static final class HuoDongMuBiaoInfoRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.HuoDongMuBiaoInfoRequest)
      HuoDongMuBiaoInfoRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HuoDongMuBiaoInfoRequest.newBuilder() to construct.
    private HuoDongMuBiaoInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private HuoDongMuBiaoInfoRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HuoDongMuBiaoInfoRequest(
        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: {

              typeId_ = 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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoInfoRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoInfoRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest.class, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest.Builder.class);
    }

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

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


      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 2101001: 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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest.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.HuoDongMuBiaoInfoRequest.Proto)
    }

    public static final int TYPE_ID_FIELD_NUMBER = 1;
    private int typeId_;
    /**
     * <pre>
     *活动类型ID
     * </pre>
     *
     * <code>int32 type_id = 1;</code>
     * @return The typeId.
     */
    public int getTypeId() {
      return typeId_;
    }

    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 (typeId_ != 0) {
        output.writeInt32(1, typeId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (typeId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, typeId_);
      }
      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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest other = (pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest) obj;

      if (getTypeId()
          != other.getTypeId()) 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) + TYPE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTypeId();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoInfoRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest.class, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest.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();
        typeId_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoInfoRequest_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest buildPartial() {
        pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest result = new pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest(this);
        result.typeId_ = typeId_;
        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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest) {
          return mergeFrom((pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest.getDefaultInstance()) return this;
        if (other.getTypeId() != 0) {
          setTypeId(other.getTypeId());
        }
        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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int typeId_ ;
      /**
       * <pre>
       *活动类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @return The typeId.
       */
      public int getTypeId() {
        return typeId_;
      }
      /**
       * <pre>
       *活动类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @param value The typeId to set.
       * @return This builder for chaining.
       */
      public Builder setTypeId(int value) {
        
        typeId_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *活动类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTypeId() {
        
        typeId_ = 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.HuoDongMuBiaoInfoRequest)
    }

    // @@protoc_insertion_point(class_scope:pb.HuoDongMuBiaoInfoRequest)
    private static final pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest();
    }

    public static pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

    /**
     * <pre>
     *活动类型ID
     * </pre>
     *
     * <code>int32 type_id = 1;</code>
     * @return The typeId.
     */
    int getTypeId();

    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 2;</code>
     */
    java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask> 
        getTasksList();
    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 2;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask getTasks(int index);
    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 2;</code>
     */
    int getTasksCount();
    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 2;</code>
     */
    java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> 
        getTasksOrBuilderList();
    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 2;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder getTasksOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code pb.HuoDongMuBiaoInfoResponse}
   */
  public  static final class HuoDongMuBiaoInfoResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.HuoDongMuBiaoInfoResponse)
      HuoDongMuBiaoInfoResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HuoDongMuBiaoInfoResponse.newBuilder() to construct.
    private HuoDongMuBiaoInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private HuoDongMuBiaoInfoResponse() {
      tasks_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HuoDongMuBiaoInfoResponse(
        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: {

              typeId_ = input.readInt32();
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                tasks_ = new java.util.ArrayList<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask>();
                mutable_bitField0_ |= 0x00000001;
              }
              tasks_.add(
                  input.readMessage(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.parser(), extensionRegistry));
              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)) {
          tasks_ = java.util.Collections.unmodifiableList(tasks_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoInfoResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoInfoResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse.class, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse.Builder.class);
    }

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

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


      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 2101001: 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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse.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.HuoDongMuBiaoInfoResponse.Proto)
    }

    public static final int TYPE_ID_FIELD_NUMBER = 1;
    private int typeId_;
    /**
     * <pre>
     *活动类型ID
     * </pre>
     *
     * <code>int32 type_id = 1;</code>
     * @return The typeId.
     */
    public int getTypeId() {
      return typeId_;
    }

    public static final int TASKS_FIELD_NUMBER = 2;
    private java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask> tasks_;
    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 2;</code>
     */
    public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask> getTasksList() {
      return tasks_;
    }
    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 2;</code>
     */
    public java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> 
        getTasksOrBuilderList() {
      return tasks_;
    }
    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 2;</code>
     */
    public int getTasksCount() {
      return tasks_.size();
    }
    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 2;</code>
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask getTasks(int index) {
      return tasks_.get(index);
    }
    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 2;</code>
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder getTasksOrBuilder(
        int index) {
      return tasks_.get(index);
    }

    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 (typeId_ != 0) {
        output.writeInt32(1, typeId_);
      }
      for (int i = 0; i < tasks_.size(); i++) {
        output.writeMessage(2, tasks_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (typeId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, typeId_);
      }
      for (int i = 0; i < tasks_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, tasks_.get(i));
      }
      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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse other = (pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse) obj;

      if (getTypeId()
          != other.getTypeId()) return false;
      if (!getTasksList()
          .equals(other.getTasksList())) 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) + TYPE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTypeId();
      if (getTasksCount() > 0) {
        hash = (37 * hash) + TASKS_FIELD_NUMBER;
        hash = (53 * hash) + getTasksList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoInfoResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse.class, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        if (tasksBuilder_ == null) {
          tasks_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          tasksBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoInfoResponse_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse buildPartial() {
        pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse result = new pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse(this);
        int from_bitField0_ = bitField0_;
        result.typeId_ = typeId_;
        if (tasksBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            tasks_ = java.util.Collections.unmodifiableList(tasks_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.tasks_ = tasks_;
        } else {
          result.tasks_ = tasksBuilder_.build();
        }
        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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse) {
          return mergeFrom((pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse.getDefaultInstance()) return this;
        if (other.getTypeId() != 0) {
          setTypeId(other.getTypeId());
        }
        if (tasksBuilder_ == null) {
          if (!other.tasks_.isEmpty()) {
            if (tasks_.isEmpty()) {
              tasks_ = other.tasks_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureTasksIsMutable();
              tasks_.addAll(other.tasks_);
            }
            onChanged();
          }
        } else {
          if (!other.tasks_.isEmpty()) {
            if (tasksBuilder_.isEmpty()) {
              tasksBuilder_.dispose();
              tasksBuilder_ = null;
              tasks_ = other.tasks_;
              bitField0_ = (bitField0_ & ~0x00000001);
              tasksBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getTasksFieldBuilder() : null;
            } else {
              tasksBuilder_.addAllMessages(other.tasks_);
            }
          }
        }
        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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int typeId_ ;
      /**
       * <pre>
       *活动类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @return The typeId.
       */
      public int getTypeId() {
        return typeId_;
      }
      /**
       * <pre>
       *活动类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @param value The typeId to set.
       * @return This builder for chaining.
       */
      public Builder setTypeId(int value) {
        
        typeId_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *活动类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTypeId() {
        
        typeId_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask> tasks_ =
        java.util.Collections.emptyList();
      private void ensureTasksIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          tasks_ = new java.util.ArrayList<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask>(tasks_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> tasksBuilder_;

      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask> getTasksList() {
        if (tasksBuilder_ == null) {
          return java.util.Collections.unmodifiableList(tasks_);
        } else {
          return tasksBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public int getTasksCount() {
        if (tasksBuilder_ == null) {
          return tasks_.size();
        } else {
          return tasksBuilder_.getCount();
        }
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask getTasks(int index) {
        if (tasksBuilder_ == null) {
          return tasks_.get(index);
        } else {
          return tasksBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public Builder setTasks(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask value) {
        if (tasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTasksIsMutable();
          tasks_.set(index, value);
          onChanged();
        } else {
          tasksBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public Builder setTasks(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder builderForValue) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.set(index, builderForValue.build());
          onChanged();
        } else {
          tasksBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public Builder addTasks(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask value) {
        if (tasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTasksIsMutable();
          tasks_.add(value);
          onChanged();
        } else {
          tasksBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public Builder addTasks(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask value) {
        if (tasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTasksIsMutable();
          tasks_.add(index, value);
          onChanged();
        } else {
          tasksBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public Builder addTasks(
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder builderForValue) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.add(builderForValue.build());
          onChanged();
        } else {
          tasksBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public Builder addTasks(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder builderForValue) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.add(index, builderForValue.build());
          onChanged();
        } else {
          tasksBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public Builder addAllTasks(
          java.lang.Iterable<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask> values) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, tasks_);
          onChanged();
        } else {
          tasksBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public Builder clearTasks() {
        if (tasksBuilder_ == null) {
          tasks_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          tasksBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public Builder removeTasks(int index) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.remove(index);
          onChanged();
        } else {
          tasksBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder getTasksBuilder(
          int index) {
        return getTasksFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder getTasksOrBuilder(
          int index) {
        if (tasksBuilder_ == null) {
          return tasks_.get(index);  } else {
          return tasksBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> 
           getTasksOrBuilderList() {
        if (tasksBuilder_ != null) {
          return tasksBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(tasks_);
        }
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder addTasksBuilder() {
        return getTasksFieldBuilder().addBuilder(
            pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.getDefaultInstance());
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder addTasksBuilder(
          int index) {
        return getTasksFieldBuilder().addBuilder(
            index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.getDefaultInstance());
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 2;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder> 
           getTasksBuilderList() {
        return getTasksFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> 
          getTasksFieldBuilder() {
        if (tasksBuilder_ == null) {
          tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder>(
                  tasks_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          tasks_ = null;
        }
        return tasksBuilder_;
      }
      @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.HuoDongMuBiaoInfoResponse)
    }

    // @@protoc_insertion_point(class_scope:pb.HuoDongMuBiaoInfoResponse)
    private static final pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse();
    }

    public static pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoInfoResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

    /**
     * <pre>
     *类型ID
     * </pre>
     *
     * <code>int32 type_id = 1;</code>
     * @return The typeId.
     */
    int getTypeId();

    /**
     * <pre>
     *任务ID
     * </pre>
     *
     * <code>int32 task_id = 2;</code>
     * @return The taskId.
     */
    int getTaskId();

    /**
     * <pre>
     *自选奖励道具ID
     * </pre>
     *
     * <code>int32 select_item = 3;</code>
     * @return The selectItem.
     */
    int getSelectItem();
  }
  /**
   * <pre>
   *领取任务奖励
   * </pre>
   *
   * Protobuf type {@code pb.HuoDongMuBiaoTakeRewardRequest}
   */
  public  static final class HuoDongMuBiaoTakeRewardRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.HuoDongMuBiaoTakeRewardRequest)
      HuoDongMuBiaoTakeRewardRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HuoDongMuBiaoTakeRewardRequest.newBuilder() to construct.
    private HuoDongMuBiaoTakeRewardRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private HuoDongMuBiaoTakeRewardRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HuoDongMuBiaoTakeRewardRequest(
        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: {

              typeId_ = input.readInt32();
              break;
            }
            case 16: {

              taskId_ = input.readInt32();
              break;
            }
            case 24: {

              selectItem_ = 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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoTakeRewardRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoTakeRewardRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest.class, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest.Builder.class);
    }

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

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


      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 2101002: 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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest.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.HuoDongMuBiaoTakeRewardRequest.Proto)
    }

    public static final int TYPE_ID_FIELD_NUMBER = 1;
    private int typeId_;
    /**
     * <pre>
     *类型ID
     * </pre>
     *
     * <code>int32 type_id = 1;</code>
     * @return The typeId.
     */
    public int getTypeId() {
      return typeId_;
    }

    public static final int TASK_ID_FIELD_NUMBER = 2;
    private int taskId_;
    /**
     * <pre>
     *任务ID
     * </pre>
     *
     * <code>int32 task_id = 2;</code>
     * @return The taskId.
     */
    public int getTaskId() {
      return taskId_;
    }

    public static final int SELECT_ITEM_FIELD_NUMBER = 3;
    private int selectItem_;
    /**
     * <pre>
     *自选奖励道具ID
     * </pre>
     *
     * <code>int32 select_item = 3;</code>
     * @return The selectItem.
     */
    public int getSelectItem() {
      return selectItem_;
    }

    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 (typeId_ != 0) {
        output.writeInt32(1, typeId_);
      }
      if (taskId_ != 0) {
        output.writeInt32(2, taskId_);
      }
      if (selectItem_ != 0) {
        output.writeInt32(3, selectItem_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (typeId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, typeId_);
      }
      if (taskId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, taskId_);
      }
      if (selectItem_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, selectItem_);
      }
      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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest other = (pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest) obj;

      if (getTypeId()
          != other.getTypeId()) return false;
      if (getTaskId()
          != other.getTaskId()) return false;
      if (getSelectItem()
          != other.getSelectItem()) 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) + TYPE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTypeId();
      hash = (37 * hash) + TASK_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTaskId();
      hash = (37 * hash) + SELECT_ITEM_FIELD_NUMBER;
      hash = (53 * hash) + getSelectItem();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoTakeRewardRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest.class, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest.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();
        typeId_ = 0;

        taskId_ = 0;

        selectItem_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoTakeRewardRequest_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest buildPartial() {
        pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest result = new pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest(this);
        result.typeId_ = typeId_;
        result.taskId_ = taskId_;
        result.selectItem_ = selectItem_;
        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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest) {
          return mergeFrom((pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest.getDefaultInstance()) return this;
        if (other.getTypeId() != 0) {
          setTypeId(other.getTypeId());
        }
        if (other.getTaskId() != 0) {
          setTaskId(other.getTaskId());
        }
        if (other.getSelectItem() != 0) {
          setSelectItem(other.getSelectItem());
        }
        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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int typeId_ ;
      /**
       * <pre>
       *类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @return The typeId.
       */
      public int getTypeId() {
        return typeId_;
      }
      /**
       * <pre>
       *类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @param value The typeId to set.
       * @return This builder for chaining.
       */
      public Builder setTypeId(int value) {
        
        typeId_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTypeId() {
        
        typeId_ = 0;
        onChanged();
        return this;
      }

      private int taskId_ ;
      /**
       * <pre>
       *任务ID
       * </pre>
       *
       * <code>int32 task_id = 2;</code>
       * @return The taskId.
       */
      public int getTaskId() {
        return taskId_;
      }
      /**
       * <pre>
       *任务ID
       * </pre>
       *
       * <code>int32 task_id = 2;</code>
       * @param value The taskId to set.
       * @return This builder for chaining.
       */
      public Builder setTaskId(int value) {
        
        taskId_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *任务ID
       * </pre>
       *
       * <code>int32 task_id = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearTaskId() {
        
        taskId_ = 0;
        onChanged();
        return this;
      }

      private int selectItem_ ;
      /**
       * <pre>
       *自选奖励道具ID
       * </pre>
       *
       * <code>int32 select_item = 3;</code>
       * @return The selectItem.
       */
      public int getSelectItem() {
        return selectItem_;
      }
      /**
       * <pre>
       *自选奖励道具ID
       * </pre>
       *
       * <code>int32 select_item = 3;</code>
       * @param value The selectItem to set.
       * @return This builder for chaining.
       */
      public Builder setSelectItem(int value) {
        
        selectItem_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *自选奖励道具ID
       * </pre>
       *
       * <code>int32 select_item = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearSelectItem() {
        
        selectItem_ = 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.HuoDongMuBiaoTakeRewardRequest)
    }

    // @@protoc_insertion_point(class_scope:pb.HuoDongMuBiaoTakeRewardRequest)
    private static final pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest();
    }

    public static pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

    /**
     * <pre>
     *类型ID
     * </pre>
     *
     * <code>int32 type_id = 1;</code>
     * @return The typeId.
     */
    int getTypeId();

    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>.pb.PbTask tasks = 2;</code>
     * @return Whether the tasks field is set.
     */
    boolean hasTasks();
    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>.pb.PbTask tasks = 2;</code>
     * @return The tasks.
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask getTasks();
    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>.pb.PbTask tasks = 2;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder getTasksOrBuilder();

    /**
     * <pre>
     *新一轮的奖励
     * </pre>
     *
     * <code>repeated .pb.PbTask new_tasks = 3;</code>
     */
    java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask> 
        getNewTasksList();
    /**
     * <pre>
     *新一轮的奖励
     * </pre>
     *
     * <code>repeated .pb.PbTask new_tasks = 3;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask getNewTasks(int index);
    /**
     * <pre>
     *新一轮的奖励
     * </pre>
     *
     * <code>repeated .pb.PbTask new_tasks = 3;</code>
     */
    int getNewTasksCount();
    /**
     * <pre>
     *新一轮的奖励
     * </pre>
     *
     * <code>repeated .pb.PbTask new_tasks = 3;</code>
     */
    java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> 
        getNewTasksOrBuilderList();
    /**
     * <pre>
     *新一轮的奖励
     * </pre>
     *
     * <code>repeated .pb.PbTask new_tasks = 3;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder getNewTasksOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code pb.HuoDongMuBiaoTakeRewardResponse}
   */
  public  static final class HuoDongMuBiaoTakeRewardResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.HuoDongMuBiaoTakeRewardResponse)
      HuoDongMuBiaoTakeRewardResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HuoDongMuBiaoTakeRewardResponse.newBuilder() to construct.
    private HuoDongMuBiaoTakeRewardResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private HuoDongMuBiaoTakeRewardResponse() {
      newTasks_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HuoDongMuBiaoTakeRewardResponse(
        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: {

              typeId_ = input.readInt32();
              break;
            }
            case 18: {
              pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder subBuilder = null;
              if (tasks_ != null) {
                subBuilder = tasks_.toBuilder();
              }
              tasks_ = input.readMessage(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(tasks_);
                tasks_ = subBuilder.buildPartial();
              }

              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                newTasks_ = new java.util.ArrayList<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask>();
                mutable_bitField0_ |= 0x00000001;
              }
              newTasks_.add(
                  input.readMessage(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.parser(), extensionRegistry));
              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)) {
          newTasks_ = java.util.Collections.unmodifiableList(newTasks_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoTakeRewardResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoTakeRewardResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse.class, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse.Builder.class);
    }

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

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


      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 2101002: 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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse.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.HuoDongMuBiaoTakeRewardResponse.Proto)
    }

    public static final int TYPE_ID_FIELD_NUMBER = 1;
    private int typeId_;
    /**
     * <pre>
     *类型ID
     * </pre>
     *
     * <code>int32 type_id = 1;</code>
     * @return The typeId.
     */
    public int getTypeId() {
      return typeId_;
    }

    public static final int TASKS_FIELD_NUMBER = 2;
    private pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask tasks_;
    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>.pb.PbTask tasks = 2;</code>
     * @return Whether the tasks field is set.
     */
    public boolean hasTasks() {
      return tasks_ != null;
    }
    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>.pb.PbTask tasks = 2;</code>
     * @return The tasks.
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask getTasks() {
      return tasks_ == null ? pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.getDefaultInstance() : tasks_;
    }
    /**
     * <pre>
     *任务信息
     * </pre>
     *
     * <code>.pb.PbTask tasks = 2;</code>
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder getTasksOrBuilder() {
      return getTasks();
    }

    public static final int NEW_TASKS_FIELD_NUMBER = 3;
    private java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask> newTasks_;
    /**
     * <pre>
     *新一轮的奖励
     * </pre>
     *
     * <code>repeated .pb.PbTask new_tasks = 3;</code>
     */
    public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask> getNewTasksList() {
      return newTasks_;
    }
    /**
     * <pre>
     *新一轮的奖励
     * </pre>
     *
     * <code>repeated .pb.PbTask new_tasks = 3;</code>
     */
    public java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> 
        getNewTasksOrBuilderList() {
      return newTasks_;
    }
    /**
     * <pre>
     *新一轮的奖励
     * </pre>
     *
     * <code>repeated .pb.PbTask new_tasks = 3;</code>
     */
    public int getNewTasksCount() {
      return newTasks_.size();
    }
    /**
     * <pre>
     *新一轮的奖励
     * </pre>
     *
     * <code>repeated .pb.PbTask new_tasks = 3;</code>
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask getNewTasks(int index) {
      return newTasks_.get(index);
    }
    /**
     * <pre>
     *新一轮的奖励
     * </pre>
     *
     * <code>repeated .pb.PbTask new_tasks = 3;</code>
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder getNewTasksOrBuilder(
        int index) {
      return newTasks_.get(index);
    }

    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 (typeId_ != 0) {
        output.writeInt32(1, typeId_);
      }
      if (tasks_ != null) {
        output.writeMessage(2, getTasks());
      }
      for (int i = 0; i < newTasks_.size(); i++) {
        output.writeMessage(3, newTasks_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (typeId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, typeId_);
      }
      if (tasks_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getTasks());
      }
      for (int i = 0; i < newTasks_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, newTasks_.get(i));
      }
      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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse other = (pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse) obj;

      if (getTypeId()
          != other.getTypeId()) return false;
      if (hasTasks() != other.hasTasks()) return false;
      if (hasTasks()) {
        if (!getTasks()
            .equals(other.getTasks())) return false;
      }
      if (!getNewTasksList()
          .equals(other.getNewTasksList())) 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) + TYPE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTypeId();
      if (hasTasks()) {
        hash = (37 * hash) + TASKS_FIELD_NUMBER;
        hash = (53 * hash) + getTasks().hashCode();
      }
      if (getNewTasksCount() > 0) {
        hash = (37 * hash) + NEW_TASKS_FIELD_NUMBER;
        hash = (53 * hash) + getNewTasksList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoTakeRewardResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse.class, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        if (tasksBuilder_ == null) {
          tasks_ = null;
        } else {
          tasks_ = null;
          tasksBuilder_ = null;
        }
        if (newTasksBuilder_ == null) {
          newTasks_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          newTasksBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoTakeRewardResponse_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse buildPartial() {
        pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse result = new pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse(this);
        int from_bitField0_ = bitField0_;
        result.typeId_ = typeId_;
        if (tasksBuilder_ == null) {
          result.tasks_ = tasks_;
        } else {
          result.tasks_ = tasksBuilder_.build();
        }
        if (newTasksBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            newTasks_ = java.util.Collections.unmodifiableList(newTasks_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.newTasks_ = newTasks_;
        } else {
          result.newTasks_ = newTasksBuilder_.build();
        }
        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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse) {
          return mergeFrom((pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse.getDefaultInstance()) return this;
        if (other.getTypeId() != 0) {
          setTypeId(other.getTypeId());
        }
        if (other.hasTasks()) {
          mergeTasks(other.getTasks());
        }
        if (newTasksBuilder_ == null) {
          if (!other.newTasks_.isEmpty()) {
            if (newTasks_.isEmpty()) {
              newTasks_ = other.newTasks_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureNewTasksIsMutable();
              newTasks_.addAll(other.newTasks_);
            }
            onChanged();
          }
        } else {
          if (!other.newTasks_.isEmpty()) {
            if (newTasksBuilder_.isEmpty()) {
              newTasksBuilder_.dispose();
              newTasksBuilder_ = null;
              newTasks_ = other.newTasks_;
              bitField0_ = (bitField0_ & ~0x00000001);
              newTasksBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getNewTasksFieldBuilder() : null;
            } else {
              newTasksBuilder_.addAllMessages(other.newTasks_);
            }
          }
        }
        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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int typeId_ ;
      /**
       * <pre>
       *类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @return The typeId.
       */
      public int getTypeId() {
        return typeId_;
      }
      /**
       * <pre>
       *类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @param value The typeId to set.
       * @return This builder for chaining.
       */
      public Builder setTypeId(int value) {
        
        typeId_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTypeId() {
        
        typeId_ = 0;
        onChanged();
        return this;
      }

      private pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask tasks_;
      private com.google.protobuf.SingleFieldBuilderV3<
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> tasksBuilder_;
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>.pb.PbTask tasks = 2;</code>
       * @return Whether the tasks field is set.
       */
      public boolean hasTasks() {
        return tasksBuilder_ != null || tasks_ != null;
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>.pb.PbTask tasks = 2;</code>
       * @return The tasks.
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask getTasks() {
        if (tasksBuilder_ == null) {
          return tasks_ == null ? pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.getDefaultInstance() : tasks_;
        } else {
          return tasksBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>.pb.PbTask tasks = 2;</code>
       */
      public Builder setTasks(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask value) {
        if (tasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          tasks_ = value;
          onChanged();
        } else {
          tasksBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>.pb.PbTask tasks = 2;</code>
       */
      public Builder setTasks(
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder builderForValue) {
        if (tasksBuilder_ == null) {
          tasks_ = builderForValue.build();
          onChanged();
        } else {
          tasksBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>.pb.PbTask tasks = 2;</code>
       */
      public Builder mergeTasks(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask value) {
        if (tasksBuilder_ == null) {
          if (tasks_ != null) {
            tasks_ =
              pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.newBuilder(tasks_).mergeFrom(value).buildPartial();
          } else {
            tasks_ = value;
          }
          onChanged();
        } else {
          tasksBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>.pb.PbTask tasks = 2;</code>
       */
      public Builder clearTasks() {
        if (tasksBuilder_ == null) {
          tasks_ = null;
          onChanged();
        } else {
          tasks_ = null;
          tasksBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>.pb.PbTask tasks = 2;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder getTasksBuilder() {
        
        onChanged();
        return getTasksFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>.pb.PbTask tasks = 2;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder getTasksOrBuilder() {
        if (tasksBuilder_ != null) {
          return tasksBuilder_.getMessageOrBuilder();
        } else {
          return tasks_ == null ?
              pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.getDefaultInstance() : tasks_;
        }
      }
      /**
       * <pre>
       *任务信息
       * </pre>
       *
       * <code>.pb.PbTask tasks = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> 
          getTasksFieldBuilder() {
        if (tasksBuilder_ == null) {
          tasksBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder>(
                  getTasks(),
                  getParentForChildren(),
                  isClean());
          tasks_ = null;
        }
        return tasksBuilder_;
      }

      private java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask> newTasks_ =
        java.util.Collections.emptyList();
      private void ensureNewTasksIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          newTasks_ = new java.util.ArrayList<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask>(newTasks_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> newTasksBuilder_;

      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask> getNewTasksList() {
        if (newTasksBuilder_ == null) {
          return java.util.Collections.unmodifiableList(newTasks_);
        } else {
          return newTasksBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public int getNewTasksCount() {
        if (newTasksBuilder_ == null) {
          return newTasks_.size();
        } else {
          return newTasksBuilder_.getCount();
        }
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask getNewTasks(int index) {
        if (newTasksBuilder_ == null) {
          return newTasks_.get(index);
        } else {
          return newTasksBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public Builder setNewTasks(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask value) {
        if (newTasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureNewTasksIsMutable();
          newTasks_.set(index, value);
          onChanged();
        } else {
          newTasksBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public Builder setNewTasks(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder builderForValue) {
        if (newTasksBuilder_ == null) {
          ensureNewTasksIsMutable();
          newTasks_.set(index, builderForValue.build());
          onChanged();
        } else {
          newTasksBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public Builder addNewTasks(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask value) {
        if (newTasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureNewTasksIsMutable();
          newTasks_.add(value);
          onChanged();
        } else {
          newTasksBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public Builder addNewTasks(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask value) {
        if (newTasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureNewTasksIsMutable();
          newTasks_.add(index, value);
          onChanged();
        } else {
          newTasksBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public Builder addNewTasks(
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder builderForValue) {
        if (newTasksBuilder_ == null) {
          ensureNewTasksIsMutable();
          newTasks_.add(builderForValue.build());
          onChanged();
        } else {
          newTasksBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public Builder addNewTasks(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder builderForValue) {
        if (newTasksBuilder_ == null) {
          ensureNewTasksIsMutable();
          newTasks_.add(index, builderForValue.build());
          onChanged();
        } else {
          newTasksBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public Builder addAllNewTasks(
          java.lang.Iterable<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask> values) {
        if (newTasksBuilder_ == null) {
          ensureNewTasksIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, newTasks_);
          onChanged();
        } else {
          newTasksBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public Builder clearNewTasks() {
        if (newTasksBuilder_ == null) {
          newTasks_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          newTasksBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public Builder removeNewTasks(int index) {
        if (newTasksBuilder_ == null) {
          ensureNewTasksIsMutable();
          newTasks_.remove(index);
          onChanged();
        } else {
          newTasksBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder getNewTasksBuilder(
          int index) {
        return getNewTasksFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder getNewTasksOrBuilder(
          int index) {
        if (newTasksBuilder_ == null) {
          return newTasks_.get(index);  } else {
          return newTasksBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> 
           getNewTasksOrBuilderList() {
        if (newTasksBuilder_ != null) {
          return newTasksBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(newTasks_);
        }
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder addNewTasksBuilder() {
        return getNewTasksFieldBuilder().addBuilder(
            pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.getDefaultInstance());
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder addNewTasksBuilder(
          int index) {
        return getNewTasksFieldBuilder().addBuilder(
            index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.getDefaultInstance());
      }
      /**
       * <pre>
       *新一轮的奖励
       * </pre>
       *
       * <code>repeated .pb.PbTask new_tasks = 3;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder> 
           getNewTasksBuilderList() {
        return getNewTasksFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> 
          getNewTasksFieldBuilder() {
        if (newTasksBuilder_ == null) {
          newTasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder>(
                  newTasks_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          newTasks_ = null;
        }
        return newTasksBuilder_;
      }
      @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.HuoDongMuBiaoTakeRewardResponse)
    }

    // @@protoc_insertion_point(class_scope:pb.HuoDongMuBiaoTakeRewardResponse)
    private static final pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse();
    }

    public static pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoTakeRewardResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

    /**
     * <pre>
     *类型ID
     * </pre>
     *
     * <code>int32 type_id = 1;</code>
     * @return The typeId.
     */
    int getTypeId();
  }
  /**
   * <pre>
   *请求活动配置
   * </pre>
   *
   * Protobuf type {@code pb.HuoDongMuBiaoCfgRequest}
   */
  public  static final class HuoDongMuBiaoCfgRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.HuoDongMuBiaoCfgRequest)
      HuoDongMuBiaoCfgRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HuoDongMuBiaoCfgRequest.newBuilder() to construct.
    private HuoDongMuBiaoCfgRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private HuoDongMuBiaoCfgRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HuoDongMuBiaoCfgRequest(
        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: {

              typeId_ = 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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoCfgRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoCfgRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest.class, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest.Builder.class);
    }

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

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


      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 2101003: 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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest.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.HuoDongMuBiaoCfgRequest.Proto)
    }

    public static final int TYPE_ID_FIELD_NUMBER = 1;
    private int typeId_;
    /**
     * <pre>
     *类型ID
     * </pre>
     *
     * <code>int32 type_id = 1;</code>
     * @return The typeId.
     */
    public int getTypeId() {
      return typeId_;
    }

    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 (typeId_ != 0) {
        output.writeInt32(1, typeId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (typeId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, typeId_);
      }
      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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest other = (pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest) obj;

      if (getTypeId()
          != other.getTypeId()) 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) + TYPE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTypeId();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoCfgRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest.class, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest.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();
        typeId_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoCfgRequest_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest buildPartial() {
        pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest result = new pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest(this);
        result.typeId_ = typeId_;
        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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest) {
          return mergeFrom((pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest.getDefaultInstance()) return this;
        if (other.getTypeId() != 0) {
          setTypeId(other.getTypeId());
        }
        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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int typeId_ ;
      /**
       * <pre>
       *类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @return The typeId.
       */
      public int getTypeId() {
        return typeId_;
      }
      /**
       * <pre>
       *类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @param value The typeId to set.
       * @return This builder for chaining.
       */
      public Builder setTypeId(int value) {
        
        typeId_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTypeId() {
        
        typeId_ = 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.HuoDongMuBiaoCfgRequest)
    }

    // @@protoc_insertion_point(class_scope:pb.HuoDongMuBiaoCfgRequest)
    private static final pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest();
    }

    public static pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

    /**
     * <pre>
     *类型ID
     * </pre>
     *
     * <code>int32 type_id = 1;</code>
     * @return The typeId.
     */
    int getTypeId();

    /**
     * <pre>
     *活动配置数据
     * </pre>
     *
     * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
     */
    java.util.List<pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg> 
        getCfgsList();
    /**
     * <pre>
     *活动配置数据
     * </pre>
     *
     * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
     */
    pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg getCfgs(int index);
    /**
     * <pre>
     *活动配置数据
     * </pre>
     *
     * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
     */
    int getCfgsCount();
    /**
     * <pre>
     *活动配置数据
     * </pre>
     *
     * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
     */
    java.util.List<? extends pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfgOrBuilder> 
        getCfgsOrBuilderList();
    /**
     * <pre>
     *活动配置数据
     * </pre>
     *
     * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
     */
    pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfgOrBuilder getCfgsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code pb.HuoDongMuBiaoCfgResponse}
   */
  public  static final class HuoDongMuBiaoCfgResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.HuoDongMuBiaoCfgResponse)
      HuoDongMuBiaoCfgResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HuoDongMuBiaoCfgResponse.newBuilder() to construct.
    private HuoDongMuBiaoCfgResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private HuoDongMuBiaoCfgResponse() {
      cfgs_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HuoDongMuBiaoCfgResponse(
        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: {

              typeId_ = input.readInt32();
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                cfgs_ = new java.util.ArrayList<pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg>();
                mutable_bitField0_ |= 0x00000001;
              }
              cfgs_.add(
                  input.readMessage(pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.parser(), extensionRegistry));
              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)) {
          cfgs_ = java.util.Collections.unmodifiableList(cfgs_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoCfgResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoCfgResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse.class, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse.Builder.class);
    }

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

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


      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 2101003: 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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse.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.HuoDongMuBiaoCfgResponse.Proto)
    }

    public static final int TYPE_ID_FIELD_NUMBER = 1;
    private int typeId_;
    /**
     * <pre>
     *类型ID
     * </pre>
     *
     * <code>int32 type_id = 1;</code>
     * @return The typeId.
     */
    public int getTypeId() {
      return typeId_;
    }

    public static final int CFGS_FIELD_NUMBER = 2;
    private java.util.List<pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg> cfgs_;
    /**
     * <pre>
     *活动配置数据
     * </pre>
     *
     * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
     */
    public java.util.List<pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg> getCfgsList() {
      return cfgs_;
    }
    /**
     * <pre>
     *活动配置数据
     * </pre>
     *
     * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
     */
    public java.util.List<? extends pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfgOrBuilder> 
        getCfgsOrBuilderList() {
      return cfgs_;
    }
    /**
     * <pre>
     *活动配置数据
     * </pre>
     *
     * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
     */
    public int getCfgsCount() {
      return cfgs_.size();
    }
    /**
     * <pre>
     *活动配置数据
     * </pre>
     *
     * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
     */
    public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg getCfgs(int index) {
      return cfgs_.get(index);
    }
    /**
     * <pre>
     *活动配置数据
     * </pre>
     *
     * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
     */
    public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfgOrBuilder getCfgsOrBuilder(
        int index) {
      return cfgs_.get(index);
    }

    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 (typeId_ != 0) {
        output.writeInt32(1, typeId_);
      }
      for (int i = 0; i < cfgs_.size(); i++) {
        output.writeMessage(2, cfgs_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (typeId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, typeId_);
      }
      for (int i = 0; i < cfgs_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, cfgs_.get(i));
      }
      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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse other = (pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse) obj;

      if (getTypeId()
          != other.getTypeId()) return false;
      if (!getCfgsList()
          .equals(other.getCfgsList())) 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) + TYPE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTypeId();
      if (getCfgsCount() > 0) {
        hash = (37 * hash) + CFGS_FIELD_NUMBER;
        hash = (53 * hash) + getCfgsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoCfgResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse.class, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        if (cfgsBuilder_ == null) {
          cfgs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          cfgsBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_HuoDongMuBiaoCfgResponse_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse buildPartial() {
        pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse result = new pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse(this);
        int from_bitField0_ = bitField0_;
        result.typeId_ = typeId_;
        if (cfgsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            cfgs_ = java.util.Collections.unmodifiableList(cfgs_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.cfgs_ = cfgs_;
        } else {
          result.cfgs_ = cfgsBuilder_.build();
        }
        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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse) {
          return mergeFrom((pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse.getDefaultInstance()) return this;
        if (other.getTypeId() != 0) {
          setTypeId(other.getTypeId());
        }
        if (cfgsBuilder_ == null) {
          if (!other.cfgs_.isEmpty()) {
            if (cfgs_.isEmpty()) {
              cfgs_ = other.cfgs_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureCfgsIsMutable();
              cfgs_.addAll(other.cfgs_);
            }
            onChanged();
          }
        } else {
          if (!other.cfgs_.isEmpty()) {
            if (cfgsBuilder_.isEmpty()) {
              cfgsBuilder_.dispose();
              cfgsBuilder_ = null;
              cfgs_ = other.cfgs_;
              bitField0_ = (bitField0_ & ~0x00000001);
              cfgsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getCfgsFieldBuilder() : null;
            } else {
              cfgsBuilder_.addAllMessages(other.cfgs_);
            }
          }
        }
        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.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int typeId_ ;
      /**
       * <pre>
       *类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @return The typeId.
       */
      public int getTypeId() {
        return typeId_;
      }
      /**
       * <pre>
       *类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @param value The typeId to set.
       * @return This builder for chaining.
       */
      public Builder setTypeId(int value) {
        
        typeId_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *类型ID
       * </pre>
       *
       * <code>int32 type_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTypeId() {
        
        typeId_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg> cfgs_ =
        java.util.Collections.emptyList();
      private void ensureCfgsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          cfgs_ = new java.util.ArrayList<pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg>(cfgs_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.Builder, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfgOrBuilder> cfgsBuilder_;

      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg> getCfgsList() {
        if (cfgsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(cfgs_);
        } else {
          return cfgsBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public int getCfgsCount() {
        if (cfgsBuilder_ == null) {
          return cfgs_.size();
        } else {
          return cfgsBuilder_.getCount();
        }
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg getCfgs(int index) {
        if (cfgsBuilder_ == null) {
          return cfgs_.get(index);
        } else {
          return cfgsBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public Builder setCfgs(
          int index, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg value) {
        if (cfgsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCfgsIsMutable();
          cfgs_.set(index, value);
          onChanged();
        } else {
          cfgsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public Builder setCfgs(
          int index, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.Builder builderForValue) {
        if (cfgsBuilder_ == null) {
          ensureCfgsIsMutable();
          cfgs_.set(index, builderForValue.build());
          onChanged();
        } else {
          cfgsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public Builder addCfgs(pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg value) {
        if (cfgsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCfgsIsMutable();
          cfgs_.add(value);
          onChanged();
        } else {
          cfgsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public Builder addCfgs(
          int index, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg value) {
        if (cfgsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCfgsIsMutable();
          cfgs_.add(index, value);
          onChanged();
        } else {
          cfgsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public Builder addCfgs(
          pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.Builder builderForValue) {
        if (cfgsBuilder_ == null) {
          ensureCfgsIsMutable();
          cfgs_.add(builderForValue.build());
          onChanged();
        } else {
          cfgsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public Builder addCfgs(
          int index, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.Builder builderForValue) {
        if (cfgsBuilder_ == null) {
          ensureCfgsIsMutable();
          cfgs_.add(index, builderForValue.build());
          onChanged();
        } else {
          cfgsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public Builder addAllCfgs(
          java.lang.Iterable<? extends pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg> values) {
        if (cfgsBuilder_ == null) {
          ensureCfgsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, cfgs_);
          onChanged();
        } else {
          cfgsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public Builder clearCfgs() {
        if (cfgsBuilder_ == null) {
          cfgs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          cfgsBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public Builder removeCfgs(int index) {
        if (cfgsBuilder_ == null) {
          ensureCfgsIsMutable();
          cfgs_.remove(index);
          onChanged();
        } else {
          cfgsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.Builder getCfgsBuilder(
          int index) {
        return getCfgsFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfgOrBuilder getCfgsOrBuilder(
          int index) {
        if (cfgsBuilder_ == null) {
          return cfgs_.get(index);  } else {
          return cfgsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public java.util.List<? extends pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfgOrBuilder> 
           getCfgsOrBuilderList() {
        if (cfgsBuilder_ != null) {
          return cfgsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(cfgs_);
        }
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.Builder addCfgsBuilder() {
        return getCfgsFieldBuilder().addBuilder(
            pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.getDefaultInstance());
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.Builder addCfgsBuilder(
          int index) {
        return getCfgsFieldBuilder().addBuilder(
            index, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.getDefaultInstance());
      }
      /**
       * <pre>
       *活动配置数据
       * </pre>
       *
       * <code>repeated .pb.PbHuoDongMuBiaoCfg cfgs = 2;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.Builder> 
           getCfgsBuilderList() {
        return getCfgsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.Builder, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfgOrBuilder> 
          getCfgsFieldBuilder() {
        if (cfgsBuilder_ == null) {
          cfgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.Builder, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfgOrBuilder>(
                  cfgs_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          cfgs_ = null;
        }
        return cfgsBuilder_;
      }
      @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.HuoDongMuBiaoCfgResponse)
    }

    // @@protoc_insertion_point(class_scope:pb.HuoDongMuBiaoCfgResponse)
    private static final pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse();
    }

    public static pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.HuoDongMuBiaoCfgResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

    /**
     * <code>int32 id = 1;</code>
     * @return The id.
     */
    int getId();

    /**
     * <code>int32 index = 2;</code>
     * @return The index.
     */
    int getIndex();

    /**
     * <code>int64 task_target_num = 3;</code>
     * @return The taskTargetNum.
     */
    long getTaskTargetNum();

    /**
     * <code>repeated .pb.PbItem select_rewards = 4;</code>
     */
    java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> 
        getSelectRewardsList();
    /**
     * <code>repeated .pb.PbItem select_rewards = 4;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem getSelectRewards(int index);
    /**
     * <code>repeated .pb.PbItem select_rewards = 4;</code>
     */
    int getSelectRewardsCount();
    /**
     * <code>repeated .pb.PbItem select_rewards = 4;</code>
     */
    java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> 
        getSelectRewardsOrBuilderList();
    /**
     * <code>repeated .pb.PbItem select_rewards = 4;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder getSelectRewardsOrBuilder(
        int index);

    /**
     * <code>repeated .pb.PbItem rewards = 5;</code>
     */
    java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> 
        getRewardsList();
    /**
     * <code>repeated .pb.PbItem rewards = 5;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem getRewards(int index);
    /**
     * <code>repeated .pb.PbItem rewards = 5;</code>
     */
    int getRewardsCount();
    /**
     * <code>repeated .pb.PbItem rewards = 5;</code>
     */
    java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> 
        getRewardsOrBuilderList();
    /**
     * <code>repeated .pb.PbItem rewards = 5;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder getRewardsOrBuilder(
        int index);

    /**
     * <code>string desc = 6;</code>
     * @return The desc.
     */
    java.lang.String getDesc();
    /**
     * <code>string desc = 6;</code>
     * @return The bytes for desc.
     */
    com.google.protobuf.ByteString
        getDescBytes();
  }
  /**
   * Protobuf type {@code pb.PbHuoDongMuBiaoCfg}
   */
  public  static final class PbHuoDongMuBiaoCfg extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.PbHuoDongMuBiaoCfg)
      PbHuoDongMuBiaoCfgOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PbHuoDongMuBiaoCfg.newBuilder() to construct.
    private PbHuoDongMuBiaoCfg(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private PbHuoDongMuBiaoCfg() {
      selectRewards_ = java.util.Collections.emptyList();
      rewards_ = java.util.Collections.emptyList();
      desc_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PbHuoDongMuBiaoCfg(
        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: {

              id_ = input.readInt32();
              break;
            }
            case 16: {

              index_ = input.readInt32();
              break;
            }
            case 24: {

              taskTargetNum_ = input.readInt64();
              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                selectRewards_ = new java.util.ArrayList<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem>();
                mutable_bitField0_ |= 0x00000001;
              }
              selectRewards_.add(
                  input.readMessage(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.parser(), extensionRegistry));
              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                rewards_ = new java.util.ArrayList<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem>();
                mutable_bitField0_ |= 0x00000002;
              }
              rewards_.add(
                  input.readMessage(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.parser(), extensionRegistry));
              break;
            }
            case 50: {
              java.lang.String s = input.readStringRequireUtf8();

              desc_ = s;
              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)) {
          selectRewards_ = java.util.Collections.unmodifiableList(selectRewards_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          rewards_ = java.util.Collections.unmodifiableList(rewards_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_PbHuoDongMuBiaoCfg_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_PbHuoDongMuBiaoCfg_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.class, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.Builder.class);
    }

    public static final int ID_FIELD_NUMBER = 1;
    private int id_;
    /**
     * <code>int32 id = 1;</code>
     * @return The id.
     */
    public int getId() {
      return id_;
    }

    public static final int INDEX_FIELD_NUMBER = 2;
    private int index_;
    /**
     * <code>int32 index = 2;</code>
     * @return The index.
     */
    public int getIndex() {
      return index_;
    }

    public static final int TASK_TARGET_NUM_FIELD_NUMBER = 3;
    private long taskTargetNum_;
    /**
     * <code>int64 task_target_num = 3;</code>
     * @return The taskTargetNum.
     */
    public long getTaskTargetNum() {
      return taskTargetNum_;
    }

    public static final int SELECT_REWARDS_FIELD_NUMBER = 4;
    private java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> selectRewards_;
    /**
     * <code>repeated .pb.PbItem select_rewards = 4;</code>
     */
    public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> getSelectRewardsList() {
      return selectRewards_;
    }
    /**
     * <code>repeated .pb.PbItem select_rewards = 4;</code>
     */
    public java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> 
        getSelectRewardsOrBuilderList() {
      return selectRewards_;
    }
    /**
     * <code>repeated .pb.PbItem select_rewards = 4;</code>
     */
    public int getSelectRewardsCount() {
      return selectRewards_.size();
    }
    /**
     * <code>repeated .pb.PbItem select_rewards = 4;</code>
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem getSelectRewards(int index) {
      return selectRewards_.get(index);
    }
    /**
     * <code>repeated .pb.PbItem select_rewards = 4;</code>
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder getSelectRewardsOrBuilder(
        int index) {
      return selectRewards_.get(index);
    }

    public static final int REWARDS_FIELD_NUMBER = 5;
    private java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> rewards_;
    /**
     * <code>repeated .pb.PbItem rewards = 5;</code>
     */
    public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> getRewardsList() {
      return rewards_;
    }
    /**
     * <code>repeated .pb.PbItem rewards = 5;</code>
     */
    public java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> 
        getRewardsOrBuilderList() {
      return rewards_;
    }
    /**
     * <code>repeated .pb.PbItem rewards = 5;</code>
     */
    public int getRewardsCount() {
      return rewards_.size();
    }
    /**
     * <code>repeated .pb.PbItem rewards = 5;</code>
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem getRewards(int index) {
      return rewards_.get(index);
    }
    /**
     * <code>repeated .pb.PbItem rewards = 5;</code>
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder getRewardsOrBuilder(
        int index) {
      return rewards_.get(index);
    }

    public static final int DESC_FIELD_NUMBER = 6;
    private volatile java.lang.Object desc_;
    /**
     * <code>string desc = 6;</code>
     * @return The desc.
     */
    public java.lang.String getDesc() {
      java.lang.Object ref = desc_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        desc_ = s;
        return s;
      }
    }
    /**
     * <code>string desc = 6;</code>
     * @return The bytes for desc.
     */
    public com.google.protobuf.ByteString
        getDescBytes() {
      java.lang.Object ref = desc_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        desc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    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 (id_ != 0) {
        output.writeInt32(1, id_);
      }
      if (index_ != 0) {
        output.writeInt32(2, index_);
      }
      if (taskTargetNum_ != 0L) {
        output.writeInt64(3, taskTargetNum_);
      }
      for (int i = 0; i < selectRewards_.size(); i++) {
        output.writeMessage(4, selectRewards_.get(i));
      }
      for (int i = 0; i < rewards_.size(); i++) {
        output.writeMessage(5, rewards_.get(i));
      }
      if (!getDescBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 6, desc_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (id_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, id_);
      }
      if (index_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, index_);
      }
      if (taskTargetNum_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(3, taskTargetNum_);
      }
      for (int i = 0; i < selectRewards_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, selectRewards_.get(i));
      }
      for (int i = 0; i < rewards_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, rewards_.get(i));
      }
      if (!getDescBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, desc_);
      }
      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.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg other = (pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg) obj;

      if (getId()
          != other.getId()) return false;
      if (getIndex()
          != other.getIndex()) return false;
      if (getTaskTargetNum()
          != other.getTaskTargetNum()) return false;
      if (!getSelectRewardsList()
          .equals(other.getSelectRewardsList())) return false;
      if (!getRewardsList()
          .equals(other.getRewardsList())) return false;
      if (!getDesc()
          .equals(other.getDesc())) 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) + ID_FIELD_NUMBER;
      hash = (53 * hash) + getId();
      hash = (37 * hash) + INDEX_FIELD_NUMBER;
      hash = (53 * hash) + getIndex();
      hash = (37 * hash) + TASK_TARGET_NUM_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getTaskTargetNum());
      if (getSelectRewardsCount() > 0) {
        hash = (37 * hash) + SELECT_REWARDS_FIELD_NUMBER;
        hash = (53 * hash) + getSelectRewardsList().hashCode();
      }
      if (getRewardsCount() > 0) {
        hash = (37 * hash) + REWARDS_FIELD_NUMBER;
        hash = (53 * hash) + getRewardsList().hashCode();
      }
      hash = (37 * hash) + DESC_FIELD_NUMBER;
      hash = (53 * hash) + getDesc().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_PbHuoDongMuBiaoCfg_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.class, pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        index_ = 0;

        taskTargetNum_ = 0L;

        if (selectRewardsBuilder_ == null) {
          selectRewards_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          selectRewardsBuilder_.clear();
        }
        if (rewardsBuilder_ == null) {
          rewards_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          rewardsBuilder_.clear();
        }
        desc_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.internal_static_pb_PbHuoDongMuBiaoCfg_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.getDefaultInstance();
      }

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

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg buildPartial() {
        pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg result = new pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg(this);
        int from_bitField0_ = bitField0_;
        result.id_ = id_;
        result.index_ = index_;
        result.taskTargetNum_ = taskTargetNum_;
        if (selectRewardsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            selectRewards_ = java.util.Collections.unmodifiableList(selectRewards_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.selectRewards_ = selectRewards_;
        } else {
          result.selectRewards_ = selectRewardsBuilder_.build();
        }
        if (rewardsBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            rewards_ = java.util.Collections.unmodifiableList(rewards_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.rewards_ = rewards_;
        } else {
          result.rewards_ = rewardsBuilder_.build();
        }
        result.desc_ = desc_;
        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.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg) {
          return mergeFrom((pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg.getDefaultInstance()) return this;
        if (other.getId() != 0) {
          setId(other.getId());
        }
        if (other.getIndex() != 0) {
          setIndex(other.getIndex());
        }
        if (other.getTaskTargetNum() != 0L) {
          setTaskTargetNum(other.getTaskTargetNum());
        }
        if (selectRewardsBuilder_ == null) {
          if (!other.selectRewards_.isEmpty()) {
            if (selectRewards_.isEmpty()) {
              selectRewards_ = other.selectRewards_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureSelectRewardsIsMutable();
              selectRewards_.addAll(other.selectRewards_);
            }
            onChanged();
          }
        } else {
          if (!other.selectRewards_.isEmpty()) {
            if (selectRewardsBuilder_.isEmpty()) {
              selectRewardsBuilder_.dispose();
              selectRewardsBuilder_ = null;
              selectRewards_ = other.selectRewards_;
              bitField0_ = (bitField0_ & ~0x00000001);
              selectRewardsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getSelectRewardsFieldBuilder() : null;
            } else {
              selectRewardsBuilder_.addAllMessages(other.selectRewards_);
            }
          }
        }
        if (rewardsBuilder_ == null) {
          if (!other.rewards_.isEmpty()) {
            if (rewards_.isEmpty()) {
              rewards_ = other.rewards_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureRewardsIsMutable();
              rewards_.addAll(other.rewards_);
            }
            onChanged();
          }
        } else {
          if (!other.rewards_.isEmpty()) {
            if (rewardsBuilder_.isEmpty()) {
              rewardsBuilder_.dispose();
              rewardsBuilder_ = null;
              rewards_ = other.rewards_;
              bitField0_ = (bitField0_ & ~0x00000002);
              rewardsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getRewardsFieldBuilder() : null;
            } else {
              rewardsBuilder_.addAllMessages(other.rewards_);
            }
          }
        }
        if (!other.getDesc().isEmpty()) {
          desc_ = other.desc_;
          onChanged();
        }
        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.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int id_ ;
      /**
       * <code>int32 id = 1;</code>
       * @return The id.
       */
      public int getId() {
        return id_;
      }
      /**
       * <code>int32 id = 1;</code>
       * @param value The id to set.
       * @return This builder for chaining.
       */
      public Builder setId(int value) {
        
        id_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearId() {
        
        id_ = 0;
        onChanged();
        return this;
      }

      private int index_ ;
      /**
       * <code>int32 index = 2;</code>
       * @return The index.
       */
      public int getIndex() {
        return index_;
      }
      /**
       * <code>int32 index = 2;</code>
       * @param value The index to set.
       * @return This builder for chaining.
       */
      public Builder setIndex(int value) {
        
        index_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 index = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearIndex() {
        
        index_ = 0;
        onChanged();
        return this;
      }

      private long taskTargetNum_ ;
      /**
       * <code>int64 task_target_num = 3;</code>
       * @return The taskTargetNum.
       */
      public long getTaskTargetNum() {
        return taskTargetNum_;
      }
      /**
       * <code>int64 task_target_num = 3;</code>
       * @param value The taskTargetNum to set.
       * @return This builder for chaining.
       */
      public Builder setTaskTargetNum(long value) {
        
        taskTargetNum_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 task_target_num = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearTaskTargetNum() {
        
        taskTargetNum_ = 0L;
        onChanged();
        return this;
      }

      private java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> selectRewards_ =
        java.util.Collections.emptyList();
      private void ensureSelectRewardsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          selectRewards_ = new java.util.ArrayList<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem>(selectRewards_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> selectRewardsBuilder_;

      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> getSelectRewardsList() {
        if (selectRewardsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(selectRewards_);
        } else {
          return selectRewardsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public int getSelectRewardsCount() {
        if (selectRewardsBuilder_ == null) {
          return selectRewards_.size();
        } else {
          return selectRewardsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem getSelectRewards(int index) {
        if (selectRewardsBuilder_ == null) {
          return selectRewards_.get(index);
        } else {
          return selectRewardsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public Builder setSelectRewards(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem value) {
        if (selectRewardsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSelectRewardsIsMutable();
          selectRewards_.set(index, value);
          onChanged();
        } else {
          selectRewardsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public Builder setSelectRewards(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder builderForValue) {
        if (selectRewardsBuilder_ == null) {
          ensureSelectRewardsIsMutable();
          selectRewards_.set(index, builderForValue.build());
          onChanged();
        } else {
          selectRewardsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public Builder addSelectRewards(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem value) {
        if (selectRewardsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSelectRewardsIsMutable();
          selectRewards_.add(value);
          onChanged();
        } else {
          selectRewardsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public Builder addSelectRewards(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem value) {
        if (selectRewardsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSelectRewardsIsMutable();
          selectRewards_.add(index, value);
          onChanged();
        } else {
          selectRewardsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public Builder addSelectRewards(
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder builderForValue) {
        if (selectRewardsBuilder_ == null) {
          ensureSelectRewardsIsMutable();
          selectRewards_.add(builderForValue.build());
          onChanged();
        } else {
          selectRewardsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public Builder addSelectRewards(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder builderForValue) {
        if (selectRewardsBuilder_ == null) {
          ensureSelectRewardsIsMutable();
          selectRewards_.add(index, builderForValue.build());
          onChanged();
        } else {
          selectRewardsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public Builder addAllSelectRewards(
          java.lang.Iterable<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> values) {
        if (selectRewardsBuilder_ == null) {
          ensureSelectRewardsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, selectRewards_);
          onChanged();
        } else {
          selectRewardsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public Builder clearSelectRewards() {
        if (selectRewardsBuilder_ == null) {
          selectRewards_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          selectRewardsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public Builder removeSelectRewards(int index) {
        if (selectRewardsBuilder_ == null) {
          ensureSelectRewardsIsMutable();
          selectRewards_.remove(index);
          onChanged();
        } else {
          selectRewardsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder getSelectRewardsBuilder(
          int index) {
        return getSelectRewardsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder getSelectRewardsOrBuilder(
          int index) {
        if (selectRewardsBuilder_ == null) {
          return selectRewards_.get(index);  } else {
          return selectRewardsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> 
           getSelectRewardsOrBuilderList() {
        if (selectRewardsBuilder_ != null) {
          return selectRewardsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(selectRewards_);
        }
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder addSelectRewardsBuilder() {
        return getSelectRewardsFieldBuilder().addBuilder(
            pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.getDefaultInstance());
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder addSelectRewardsBuilder(
          int index) {
        return getSelectRewardsFieldBuilder().addBuilder(
            index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.getDefaultInstance());
      }
      /**
       * <code>repeated .pb.PbItem select_rewards = 4;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder> 
           getSelectRewardsBuilderList() {
        return getSelectRewardsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> 
          getSelectRewardsFieldBuilder() {
        if (selectRewardsBuilder_ == null) {
          selectRewardsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder>(
                  selectRewards_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          selectRewards_ = null;
        }
        return selectRewardsBuilder_;
      }

      private java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> rewards_ =
        java.util.Collections.emptyList();
      private void ensureRewardsIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          rewards_ = new java.util.ArrayList<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem>(rewards_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> rewardsBuilder_;

      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> getRewardsList() {
        if (rewardsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(rewards_);
        } else {
          return rewardsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public int getRewardsCount() {
        if (rewardsBuilder_ == null) {
          return rewards_.size();
        } else {
          return rewardsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem getRewards(int index) {
        if (rewardsBuilder_ == null) {
          return rewards_.get(index);
        } else {
          return rewardsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public Builder setRewards(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem value) {
        if (rewardsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRewardsIsMutable();
          rewards_.set(index, value);
          onChanged();
        } else {
          rewardsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public Builder setRewards(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder builderForValue) {
        if (rewardsBuilder_ == null) {
          ensureRewardsIsMutable();
          rewards_.set(index, builderForValue.build());
          onChanged();
        } else {
          rewardsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public Builder addRewards(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem value) {
        if (rewardsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRewardsIsMutable();
          rewards_.add(value);
          onChanged();
        } else {
          rewardsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public Builder addRewards(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem value) {
        if (rewardsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRewardsIsMutable();
          rewards_.add(index, value);
          onChanged();
        } else {
          rewardsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public Builder addRewards(
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder builderForValue) {
        if (rewardsBuilder_ == null) {
          ensureRewardsIsMutable();
          rewards_.add(builderForValue.build());
          onChanged();
        } else {
          rewardsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public Builder addRewards(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder builderForValue) {
        if (rewardsBuilder_ == null) {
          ensureRewardsIsMutable();
          rewards_.add(index, builderForValue.build());
          onChanged();
        } else {
          rewardsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public Builder addAllRewards(
          java.lang.Iterable<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> values) {
        if (rewardsBuilder_ == null) {
          ensureRewardsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, rewards_);
          onChanged();
        } else {
          rewardsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public Builder clearRewards() {
        if (rewardsBuilder_ == null) {
          rewards_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          rewardsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public Builder removeRewards(int index) {
        if (rewardsBuilder_ == null) {
          ensureRewardsIsMutable();
          rewards_.remove(index);
          onChanged();
        } else {
          rewardsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder getRewardsBuilder(
          int index) {
        return getRewardsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder getRewardsOrBuilder(
          int index) {
        if (rewardsBuilder_ == null) {
          return rewards_.get(index);  } else {
          return rewardsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> 
           getRewardsOrBuilderList() {
        if (rewardsBuilder_ != null) {
          return rewardsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(rewards_);
        }
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder addRewardsBuilder() {
        return getRewardsFieldBuilder().addBuilder(
            pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.getDefaultInstance());
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder addRewardsBuilder(
          int index) {
        return getRewardsFieldBuilder().addBuilder(
            index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.getDefaultInstance());
      }
      /**
       * <code>repeated .pb.PbItem rewards = 5;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder> 
           getRewardsBuilderList() {
        return getRewardsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> 
          getRewardsFieldBuilder() {
        if (rewardsBuilder_ == null) {
          rewardsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder>(
                  rewards_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          rewards_ = null;
        }
        return rewardsBuilder_;
      }

      private java.lang.Object desc_ = "";
      /**
       * <code>string desc = 6;</code>
       * @return The desc.
       */
      public java.lang.String getDesc() {
        java.lang.Object ref = desc_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          desc_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string desc = 6;</code>
       * @return The bytes for desc.
       */
      public com.google.protobuf.ByteString
          getDescBytes() {
        java.lang.Object ref = desc_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          desc_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string desc = 6;</code>
       * @param value The desc to set.
       * @return This builder for chaining.
       */
      public Builder setDesc(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        desc_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string desc = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearDesc() {
        
        desc_ = getDefaultInstance().getDesc();
        onChanged();
        return this;
      }
      /**
       * <code>string desc = 6;</code>
       * @param value The bytes for desc to set.
       * @return This builder for chaining.
       */
      public Builder setDescBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        desc_ = value;
        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.PbHuoDongMuBiaoCfg)
    }

    // @@protoc_insertion_point(class_scope:pb.PbHuoDongMuBiaoCfg)
    private static final pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg();
    }

    public static pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.promotion.P1010HuoDongMuBiao.PbHuoDongMuBiaoCfg getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_HuoDongMuBiaoInfoRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_HuoDongMuBiaoInfoRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_HuoDongMuBiaoInfoResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_HuoDongMuBiaoInfoResponse_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_HuoDongMuBiaoTakeRewardRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_HuoDongMuBiaoTakeRewardRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_HuoDongMuBiaoTakeRewardResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_HuoDongMuBiaoTakeRewardResponse_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_HuoDongMuBiaoCfgRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_HuoDongMuBiaoCfgRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_HuoDongMuBiaoCfgResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_HuoDongMuBiaoCfgResponse_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_PbHuoDongMuBiaoCfg_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_PbHuoDongMuBiaoCfg_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\030P1010HuoDongMuBiao.proto\022\002pb\032\020MiniStru" +
      "ct.proto\"L\n\030HuoDongMuBiaoInfoRequest\022\017\n\007" +
      "type_id\030\001 \001(\005\"\037\n\005Proto\022\013\n\007UNKNOWN\020\000\022\t\n\002I" +
      "D\020\211\236\200\001\"h\n\031HuoDongMuBiaoInfoResponse\022\017\n\007t" +
      "ype_id\030\001 \001(\005\022\031\n\005tasks\030\002 \003(\0132\n.pb.PbTask\"" +
      "\037\n\005Proto\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\211\236\200\001\"x\n\036HuoD" +
      "ongMuBiaoTakeRewardRequest\022\017\n\007type_id\030\001 " +
      "\001(\005\022\017\n\007task_id\030\002 \001(\005\022\023\n\013select_item\030\003 \001(" +
      "\005\"\037\n\005Proto\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\212\236\200\001\"\215\001\n\037H" +
      "uoDongMuBiaoTakeRewardResponse\022\017\n\007type_i" +
      "d\030\001 \001(\005\022\031\n\005tasks\030\002 \001(\0132\n.pb.PbTask\022\035\n\tne" +
      "w_tasks\030\003 \003(\0132\n.pb.PbTask\"\037\n\005Proto\022\013\n\007UN" +
      "KNOWN\020\000\022\t\n\002ID\020\212\236\200\001\"K\n\027HuoDongMuBiaoCfgRe" +
      "quest\022\017\n\007type_id\030\001 \001(\005\"\037\n\005Proto\022\013\n\007UNKNO" +
      "WN\020\000\022\t\n\002ID\020\213\236\200\001\"r\n\030HuoDongMuBiaoCfgRespo" +
      "nse\022\017\n\007type_id\030\001 \001(\005\022$\n\004cfgs\030\002 \003(\0132\026.pb." +
      "PbHuoDongMuBiaoCfg\"\037\n\005Proto\022\013\n\007UNKNOWN\020\000" +
      "\022\t\n\002ID\020\213\236\200\001\"\227\001\n\022PbHuoDongMuBiaoCfg\022\n\n\002id" +
      "\030\001 \001(\005\022\r\n\005index\030\002 \001(\005\022\027\n\017task_target_num" +
      "\030\003 \001(\003\022\"\n\016select_rewards\030\004 \003(\0132\n.pb.PbIt" +
      "em\022\033\n\007rewards\030\005 \003(\0132\n.pb.PbItem\022\014\n\004desc\030" +
      "\006 \001(\tB9\n\037pb.xiugou.x1.protobuf.promotion" +
      "\252\002\025pb.xiugou.x1.protobufb\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.getDescriptor(),
        });
    internal_static_pb_HuoDongMuBiaoInfoRequest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_pb_HuoDongMuBiaoInfoRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_HuoDongMuBiaoInfoRequest_descriptor,
        new java.lang.String[] { "TypeId", });
    internal_static_pb_HuoDongMuBiaoInfoResponse_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_pb_HuoDongMuBiaoInfoResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_HuoDongMuBiaoInfoResponse_descriptor,
        new java.lang.String[] { "TypeId", "Tasks", });
    internal_static_pb_HuoDongMuBiaoTakeRewardRequest_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_pb_HuoDongMuBiaoTakeRewardRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_HuoDongMuBiaoTakeRewardRequest_descriptor,
        new java.lang.String[] { "TypeId", "TaskId", "SelectItem", });
    internal_static_pb_HuoDongMuBiaoTakeRewardResponse_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_pb_HuoDongMuBiaoTakeRewardResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_HuoDongMuBiaoTakeRewardResponse_descriptor,
        new java.lang.String[] { "TypeId", "Tasks", "NewTasks", });
    internal_static_pb_HuoDongMuBiaoCfgRequest_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_pb_HuoDongMuBiaoCfgRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_HuoDongMuBiaoCfgRequest_descriptor,
        new java.lang.String[] { "TypeId", });
    internal_static_pb_HuoDongMuBiaoCfgResponse_descriptor =
      getDescriptor().getMessageTypes().get(5);
    internal_static_pb_HuoDongMuBiaoCfgResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_HuoDongMuBiaoCfgResponse_descriptor,
        new java.lang.String[] { "TypeId", "Cfgs", });
    internal_static_pb_PbHuoDongMuBiaoCfg_descriptor =
      getDescriptor().getMessageTypes().get(6);
    internal_static_pb_PbHuoDongMuBiaoCfg_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_PbHuoDongMuBiaoCfg_descriptor,
        new java.lang.String[] { "Id", "Index", "TaskTargetNum", "SelectRewards", "Rewards", "Desc", });
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
