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

package emu.grasscutter.net.proto;

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

    /**
     * <code>bool is_can_attack = 4;</code>
     * @return The isCanAttack.
     */
    boolean getIsCanAttack();

    /**
     * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
     */
    java.util.List<emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo> 
        getAttackCostListList();
    /**
     * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
     */
    emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo getAttackCostList(int index);
    /**
     * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
     */
    int getAttackCostListCount();
    /**
     * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfoOrBuilder> 
        getAttackCostListOrBuilderList();
    /**
     * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
     */
    emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfoOrBuilder getAttackCostListOrBuilder(
        int index);

    /**
     * <code>repeated uint32 can_use_hand_card_id_list = 12;</code>
     * @return A list containing the canUseHandCardIdList.
     */
    java.util.List<java.lang.Integer> getCanUseHandCardIdListList();
    /**
     * <code>repeated uint32 can_use_hand_card_id_list = 12;</code>
     * @return The count of canUseHandCardIdList.
     */
    int getCanUseHandCardIdListCount();
    /**
     * <code>repeated uint32 can_use_hand_card_id_list = 12;</code>
     * @param index The index of the element to return.
     * @return The canUseHandCardIdList at the given index.
     */
    int getCanUseHandCardIdList(int index);

    /**
     * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
     */
    java.util.List<emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo> 
        getPlayCardCostListList();
    /**
     * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
     */
    emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo getPlayCardCostList(int index);
    /**
     * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
     */
    int getPlayCardCostListCount();
    /**
     * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfoOrBuilder> 
        getPlayCardCostListOrBuilderList();
    /**
     * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
     */
    emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfoOrBuilder getPlayCardCostListOrBuilder(
        int index);

    /**
     * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
     */
    java.util.List<emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo> 
        getSelectOnStageCostListList();
    /**
     * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
     */
    emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo getSelectOnStageCostList(int index);
    /**
     * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
     */
    int getSelectOnStageCostListCount();
    /**
     * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfoOrBuilder> 
        getSelectOnStageCostListOrBuilderList();
    /**
     * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
     */
    emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfoOrBuilder getSelectOnStageCostListOrBuilder(
        int index);
  }
  /**
   * <pre>
   * Obf: IHIBNCDNGPC
   * </pre>
   *
   * Protobuf type {@code GCGCostReviseInfo}
   */
  public static final class GCGCostReviseInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:GCGCostReviseInfo)
      GCGCostReviseInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GCGCostReviseInfo.newBuilder() to construct.
    private GCGCostReviseInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GCGCostReviseInfo() {
      attackCostList_ = java.util.Collections.emptyList();
      canUseHandCardIdList_ = emptyIntList();
      playCardCostList_ = java.util.Collections.emptyList();
      selectOnStageCostList_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GCGCostReviseInfo(
        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 10: {
              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
                selectOnStageCostList_ = new java.util.ArrayList<emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo>();
                mutable_bitField0_ |= 0x00000008;
              }
              selectOnStageCostList_.add(
                  input.readMessage(emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo.parser(), extensionRegistry));
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                attackCostList_ = new java.util.ArrayList<emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo>();
                mutable_bitField0_ |= 0x00000001;
              }
              attackCostList_.add(
                  input.readMessage(emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo.parser(), extensionRegistry));
              break;
            }
            case 32: {

              isCanAttack_ = input.readBool();
              break;
            }
            case 66: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                playCardCostList_ = new java.util.ArrayList<emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo>();
                mutable_bitField0_ |= 0x00000004;
              }
              playCardCostList_.add(
                  input.readMessage(emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo.parser(), extensionRegistry));
              break;
            }
            case 96: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                canUseHandCardIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              canUseHandCardIdList_.addInt(input.readUInt32());
              break;
            }
            case 98: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
                canUseHandCardIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                canUseHandCardIdList_.addInt(input.readUInt32());
              }
              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_ & 0x00000008) != 0)) {
          selectOnStageCostList_ = java.util.Collections.unmodifiableList(selectOnStageCostList_);
        }
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          attackCostList_ = java.util.Collections.unmodifiableList(attackCostList_);
        }
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          playCardCostList_ = java.util.Collections.unmodifiableList(playCardCostList_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          canUseHandCardIdList_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.internal_static_GCGCostReviseInfo_descriptor;
    }

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

    public static final int IS_CAN_ATTACK_FIELD_NUMBER = 4;
    private boolean isCanAttack_;
    /**
     * <code>bool is_can_attack = 4;</code>
     * @return The isCanAttack.
     */
    @java.lang.Override
    public boolean getIsCanAttack() {
      return isCanAttack_;
    }

    public static final int ATTACK_COST_LIST_FIELD_NUMBER = 3;
    private java.util.List<emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo> attackCostList_;
    /**
     * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo> getAttackCostListList() {
      return attackCostList_;
    }
    /**
     * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfoOrBuilder> 
        getAttackCostListOrBuilderList() {
      return attackCostList_;
    }
    /**
     * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
     */
    @java.lang.Override
    public int getAttackCostListCount() {
      return attackCostList_.size();
    }
    /**
     * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo getAttackCostList(int index) {
      return attackCostList_.get(index);
    }
    /**
     * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfoOrBuilder getAttackCostListOrBuilder(
        int index) {
      return attackCostList_.get(index);
    }

    public static final int CAN_USE_HAND_CARD_ID_LIST_FIELD_NUMBER = 12;
    private com.google.protobuf.Internal.IntList canUseHandCardIdList_;
    /**
     * <code>repeated uint32 can_use_hand_card_id_list = 12;</code>
     * @return A list containing the canUseHandCardIdList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getCanUseHandCardIdListList() {
      return canUseHandCardIdList_;
    }
    /**
     * <code>repeated uint32 can_use_hand_card_id_list = 12;</code>
     * @return The count of canUseHandCardIdList.
     */
    public int getCanUseHandCardIdListCount() {
      return canUseHandCardIdList_.size();
    }
    /**
     * <code>repeated uint32 can_use_hand_card_id_list = 12;</code>
     * @param index The index of the element to return.
     * @return The canUseHandCardIdList at the given index.
     */
    public int getCanUseHandCardIdList(int index) {
      return canUseHandCardIdList_.getInt(index);
    }
    private int canUseHandCardIdListMemoizedSerializedSize = -1;

    public static final int PLAY_CARD_COST_LIST_FIELD_NUMBER = 8;
    private java.util.List<emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo> playCardCostList_;
    /**
     * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo> getPlayCardCostListList() {
      return playCardCostList_;
    }
    /**
     * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfoOrBuilder> 
        getPlayCardCostListOrBuilderList() {
      return playCardCostList_;
    }
    /**
     * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
     */
    @java.lang.Override
    public int getPlayCardCostListCount() {
      return playCardCostList_.size();
    }
    /**
     * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo getPlayCardCostList(int index) {
      return playCardCostList_.get(index);
    }
    /**
     * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfoOrBuilder getPlayCardCostListOrBuilder(
        int index) {
      return playCardCostList_.get(index);
    }

    public static final int SELECT_ON_STAGE_COST_LIST_FIELD_NUMBER = 1;
    private java.util.List<emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo> selectOnStageCostList_;
    /**
     * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo> getSelectOnStageCostListList() {
      return selectOnStageCostList_;
    }
    /**
     * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfoOrBuilder> 
        getSelectOnStageCostListOrBuilderList() {
      return selectOnStageCostList_;
    }
    /**
     * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
     */
    @java.lang.Override
    public int getSelectOnStageCostListCount() {
      return selectOnStageCostList_.size();
    }
    /**
     * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo getSelectOnStageCostList(int index) {
      return selectOnStageCostList_.get(index);
    }
    /**
     * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfoOrBuilder getSelectOnStageCostListOrBuilder(
        int index) {
      return selectOnStageCostList_.get(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < selectOnStageCostList_.size(); i++) {
        output.writeMessage(1, selectOnStageCostList_.get(i));
      }
      for (int i = 0; i < attackCostList_.size(); i++) {
        output.writeMessage(3, attackCostList_.get(i));
      }
      if (isCanAttack_ != false) {
        output.writeBool(4, isCanAttack_);
      }
      for (int i = 0; i < playCardCostList_.size(); i++) {
        output.writeMessage(8, playCardCostList_.get(i));
      }
      if (getCanUseHandCardIdListList().size() > 0) {
        output.writeUInt32NoTag(98);
        output.writeUInt32NoTag(canUseHandCardIdListMemoizedSerializedSize);
      }
      for (int i = 0; i < canUseHandCardIdList_.size(); i++) {
        output.writeUInt32NoTag(canUseHandCardIdList_.getInt(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < selectOnStageCostList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, selectOnStageCostList_.get(i));
      }
      for (int i = 0; i < attackCostList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, attackCostList_.get(i));
      }
      if (isCanAttack_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(4, isCanAttack_);
      }
      for (int i = 0; i < playCardCostList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, playCardCostList_.get(i));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < canUseHandCardIdList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(canUseHandCardIdList_.getInt(i));
        }
        size += dataSize;
        if (!getCanUseHandCardIdListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        canUseHandCardIdListMemoizedSerializedSize = 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 emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo other = (emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo) obj;

      if (getIsCanAttack()
          != other.getIsCanAttack()) return false;
      if (!getAttackCostListList()
          .equals(other.getAttackCostListList())) return false;
      if (!getCanUseHandCardIdListList()
          .equals(other.getCanUseHandCardIdListList())) return false;
      if (!getPlayCardCostListList()
          .equals(other.getPlayCardCostListList())) return false;
      if (!getSelectOnStageCostListList()
          .equals(other.getSelectOnStageCostListList())) 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) + IS_CAN_ATTACK_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsCanAttack());
      if (getAttackCostListCount() > 0) {
        hash = (37 * hash) + ATTACK_COST_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getAttackCostListList().hashCode();
      }
      if (getCanUseHandCardIdListCount() > 0) {
        hash = (37 * hash) + CAN_USE_HAND_CARD_ID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getCanUseHandCardIdListList().hashCode();
      }
      if (getPlayCardCostListCount() > 0) {
        hash = (37 * hash) + PLAY_CARD_COST_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getPlayCardCostListList().hashCode();
      }
      if (getSelectOnStageCostListCount() > 0) {
        hash = (37 * hash) + SELECT_ON_STAGE_COST_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getSelectOnStageCostListList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo 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.GCGCostReviseInfoOuterClass.GCGCostReviseInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo 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.GCGCostReviseInfoOuterClass.GCGCostReviseInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo 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.GCGCostReviseInfoOuterClass.GCGCostReviseInfo parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo 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.GCGCostReviseInfoOuterClass.GCGCostReviseInfo parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo 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.GCGCostReviseInfoOuterClass.GCGCostReviseInfo 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>
     * Obf: IHIBNCDNGPC
     * </pre>
     *
     * Protobuf type {@code GCGCostReviseInfo}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:GCGCostReviseInfo)
        emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.internal_static_GCGCostReviseInfo_descriptor;
      }

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

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

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

        if (attackCostListBuilder_ == null) {
          attackCostList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          attackCostListBuilder_.clear();
        }
        canUseHandCardIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        if (playCardCostListBuilder_ == null) {
          playCardCostList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          playCardCostListBuilder_.clear();
        }
        if (selectOnStageCostListBuilder_ == null) {
          selectOnStageCostList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
        } else {
          selectOnStageCostListBuilder_.clear();
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo buildPartial() {
        emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo result = new emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo(this);
        int from_bitField0_ = bitField0_;
        result.isCanAttack_ = isCanAttack_;
        if (attackCostListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            attackCostList_ = java.util.Collections.unmodifiableList(attackCostList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.attackCostList_ = attackCostList_;
        } else {
          result.attackCostList_ = attackCostListBuilder_.build();
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          canUseHandCardIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.canUseHandCardIdList_ = canUseHandCardIdList_;
        if (playCardCostListBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)) {
            playCardCostList_ = java.util.Collections.unmodifiableList(playCardCostList_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.playCardCostList_ = playCardCostList_;
        } else {
          result.playCardCostList_ = playCardCostListBuilder_.build();
        }
        if (selectOnStageCostListBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0)) {
            selectOnStageCostList_ = java.util.Collections.unmodifiableList(selectOnStageCostList_);
            bitField0_ = (bitField0_ & ~0x00000008);
          }
          result.selectOnStageCostList_ = selectOnStageCostList_;
        } else {
          result.selectOnStageCostList_ = selectOnStageCostListBuilder_.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 emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo) {
          return mergeFrom((emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo other) {
        if (other == emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo.getDefaultInstance()) return this;
        if (other.getIsCanAttack() != false) {
          setIsCanAttack(other.getIsCanAttack());
        }
        if (attackCostListBuilder_ == null) {
          if (!other.attackCostList_.isEmpty()) {
            if (attackCostList_.isEmpty()) {
              attackCostList_ = other.attackCostList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureAttackCostListIsMutable();
              attackCostList_.addAll(other.attackCostList_);
            }
            onChanged();
          }
        } else {
          if (!other.attackCostList_.isEmpty()) {
            if (attackCostListBuilder_.isEmpty()) {
              attackCostListBuilder_.dispose();
              attackCostListBuilder_ = null;
              attackCostList_ = other.attackCostList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              attackCostListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getAttackCostListFieldBuilder() : null;
            } else {
              attackCostListBuilder_.addAllMessages(other.attackCostList_);
            }
          }
        }
        if (!other.canUseHandCardIdList_.isEmpty()) {
          if (canUseHandCardIdList_.isEmpty()) {
            canUseHandCardIdList_ = other.canUseHandCardIdList_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureCanUseHandCardIdListIsMutable();
            canUseHandCardIdList_.addAll(other.canUseHandCardIdList_);
          }
          onChanged();
        }
        if (playCardCostListBuilder_ == null) {
          if (!other.playCardCostList_.isEmpty()) {
            if (playCardCostList_.isEmpty()) {
              playCardCostList_ = other.playCardCostList_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensurePlayCardCostListIsMutable();
              playCardCostList_.addAll(other.playCardCostList_);
            }
            onChanged();
          }
        } else {
          if (!other.playCardCostList_.isEmpty()) {
            if (playCardCostListBuilder_.isEmpty()) {
              playCardCostListBuilder_.dispose();
              playCardCostListBuilder_ = null;
              playCardCostList_ = other.playCardCostList_;
              bitField0_ = (bitField0_ & ~0x00000004);
              playCardCostListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getPlayCardCostListFieldBuilder() : null;
            } else {
              playCardCostListBuilder_.addAllMessages(other.playCardCostList_);
            }
          }
        }
        if (selectOnStageCostListBuilder_ == null) {
          if (!other.selectOnStageCostList_.isEmpty()) {
            if (selectOnStageCostList_.isEmpty()) {
              selectOnStageCostList_ = other.selectOnStageCostList_;
              bitField0_ = (bitField0_ & ~0x00000008);
            } else {
              ensureSelectOnStageCostListIsMutable();
              selectOnStageCostList_.addAll(other.selectOnStageCostList_);
            }
            onChanged();
          }
        } else {
          if (!other.selectOnStageCostList_.isEmpty()) {
            if (selectOnStageCostListBuilder_.isEmpty()) {
              selectOnStageCostListBuilder_.dispose();
              selectOnStageCostListBuilder_ = null;
              selectOnStageCostList_ = other.selectOnStageCostList_;
              bitField0_ = (bitField0_ & ~0x00000008);
              selectOnStageCostListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getSelectOnStageCostListFieldBuilder() : null;
            } else {
              selectOnStageCostListBuilder_.addAllMessages(other.selectOnStageCostList_);
            }
          }
        }
        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.GCGCostReviseInfoOuterClass.GCGCostReviseInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private boolean isCanAttack_ ;
      /**
       * <code>bool is_can_attack = 4;</code>
       * @return The isCanAttack.
       */
      @java.lang.Override
      public boolean getIsCanAttack() {
        return isCanAttack_;
      }
      /**
       * <code>bool is_can_attack = 4;</code>
       * @param value The isCanAttack to set.
       * @return This builder for chaining.
       */
      public Builder setIsCanAttack(boolean value) {
        
        isCanAttack_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_can_attack = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsCanAttack() {
        
        isCanAttack_ = false;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo> attackCostList_ =
        java.util.Collections.emptyList();
      private void ensureAttackCostListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          attackCostList_ = new java.util.ArrayList<emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo>(attackCostList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo, emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo.Builder, emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfoOrBuilder> attackCostListBuilder_;

      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo> getAttackCostListList() {
        if (attackCostListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(attackCostList_);
        } else {
          return attackCostListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public int getAttackCostListCount() {
        if (attackCostListBuilder_ == null) {
          return attackCostList_.size();
        } else {
          return attackCostListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo getAttackCostList(int index) {
        if (attackCostListBuilder_ == null) {
          return attackCostList_.get(index);
        } else {
          return attackCostListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public Builder setAttackCostList(
          int index, emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo value) {
        if (attackCostListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAttackCostListIsMutable();
          attackCostList_.set(index, value);
          onChanged();
        } else {
          attackCostListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public Builder setAttackCostList(
          int index, emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo.Builder builderForValue) {
        if (attackCostListBuilder_ == null) {
          ensureAttackCostListIsMutable();
          attackCostList_.set(index, builderForValue.build());
          onChanged();
        } else {
          attackCostListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public Builder addAttackCostList(emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo value) {
        if (attackCostListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAttackCostListIsMutable();
          attackCostList_.add(value);
          onChanged();
        } else {
          attackCostListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public Builder addAttackCostList(
          int index, emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo value) {
        if (attackCostListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAttackCostListIsMutable();
          attackCostList_.add(index, value);
          onChanged();
        } else {
          attackCostListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public Builder addAttackCostList(
          emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo.Builder builderForValue) {
        if (attackCostListBuilder_ == null) {
          ensureAttackCostListIsMutable();
          attackCostList_.add(builderForValue.build());
          onChanged();
        } else {
          attackCostListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public Builder addAttackCostList(
          int index, emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo.Builder builderForValue) {
        if (attackCostListBuilder_ == null) {
          ensureAttackCostListIsMutable();
          attackCostList_.add(index, builderForValue.build());
          onChanged();
        } else {
          attackCostListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public Builder addAllAttackCostList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo> values) {
        if (attackCostListBuilder_ == null) {
          ensureAttackCostListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, attackCostList_);
          onChanged();
        } else {
          attackCostListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public Builder clearAttackCostList() {
        if (attackCostListBuilder_ == null) {
          attackCostList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          attackCostListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public Builder removeAttackCostList(int index) {
        if (attackCostListBuilder_ == null) {
          ensureAttackCostListIsMutable();
          attackCostList_.remove(index);
          onChanged();
        } else {
          attackCostListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo.Builder getAttackCostListBuilder(
          int index) {
        return getAttackCostListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfoOrBuilder getAttackCostListOrBuilder(
          int index) {
        if (attackCostListBuilder_ == null) {
          return attackCostList_.get(index);  } else {
          return attackCostListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfoOrBuilder> 
           getAttackCostListOrBuilderList() {
        if (attackCostListBuilder_ != null) {
          return attackCostListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(attackCostList_);
        }
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo.Builder addAttackCostListBuilder() {
        return getAttackCostListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo.Builder addAttackCostListBuilder(
          int index) {
        return getAttackCostListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .GCGAttackCostInfo attack_cost_list = 3;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo.Builder> 
           getAttackCostListBuilderList() {
        return getAttackCostListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo, emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo.Builder, emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfoOrBuilder> 
          getAttackCostListFieldBuilder() {
        if (attackCostListBuilder_ == null) {
          attackCostListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo, emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfo.Builder, emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.GCGAttackCostInfoOrBuilder>(
                  attackCostList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          attackCostList_ = null;
        }
        return attackCostListBuilder_;
      }

      private com.google.protobuf.Internal.IntList canUseHandCardIdList_ = emptyIntList();
      private void ensureCanUseHandCardIdListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          canUseHandCardIdList_ = mutableCopy(canUseHandCardIdList_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <code>repeated uint32 can_use_hand_card_id_list = 12;</code>
       * @return A list containing the canUseHandCardIdList.
       */
      public java.util.List<java.lang.Integer>
          getCanUseHandCardIdListList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(canUseHandCardIdList_) : canUseHandCardIdList_;
      }
      /**
       * <code>repeated uint32 can_use_hand_card_id_list = 12;</code>
       * @return The count of canUseHandCardIdList.
       */
      public int getCanUseHandCardIdListCount() {
        return canUseHandCardIdList_.size();
      }
      /**
       * <code>repeated uint32 can_use_hand_card_id_list = 12;</code>
       * @param index The index of the element to return.
       * @return The canUseHandCardIdList at the given index.
       */
      public int getCanUseHandCardIdList(int index) {
        return canUseHandCardIdList_.getInt(index);
      }
      /**
       * <code>repeated uint32 can_use_hand_card_id_list = 12;</code>
       * @param index The index to set the value at.
       * @param value The canUseHandCardIdList to set.
       * @return This builder for chaining.
       */
      public Builder setCanUseHandCardIdList(
          int index, int value) {
        ensureCanUseHandCardIdListIsMutable();
        canUseHandCardIdList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 can_use_hand_card_id_list = 12;</code>
       * @param value The canUseHandCardIdList to add.
       * @return This builder for chaining.
       */
      public Builder addCanUseHandCardIdList(int value) {
        ensureCanUseHandCardIdListIsMutable();
        canUseHandCardIdList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 can_use_hand_card_id_list = 12;</code>
       * @param values The canUseHandCardIdList to add.
       * @return This builder for chaining.
       */
      public Builder addAllCanUseHandCardIdList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureCanUseHandCardIdListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, canUseHandCardIdList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 can_use_hand_card_id_list = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearCanUseHandCardIdList() {
        canUseHandCardIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo> playCardCostList_ =
        java.util.Collections.emptyList();
      private void ensurePlayCardCostListIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          playCardCostList_ = new java.util.ArrayList<emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo>(playCardCostList_);
          bitField0_ |= 0x00000004;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo, emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo.Builder, emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfoOrBuilder> playCardCostListBuilder_;

      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo> getPlayCardCostListList() {
        if (playCardCostListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(playCardCostList_);
        } else {
          return playCardCostListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public int getPlayCardCostListCount() {
        if (playCardCostListBuilder_ == null) {
          return playCardCostList_.size();
        } else {
          return playCardCostListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo getPlayCardCostList(int index) {
        if (playCardCostListBuilder_ == null) {
          return playCardCostList_.get(index);
        } else {
          return playCardCostListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public Builder setPlayCardCostList(
          int index, emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo value) {
        if (playCardCostListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePlayCardCostListIsMutable();
          playCardCostList_.set(index, value);
          onChanged();
        } else {
          playCardCostListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public Builder setPlayCardCostList(
          int index, emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo.Builder builderForValue) {
        if (playCardCostListBuilder_ == null) {
          ensurePlayCardCostListIsMutable();
          playCardCostList_.set(index, builderForValue.build());
          onChanged();
        } else {
          playCardCostListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public Builder addPlayCardCostList(emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo value) {
        if (playCardCostListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePlayCardCostListIsMutable();
          playCardCostList_.add(value);
          onChanged();
        } else {
          playCardCostListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public Builder addPlayCardCostList(
          int index, emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo value) {
        if (playCardCostListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePlayCardCostListIsMutable();
          playCardCostList_.add(index, value);
          onChanged();
        } else {
          playCardCostListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public Builder addPlayCardCostList(
          emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo.Builder builderForValue) {
        if (playCardCostListBuilder_ == null) {
          ensurePlayCardCostListIsMutable();
          playCardCostList_.add(builderForValue.build());
          onChanged();
        } else {
          playCardCostListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public Builder addPlayCardCostList(
          int index, emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo.Builder builderForValue) {
        if (playCardCostListBuilder_ == null) {
          ensurePlayCardCostListIsMutable();
          playCardCostList_.add(index, builderForValue.build());
          onChanged();
        } else {
          playCardCostListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public Builder addAllPlayCardCostList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo> values) {
        if (playCardCostListBuilder_ == null) {
          ensurePlayCardCostListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, playCardCostList_);
          onChanged();
        } else {
          playCardCostListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public Builder clearPlayCardCostList() {
        if (playCardCostListBuilder_ == null) {
          playCardCostList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          playCardCostListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public Builder removePlayCardCostList(int index) {
        if (playCardCostListBuilder_ == null) {
          ensurePlayCardCostListIsMutable();
          playCardCostList_.remove(index);
          onChanged();
        } else {
          playCardCostListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo.Builder getPlayCardCostListBuilder(
          int index) {
        return getPlayCardCostListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfoOrBuilder getPlayCardCostListOrBuilder(
          int index) {
        if (playCardCostListBuilder_ == null) {
          return playCardCostList_.get(index);  } else {
          return playCardCostListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfoOrBuilder> 
           getPlayCardCostListOrBuilderList() {
        if (playCardCostListBuilder_ != null) {
          return playCardCostListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(playCardCostList_);
        }
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo.Builder addPlayCardCostListBuilder() {
        return getPlayCardCostListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo.Builder addPlayCardCostListBuilder(
          int index) {
        return getPlayCardCostListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .GCGPlayCardCostInfo play_card_cost_list = 8;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo.Builder> 
           getPlayCardCostListBuilderList() {
        return getPlayCardCostListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo, emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo.Builder, emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfoOrBuilder> 
          getPlayCardCostListFieldBuilder() {
        if (playCardCostListBuilder_ == null) {
          playCardCostListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo, emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfo.Builder, emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.GCGPlayCardCostInfoOrBuilder>(
                  playCardCostList_,
                  ((bitField0_ & 0x00000004) != 0),
                  getParentForChildren(),
                  isClean());
          playCardCostList_ = null;
        }
        return playCardCostListBuilder_;
      }

      private java.util.List<emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo> selectOnStageCostList_ =
        java.util.Collections.emptyList();
      private void ensureSelectOnStageCostListIsMutable() {
        if (!((bitField0_ & 0x00000008) != 0)) {
          selectOnStageCostList_ = new java.util.ArrayList<emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo>(selectOnStageCostList_);
          bitField0_ |= 0x00000008;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo, emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo.Builder, emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfoOrBuilder> selectOnStageCostListBuilder_;

      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo> getSelectOnStageCostListList() {
        if (selectOnStageCostListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(selectOnStageCostList_);
        } else {
          return selectOnStageCostListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public int getSelectOnStageCostListCount() {
        if (selectOnStageCostListBuilder_ == null) {
          return selectOnStageCostList_.size();
        } else {
          return selectOnStageCostListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo getSelectOnStageCostList(int index) {
        if (selectOnStageCostListBuilder_ == null) {
          return selectOnStageCostList_.get(index);
        } else {
          return selectOnStageCostListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public Builder setSelectOnStageCostList(
          int index, emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo value) {
        if (selectOnStageCostListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSelectOnStageCostListIsMutable();
          selectOnStageCostList_.set(index, value);
          onChanged();
        } else {
          selectOnStageCostListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public Builder setSelectOnStageCostList(
          int index, emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo.Builder builderForValue) {
        if (selectOnStageCostListBuilder_ == null) {
          ensureSelectOnStageCostListIsMutable();
          selectOnStageCostList_.set(index, builderForValue.build());
          onChanged();
        } else {
          selectOnStageCostListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public Builder addSelectOnStageCostList(emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo value) {
        if (selectOnStageCostListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSelectOnStageCostListIsMutable();
          selectOnStageCostList_.add(value);
          onChanged();
        } else {
          selectOnStageCostListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public Builder addSelectOnStageCostList(
          int index, emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo value) {
        if (selectOnStageCostListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSelectOnStageCostListIsMutable();
          selectOnStageCostList_.add(index, value);
          onChanged();
        } else {
          selectOnStageCostListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public Builder addSelectOnStageCostList(
          emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo.Builder builderForValue) {
        if (selectOnStageCostListBuilder_ == null) {
          ensureSelectOnStageCostListIsMutable();
          selectOnStageCostList_.add(builderForValue.build());
          onChanged();
        } else {
          selectOnStageCostListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public Builder addSelectOnStageCostList(
          int index, emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo.Builder builderForValue) {
        if (selectOnStageCostListBuilder_ == null) {
          ensureSelectOnStageCostListIsMutable();
          selectOnStageCostList_.add(index, builderForValue.build());
          onChanged();
        } else {
          selectOnStageCostListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public Builder addAllSelectOnStageCostList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo> values) {
        if (selectOnStageCostListBuilder_ == null) {
          ensureSelectOnStageCostListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, selectOnStageCostList_);
          onChanged();
        } else {
          selectOnStageCostListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public Builder clearSelectOnStageCostList() {
        if (selectOnStageCostListBuilder_ == null) {
          selectOnStageCostList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
          onChanged();
        } else {
          selectOnStageCostListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public Builder removeSelectOnStageCostList(int index) {
        if (selectOnStageCostListBuilder_ == null) {
          ensureSelectOnStageCostListIsMutable();
          selectOnStageCostList_.remove(index);
          onChanged();
        } else {
          selectOnStageCostListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo.Builder getSelectOnStageCostListBuilder(
          int index) {
        return getSelectOnStageCostListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfoOrBuilder getSelectOnStageCostListOrBuilder(
          int index) {
        if (selectOnStageCostListBuilder_ == null) {
          return selectOnStageCostList_.get(index);  } else {
          return selectOnStageCostListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfoOrBuilder> 
           getSelectOnStageCostListOrBuilderList() {
        if (selectOnStageCostListBuilder_ != null) {
          return selectOnStageCostListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(selectOnStageCostList_);
        }
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo.Builder addSelectOnStageCostListBuilder() {
        return getSelectOnStageCostListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo.Builder addSelectOnStageCostListBuilder(
          int index) {
        return getSelectOnStageCostListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .GCGSelectOnStageCostInfo select_on_stage_cost_list = 1;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo.Builder> 
           getSelectOnStageCostListBuilderList() {
        return getSelectOnStageCostListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo, emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo.Builder, emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfoOrBuilder> 
          getSelectOnStageCostListFieldBuilder() {
        if (selectOnStageCostListBuilder_ == null) {
          selectOnStageCostListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo, emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfo.Builder, emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.GCGSelectOnStageCostInfoOrBuilder>(
                  selectOnStageCostList_,
                  ((bitField0_ & 0x00000008) != 0),
                  getParentForChildren(),
                  isClean());
          selectOnStageCostList_ = null;
        }
        return selectOnStageCostListBuilder_;
      }
      @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:GCGCostReviseInfo)
    }

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

    public static emu.grasscutter.net.proto.GCGCostReviseInfoOuterClass.GCGCostReviseInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_GCGCostReviseInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_GCGCostReviseInfo_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\027GCGCostReviseInfo.proto\032\027GCGAttackCost" +
      "Info.proto\032\031GCGPlayCardCostInfo.proto\032\036G" +
      "CGSelectOnStageCostInfo.proto\"\354\001\n\021GCGCos" +
      "tReviseInfo\022\025\n\ris_can_attack\030\004 \001(\010\022,\n\020at" +
      "tack_cost_list\030\003 \003(\0132\022.GCGAttackCostInfo" +
      "\022!\n\031can_use_hand_card_id_list\030\014 \003(\r\0221\n\023p" +
      "lay_card_cost_list\030\010 \003(\0132\024.GCGPlayCardCo" +
      "stInfo\022<\n\031select_on_stage_cost_list\030\001 \003(" +
      "\0132\031.GCGSelectOnStageCostInfoB\033\n\031emu.gras" +
      "scutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.getDescriptor(),
        });
    internal_static_GCGCostReviseInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_GCGCostReviseInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_GCGCostReviseInfo_descriptor,
        new java.lang.String[] { "IsCanAttack", "AttackCostList", "CanUseHandCardIdList", "PlayCardCostList", "SelectOnStageCostList", });
    emu.grasscutter.net.proto.GCGAttackCostInfoOuterClass.getDescriptor();
    emu.grasscutter.net.proto.GCGPlayCardCostInfoOuterClass.getDescriptor();
    emu.grasscutter.net.proto.GCGSelectOnStageCostInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
