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

package emu.grasscutter.net.proto;

public final class GetActivityInfoRspOuterClass {
  private GetActivityInfoRspOuterClass() {}
  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 GetActivityInfoRspOrBuilder extends
      // @@protoc_insertion_point(interface_extends:GetActivityInfoRsp)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
     */
    java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> 
        getDisableTransferPointInteractionListList();
    /**
     * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
     */
    emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair getDisableTransferPointInteractionList(int index);
    /**
     * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
     */
    int getDisableTransferPointInteractionListCount();
    /**
     * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder> 
        getDisableTransferPointInteractionListOrBuilderList();
    /**
     * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
     */
    emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder getDisableTransferPointInteractionListOrBuilder(
        int index);

    /**
     * <code>int32 retcode = 6;</code>
     * @return The retcode.
     */
    int getRetcode();

    /**
     * <code>repeated .ActivityInfo activity_info_list = 2;</code>
     */
    java.util.List<emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo> 
        getActivityInfoListList();
    /**
     * <code>repeated .ActivityInfo activity_info_list = 2;</code>
     */
    emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo getActivityInfoList(int index);
    /**
     * <code>repeated .ActivityInfo activity_info_list = 2;</code>
     */
    int getActivityInfoListCount();
    /**
     * <code>repeated .ActivityInfo activity_info_list = 2;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfoOrBuilder> 
        getActivityInfoListOrBuilderList();
    /**
     * <code>repeated .ActivityInfo activity_info_list = 2;</code>
     */
    emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfoOrBuilder getActivityInfoListOrBuilder(
        int index);

