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

package pb.xiugou.x1.protobuf.promotion;

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

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

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

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

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

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

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


      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 2100201: 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.P1002ZhanLingGoal.ZhanLingGoalInfoRequest.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.ZhanLingGoalInfoRequest.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.P1002ZhanLingGoal.ZhanLingGoalInfoRequest)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoRequest other = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoRequest) 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.P1002ZhanLingGoal.ZhanLingGoalInfoRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoRequest 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.P1002ZhanLingGoal.ZhanLingGoalInfoRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoRequest 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.P1002ZhanLingGoal.ZhanLingGoalInfoRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoRequest 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.P1002ZhanLingGoal.ZhanLingGoalInfoRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoRequest 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.P1002ZhanLingGoal.ZhanLingGoalInfoRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoRequest 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.P1002ZhanLingGoal.ZhanLingGoalInfoRequest 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.P1002ZhanLingGoal.ZhanLingGoalInfoRequest 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.P1002ZhanLingGoal.ZhanLingGoalInfoRequest 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.ZhanLingGoalInfoRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:pb.ZhanLingGoalInfoRequest)
        pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.internal_static_pb_ZhanLingGoalInfoRequest_descriptor;
      }

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

      // Construct using pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoRequest.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.P1002ZhanLingGoal.internal_static_pb_ZhanLingGoalInfoRequest_descriptor;
      }

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

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

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

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoRequest other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoRequest.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.P1002ZhanLingGoal.ZhanLingGoalInfoRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoRequest) 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.ZhanLingGoalInfoRequest)
    }

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

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

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

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

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

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

  }

  public interface ZhanLingGoalInfoResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:pb.ZhanLingGoalInfoResponse)
      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);

    /**
     * <pre>
     *已领取过高级奖励的任务ID
     * </pre>
     *
     * <code>repeated int32 premium_tasks = 3;</code>
     * @return A list containing the premiumTasks.
     */
    java.util.List<java.lang.Integer> getPremiumTasksList();
    /**
     * <pre>
     *已领取过高级奖励的任务ID
     * </pre>
     *
     * <code>repeated int32 premium_tasks = 3;</code>
     * @return The count of premiumTasks.
     */
    int getPremiumTasksCount();
    /**
     * <pre>
     *已领取过高级奖励的任务ID
     * </pre>
     *
     * <code>repeated int32 premium_tasks = 3;</code>
     * @param index The index of the element to return.
     * @return The premiumTasks at the given index.
     */
    int getPremiumTasks(int index);

    /**
     * <pre>
     *是否已经购买高级通行证
     * </pre>
     *
     * <code>bool buy_premium = 4;</code>
     * @return The buyPremium.
     */
    boolean getBuyPremium();
  }
  /**
   * Protobuf type {@code pb.ZhanLingGoalInfoResponse}
   */
  public  static final class ZhanLingGoalInfoResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.ZhanLingGoalInfoResponse)
      ZhanLingGoalInfoResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ZhanLingGoalInfoResponse.newBuilder() to construct.
    private ZhanLingGoalInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ZhanLingGoalInfoResponse() {
      tasks_ = java.util.Collections.emptyList();
      premiumTasks_ = emptyIntList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ZhanLingGoalInfoResponse(
        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;
            }
            case 24: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                premiumTasks_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              premiumTasks_.addInt(input.readInt32());
              break;
            }
            case 26: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
                premiumTasks_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                premiumTasks_.addInt(input.readInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 32: {

              buyPremium_ = input.readBool();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          tasks_ = java.util.Collections.unmodifiableList(tasks_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          premiumTasks_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.internal_static_pb_ZhanLingGoalInfoResponse_descriptor;
    }

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

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

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


      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 2100201: 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.P1002ZhanLingGoal.ZhanLingGoalInfoResponse.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.ZhanLingGoalInfoResponse.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);
    }

    public static final int PREMIUM_TASKS_FIELD_NUMBER = 3;
    private com.google.protobuf.Internal.IntList premiumTasks_;
    /**
     * <pre>
     *已领取过高级奖励的任务ID
     * </pre>
     *
     * <code>repeated int32 premium_tasks = 3;</code>
     * @return A list containing the premiumTasks.
     */
    public java.util.List<java.lang.Integer>
        getPremiumTasksList() {
      return premiumTasks_;
    }
    /**
     * <pre>
     *已领取过高级奖励的任务ID
     * </pre>
     *
     * <code>repeated int32 premium_tasks = 3;</code>
     * @return The count of premiumTasks.
     */
    public int getPremiumTasksCount() {
      return premiumTasks_.size();
    }
    /**
     * <pre>
     *已领取过高级奖励的任务ID
     * </pre>
     *
     * <code>repeated int32 premium_tasks = 3;</code>
     * @param index The index of the element to return.
     * @return The premiumTasks at the given index.
     */
    public int getPremiumTasks(int index) {
      return premiumTasks_.getInt(index);
    }
    private int premiumTasksMemoizedSerializedSize = -1;

    public static final int BUY_PREMIUM_FIELD_NUMBER = 4;
    private boolean buyPremium_;
    /**
     * <pre>
     *是否已经购买高级通行证
     * </pre>
     *
     * <code>bool buy_premium = 4;</code>
     * @return The buyPremium.
     */
    public boolean getBuyPremium() {
      return buyPremium_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (typeId_ != 0) {
        output.writeInt32(1, typeId_);
      }
      for (int i = 0; i < tasks_.size(); i++) {
        output.writeMessage(2, tasks_.get(i));
      }
      if (getPremiumTasksList().size() > 0) {
        output.writeUInt32NoTag(26);
        output.writeUInt32NoTag(premiumTasksMemoizedSerializedSize);
      }
      for (int i = 0; i < premiumTasks_.size(); i++) {
        output.writeInt32NoTag(premiumTasks_.getInt(i));
      }
      if (buyPremium_ != false) {
        output.writeBool(4, buyPremium_);
      }
      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));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < premiumTasks_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(premiumTasks_.getInt(i));
        }
        size += dataSize;
        if (!getPremiumTasksList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        premiumTasksMemoizedSerializedSize = dataSize;
      }
      if (buyPremium_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(4, buyPremium_);
      }
      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.P1002ZhanLingGoal.ZhanLingGoalInfoResponse)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoResponse other = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoResponse) obj;

      if (getTypeId()
          != other.getTypeId()) return false;
      if (!getTasksList()
          .equals(other.getTasksList())) return false;
      if (!getPremiumTasksList()
          .equals(other.getPremiumTasksList())) return false;
      if (getBuyPremium()
          != other.getBuyPremium()) 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();
      }
      if (getPremiumTasksCount() > 0) {
        hash = (37 * hash) + PREMIUM_TASKS_FIELD_NUMBER;
        hash = (53 * hash) + getPremiumTasksList().hashCode();
      }
      hash = (37 * hash) + BUY_PREMIUM_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getBuyPremium());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

      // Construct using pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoResponse.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();
        }
        premiumTasks_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        buyPremium_ = false;

        return this;
      }

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

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

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

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoResponse buildPartial() {
        pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoResponse result = new pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoResponse(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();
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          premiumTasks_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.premiumTasks_ = premiumTasks_;
        result.buyPremium_ = buyPremium_;
        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.P1002ZhanLingGoal.ZhanLingGoalInfoResponse) {
          return mergeFrom((pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoResponse other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoResponse.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_);
            }
          }
        }
        if (!other.premiumTasks_.isEmpty()) {
          if (premiumTasks_.isEmpty()) {
            premiumTasks_ = other.premiumTasks_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensurePremiumTasksIsMutable();
            premiumTasks_.addAll(other.premiumTasks_);
          }
          onChanged();
        }
        if (other.getBuyPremium() != false) {
          setBuyPremium(other.getBuyPremium());
        }
        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.P1002ZhanLingGoal.ZhanLingGoalInfoResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalInfoResponse) 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_;
      }

      private com.google.protobuf.Internal.IntList premiumTasks_ = emptyIntList();
      private void ensurePremiumTasksIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          premiumTasks_ = mutableCopy(premiumTasks_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <pre>
       *已领取过高级奖励的任务ID
       * </pre>
       *
       * <code>repeated int32 premium_tasks = 3;</code>
       * @return A list containing the premiumTasks.
       */
      public java.util.List<java.lang.Integer>
          getPremiumTasksList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(premiumTasks_) : premiumTasks_;
      }
      /**
       * <pre>
       *已领取过高级奖励的任务ID
       * </pre>
       *
       * <code>repeated int32 premium_tasks = 3;</code>
       * @return The count of premiumTasks.
       */
      public int getPremiumTasksCount() {
        return premiumTasks_.size();
      }
      /**
       * <pre>
       *已领取过高级奖励的任务ID
       * </pre>
       *
       * <code>repeated int32 premium_tasks = 3;</code>
       * @param index The index of the element to return.
       * @return The premiumTasks at the given index.
       */
      public int getPremiumTasks(int index) {
        return premiumTasks_.getInt(index);
      }
      /**
       * <pre>
       *已领取过高级奖励的任务ID
       * </pre>
       *
       * <code>repeated int32 premium_tasks = 3;</code>
       * @param index The index to set the value at.
       * @param value The premiumTasks to set.
       * @return This builder for chaining.
       */
      public Builder setPremiumTasks(
          int index, int value) {
        ensurePremiumTasksIsMutable();
        premiumTasks_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *已领取过高级奖励的任务ID
       * </pre>
       *
       * <code>repeated int32 premium_tasks = 3;</code>
       * @param value The premiumTasks to add.
       * @return This builder for chaining.
       */
      public Builder addPremiumTasks(int value) {
        ensurePremiumTasksIsMutable();
        premiumTasks_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *已领取过高级奖励的任务ID
       * </pre>
       *
       * <code>repeated int32 premium_tasks = 3;</code>
       * @param values The premiumTasks to add.
       * @return This builder for chaining.
       */
      public Builder addAllPremiumTasks(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensurePremiumTasksIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, premiumTasks_);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *已领取过高级奖励的任务ID
       * </pre>
       *
       * <code>repeated int32 premium_tasks = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearPremiumTasks() {
        premiumTasks_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }

      private boolean buyPremium_ ;
      /**
       * <pre>
       *是否已经购买高级通行证
       * </pre>
       *
       * <code>bool buy_premium = 4;</code>
       * @return The buyPremium.
       */
      public boolean getBuyPremium() {
        return buyPremium_;
      }
      /**
       * <pre>
       *是否已经购买高级通行证
       * </pre>
       *
       * <code>bool buy_premium = 4;</code>
       * @param value The buyPremium to set.
       * @return This builder for chaining.
       */
      public Builder setBuyPremium(boolean value) {
        
        buyPremium_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *是否已经购买高级通行证
       * </pre>
       *
       * <code>bool buy_premium = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearBuyPremium() {
        
        buyPremium_ = false;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:pb.ZhanLingGoalInfoResponse)
    }

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

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

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

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

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

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

  }

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

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

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

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

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

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

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


      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 2100202: 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.P1002ZhanLingGoal.ZhanLingGoalRewardRequest.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.ZhanLingGoalRewardRequest.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.P1002ZhanLingGoal.ZhanLingGoalRewardRequest)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardRequest other = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardRequest) 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.P1002ZhanLingGoal.ZhanLingGoalRewardRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardRequest 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.P1002ZhanLingGoal.ZhanLingGoalRewardRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardRequest 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.P1002ZhanLingGoal.ZhanLingGoalRewardRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardRequest 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.P1002ZhanLingGoal.ZhanLingGoalRewardRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardRequest 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.P1002ZhanLingGoal.ZhanLingGoalRewardRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardRequest 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.P1002ZhanLingGoal.ZhanLingGoalRewardRequest 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.P1002ZhanLingGoal.ZhanLingGoalRewardRequest 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.P1002ZhanLingGoal.ZhanLingGoalRewardRequest 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.ZhanLingGoalRewardRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:pb.ZhanLingGoalRewardRequest)
        pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.internal_static_pb_ZhanLingGoalRewardRequest_descriptor;
      }

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

      // Construct using pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardRequest.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.P1002ZhanLingGoal.internal_static_pb_ZhanLingGoalRewardRequest_descriptor;
      }

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

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

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

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardRequest other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardRequest.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.P1002ZhanLingGoal.ZhanLingGoalRewardRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardRequest) 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.ZhanLingGoalRewardRequest)
    }

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

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

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

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

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

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

  }

  public interface ZhanLingGoalRewardResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:pb.ZhanLingGoalRewardResponse)
      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);

    /**
     * <pre>
     *已领取过高级奖励的任务ID
     * </pre>
     *
     * <code>repeated int32 premium_tasks = 3;</code>
     * @return A list containing the premiumTasks.
     */
    java.util.List<java.lang.Integer> getPremiumTasksList();
    /**
     * <pre>
     *已领取过高级奖励的任务ID
     * </pre>
     *
     * <code>repeated int32 premium_tasks = 3;</code>
     * @return The count of premiumTasks.
     */
    int getPremiumTasksCount();
    /**
     * <pre>
     *已领取过高级奖励的任务ID
     * </pre>
     *
     * <code>repeated int32 premium_tasks = 3;</code>
     * @param index The index of the element to return.
     * @return The premiumTasks at the given index.
     */
    int getPremiumTasks(int index);
  }
  /**
   * Protobuf type {@code pb.ZhanLingGoalRewardResponse}
   */
  public  static final class ZhanLingGoalRewardResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.ZhanLingGoalRewardResponse)
      ZhanLingGoalRewardResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ZhanLingGoalRewardResponse.newBuilder() to construct.
    private ZhanLingGoalRewardResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ZhanLingGoalRewardResponse() {
      tasks_ = java.util.Collections.emptyList();
      premiumTasks_ = emptyIntList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ZhanLingGoalRewardResponse(
        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;
            }
            case 24: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                premiumTasks_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              premiumTasks_.addInt(input.readInt32());
              break;
            }
            case 26: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
                premiumTasks_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                premiumTasks_.addInt(input.readInt32());
              }
              input.popLimit(limit);
              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_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          premiumTasks_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.internal_static_pb_ZhanLingGoalRewardResponse_descriptor;
    }

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

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

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


      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 2100202: 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.P1002ZhanLingGoal.ZhanLingGoalRewardResponse.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.ZhanLingGoalRewardResponse.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);
    }

    public static final int PREMIUM_TASKS_FIELD_NUMBER = 3;
    private com.google.protobuf.Internal.IntList premiumTasks_;
    /**
     * <pre>
     *已领取过高级奖励的任务ID
     * </pre>
     *
     * <code>repeated int32 premium_tasks = 3;</code>
     * @return A list containing the premiumTasks.
     */
    public java.util.List<java.lang.Integer>
        getPremiumTasksList() {
      return premiumTasks_;
    }
    /**
     * <pre>
     *已领取过高级奖励的任务ID
     * </pre>
     *
     * <code>repeated int32 premium_tasks = 3;</code>
     * @return The count of premiumTasks.
     */
    public int getPremiumTasksCount() {
      return premiumTasks_.size();
    }
    /**
     * <pre>
     *已领取过高级奖励的任务ID
     * </pre>
     *
     * <code>repeated int32 premium_tasks = 3;</code>
     * @param index The index of the element to return.
     * @return The premiumTasks at the given index.
     */
    public int getPremiumTasks(int index) {
      return premiumTasks_.getInt(index);
    }
    private int premiumTasksMemoizedSerializedSize = -1;

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (typeId_ != 0) {
        output.writeInt32(1, typeId_);
      }
      for (int i = 0; i < tasks_.size(); i++) {
        output.writeMessage(2, tasks_.get(i));
      }
      if (getPremiumTasksList().size() > 0) {
        output.writeUInt32NoTag(26);
        output.writeUInt32NoTag(premiumTasksMemoizedSerializedSize);
      }
      for (int i = 0; i < premiumTasks_.size(); i++) {
        output.writeInt32NoTag(premiumTasks_.getInt(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));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < premiumTasks_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(premiumTasks_.getInt(i));
        }
        size += dataSize;
        if (!getPremiumTasksList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        premiumTasksMemoizedSerializedSize = dataSize;
      }
      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.P1002ZhanLingGoal.ZhanLingGoalRewardResponse)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardResponse other = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardResponse) obj;

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

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

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

      // Construct using pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardResponse.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();
        }
        premiumTasks_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

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

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

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

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardResponse buildPartial() {
        pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardResponse result = new pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardResponse(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();
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          premiumTasks_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.premiumTasks_ = premiumTasks_;
        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.P1002ZhanLingGoal.ZhanLingGoalRewardResponse) {
          return mergeFrom((pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardResponse other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardResponse.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_);
            }
          }
        }
        if (!other.premiumTasks_.isEmpty()) {
          if (premiumTasks_.isEmpty()) {
            premiumTasks_ = other.premiumTasks_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensurePremiumTasksIsMutable();
            premiumTasks_.addAll(other.premiumTasks_);
          }
          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.P1002ZhanLingGoal.ZhanLingGoalRewardResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRewardResponse) 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_;
      }

      private com.google.protobuf.Internal.IntList premiumTasks_ = emptyIntList();
      private void ensurePremiumTasksIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          premiumTasks_ = mutableCopy(premiumTasks_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <pre>
       *已领取过高级奖励的任务ID
       * </pre>
       *
       * <code>repeated int32 premium_tasks = 3;</code>
       * @return A list containing the premiumTasks.
       */
      public java.util.List<java.lang.Integer>
          getPremiumTasksList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(premiumTasks_) : premiumTasks_;
      }
      /**
       * <pre>
       *已领取过高级奖励的任务ID
       * </pre>
       *
       * <code>repeated int32 premium_tasks = 3;</code>
       * @return The count of premiumTasks.
       */
      public int getPremiumTasksCount() {
        return premiumTasks_.size();
      }
      /**
       * <pre>
       *已领取过高级奖励的任务ID
       * </pre>
       *
       * <code>repeated int32 premium_tasks = 3;</code>
       * @param index The index of the element to return.
       * @return The premiumTasks at the given index.
       */
      public int getPremiumTasks(int index) {
        return premiumTasks_.getInt(index);
      }
      /**
       * <pre>
       *已领取过高级奖励的任务ID
       * </pre>
       *
       * <code>repeated int32 premium_tasks = 3;</code>
       * @param index The index to set the value at.
       * @param value The premiumTasks to set.
       * @return This builder for chaining.
       */
      public Builder setPremiumTasks(
          int index, int value) {
        ensurePremiumTasksIsMutable();
        premiumTasks_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *已领取过高级奖励的任务ID
       * </pre>
       *
       * <code>repeated int32 premium_tasks = 3;</code>
       * @param value The premiumTasks to add.
       * @return This builder for chaining.
       */
      public Builder addPremiumTasks(int value) {
        ensurePremiumTasksIsMutable();
        premiumTasks_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *已领取过高级奖励的任务ID
       * </pre>
       *
       * <code>repeated int32 premium_tasks = 3;</code>
       * @param values The premiumTasks to add.
       * @return This builder for chaining.
       */
      public Builder addAllPremiumTasks(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensurePremiumTasksIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, premiumTasks_);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *已领取过高级奖励的任务ID
       * </pre>
       *
       * <code>repeated int32 premium_tasks = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearPremiumTasks() {
        premiumTasks_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        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.ZhanLingGoalRewardResponse)
    }

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

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

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

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

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

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

  }

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

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

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

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

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

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

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


      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 2100203: 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.P1002ZhanLingGoal.ZhanLingGoalCfgRequest.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.ZhanLingGoalCfgRequest.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.P1002ZhanLingGoal.ZhanLingGoalCfgRequest)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgRequest other = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgRequest) 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.P1002ZhanLingGoal.ZhanLingGoalCfgRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgRequest 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.P1002ZhanLingGoal.ZhanLingGoalCfgRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgRequest 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.P1002ZhanLingGoal.ZhanLingGoalCfgRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgRequest 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.P1002ZhanLingGoal.ZhanLingGoalCfgRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgRequest 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.P1002ZhanLingGoal.ZhanLingGoalCfgRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgRequest 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.P1002ZhanLingGoal.ZhanLingGoalCfgRequest 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.P1002ZhanLingGoal.ZhanLingGoalCfgRequest 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.P1002ZhanLingGoal.ZhanLingGoalCfgRequest 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.ZhanLingGoalCfgRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:pb.ZhanLingGoalCfgRequest)
        pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.internal_static_pb_ZhanLingGoalCfgRequest_descriptor;
      }

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

      // Construct using pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgRequest.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.P1002ZhanLingGoal.internal_static_pb_ZhanLingGoalCfgRequest_descriptor;
      }

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

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

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

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgRequest other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgRequest.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.P1002ZhanLingGoal.ZhanLingGoalCfgRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgRequest) 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.ZhanLingGoalCfgRequest)
    }

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

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

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

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

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

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

  }

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

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

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

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ZhanLingGoalCfgResponse(
        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.P1002ZhanLingGoal.PbZhanLingGoalCfg>();
                mutable_bitField0_ |= 0x00000001;
              }
              cfgs_.add(
                  input.readMessage(pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.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.P1002ZhanLingGoal.internal_static_pb_ZhanLingGoalCfgResponse_descriptor;
    }

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

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

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


      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 2100203: 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.P1002ZhanLingGoal.ZhanLingGoalCfgResponse.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.ZhanLingGoalCfgResponse.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.P1002ZhanLingGoal.PbZhanLingGoalCfg> cfgs_;
    /**
     * <pre>
     *活动配置
     * </pre>
     *
     * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
     */
    public java.util.List<pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg> getCfgsList() {
      return cfgs_;
    }
    /**
     * <pre>
     *活动配置
     * </pre>
     *
     * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
     */
    public java.util.List<? extends pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfgOrBuilder> 
        getCfgsOrBuilderList() {
      return cfgs_;
    }
    /**
     * <pre>
     *活动配置
     * </pre>
     *
     * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
     */
    public int getCfgsCount() {
      return cfgs_.size();
    }
    /**
     * <pre>
     *活动配置
     * </pre>
     *
     * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
     */
    public pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg getCfgs(int index) {
      return cfgs_.get(index);
    }
    /**
     * <pre>
     *活动配置
     * </pre>
     *
     * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
     */
    public pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfgOrBuilder 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.P1002ZhanLingGoal.ZhanLingGoalCfgResponse)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgResponse other = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgResponse) 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.P1002ZhanLingGoal.ZhanLingGoalCfgResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgResponse 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.P1002ZhanLingGoal.ZhanLingGoalCfgResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgResponse 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.P1002ZhanLingGoal.ZhanLingGoalCfgResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgResponse 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.P1002ZhanLingGoal.ZhanLingGoalCfgResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgResponse 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.P1002ZhanLingGoal.ZhanLingGoalCfgResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgResponse 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.P1002ZhanLingGoal.ZhanLingGoalCfgResponse 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.P1002ZhanLingGoal.ZhanLingGoalCfgResponse 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.P1002ZhanLingGoal.ZhanLingGoalCfgResponse 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.ZhanLingGoalCfgResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:pb.ZhanLingGoalCfgResponse)
        pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.internal_static_pb_ZhanLingGoalCfgResponse_descriptor;
      }

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

      // Construct using pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgResponse.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.P1002ZhanLingGoal.internal_static_pb_ZhanLingGoalCfgResponse_descriptor;
      }

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

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

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

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgResponse other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgResponse.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.P1002ZhanLingGoal.ZhanLingGoalCfgResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalCfgResponse) 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.P1002ZhanLingGoal.PbZhanLingGoalCfg> cfgs_ =
        java.util.Collections.emptyList();
      private void ensureCfgsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          cfgs_ = new java.util.ArrayList<pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg>(cfgs_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg, pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.Builder, pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfgOrBuilder> cfgsBuilder_;

      /**
       * <pre>
       *活动配置
       * </pre>
       *
       * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg> getCfgsList() {
        if (cfgsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(cfgs_);
        } else {
          return cfgsBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       *活动配置
       * </pre>
       *
       * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public int getCfgsCount() {
        if (cfgsBuilder_ == null) {
          return cfgs_.size();
        } else {
          return cfgsBuilder_.getCount();
        }
      }
      /**
       * <pre>
       *活动配置
       * </pre>
       *
       * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg getCfgs(int index) {
        if (cfgsBuilder_ == null) {
          return cfgs_.get(index);
        } else {
          return cfgsBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       *活动配置
       * </pre>
       *
       * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public Builder setCfgs(
          int index, pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg 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.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public Builder setCfgs(
          int index, pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.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.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public Builder addCfgs(pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg 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.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public Builder addCfgs(
          int index, pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg 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.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public Builder addCfgs(
          pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.Builder builderForValue) {
        if (cfgsBuilder_ == null) {
          ensureCfgsIsMutable();
          cfgs_.add(builderForValue.build());
          onChanged();
        } else {
          cfgsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       *活动配置
       * </pre>
       *
       * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public Builder addCfgs(
          int index, pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.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.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public Builder addAllCfgs(
          java.lang.Iterable<? extends pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg> 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.PbZhanLingGoalCfg 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.PbZhanLingGoalCfg 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.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.Builder getCfgsBuilder(
          int index) {
        return getCfgsFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       *活动配置
       * </pre>
       *
       * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfgOrBuilder getCfgsOrBuilder(
          int index) {
        if (cfgsBuilder_ == null) {
          return cfgs_.get(index);  } else {
          return cfgsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       *活动配置
       * </pre>
       *
       * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public java.util.List<? extends pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfgOrBuilder> 
           getCfgsOrBuilderList() {
        if (cfgsBuilder_ != null) {
          return cfgsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(cfgs_);
        }
      }
      /**
       * <pre>
       *活动配置
       * </pre>
       *
       * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.Builder addCfgsBuilder() {
        return getCfgsFieldBuilder().addBuilder(
            pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.getDefaultInstance());
      }
      /**
       * <pre>
       *活动配置
       * </pre>
       *
       * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.Builder addCfgsBuilder(
          int index) {
        return getCfgsFieldBuilder().addBuilder(
            index, pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.getDefaultInstance());
      }
      /**
       * <pre>
       *活动配置
       * </pre>
       *
       * <code>repeated .pb.PbZhanLingGoalCfg cfgs = 2;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.Builder> 
           getCfgsBuilderList() {
        return getCfgsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg, pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.Builder, pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfgOrBuilder> 
          getCfgsFieldBuilder() {
        if (cfgsBuilder_ == null) {
          cfgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg, pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.Builder, pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfgOrBuilder>(
                  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.ZhanLingGoalCfgResponse)
    }

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

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

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

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

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

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

  }

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

    /**
     * <pre>
     *活动类型ID
     * </pre>
     *
     * <code>int32 type_id = 1;</code>
     * @return The typeId.
     */
    int getTypeId();
  }
  /**
   * <pre>
   *购买高级战令成功推送
   * </pre>
   *
   * Protobuf type {@code pb.ZhanLingGoalRechargeMessage}
   */
  public  static final class ZhanLingGoalRechargeMessage extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.ZhanLingGoalRechargeMessage)
      ZhanLingGoalRechargeMessageOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ZhanLingGoalRechargeMessage.newBuilder() to construct.
    private ZhanLingGoalRechargeMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ZhanLingGoalRechargeMessage() {
    }

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

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

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

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

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


      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 2100204: 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.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage.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.ZhanLingGoalRechargeMessage.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.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage other = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage) 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.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage 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.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage 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.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage 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.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage 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.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage 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.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage 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.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage 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.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage 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.ZhanLingGoalRechargeMessage}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:pb.ZhanLingGoalRechargeMessage)
        pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRechargeMessageOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.internal_static_pb_ZhanLingGoalRechargeMessage_descriptor;
      }

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

      // Construct using pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage.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.P1002ZhanLingGoal.internal_static_pb_ZhanLingGoalRechargeMessage_descriptor;
      }

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

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

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

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage.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.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.ZhanLingGoalRechargeMessage) 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.ZhanLingGoalRechargeMessage)
    }

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

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

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

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

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

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

  }

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

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

    /**
     * <code>string task_type = 2;</code>
     * @return The taskType.
     */
    java.lang.String getTaskType();
    /**
     * <code>string task_type = 2;</code>
     * @return The bytes for taskType.
     */
    com.google.protobuf.ByteString
        getTaskTypeBytes();

    /**
     * <code>repeated int32 task_params = 3;</code>
     * @return A list containing the taskParams.
     */
    java.util.List<java.lang.Integer> getTaskParamsList();
    /**
     * <code>repeated int32 task_params = 3;</code>
     * @return The count of taskParams.
     */
    int getTaskParamsCount();
    /**
     * <code>repeated int32 task_params = 3;</code>
     * @param index The index of the element to return.
     * @return The taskParams at the given index.
     */
    int getTaskParams(int index);

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

    /**
     * <code>repeated .pb.PbItem free_reward = 5;</code>
     */
    java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> 
        getFreeRewardList();
    /**
     * <code>repeated .pb.PbItem free_reward = 5;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem getFreeReward(int index);
    /**
     * <code>repeated .pb.PbItem free_reward = 5;</code>
     */
    int getFreeRewardCount();
    /**
     * <code>repeated .pb.PbItem free_reward = 5;</code>
     */
    java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> 
        getFreeRewardOrBuilderList();
    /**
     * <code>repeated .pb.PbItem free_reward = 5;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder getFreeRewardOrBuilder(
        int index);

    /**
     * <code>repeated .pb.PbItem premium_reward = 6;</code>
     */
    java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> 
        getPremiumRewardList();
    /**
     * <code>repeated .pb.PbItem premium_reward = 6;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem getPremiumReward(int index);
    /**
     * <code>repeated .pb.PbItem premium_reward = 6;</code>
     */
    int getPremiumRewardCount();
    /**
     * <code>repeated .pb.PbItem premium_reward = 6;</code>
     */
    java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> 
        getPremiumRewardOrBuilderList();
    /**
     * <code>repeated .pb.PbItem premium_reward = 6;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder getPremiumRewardOrBuilder(
        int index);

    /**
     * <code>int32 sort_index = 7;</code>
     * @return The sortIndex.
     */
    int getSortIndex();
  }
  /**
   * Protobuf type {@code pb.PbZhanLingGoalCfg}
   */
  public  static final class PbZhanLingGoalCfg extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.PbZhanLingGoalCfg)
      PbZhanLingGoalCfgOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PbZhanLingGoalCfg.newBuilder() to construct.
    private PbZhanLingGoalCfg(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private PbZhanLingGoalCfg() {
      taskType_ = "";
      taskParams_ = emptyIntList();
      freeReward_ = java.util.Collections.emptyList();
      premiumReward_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PbZhanLingGoalCfg(
        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 18: {
              java.lang.String s = input.readStringRequireUtf8();

              taskType_ = s;
              break;
            }
            case 24: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                taskParams_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              taskParams_.addInt(input.readInt32());
              break;
            }
            case 26: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                taskParams_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                taskParams_.addInt(input.readInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 32: {

              taskTargetNum_ = input.readInt64();
              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                freeReward_ = new java.util.ArrayList<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem>();
                mutable_bitField0_ |= 0x00000002;
              }
              freeReward_.add(
                  input.readMessage(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.parser(), extensionRegistry));
              break;
            }
            case 50: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                premiumReward_ = new java.util.ArrayList<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem>();
                mutable_bitField0_ |= 0x00000004;
              }
              premiumReward_.add(
                  input.readMessage(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.parser(), extensionRegistry));
              break;
            }
            case 56: {

              sortIndex_ = input.readInt32();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          taskParams_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          freeReward_ = java.util.Collections.unmodifiableList(freeReward_);
        }
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          premiumReward_ = java.util.Collections.unmodifiableList(premiumReward_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.internal_static_pb_PbZhanLingGoalCfg_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.internal_static_pb_PbZhanLingGoalCfg_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.class, pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.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 TASK_TYPE_FIELD_NUMBER = 2;
    private volatile java.lang.Object taskType_;
    /**
     * <code>string task_type = 2;</code>
     * @return The taskType.
     */
    public java.lang.String getTaskType() {
      java.lang.Object ref = taskType_;
      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();
        taskType_ = s;
        return s;
      }
    }
    /**
     * <code>string task_type = 2;</code>
     * @return The bytes for taskType.
     */
    public com.google.protobuf.ByteString
        getTaskTypeBytes() {
      java.lang.Object ref = taskType_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        taskType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TASK_PARAMS_FIELD_NUMBER = 3;
    private com.google.protobuf.Internal.IntList taskParams_;
    /**
     * <code>repeated int32 task_params = 3;</code>
     * @return A list containing the taskParams.
     */
    public java.util.List<java.lang.Integer>
        getTaskParamsList() {
      return taskParams_;
    }
    /**
     * <code>repeated int32 task_params = 3;</code>
     * @return The count of taskParams.
     */
    public int getTaskParamsCount() {
      return taskParams_.size();
    }
    /**
     * <code>repeated int32 task_params = 3;</code>
     * @param index The index of the element to return.
     * @return The taskParams at the given index.
     */
    public int getTaskParams(int index) {
      return taskParams_.getInt(index);
    }
    private int taskParamsMemoizedSerializedSize = -1;

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

    public static final int FREE_REWARD_FIELD_NUMBER = 5;
    private java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> freeReward_;
    /**
     * <code>repeated .pb.PbItem free_reward = 5;</code>
     */
    public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> getFreeRewardList() {
      return freeReward_;
    }
    /**
     * <code>repeated .pb.PbItem free_reward = 5;</code>
     */
    public java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> 
        getFreeRewardOrBuilderList() {
      return freeReward_;
    }
    /**
     * <code>repeated .pb.PbItem free_reward = 5;</code>
     */
    public int getFreeRewardCount() {
      return freeReward_.size();
    }
    /**
     * <code>repeated .pb.PbItem free_reward = 5;</code>
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem getFreeReward(int index) {
      return freeReward_.get(index);
    }
    /**
     * <code>repeated .pb.PbItem free_reward = 5;</code>
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder getFreeRewardOrBuilder(
        int index) {
      return freeReward_.get(index);
    }

    public static final int PREMIUM_REWARD_FIELD_NUMBER = 6;
    private java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> premiumReward_;
    /**
     * <code>repeated .pb.PbItem premium_reward = 6;</code>
     */
    public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> getPremiumRewardList() {
      return premiumReward_;
    }
    /**
     * <code>repeated .pb.PbItem premium_reward = 6;</code>
     */
    public java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> 
        getPremiumRewardOrBuilderList() {
      return premiumReward_;
    }
    /**
     * <code>repeated .pb.PbItem premium_reward = 6;</code>
     */
    public int getPremiumRewardCount() {
      return premiumReward_.size();
    }
    /**
     * <code>repeated .pb.PbItem premium_reward = 6;</code>
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem getPremiumReward(int index) {
      return premiumReward_.get(index);
    }
    /**
     * <code>repeated .pb.PbItem premium_reward = 6;</code>
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder getPremiumRewardOrBuilder(
        int index) {
      return premiumReward_.get(index);
    }

    public static final int SORT_INDEX_FIELD_NUMBER = 7;
    private int sortIndex_;
    /**
     * <code>int32 sort_index = 7;</code>
     * @return The sortIndex.
     */
    public int getSortIndex() {
      return sortIndex_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (id_ != 0) {
        output.writeInt32(1, id_);
      }
      if (!getTaskTypeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, taskType_);
      }
      if (getTaskParamsList().size() > 0) {
        output.writeUInt32NoTag(26);
        output.writeUInt32NoTag(taskParamsMemoizedSerializedSize);
      }
      for (int i = 0; i < taskParams_.size(); i++) {
        output.writeInt32NoTag(taskParams_.getInt(i));
      }
      if (taskTargetNum_ != 0L) {
        output.writeInt64(4, taskTargetNum_);
      }
      for (int i = 0; i < freeReward_.size(); i++) {
        output.writeMessage(5, freeReward_.get(i));
      }
      for (int i = 0; i < premiumReward_.size(); i++) {
        output.writeMessage(6, premiumReward_.get(i));
      }
      if (sortIndex_ != 0) {
        output.writeInt32(7, sortIndex_);
      }
      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 (!getTaskTypeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, taskType_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < taskParams_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(taskParams_.getInt(i));
        }
        size += dataSize;
        if (!getTaskParamsList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        taskParamsMemoizedSerializedSize = dataSize;
      }
      if (taskTargetNum_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(4, taskTargetNum_);
      }
      for (int i = 0; i < freeReward_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, freeReward_.get(i));
      }
      for (int i = 0; i < premiumReward_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, premiumReward_.get(i));
      }
      if (sortIndex_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(7, sortIndex_);
      }
      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.P1002ZhanLingGoal.PbZhanLingGoalCfg)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg other = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg) obj;

      if (getId()
          != other.getId()) return false;
      if (!getTaskType()
          .equals(other.getTaskType())) return false;
      if (!getTaskParamsList()
          .equals(other.getTaskParamsList())) return false;
      if (getTaskTargetNum()
          != other.getTaskTargetNum()) return false;
      if (!getFreeRewardList()
          .equals(other.getFreeRewardList())) return false;
      if (!getPremiumRewardList()
          .equals(other.getPremiumRewardList())) return false;
      if (getSortIndex()
          != other.getSortIndex()) 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) + TASK_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getTaskType().hashCode();
      if (getTaskParamsCount() > 0) {
        hash = (37 * hash) + TASK_PARAMS_FIELD_NUMBER;
        hash = (53 * hash) + getTaskParamsList().hashCode();
      }
      hash = (37 * hash) + TASK_TARGET_NUM_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getTaskTargetNum());
      if (getFreeRewardCount() > 0) {
        hash = (37 * hash) + FREE_REWARD_FIELD_NUMBER;
        hash = (53 * hash) + getFreeRewardList().hashCode();
      }
      if (getPremiumRewardCount() > 0) {
        hash = (37 * hash) + PREMIUM_REWARD_FIELD_NUMBER;
        hash = (53 * hash) + getPremiumRewardList().hashCode();
      }
      hash = (37 * hash) + SORT_INDEX_FIELD_NUMBER;
      hash = (53 * hash) + getSortIndex();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

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

        taskType_ = "";

        taskParams_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        taskTargetNum_ = 0L;

        if (freeRewardBuilder_ == null) {
          freeReward_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          freeRewardBuilder_.clear();
        }
        if (premiumRewardBuilder_ == null) {
          premiumReward_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          premiumRewardBuilder_.clear();
        }
        sortIndex_ = 0;

        return this;
      }

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

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

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

      @java.lang.Override
      public pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg buildPartial() {
        pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg result = new pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg(this);
        int from_bitField0_ = bitField0_;
        result.id_ = id_;
        result.taskType_ = taskType_;
        if (((bitField0_ & 0x00000001) != 0)) {
          taskParams_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.taskParams_ = taskParams_;
        result.taskTargetNum_ = taskTargetNum_;
        if (freeRewardBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            freeReward_ = java.util.Collections.unmodifiableList(freeReward_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.freeReward_ = freeReward_;
        } else {
          result.freeReward_ = freeRewardBuilder_.build();
        }
        if (premiumRewardBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)) {
            premiumReward_ = java.util.Collections.unmodifiableList(premiumReward_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.premiumReward_ = premiumReward_;
        } else {
          result.premiumReward_ = premiumRewardBuilder_.build();
        }
        result.sortIndex_ = sortIndex_;
        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.P1002ZhanLingGoal.PbZhanLingGoalCfg) {
          return mergeFrom((pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg other) {
        if (other == pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg.getDefaultInstance()) return this;
        if (other.getId() != 0) {
          setId(other.getId());
        }
        if (!other.getTaskType().isEmpty()) {
          taskType_ = other.taskType_;
          onChanged();
        }
        if (!other.taskParams_.isEmpty()) {
          if (taskParams_.isEmpty()) {
            taskParams_ = other.taskParams_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureTaskParamsIsMutable();
            taskParams_.addAll(other.taskParams_);
          }
          onChanged();
        }
        if (other.getTaskTargetNum() != 0L) {
          setTaskTargetNum(other.getTaskTargetNum());
        }
        if (freeRewardBuilder_ == null) {
          if (!other.freeReward_.isEmpty()) {
            if (freeReward_.isEmpty()) {
              freeReward_ = other.freeReward_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureFreeRewardIsMutable();
              freeReward_.addAll(other.freeReward_);
            }
            onChanged();
          }
        } else {
          if (!other.freeReward_.isEmpty()) {
            if (freeRewardBuilder_.isEmpty()) {
              freeRewardBuilder_.dispose();
              freeRewardBuilder_ = null;
              freeReward_ = other.freeReward_;
              bitField0_ = (bitField0_ & ~0x00000002);
              freeRewardBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getFreeRewardFieldBuilder() : null;
            } else {
              freeRewardBuilder_.addAllMessages(other.freeReward_);
            }
          }
        }
        if (premiumRewardBuilder_ == null) {
          if (!other.premiumReward_.isEmpty()) {
            if (premiumReward_.isEmpty()) {
              premiumReward_ = other.premiumReward_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensurePremiumRewardIsMutable();
              premiumReward_.addAll(other.premiumReward_);
            }
            onChanged();
          }
        } else {
          if (!other.premiumReward_.isEmpty()) {
            if (premiumRewardBuilder_.isEmpty()) {
              premiumRewardBuilder_.dispose();
              premiumRewardBuilder_ = null;
              premiumReward_ = other.premiumReward_;
              bitField0_ = (bitField0_ & ~0x00000004);
              premiumRewardBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getPremiumRewardFieldBuilder() : null;
            } else {
              premiumRewardBuilder_.addAllMessages(other.premiumReward_);
            }
          }
        }
        if (other.getSortIndex() != 0) {
          setSortIndex(other.getSortIndex());
        }
        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.P1002ZhanLingGoal.PbZhanLingGoalCfg parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.promotion.P1002ZhanLingGoal.PbZhanLingGoalCfg) 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 java.lang.Object taskType_ = "";
      /**
       * <code>string task_type = 2;</code>
       * @return The taskType.
       */
      public java.lang.String getTaskType() {
        java.lang.Object ref = taskType_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          taskType_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string task_type = 2;</code>
       * @return The bytes for taskType.
       */
      public com.google.protobuf.ByteString
          getTaskTypeBytes() {
        java.lang.Object ref = taskType_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          taskType_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string task_type = 2;</code>
       * @param value The taskType to set.
       * @return This builder for chaining.
       */
      public Builder setTaskType(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        taskType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string task_type = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearTaskType() {
        
        taskType_ = getDefaultInstance().getTaskType();
        onChanged();
        return this;
      }
      /**
       * <code>string task_type = 2;</code>
       * @param value The bytes for taskType to set.
       * @return This builder for chaining.
       */
      public Builder setTaskTypeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        taskType_ = value;
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList taskParams_ = emptyIntList();
      private void ensureTaskParamsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          taskParams_ = mutableCopy(taskParams_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated int32 task_params = 3;</code>
       * @return A list containing the taskParams.
       */
      public java.util.List<java.lang.Integer>
          getTaskParamsList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(taskParams_) : taskParams_;
      }
      /**
       * <code>repeated int32 task_params = 3;</code>
       * @return The count of taskParams.
       */
      public int getTaskParamsCount() {
        return taskParams_.size();
      }
      /**
       * <code>repeated int32 task_params = 3;</code>
       * @param index The index of the element to return.
       * @return The taskParams at the given index.
       */
      public int getTaskParams(int index) {
        return taskParams_.getInt(index);
      }
      /**
       * <code>repeated int32 task_params = 3;</code>
       * @param index The index to set the value at.
       * @param value The taskParams to set.
       * @return This builder for chaining.
       */
      public Builder setTaskParams(
          int index, int value) {
        ensureTaskParamsIsMutable();
        taskParams_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated int32 task_params = 3;</code>
       * @param value The taskParams to add.
       * @return This builder for chaining.
       */
      public Builder addTaskParams(int value) {
        ensureTaskParamsIsMutable();
        taskParams_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated int32 task_params = 3;</code>
       * @param values The taskParams to add.
       * @return This builder for chaining.
       */
      public Builder addAllTaskParams(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureTaskParamsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, taskParams_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated int32 task_params = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearTaskParams() {
        taskParams_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private long taskTargetNum_ ;
      /**
       * <code>int64 task_target_num = 4;</code>
       * @return The taskTargetNum.
       */
      public long getTaskTargetNum() {
        return taskTargetNum_;
      }
      /**
       * <code>int64 task_target_num = 4;</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 = 4;</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> freeReward_ =
        java.util.Collections.emptyList();
      private void ensureFreeRewardIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          freeReward_ = new java.util.ArrayList<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem>(freeReward_);
          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> freeRewardBuilder_;

      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> getFreeRewardList() {
        if (freeRewardBuilder_ == null) {
          return java.util.Collections.unmodifiableList(freeReward_);
        } else {
          return freeRewardBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public int getFreeRewardCount() {
        if (freeRewardBuilder_ == null) {
          return freeReward_.size();
        } else {
          return freeRewardBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem getFreeReward(int index) {
        if (freeRewardBuilder_ == null) {
          return freeReward_.get(index);
        } else {
          return freeRewardBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public Builder setFreeReward(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem value) {
        if (freeRewardBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFreeRewardIsMutable();
          freeReward_.set(index, value);
          onChanged();
        } else {
          freeRewardBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public Builder setFreeReward(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder builderForValue) {
        if (freeRewardBuilder_ == null) {
          ensureFreeRewardIsMutable();
          freeReward_.set(index, builderForValue.build());
          onChanged();
        } else {
          freeRewardBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public Builder addFreeReward(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem value) {
        if (freeRewardBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFreeRewardIsMutable();
          freeReward_.add(value);
          onChanged();
        } else {
          freeRewardBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public Builder addFreeReward(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem value) {
        if (freeRewardBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFreeRewardIsMutable();
          freeReward_.add(index, value);
          onChanged();
        } else {
          freeRewardBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public Builder addFreeReward(
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder builderForValue) {
        if (freeRewardBuilder_ == null) {
          ensureFreeRewardIsMutable();
          freeReward_.add(builderForValue.build());
          onChanged();
        } else {
          freeRewardBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public Builder addFreeReward(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder builderForValue) {
        if (freeRewardBuilder_ == null) {
          ensureFreeRewardIsMutable();
          freeReward_.add(index, builderForValue.build());
          onChanged();
        } else {
          freeRewardBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public Builder addAllFreeReward(
          java.lang.Iterable<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> values) {
        if (freeRewardBuilder_ == null) {
          ensureFreeRewardIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, freeReward_);
          onChanged();
        } else {
          freeRewardBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public Builder clearFreeReward() {
        if (freeRewardBuilder_ == null) {
          freeReward_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          freeRewardBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public Builder removeFreeReward(int index) {
        if (freeRewardBuilder_ == null) {
          ensureFreeRewardIsMutable();
          freeReward_.remove(index);
          onChanged();
        } else {
          freeRewardBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder getFreeRewardBuilder(
          int index) {
        return getFreeRewardFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder getFreeRewardOrBuilder(
          int index) {
        if (freeRewardBuilder_ == null) {
          return freeReward_.get(index);  } else {
          return freeRewardBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> 
           getFreeRewardOrBuilderList() {
        if (freeRewardBuilder_ != null) {
          return freeRewardBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(freeReward_);
        }
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder addFreeRewardBuilder() {
        return getFreeRewardFieldBuilder().addBuilder(
            pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.getDefaultInstance());
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder addFreeRewardBuilder(
          int index) {
        return getFreeRewardFieldBuilder().addBuilder(
            index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.getDefaultInstance());
      }
      /**
       * <code>repeated .pb.PbItem free_reward = 5;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder> 
           getFreeRewardBuilderList() {
        return getFreeRewardFieldBuilder().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> 
          getFreeRewardFieldBuilder() {
        if (freeRewardBuilder_ == null) {
          freeRewardBuilder_ = 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>(
                  freeReward_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          freeReward_ = null;
        }
        return freeRewardBuilder_;
      }

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

      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> premiumRewardBuilder_;

      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> getPremiumRewardList() {
        if (premiumRewardBuilder_ == null) {
          return java.util.Collections.unmodifiableList(premiumReward_);
        } else {
          return premiumRewardBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public int getPremiumRewardCount() {
        if (premiumRewardBuilder_ == null) {
          return premiumReward_.size();
        } else {
          return premiumRewardBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem getPremiumReward(int index) {
        if (premiumRewardBuilder_ == null) {
          return premiumReward_.get(index);
        } else {
          return premiumRewardBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public Builder setPremiumReward(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem value) {
        if (premiumRewardBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePremiumRewardIsMutable();
          premiumReward_.set(index, value);
          onChanged();
        } else {
          premiumRewardBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public Builder setPremiumReward(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder builderForValue) {
        if (premiumRewardBuilder_ == null) {
          ensurePremiumRewardIsMutable();
          premiumReward_.set(index, builderForValue.build());
          onChanged();
        } else {
          premiumRewardBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public Builder addPremiumReward(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem value) {
        if (premiumRewardBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePremiumRewardIsMutable();
          premiumReward_.add(value);
          onChanged();
        } else {
          premiumRewardBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public Builder addPremiumReward(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem value) {
        if (premiumRewardBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePremiumRewardIsMutable();
          premiumReward_.add(index, value);
          onChanged();
        } else {
          premiumRewardBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public Builder addPremiumReward(
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder builderForValue) {
        if (premiumRewardBuilder_ == null) {
          ensurePremiumRewardIsMutable();
          premiumReward_.add(builderForValue.build());
          onChanged();
        } else {
          premiumRewardBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public Builder addPremiumReward(
          int index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder builderForValue) {
        if (premiumRewardBuilder_ == null) {
          ensurePremiumRewardIsMutable();
          premiumReward_.add(index, builderForValue.build());
          onChanged();
        } else {
          premiumRewardBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public Builder addAllPremiumReward(
          java.lang.Iterable<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem> values) {
        if (premiumRewardBuilder_ == null) {
          ensurePremiumRewardIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, premiumReward_);
          onChanged();
        } else {
          premiumRewardBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public Builder clearPremiumReward() {
        if (premiumRewardBuilder_ == null) {
          premiumReward_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          premiumRewardBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public Builder removePremiumReward(int index) {
        if (premiumRewardBuilder_ == null) {
          ensurePremiumRewardIsMutable();
          premiumReward_.remove(index);
          onChanged();
        } else {
          premiumRewardBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder getPremiumRewardBuilder(
          int index) {
        return getPremiumRewardFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder getPremiumRewardOrBuilder(
          int index) {
        if (premiumRewardBuilder_ == null) {
          return premiumReward_.get(index);  } else {
          return premiumRewardBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItemOrBuilder> 
           getPremiumRewardOrBuilderList() {
        if (premiumRewardBuilder_ != null) {
          return premiumRewardBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(premiumReward_);
        }
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder addPremiumRewardBuilder() {
        return getPremiumRewardFieldBuilder().addBuilder(
            pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.getDefaultInstance());
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder addPremiumRewardBuilder(
          int index) {
        return getPremiumRewardFieldBuilder().addBuilder(
            index, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.getDefaultInstance());
      }
      /**
       * <code>repeated .pb.PbItem premium_reward = 6;</code>
       */
      public java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbItem.Builder> 
           getPremiumRewardBuilderList() {
        return getPremiumRewardFieldBuilder().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> 
          getPremiumRewardFieldBuilder() {
        if (premiumRewardBuilder_ == null) {
          premiumRewardBuilder_ = 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>(
                  premiumReward_,
                  ((bitField0_ & 0x00000004) != 0),
                  getParentForChildren(),
                  isClean());
          premiumReward_ = null;
        }
        return premiumRewardBuilder_;
      }

      private int sortIndex_ ;
      /**
       * <code>int32 sort_index = 7;</code>
       * @return The sortIndex.
       */
      public int getSortIndex() {
        return sortIndex_;
      }
      /**
       * <code>int32 sort_index = 7;</code>
       * @param value The sortIndex to set.
       * @return This builder for chaining.
       */
      public Builder setSortIndex(int value) {
        
        sortIndex_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 sort_index = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearSortIndex() {
        
        sortIndex_ = 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.PbZhanLingGoalCfg)
    }

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

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

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_ZhanLingGoalInfoRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_ZhanLingGoalInfoRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_ZhanLingGoalInfoResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_ZhanLingGoalInfoResponse_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_ZhanLingGoalRewardRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_ZhanLingGoalRewardRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_ZhanLingGoalRewardResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_ZhanLingGoalRewardResponse_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_ZhanLingGoalCfgRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_ZhanLingGoalCfgRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_ZhanLingGoalCfgResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_ZhanLingGoalCfgResponse_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_ZhanLingGoalRechargeMessage_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_ZhanLingGoalRechargeMessage_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_PbZhanLingGoalCfg_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_PbZhanLingGoalCfg_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\027P1002ZhanLingGoal.proto\022\002pb\032\020MiniStruc" +
      "t.proto\"K\n\027ZhanLingGoalInfoRequest\022\017\n\007ty" +
      "pe_id\030\001 \001(\005\"\037\n\005Proto\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020" +
      "\351\227\200\001\"\223\001\n\030ZhanLingGoalInfoResponse\022\017\n\007typ" +
      "e_id\030\001 \001(\005\022\031\n\005tasks\030\002 \003(\0132\n.pb.PbTask\022\025\n" +
      "\rpremium_tasks\030\003 \003(\005\022\023\n\013buy_premium\030\004 \001(" +
      "\010\"\037\n\005Proto\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\351\227\200\001\"M\n\031Zh" +
      "anLingGoalRewardRequest\022\017\n\007type_id\030\001 \001(\005" +
      "\"\037\n\005Proto\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\352\227\200\001\"\200\001\n\032Zh" +
      "anLingGoalRewardResponse\022\017\n\007type_id\030\001 \001(" +
      "\005\022\031\n\005tasks\030\002 \003(\0132\n.pb.PbTask\022\025\n\rpremium_" +
      "tasks\030\003 \003(\005\"\037\n\005Proto\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020" +
      "\352\227\200\001\"J\n\026ZhanLingGoalCfgRequest\022\017\n\007type_i" +
      "d\030\001 \001(\005\"\037\n\005Proto\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\353\227\200\001" +
      "\"p\n\027ZhanLingGoalCfgResponse\022\017\n\007type_id\030\001" +
      " \001(\005\022#\n\004cfgs\030\002 \003(\0132\025.pb.PbZhanLingGoalCf" +
      "g\"\037\n\005Proto\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\353\227\200\001\"O\n\033Zh" +
      "anLingGoalRechargeMessage\022\017\n\007type_id\030\001 \001" +
      "(\005\"\037\n\005Proto\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\354\227\200\001\"\271\001\n\021" +
      "PbZhanLingGoalCfg\022\n\n\002id\030\001 \001(\005\022\021\n\ttask_ty" +
      "pe\030\002 \001(\t\022\023\n\013task_params\030\003 \003(\005\022\027\n\017task_ta" +
      "rget_num\030\004 \001(\003\022\037\n\013free_reward\030\005 \003(\0132\n.pb" +
      ".PbItem\022\"\n\016premium_reward\030\006 \003(\0132\n.pb.PbI" +
      "tem\022\022\n\nsort_index\030\007 \001(\005B9\n\037pb.xiugou.x1." +
      "protobuf.promotion\252\002\025pb.xiugou.x1.protob" +
      "ufb\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_ZhanLingGoalInfoRequest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_pb_ZhanLingGoalInfoRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_ZhanLingGoalInfoRequest_descriptor,
        new java.lang.String[] { "TypeId", });
    internal_static_pb_ZhanLingGoalInfoResponse_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_pb_ZhanLingGoalInfoResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_ZhanLingGoalInfoResponse_descriptor,
        new java.lang.String[] { "TypeId", "Tasks", "PremiumTasks", "BuyPremium", });
    internal_static_pb_ZhanLingGoalRewardRequest_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_pb_ZhanLingGoalRewardRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_ZhanLingGoalRewardRequest_descriptor,
        new java.lang.String[] { "TypeId", });
    internal_static_pb_ZhanLingGoalRewardResponse_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_pb_ZhanLingGoalRewardResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_ZhanLingGoalRewardResponse_descriptor,
        new java.lang.String[] { "TypeId", "Tasks", "PremiumTasks", });
    internal_static_pb_ZhanLingGoalCfgRequest_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_pb_ZhanLingGoalCfgRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_ZhanLingGoalCfgRequest_descriptor,
        new java.lang.String[] { "TypeId", });
    internal_static_pb_ZhanLingGoalCfgResponse_descriptor =
      getDescriptor().getMessageTypes().get(5);
    internal_static_pb_ZhanLingGoalCfgResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_ZhanLingGoalCfgResponse_descriptor,
        new java.lang.String[] { "TypeId", "Cfgs", });
    internal_static_pb_ZhanLingGoalRechargeMessage_descriptor =
      getDescriptor().getMessageTypes().get(6);
    internal_static_pb_ZhanLingGoalRechargeMessage_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_ZhanLingGoalRechargeMessage_descriptor,
        new java.lang.String[] { "TypeId", });
    internal_static_pb_PbZhanLingGoalCfg_descriptor =
      getDescriptor().getMessageTypes().get(7);
    internal_static_pb_PbZhanLingGoalCfg_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_PbZhanLingGoalCfg_descriptor,
        new java.lang.String[] { "Id", "TaskType", "TaskParams", "TaskTargetNum", "FreeReward", "PremiumReward", "SortIndex", });
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
