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

package pb.xiugou.x1.protobuf.achievement;

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

    /**
     * <pre>
     *成就点数
     * </pre>
     *
     * <code>int64 point = 1;</code>
     * @return The point.
     */
    long getPoint();

    /**
     * <pre>
     *已经领取到的成就点数奖励ID
     * </pre>
     *
     * <code>int32 point_reward_id = 2;</code>
     * @return The pointRewardId.
     */
    int getPointRewardId();

    /**
     * <pre>
     *任务列表
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 3;</code>
     */
    java.util.List<pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask> 
        getTasksList();
    /**
     * <pre>
     *任务列表
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 3;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask getTasks(int index);
    /**
     * <pre>
     *任务列表
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 3;</code>
     */
    int getTasksCount();
    /**
     * <pre>
     *任务列表
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 3;</code>
     */
    java.util.List<? extends pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> 
        getTasksOrBuilderList();
    /**
     * <pre>
     *任务列表
     * </pre>
     *
     * <code>repeated .pb.PbTask tasks = 3;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder getTasksOrBuilder(
        int index);

    /**
     * <pre>
     *已经完结的任务
     * </pre>
     *
     * <code>repeated int32 over_tasks = 4;</code>
     * @return A list containing the overTasks.
     */
    java.util.List<java.lang.Integer> getOverTasksList();
    /**
     * <pre>
     *已经完结的任务
     * </pre>
     *
     * <code>repeated int32 over_tasks = 4;</code>
     * @return The count of overTasks.
     */
    int getOverTasksCount();
    /**
     * <pre>
     *已经完结的任务
     * </pre>
     *
     * <code>repeated int32 over_tasks = 4;</code>
     * @param index The index of the element to return.
     * @return The overTasks at the given index.
     */
    int getOverTasks(int index);
  }
  /**
   * Protobuf type {@code pb.AchievementInfoResponse}
   */
  public  static final class AchievementInfoResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.AchievementInfoResponse)
      AchievementInfoResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AchievementInfoResponse.newBuilder() to construct.
    private AchievementInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AchievementInfoResponse() {
      tasks_ = java.util.Collections.emptyList();
      overTasks_ = emptyIntList();
    }

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

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

              point_ = input.readInt64();
              break;
            }
            case 16: {

              pointRewardId_ = input.readInt32();
              break;
            }
            case 26: {
              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 32: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                overTasks_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              overTasks_.addInt(input.readInt32());
              break;
            }
            case 34: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
                overTasks_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                overTasks_.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)) {
          overTasks_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementInfoResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementInfoResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse.class, pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse.Builder.class);
    }

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

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


      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 3700001: 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.achievement.Achievement.AchievementInfoResponse.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.AchievementInfoResponse.Proto)
    }

    public static final int POINT_FIELD_NUMBER = 1;
    private long point_;
    /**
     * <pre>
     *成就点数
     * </pre>
     *
     * <code>int64 point = 1;</code>
     * @return The point.
     */
    public long getPoint() {
      return point_;
    }

    public static final int POINT_REWARD_ID_FIELD_NUMBER = 2;
    private int pointRewardId_;
    /**
     * <pre>
     *已经领取到的成就点数奖励ID
     * </pre>
     *
     * <code>int32 point_reward_id = 2;</code>
     * @return The pointRewardId.
     */
    public int getPointRewardId() {
      return pointRewardId_;
    }

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

    public static final int OVER_TASKS_FIELD_NUMBER = 4;
    private com.google.protobuf.Internal.IntList overTasks_;
    /**
     * <pre>
     *已经完结的任务
     * </pre>
     *
     * <code>repeated int32 over_tasks = 4;</code>
     * @return A list containing the overTasks.
     */
    public java.util.List<java.lang.Integer>
        getOverTasksList() {
      return overTasks_;
    }
    /**
     * <pre>
     *已经完结的任务
     * </pre>
     *
     * <code>repeated int32 over_tasks = 4;</code>
     * @return The count of overTasks.
     */
    public int getOverTasksCount() {
      return overTasks_.size();
    }
    /**
     * <pre>
     *已经完结的任务
     * </pre>
     *
     * <code>repeated int32 over_tasks = 4;</code>
     * @param index The index of the element to return.
     * @return The overTasks at the given index.
     */
    public int getOverTasks(int index) {
      return overTasks_.getInt(index);
    }
    private int overTasksMemoizedSerializedSize = -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 (point_ != 0L) {
        output.writeInt64(1, point_);
      }
      if (pointRewardId_ != 0) {
        output.writeInt32(2, pointRewardId_);
      }
      for (int i = 0; i < tasks_.size(); i++) {
        output.writeMessage(3, tasks_.get(i));
      }
      if (getOverTasksList().size() > 0) {
        output.writeUInt32NoTag(34);
        output.writeUInt32NoTag(overTasksMemoizedSerializedSize);
      }
      for (int i = 0; i < overTasks_.size(); i++) {
        output.writeInt32NoTag(overTasks_.getInt(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (point_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(1, point_);
      }
      if (pointRewardId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, pointRewardId_);
      }
      for (int i = 0; i < tasks_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, tasks_.get(i));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < overTasks_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(overTasks_.getInt(i));
        }
        size += dataSize;
        if (!getOverTasksList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        overTasksMemoizedSerializedSize = 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.achievement.Achievement.AchievementInfoResponse)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse other = (pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse) obj;

      if (getPoint()
          != other.getPoint()) return false;
      if (getPointRewardId()
          != other.getPointRewardId()) return false;
      if (!getTasksList()
          .equals(other.getTasksList())) return false;
      if (!getOverTasksList()
          .equals(other.getOverTasksList())) 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) + POINT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getPoint());
      hash = (37 * hash) + POINT_REWARD_ID_FIELD_NUMBER;
      hash = (53 * hash) + getPointRewardId();
      if (getTasksCount() > 0) {
        hash = (37 * hash) + TASKS_FIELD_NUMBER;
        hash = (53 * hash) + getTasksList().hashCode();
      }
      if (getOverTasksCount() > 0) {
        hash = (37 * hash) + OVER_TASKS_FIELD_NUMBER;
        hash = (53 * hash) + getOverTasksList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementInfoResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse.class, pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse.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();
        point_ = 0L;

        pointRewardId_ = 0;

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

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementInfoResponse_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse buildPartial() {
        pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse result = new pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse(this);
        int from_bitField0_ = bitField0_;
        result.point_ = point_;
        result.pointRewardId_ = pointRewardId_;
        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)) {
          overTasks_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.overTasks_ = overTasks_;
        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.achievement.Achievement.AchievementInfoResponse) {
          return mergeFrom((pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse other) {
        if (other == pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse.getDefaultInstance()) return this;
        if (other.getPoint() != 0L) {
          setPoint(other.getPoint());
        }
        if (other.getPointRewardId() != 0) {
          setPointRewardId(other.getPointRewardId());
        }
        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.overTasks_.isEmpty()) {
          if (overTasks_.isEmpty()) {
            overTasks_ = other.overTasks_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureOverTasksIsMutable();
            overTasks_.addAll(other.overTasks_);
          }
          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.achievement.Achievement.AchievementInfoResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private long point_ ;
      /**
       * <pre>
       *成就点数
       * </pre>
       *
       * <code>int64 point = 1;</code>
       * @return The point.
       */
      public long getPoint() {
        return point_;
      }
      /**
       * <pre>
       *成就点数
       * </pre>
       *
       * <code>int64 point = 1;</code>
       * @param value The point to set.
       * @return This builder for chaining.
       */
      public Builder setPoint(long value) {
        
        point_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *成就点数
       * </pre>
       *
       * <code>int64 point = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearPoint() {
        
        point_ = 0L;
        onChanged();
        return this;
      }

      private int pointRewardId_ ;
      /**
       * <pre>
       *已经领取到的成就点数奖励ID
       * </pre>
       *
       * <code>int32 point_reward_id = 2;</code>
       * @return The pointRewardId.
       */
      public int getPointRewardId() {
        return pointRewardId_;
      }
      /**
       * <pre>
       *已经领取到的成就点数奖励ID
       * </pre>
       *
       * <code>int32 point_reward_id = 2;</code>
       * @param value The pointRewardId to set.
       * @return This builder for chaining.
       */
      public Builder setPointRewardId(int value) {
        
        pointRewardId_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *已经领取到的成就点数奖励ID
       * </pre>
       *
       * <code>int32 point_reward_id = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearPointRewardId() {
        
        pointRewardId_ = 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 = 3;</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 = 3;</code>
       */
      public int getTasksCount() {
        if (tasksBuilder_ == null) {
          return tasks_.size();
        } else {
          return tasksBuilder_.getCount();
        }
      }
      /**
       * <pre>
       *任务列表
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder getTasksBuilder(
          int index) {
        return getTasksFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       *任务列表
       * </pre>
       *
       * <code>repeated .pb.PbTask tasks = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 overTasks_ = emptyIntList();
      private void ensureOverTasksIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          overTasks_ = mutableCopy(overTasks_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <pre>
       *已经完结的任务
       * </pre>
       *
       * <code>repeated int32 over_tasks = 4;</code>
       * @return A list containing the overTasks.
       */
      public java.util.List<java.lang.Integer>
          getOverTasksList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(overTasks_) : overTasks_;
      }
      /**
       * <pre>
       *已经完结的任务
       * </pre>
       *
       * <code>repeated int32 over_tasks = 4;</code>
       * @return The count of overTasks.
       */
      public int getOverTasksCount() {
        return overTasks_.size();
      }
      /**
       * <pre>
       *已经完结的任务
       * </pre>
       *
       * <code>repeated int32 over_tasks = 4;</code>
       * @param index The index of the element to return.
       * @return The overTasks at the given index.
       */
      public int getOverTasks(int index) {
        return overTasks_.getInt(index);
      }
      /**
       * <pre>
       *已经完结的任务
       * </pre>
       *
       * <code>repeated int32 over_tasks = 4;</code>
       * @param index The index to set the value at.
       * @param value The overTasks to set.
       * @return This builder for chaining.
       */
      public Builder setOverTasks(
          int index, int value) {
        ensureOverTasksIsMutable();
        overTasks_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *已经完结的任务
       * </pre>
       *
       * <code>repeated int32 over_tasks = 4;</code>
       * @param value The overTasks to add.
       * @return This builder for chaining.
       */
      public Builder addOverTasks(int value) {
        ensureOverTasksIsMutable();
        overTasks_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *已经完结的任务
       * </pre>
       *
       * <code>repeated int32 over_tasks = 4;</code>
       * @param values The overTasks to add.
       * @return This builder for chaining.
       */
      public Builder addAllOverTasks(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureOverTasksIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, overTasks_);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *已经完结的任务
       * </pre>
       *
       * <code>repeated int32 over_tasks = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearOverTasks() {
        overTasks_ = 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.AchievementInfoResponse)
    }

    // @@protoc_insertion_point(class_scope:pb.AchievementInfoResponse)
    private static final pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse();
    }

    public static pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.achievement.Achievement.AchievementInfoResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

    /**
     * <pre>
     *任务ID
     * </pre>
     *
     * <code>int32 task_id = 1;</code>
     * @return The taskId.
     */
    int getTaskId();
  }
  /**
   * <pre>
   *领取任务奖励
   * </pre>
   *
   * Protobuf type {@code pb.AchievementTaskRewardRequest}
   */
  public  static final class AchievementTaskRewardRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.AchievementTaskRewardRequest)
      AchievementTaskRewardRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AchievementTaskRewardRequest.newBuilder() to construct.
    private AchievementTaskRewardRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AchievementTaskRewardRequest() {
    }

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

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

              taskId_ = 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.achievement.Achievement.internal_static_pb_AchievementTaskRewardRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementTaskRewardRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardRequest.class, pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardRequest.Builder.class);
    }

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

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


      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 3700002: 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.achievement.Achievement.AchievementTaskRewardRequest.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.AchievementTaskRewardRequest.Proto)
    }

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

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

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

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

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

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementTaskRewardRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardRequest.class, pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardRequest.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardRequest.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();
        taskId_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementTaskRewardRequest_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardRequest getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardRequest.getDefaultInstance();
      }

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

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

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

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

    // @@protoc_insertion_point(class_scope:pb.AchievementTaskRewardRequest)
    private static final pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardRequest();
    }

    public static pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

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

    /**
     * <pre>
     *下一个任务
     * </pre>
     *
     * <code>.pb.PbTask next_task = 2;</code>
     * @return Whether the nextTask field is set.
     */
    boolean hasNextTask();
    /**
     * <pre>
     *下一个任务
     * </pre>
     *
     * <code>.pb.PbTask next_task = 2;</code>
     * @return The nextTask.
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask getNextTask();
    /**
     * <pre>
     *下一个任务
     * </pre>
     *
     * <code>.pb.PbTask next_task = 2;</code>
     */
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder getNextTaskOrBuilder();
  }
  /**
   * Protobuf type {@code pb.AchievementTaskRewardResponse}
   */
  public  static final class AchievementTaskRewardResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.AchievementTaskRewardResponse)
      AchievementTaskRewardResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AchievementTaskRewardResponse.newBuilder() to construct.
    private AchievementTaskRewardResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AchievementTaskRewardResponse() {
    }

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

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

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

              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.achievement.Achievement.internal_static_pb_AchievementTaskRewardResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementTaskRewardResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse.class, pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse.Builder.class);
    }

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

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


      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 3700002: 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.achievement.Achievement.AchievementTaskRewardResponse.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.AchievementTaskRewardResponse.Proto)
    }

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

    public static final int NEXT_TASK_FIELD_NUMBER = 2;
    private pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask nextTask_;
    /**
     * <pre>
     *下一个任务
     * </pre>
     *
     * <code>.pb.PbTask next_task = 2;</code>
     * @return Whether the nextTask field is set.
     */
    public boolean hasNextTask() {
      return nextTask_ != null;
    }
    /**
     * <pre>
     *下一个任务
     * </pre>
     *
     * <code>.pb.PbTask next_task = 2;</code>
     * @return The nextTask.
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask getNextTask() {
      return nextTask_ == null ? pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.getDefaultInstance() : nextTask_;
    }
    /**
     * <pre>
     *下一个任务
     * </pre>
     *
     * <code>.pb.PbTask next_task = 2;</code>
     */
    public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder getNextTaskOrBuilder() {
      return getNextTask();
    }

    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 (taskId_ != 0) {
        output.writeInt32(1, taskId_);
      }
      if (nextTask_ != null) {
        output.writeMessage(2, getNextTask());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (taskId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, taskId_);
      }
      if (nextTask_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getNextTask());
      }
      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.achievement.Achievement.AchievementTaskRewardResponse)) {
        return super.equals(obj);
      }
      pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse other = (pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse) obj;

      if (getTaskId()
          != other.getTaskId()) return false;
      if (hasNextTask() != other.hasNextTask()) return false;
      if (hasNextTask()) {
        if (!getNextTask()
            .equals(other.getNextTask())) 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) + TASK_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTaskId();
      if (hasNextTask()) {
        hash = (37 * hash) + NEXT_TASK_FIELD_NUMBER;
        hash = (53 * hash) + getNextTask().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementTaskRewardResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse.class, pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse.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();
        taskId_ = 0;

        if (nextTaskBuilder_ == null) {
          nextTask_ = null;
        } else {
          nextTask_ = null;
          nextTaskBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementTaskRewardResponse_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse buildPartial() {
        pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse result = new pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse(this);
        result.taskId_ = taskId_;
        if (nextTaskBuilder_ == null) {
          result.nextTask_ = nextTask_;
        } else {
          result.nextTask_ = nextTaskBuilder_.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.achievement.Achievement.AchievementTaskRewardResponse) {
          return mergeFrom((pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse other) {
        if (other == pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse.getDefaultInstance()) return this;
        if (other.getTaskId() != 0) {
          setTaskId(other.getTaskId());
        }
        if (other.hasNextTask()) {
          mergeNextTask(other.getNextTask());
        }
        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.achievement.Achievement.AchievementTaskRewardResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

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

      private pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask nextTask_;
      private com.google.protobuf.SingleFieldBuilderV3<
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> nextTaskBuilder_;
      /**
       * <pre>
       *下一个任务
       * </pre>
       *
       * <code>.pb.PbTask next_task = 2;</code>
       * @return Whether the nextTask field is set.
       */
      public boolean hasNextTask() {
        return nextTaskBuilder_ != null || nextTask_ != null;
      }
      /**
       * <pre>
       *下一个任务
       * </pre>
       *
       * <code>.pb.PbTask next_task = 2;</code>
       * @return The nextTask.
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask getNextTask() {
        if (nextTaskBuilder_ == null) {
          return nextTask_ == null ? pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.getDefaultInstance() : nextTask_;
        } else {
          return nextTaskBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       *下一个任务
       * </pre>
       *
       * <code>.pb.PbTask next_task = 2;</code>
       */
      public Builder setNextTask(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask value) {
        if (nextTaskBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          nextTask_ = value;
          onChanged();
        } else {
          nextTaskBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       *下一个任务
       * </pre>
       *
       * <code>.pb.PbTask next_task = 2;</code>
       */
      public Builder setNextTask(
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder builderForValue) {
        if (nextTaskBuilder_ == null) {
          nextTask_ = builderForValue.build();
          onChanged();
        } else {
          nextTaskBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       *下一个任务
       * </pre>
       *
       * <code>.pb.PbTask next_task = 2;</code>
       */
      public Builder mergeNextTask(pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask value) {
        if (nextTaskBuilder_ == null) {
          if (nextTask_ != null) {
            nextTask_ =
              pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.newBuilder(nextTask_).mergeFrom(value).buildPartial();
          } else {
            nextTask_ = value;
          }
          onChanged();
        } else {
          nextTaskBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       *下一个任务
       * </pre>
       *
       * <code>.pb.PbTask next_task = 2;</code>
       */
      public Builder clearNextTask() {
        if (nextTaskBuilder_ == null) {
          nextTask_ = null;
          onChanged();
        } else {
          nextTask_ = null;
          nextTaskBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       *下一个任务
       * </pre>
       *
       * <code>.pb.PbTask next_task = 2;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder getNextTaskBuilder() {
        
        onChanged();
        return getNextTaskFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       *下一个任务
       * </pre>
       *
       * <code>.pb.PbTask next_task = 2;</code>
       */
      public pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder getNextTaskOrBuilder() {
        if (nextTaskBuilder_ != null) {
          return nextTaskBuilder_.getMessageOrBuilder();
        } else {
          return nextTask_ == null ?
              pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.getDefaultInstance() : nextTask_;
        }
      }
      /**
       * <pre>
       *下一个任务
       * </pre>
       *
       * <code>.pb.PbTask next_task = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder> 
          getNextTaskFieldBuilder() {
        if (nextTaskBuilder_ == null) {
          nextTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTask.Builder, pb.xiugou.x1.protobuf.ministruct.MiniStruct.PbTaskOrBuilder>(
                  getNextTask(),
                  getParentForChildren(),
                  isClean());
          nextTask_ = null;
        }
        return nextTaskBuilder_;
      }
      @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.AchievementTaskRewardResponse)
    }

    // @@protoc_insertion_point(class_scope:pb.AchievementTaskRewardResponse)
    private static final pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse();
    }

    public static pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.achievement.Achievement.AchievementTaskRewardResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface AchievementPointRewardRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:pb.AchievementPointRewardRequest)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * <pre>
   *领取成就点数奖励
   * </pre>
   *
   * Protobuf type {@code pb.AchievementPointRewardRequest}
   */
  public  static final class AchievementPointRewardRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.AchievementPointRewardRequest)
      AchievementPointRewardRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AchievementPointRewardRequest.newBuilder() to construct.
    private AchievementPointRewardRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AchievementPointRewardRequest() {
    }

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

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementPointRewardRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest.class, pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest.Builder.class);
    }

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

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


      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 3700003: 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.achievement.Achievement.AchievementPointRewardRequest.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.AchievementPointRewardRequest.Proto)
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      unknownFields.writeTo(output);
    }

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

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

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

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

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

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementPointRewardRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest.class, pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementPointRewardRequest_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest buildPartial() {
        pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest result = new pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest(this);
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest) {
          return mergeFrom((pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest other) {
        if (other == pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest.getDefaultInstance()) return this;
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


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

    // @@protoc_insertion_point(class_scope:pb.AchievementPointRewardRequest)
    private static final pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest();
    }

    public static pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

    /**
     * <pre>
     *已经领取到的成就点数奖励ID
     * </pre>
     *
     * <code>int32 point_reward_id = 1;</code>
     * @return The pointRewardId.
     */
    int getPointRewardId();
  }
  /**
   * Protobuf type {@code pb.AchievementPointRewardResponse}
   */
  public  static final class AchievementPointRewardResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:pb.AchievementPointRewardResponse)
      AchievementPointRewardResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AchievementPointRewardResponse.newBuilder() to construct.
    private AchievementPointRewardResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AchievementPointRewardResponse() {
    }

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

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

              pointRewardId_ = 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.achievement.Achievement.internal_static_pb_AchievementPointRewardResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementPointRewardResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardResponse.class, pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardResponse.Builder.class);
    }

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

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


      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 3700003: 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.achievement.Achievement.AchievementPointRewardResponse.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.AchievementPointRewardResponse.Proto)
    }

    public static final int POINT_REWARD_ID_FIELD_NUMBER = 1;
    private int pointRewardId_;
    /**
     * <pre>
     *已经领取到的成就点数奖励ID
     * </pre>
     *
     * <code>int32 point_reward_id = 1;</code>
     * @return The pointRewardId.
     */
    public int getPointRewardId() {
      return pointRewardId_;
    }

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

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

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

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

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementPointRewardResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardResponse.class, pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardResponse.Builder.class);
      }

      // Construct using pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardResponse.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();
        pointRewardId_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.internal_static_pb_AchievementPointRewardResponse_descriptor;
      }

      @java.lang.Override
      public pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardResponse getDefaultInstanceForType() {
        return pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardResponse.getDefaultInstance();
      }

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

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

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

      private int pointRewardId_ ;
      /**
       * <pre>
       *已经领取到的成就点数奖励ID
       * </pre>
       *
       * <code>int32 point_reward_id = 1;</code>
       * @return The pointRewardId.
       */
      public int getPointRewardId() {
        return pointRewardId_;
      }
      /**
       * <pre>
       *已经领取到的成就点数奖励ID
       * </pre>
       *
       * <code>int32 point_reward_id = 1;</code>
       * @param value The pointRewardId to set.
       * @return This builder for chaining.
       */
      public Builder setPointRewardId(int value) {
        
        pointRewardId_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *已经领取到的成就点数奖励ID
       * </pre>
       *
       * <code>int32 point_reward_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearPointRewardId() {
        
        pointRewardId_ = 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.AchievementPointRewardResponse)
    }

    // @@protoc_insertion_point(class_scope:pb.AchievementPointRewardResponse)
    private static final pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardResponse();
    }

    public static pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public pb.xiugou.x1.protobuf.achievement.Achievement.AchievementPointRewardResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_AchievementInfoResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_AchievementInfoResponse_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_AchievementTaskRewardRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_AchievementTaskRewardRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_AchievementTaskRewardResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_AchievementTaskRewardResponse_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_AchievementPointRewardRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_AchievementPointRewardRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_AchievementPointRewardResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_AchievementPointRewardResponse_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\021Achievement.proto\022\002pb\032\020MiniStruct.prot" +
      "o\"\221\001\n\027AchievementInfoResponse\022\r\n\005point\030\001" +
      " \001(\003\022\027\n\017point_reward_id\030\002 \001(\005\022\031\n\005tasks\030\003" +
      " \003(\0132\n.pb.PbTask\022\022\n\nover_tasks\030\004 \003(\005\"\037\n\005" +
      "Proto\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\241\352\341\001\"P\n\034Achieve" +
      "mentTaskRewardRequest\022\017\n\007task_id\030\001 \001(\005\"\037" +
      "\n\005Proto\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\242\352\341\001\"p\n\035Achie" +
      "vementTaskRewardResponse\022\017\n\007task_id\030\001 \001(" +
      "\005\022\035\n\tnext_task\030\002 \001(\0132\n.pb.PbTask\"\037\n\005Prot" +
      "o\022\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\242\352\341\001\"@\n\035Achievement" +
      "PointRewardRequest\"\037\n\005Proto\022\013\n\007UNKNOWN\020\000" +
      "\022\t\n\002ID\020\243\352\341\001\"Z\n\036AchievementPointRewardRes" +
      "ponse\022\027\n\017point_reward_id\030\001 \001(\005\"\037\n\005Proto\022" +
      "\013\n\007UNKNOWN\020\000\022\t\n\002ID\020\243\352\341\001B;\n!pb.xiugou.x1." +
      "protobuf.achievement\252\002\025pb.xiugou.x1.prot" +
      "obufb\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_AchievementInfoResponse_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_pb_AchievementInfoResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_AchievementInfoResponse_descriptor,
        new java.lang.String[] { "Point", "PointRewardId", "Tasks", "OverTasks", });
    internal_static_pb_AchievementTaskRewardRequest_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_pb_AchievementTaskRewardRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_AchievementTaskRewardRequest_descriptor,
        new java.lang.String[] { "TaskId", });
    internal_static_pb_AchievementTaskRewardResponse_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_pb_AchievementTaskRewardResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_AchievementTaskRewardResponse_descriptor,
        new java.lang.String[] { "TaskId", "NextTask", });
    internal_static_pb_AchievementPointRewardRequest_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_pb_AchievementPointRewardRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_AchievementPointRewardRequest_descriptor,
        new java.lang.String[] { });
    internal_static_pb_AchievementPointRewardResponse_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_pb_AchievementPointRewardResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_AchievementPointRewardResponse_descriptor,
        new java.lang.String[] { "PointRewardId", });
    pb.xiugou.x1.protobuf.ministruct.MiniStruct.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