    /**
     * <code>repeated uint32 activated_sale_id_list = 1;</code>
     * @return A list containing the activatedSaleIdList.
     */
    java.util.List<java.lang.Integer> getActivatedSaleIdListList();
    /**
     * <code>repeated uint32 activated_sale_id_list = 1;</code>
     * @return The count of activatedSaleIdList.
     */
    int getActivatedSaleIdListCount();
    /**
     * <code>repeated uint32 activated_sale_id_list = 1;</code>
     * @param index The index of the element to return.
     * @return The activatedSaleIdList at the given index.
     */
    int getActivatedSaleIdList(int index);
  }
  /**
   * <pre>
   * enum CmdId {
   *   option allow_alias = true;
   *   NONE = 0;
   *   CMD_ID = 2043;
   *   ENET_CHANNEL_ID = 0;
   *   ENET_IS_RELIABLE = 1;
   * }
   * </pre>
   *
   * Protobuf type {@code GetActivityInfoRsp}
   */
  public static final class GetActivityInfoRsp extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:GetActivityInfoRsp)
      GetActivityInfoRspOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetActivityInfoRsp.newBuilder() to construct.
    private GetActivityInfoRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GetActivityInfoRsp() {
      disableTransferPointInteractionList_ = java.util.Collections.emptyList();
      activityInfoList_ = java.util.Collections.emptyList();
      activatedSaleIdList_ = emptyIntList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetActivityInfoRsp(
        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: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                activatedSaleIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000004;
              }
              activatedSaleIdList_.addInt(input.readUInt32());
              break;
            }
            case 10: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
                activatedSaleIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000004;
              }
              while (input.getBytesUntilLimit() > 0) {
                activatedSaleIdList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                activityInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo>();
                mutable_bitField0_ |= 0x00000002;
              }
              activityInfoList_.add(
                  input.readMessage(emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo.parser(), extensionRegistry));
              break;
            }
            case 48: {

              retcode_ = input.readInt32();
              break;
            }
            case 82: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                disableTransferPointInteractionList_ = new java.util.ArrayList<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair>();
                mutable_bitField0_ |= 0x00000001;
              }
              disableTransferPointInteractionList_.add(
                  input.readMessage(emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          activatedSaleIdList_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          activityInfoList_ = java.util.Collections.unmodifiableList(activityInfoList_);
        }
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          disableTransferPointInteractionList_ = java.util.Collections.unmodifiableList(disableTransferPointInteractionList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.internal_static_GetActivityInfoRsp_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.internal_static_GetActivityInfoRsp_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp.class, emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp.Builder.class);
    }

    public static final int DISABLE_TRANSFER_POINT_INTERACTION_LIST_FIELD_NUMBER = 10;
    private java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> disableTransferPointInteractionList_;
    /**
     * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> getDisableTransferPointInteractionListList() {
      return disableTransferPointInteractionList_;
    }
    /**
     * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder> 
        getDisableTransferPointInteractionListOrBuilderList() {
      return disableTransferPointInteractionList_;
    }
    /**
     * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
     */
    @java.lang.Override
    public int getDisableTransferPointInteractionListCount() {
      return disableTransferPointInteractionList_.size();
    }
    /**
     * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair getDisableTransferPointInteractionList(int index) {
      return disableTransferPointInteractionList_.get(index);
    }
    /**
     * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder getDisableTransferPointInteractionListOrBuilder(
        int index) {
      return disableTransferPointInteractionList_.get(index);
    }

    public static final int RETCODE_FIELD_NUMBER = 6;
    private int retcode_;
    /**
     * <code>int32 retcode = 6;</code>
     * @return The retcode.
     */
    @java.lang.Override
    public int getRetcode() {
      return retcode_;
    }

    public static final int ACTIVITY_INFO_LIST_FIELD_NUMBER = 2;
    private java.util.List<emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo> activityInfoList_;
    /**
     * <code>repeated .ActivityInfo activity_info_list = 2;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo> getActivityInfoListList() {
      return activityInfoList_;
    }
    /**
     * <code>repeated .ActivityInfo activity_info_list = 2;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfoOrBuilder> 
        getActivityInfoListOrBuilderList() {
      return activityInfoList_;
    }
    /**
     * <code>repeated .ActivityInfo activity_info_list = 2;</code>
     */
    @java.lang.Override
    public int getActivityInfoListCount() {
      return activityInfoList_.size();
    }
    /**
     * <code>repeated .ActivityInfo activity_info_list = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo getActivityInfoList(int index) {
      return activityInfoList_.get(index);
    }
    /**
     * <code>repeated .ActivityInfo activity_info_list = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfoOrBuilder getActivityInfoListOrBuilder(
        int index) {
      return activityInfoList_.get(index);
    }

    public static final int ACTIVATED_SALE_ID_LIST_FIELD_NUMBER = 1;
    private com.google.protobuf.Internal.IntList activatedSaleIdList_;
    /**
     * <code>repeated uint32 activated_sale_id_list = 1;</code>
     * @return A list containing the activatedSaleIdList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getActivatedSaleIdListList() {
      return activatedSaleIdList_;
    }
    /**
     * <code>repeated uint32 activated_sale_id_list = 1;</code>
     * @return The count of activatedSaleIdList.
     */
    public int getActivatedSaleIdListCount() {
      return activatedSaleIdList_.size();
    }
    /**
     * <code>repeated uint32 activated_sale_id_list = 1;</code>
     * @param index The index of the element to return.
     * @return The activatedSaleIdList at the given index.
     */
    public int getActivatedSaleIdList(int index) {
      return activatedSaleIdList_.getInt(index);
    }
    private int activatedSaleIdListMemoizedSerializedSize = -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 (getActivatedSaleIdListList().size() > 0) {
        output.writeUInt32NoTag(10);
        output.writeUInt32NoTag(activatedSaleIdListMemoizedSerializedSize);
      }
      for (int i = 0; i < activatedSaleIdList_.size(); i++) {
        output.writeUInt32NoTag(activatedSaleIdList_.getInt(i));
      }
      for (int i = 0; i < activityInfoList_.size(); i++) {
        output.writeMessage(2, activityInfoList_.get(i));
      }
      if (retcode_ != 0) {
        output.writeInt32(6, retcode_);
      }
      for (int i = 0; i < disableTransferPointInteractionList_.size(); i++) {
        output.writeMessage(10, disableTransferPointInteractionList_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < activatedSaleIdList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(activatedSaleIdList_.getInt(i));
        }
        size += dataSize;
        if (!getActivatedSaleIdListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        activatedSaleIdListMemoizedSerializedSize = dataSize;
      }
      for (int i = 0; i < activityInfoList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, activityInfoList_.get(i));
      }
      if (retcode_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(6, retcode_);
      }
      for (int i = 0; i < disableTransferPointInteractionList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(10, disableTransferPointInteractionList_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp other = (emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp) obj;

      if (!getDisableTransferPointInteractionListList()
          .equals(other.getDisableTransferPointInteractionListList())) return false;
      if (getRetcode()
          != other.getRetcode()) return false;
      if (!getActivityInfoListList()
          .equals(other.getActivityInfoListList())) return false;
      if (!getActivatedSaleIdListList()
          .equals(other.getActivatedSaleIdListList())) 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();
      if (getDisableTransferPointInteractionListCount() > 0) {
        hash = (37 * hash) + DISABLE_TRANSFER_POINT_INTERACTION_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getDisableTransferPointInteractionListList().hashCode();
      }
      hash = (37 * hash) + RETCODE_FIELD_NUMBER;
      hash = (53 * hash) + getRetcode();
      if (getActivityInfoListCount() > 0) {
        hash = (37 * hash) + ACTIVITY_INFO_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getActivityInfoListList().hashCode();
      }
      if (getActivatedSaleIdListCount() > 0) {
        hash = (37 * hash) + ACTIVATED_SALE_ID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getActivatedSaleIdListList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp 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 emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp 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 emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp 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(emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp 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>
     * enum CmdId {
     *   option allow_alias = true;
     *   NONE = 0;
     *   CMD_ID = 2043;
     *   ENET_CHANNEL_ID = 0;
     *   ENET_IS_RELIABLE = 1;
     * }
     * </pre>
     *
     * Protobuf type {@code GetActivityInfoRsp}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:GetActivityInfoRsp)
        emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRspOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.internal_static_GetActivityInfoRsp_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.internal_static_GetActivityInfoRsp_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp.class, emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getDisableTransferPointInteractionListFieldBuilder();
          getActivityInfoListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (disableTransferPointInteractionListBuilder_ == null) {
          disableTransferPointInteractionList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          disableTransferPointInteractionListBuilder_.clear();
        }
        retcode_ = 0;

        if (activityInfoListBuilder_ == null) {
          activityInfoList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          activityInfoListBuilder_.clear();
        }
        activatedSaleIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.internal_static_GetActivityInfoRsp_descriptor;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp getDefaultInstanceForType() {
        return emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp.getDefaultInstance();
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp build() {
        emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp buildPartial() {
        emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp result = new emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp(this);
        int from_bitField0_ = bitField0_;
        if (disableTransferPointInteractionListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            disableTransferPointInteractionList_ = java.util.Collections.unmodifiableList(disableTransferPointInteractionList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.disableTransferPointInteractionList_ = disableTransferPointInteractionList_;
        } else {
          result.disableTransferPointInteractionList_ = disableTransferPointInteractionListBuilder_.build();
        }
        result.retcode_ = retcode_;
        if (activityInfoListBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            activityInfoList_ = java.util.Collections.unmodifiableList(activityInfoList_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.activityInfoList_ = activityInfoList_;
        } else {
          result.activityInfoList_ = activityInfoListBuilder_.build();
        }
        if (((bitField0_ & 0x00000004) != 0)) {
          activatedSaleIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.activatedSaleIdList_ = activatedSaleIdList_;
        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 emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp) {
          return mergeFrom((emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp other) {
        if (other == emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp.getDefaultInstance()) return this;
        if (disableTransferPointInteractionListBuilder_ == null) {
          if (!other.disableTransferPointInteractionList_.isEmpty()) {
            if (disableTransferPointInteractionList_.isEmpty()) {
              disableTransferPointInteractionList_ = other.disableTransferPointInteractionList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureDisableTransferPointInteractionListIsMutable();
              disableTransferPointInteractionList_.addAll(other.disableTransferPointInteractionList_);
            }
            onChanged();
          }
        } else {
          if (!other.disableTransferPointInteractionList_.isEmpty()) {
            if (disableTransferPointInteractionListBuilder_.isEmpty()) {
              disableTransferPointInteractionListBuilder_.dispose();
              disableTransferPointInteractionListBuilder_ = null;
              disableTransferPointInteractionList_ = other.disableTransferPointInteractionList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              disableTransferPointInteractionListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getDisableTransferPointInteractionListFieldBuilder() : null;
            } else {
              disableTransferPointInteractionListBuilder_.addAllMessages(other.disableTransferPointInteractionList_);
            }
          }
        }
        if (other.getRetcode() != 0) {
          setRetcode(other.getRetcode());
        }
        if (activityInfoListBuilder_ == null) {
          if (!other.activityInfoList_.isEmpty()) {
            if (activityInfoList_.isEmpty()) {
              activityInfoList_ = other.activityInfoList_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureActivityInfoListIsMutable();
              activityInfoList_.addAll(other.activityInfoList_);
            }
            onChanged();
          }
        } else {
          if (!other.activityInfoList_.isEmpty()) {
            if (activityInfoListBuilder_.isEmpty()) {
              activityInfoListBuilder_.dispose();
              activityInfoListBuilder_ = null;
              activityInfoList_ = other.activityInfoList_;
              bitField0_ = (bitField0_ & ~0x00000002);
              activityInfoListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getActivityInfoListFieldBuilder() : null;
            } else {
              activityInfoListBuilder_.addAllMessages(other.activityInfoList_);
            }
          }
        }
        if (!other.activatedSaleIdList_.isEmpty()) {
          if (activatedSaleIdList_.isEmpty()) {
            activatedSaleIdList_ = other.activatedSaleIdList_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureActivatedSaleIdListIsMutable();
            activatedSaleIdList_.addAll(other.activatedSaleIdList_);
          }
          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 {
        emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> disableTransferPointInteractionList_ =
        java.util.Collections.emptyList();
      private void ensureDisableTransferPointInteractionListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          disableTransferPointInteractionList_ = new java.util.ArrayList<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair>(disableTransferPointInteractionList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder> disableTransferPointInteractionListBuilder_;

      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> getDisableTransferPointInteractionListList() {
        if (disableTransferPointInteractionListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(disableTransferPointInteractionList_);
        } else {
          return disableTransferPointInteractionListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public int getDisableTransferPointInteractionListCount() {
        if (disableTransferPointInteractionListBuilder_ == null) {
          return disableTransferPointInteractionList_.size();
        } else {
          return disableTransferPointInteractionListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair getDisableTransferPointInteractionList(int index) {
        if (disableTransferPointInteractionListBuilder_ == null) {
          return disableTransferPointInteractionList_.get(index);
        } else {
          return disableTransferPointInteractionListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public Builder setDisableTransferPointInteractionList(
          int index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair value) {
        if (disableTransferPointInteractionListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDisableTransferPointInteractionListIsMutable();
          disableTransferPointInteractionList_.set(index, value);
          onChanged();
        } else {
          disableTransferPointInteractionListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public Builder setDisableTransferPointInteractionList(
          int index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder builderForValue) {
        if (disableTransferPointInteractionListBuilder_ == null) {
          ensureDisableTransferPointInteractionListIsMutable();
          disableTransferPointInteractionList_.set(index, builderForValue.build());
          onChanged();
        } else {
          disableTransferPointInteractionListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public Builder addDisableTransferPointInteractionList(emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair value) {
        if (disableTransferPointInteractionListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDisableTransferPointInteractionListIsMutable();
          disableTransferPointInteractionList_.add(value);
          onChanged();
        } else {
          disableTransferPointInteractionListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public Builder addDisableTransferPointInteractionList(
          int index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair value) {
        if (disableTransferPointInteractionListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDisableTransferPointInteractionListIsMutable();
          disableTransferPointInteractionList_.add(index, value);
          onChanged();
        } else {
          disableTransferPointInteractionListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public Builder addDisableTransferPointInteractionList(
          emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder builderForValue) {
        if (disableTransferPointInteractionListBuilder_ == null) {
          ensureDisableTransferPointInteractionListIsMutable();
          disableTransferPointInteractionList_.add(builderForValue.build());
          onChanged();
        } else {
          disableTransferPointInteractionListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public Builder addDisableTransferPointInteractionList(
          int index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder builderForValue) {
        if (disableTransferPointInteractionListBuilder_ == null) {
          ensureDisableTransferPointInteractionListIsMutable();
          disableTransferPointInteractionList_.add(index, builderForValue.build());
          onChanged();
        } else {
          disableTransferPointInteractionListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public Builder addAllDisableTransferPointInteractionList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> values) {
        if (disableTransferPointInteractionListBuilder_ == null) {
          ensureDisableTransferPointInteractionListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, disableTransferPointInteractionList_);
          onChanged();
        } else {
          disableTransferPointInteractionListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public Builder clearDisableTransferPointInteractionList() {
        if (disableTransferPointInteractionListBuilder_ == null) {
          disableTransferPointInteractionList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          disableTransferPointInteractionListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public Builder removeDisableTransferPointInteractionList(int index) {
        if (disableTransferPointInteractionListBuilder_ == null) {
          ensureDisableTransferPointInteractionListIsMutable();
          disableTransferPointInteractionList_.remove(index);
          onChanged();
        } else {
          disableTransferPointInteractionListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder getDisableTransferPointInteractionListBuilder(
          int index) {
        return getDisableTransferPointInteractionListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder getDisableTransferPointInteractionListOrBuilder(
          int index) {
        if (disableTransferPointInteractionListBuilder_ == null) {
          return disableTransferPointInteractionList_.get(index);  } else {
          return disableTransferPointInteractionListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder> 
           getDisableTransferPointInteractionListOrBuilderList() {
        if (disableTransferPointInteractionListBuilder_ != null) {
          return disableTransferPointInteractionListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(disableTransferPointInteractionList_);
        }
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder addDisableTransferPointInteractionListBuilder() {
        return getDisableTransferPointInteractionListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.getDefaultInstance());
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder addDisableTransferPointInteractionListBuilder(
          int index) {
        return getDisableTransferPointInteractionListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.getDefaultInstance());
      }
      /**
       * <code>repeated .Uint32Pair disable_transfer_point_interaction_list = 10;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder> 
           getDisableTransferPointInteractionListBuilderList() {
        return getDisableTransferPointInteractionListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder> 
          getDisableTransferPointInteractionListFieldBuilder() {
        if (disableTransferPointInteractionListBuilder_ == null) {
          disableTransferPointInteractionListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder>(
                  disableTransferPointInteractionList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          disableTransferPointInteractionList_ = null;
        }
        return disableTransferPointInteractionListBuilder_;
      }

      private int retcode_ ;
      /**
       * <code>int32 retcode = 6;</code>
       * @return The retcode.
       */
      @java.lang.Override
      public int getRetcode() {
        return retcode_;
      }
      /**
       * <code>int32 retcode = 6;</code>
       * @param value The retcode to set.
       * @return This builder for chaining.
       */
      public Builder setRetcode(int value) {
        
        retcode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 retcode = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearRetcode() {
        
        retcode_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo> activityInfoList_ =
        java.util.Collections.emptyList();
      private void ensureActivityInfoListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          activityInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo>(activityInfoList_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo, emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo.Builder, emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfoOrBuilder> activityInfoListBuilder_;

      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo> getActivityInfoListList() {
        if (activityInfoListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(activityInfoList_);
        } else {
          return activityInfoListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public int getActivityInfoListCount() {
        if (activityInfoListBuilder_ == null) {
          return activityInfoList_.size();
        } else {
          return activityInfoListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo getActivityInfoList(int index) {
        if (activityInfoListBuilder_ == null) {
          return activityInfoList_.get(index);
        } else {
          return activityInfoListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public Builder setActivityInfoList(
          int index, emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo value) {
        if (activityInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureActivityInfoListIsMutable();
          activityInfoList_.set(index, value);
          onChanged();
        } else {
          activityInfoListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public Builder setActivityInfoList(
          int index, emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo.Builder builderForValue) {
        if (activityInfoListBuilder_ == null) {
          ensureActivityInfoListIsMutable();
          activityInfoList_.set(index, builderForValue.build());
          onChanged();
        } else {
          activityInfoListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public Builder addActivityInfoList(emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo value) {
        if (activityInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureActivityInfoListIsMutable();
          activityInfoList_.add(value);
          onChanged();
        } else {
          activityInfoListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public Builder addActivityInfoList(
          int index, emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo value) {
        if (activityInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureActivityInfoListIsMutable();
          activityInfoList_.add(index, value);
          onChanged();
        } else {
          activityInfoListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public Builder addActivityInfoList(
          emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo.Builder builderForValue) {
        if (activityInfoListBuilder_ == null) {
          ensureActivityInfoListIsMutable();
          activityInfoList_.add(builderForValue.build());
          onChanged();
        } else {
          activityInfoListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public Builder addActivityInfoList(
          int index, emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo.Builder builderForValue) {
        if (activityInfoListBuilder_ == null) {
          ensureActivityInfoListIsMutable();
          activityInfoList_.add(index, builderForValue.build());
          onChanged();
        } else {
          activityInfoListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public Builder addAllActivityInfoList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo> values) {
        if (activityInfoListBuilder_ == null) {
          ensureActivityInfoListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, activityInfoList_);
          onChanged();
        } else {
          activityInfoListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public Builder clearActivityInfoList() {
        if (activityInfoListBuilder_ == null) {
          activityInfoList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          activityInfoListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public Builder removeActivityInfoList(int index) {
        if (activityInfoListBuilder_ == null) {
          ensureActivityInfoListIsMutable();
          activityInfoList_.remove(index);
          onChanged();
        } else {
          activityInfoListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo.Builder getActivityInfoListBuilder(
          int index) {
        return getActivityInfoListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfoOrBuilder getActivityInfoListOrBuilder(
          int index) {
        if (activityInfoListBuilder_ == null) {
          return activityInfoList_.get(index);  } else {
          return activityInfoListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfoOrBuilder> 
           getActivityInfoListOrBuilderList() {
        if (activityInfoListBuilder_ != null) {
          return activityInfoListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(activityInfoList_);
        }
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo.Builder addActivityInfoListBuilder() {
        return getActivityInfoListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo.Builder addActivityInfoListBuilder(
          int index) {
        return getActivityInfoListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .ActivityInfo activity_info_list = 2;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo.Builder> 
           getActivityInfoListBuilderList() {
        return getActivityInfoListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo, emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo.Builder, emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfoOrBuilder> 
          getActivityInfoListFieldBuilder() {
        if (activityInfoListBuilder_ == null) {
          activityInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo, emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfo.Builder, emu.grasscutter.net.proto.ActivityInfoOuterClass.ActivityInfoOrBuilder>(
                  activityInfoList_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          activityInfoList_ = null;
        }
        return activityInfoListBuilder_;
      }

      private com.google.protobuf.Internal.IntList activatedSaleIdList_ = emptyIntList();
      private void ensureActivatedSaleIdListIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          activatedSaleIdList_ = mutableCopy(activatedSaleIdList_);
          bitField0_ |= 0x00000004;
         }
      }
      /**
       * <code>repeated uint32 activated_sale_id_list = 1;</code>
       * @return A list containing the activatedSaleIdList.
       */
      public java.util.List<java.lang.Integer>
          getActivatedSaleIdListList() {
        return ((bitField0_ & 0x00000004) != 0) ?
                 java.util.Collections.unmodifiableList(activatedSaleIdList_) : activatedSaleIdList_;
      }
      /**
       * <code>repeated uint32 activated_sale_id_list = 1;</code>
       * @return The count of activatedSaleIdList.
       */
      public int getActivatedSaleIdListCount() {
        return activatedSaleIdList_.size();
      }
      /**
       * <code>repeated uint32 activated_sale_id_list = 1;</code>
       * @param index The index of the element to return.
       * @return The activatedSaleIdList at the given index.
       */
      public int getActivatedSaleIdList(int index) {
        return activatedSaleIdList_.getInt(index);
      }
      /**
       * <code>repeated uint32 activated_sale_id_list = 1;</code>
       * @param index The index to set the value at.
       * @param value The activatedSaleIdList to set.
       * @return This builder for chaining.
       */
      public Builder setActivatedSaleIdList(
          int index, int value) {
        ensureActivatedSaleIdListIsMutable();
        activatedSaleIdList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 activated_sale_id_list = 1;</code>
       * @param value The activatedSaleIdList to add.
       * @return This builder for chaining.
       */
      public Builder addActivatedSaleIdList(int value) {
        ensureActivatedSaleIdListIsMutable();
        activatedSaleIdList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 activated_sale_id_list = 1;</code>
       * @param values The activatedSaleIdList to add.
       * @return This builder for chaining.
       */
      public Builder addAllActivatedSaleIdList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureActivatedSaleIdListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, activatedSaleIdList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 activated_sale_id_list = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearActivatedSaleIdList() {
        activatedSaleIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000004);
        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:GetActivityInfoRsp)
    }

    // @@protoc_insertion_point(class_scope:GetActivityInfoRsp)
    private static final emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp();
    }

    public static emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public emu.grasscutter.net.proto.GetActivityInfoRspOuterClass.GetActivityInfoRsp getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_GetActivityInfoRsp_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_GetActivityInfoRsp_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\030GetActivityInfoRsp.proto\032\022ActivityInfo" +
      ".proto\032\020Uint32Pair.proto\"\256\001\n\022GetActivity" +
      "InfoRsp\022<\n\'disable_transfer_point_intera" +
      "ction_list\030\n \003(\0132\013.Uint32Pair\022\017\n\007retcode" +
      "\030\006 \001(\005\022)\n\022activity_info_list\030\002 \003(\0132\r.Act" +
      "ivityInfo\022\036\n\026activated_sale_id_list\030\001 \003(" +
      "\rB\033\n\031emu.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.ActivityInfoOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.Uint32PairOuterClass.getDescriptor(),
        });
    internal_static_GetActivityInfoRsp_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_GetActivityInfoRsp_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_GetActivityInfoRsp_descriptor,
        new java.lang.String[] { "DisableTransferPointInteractionList", "Retcode", "ActivityInfoList", "ActivatedSaleIdList", });
    emu.grasscutter.net.proto.ActivityInfoOuterClass.getDescriptor();
    emu.grasscutter.net.proto.Uint32PairOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
