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

package emu.grasscutter.net.proto;

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

    /**
     * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
     */
    java.util.List<emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam> 
        getLaunchParamListList();
    /**
     * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
     */
    emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam getLaunchParamList(int index);
    /**
     * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
     */
    int getLaunchParamListCount();
    /**
     * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParamOrBuilder> 
        getLaunchParamListOrBuilderList();
    /**
     * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
     */
    emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParamOrBuilder getLaunchParamListOrBuilder(
        int index);

    /**
     * <code>uint32 scheme_id = 12;</code>
     * @return The schemeId.
     */
    int getSchemeId();

    /**
     * <code>repeated uint32 fireworks_id_list = 3;</code>
     * @return A list containing the fireworksIdList.
     */
    java.util.List<java.lang.Integer> getFireworksIdListList();
    /**
     * <code>repeated uint32 fireworks_id_list = 3;</code>
     * @return The count of fireworksIdList.
     */
    int getFireworksIdListCount();
    /**
     * <code>repeated uint32 fireworks_id_list = 3;</code>
     * @param index The index of the element to return.
     * @return The fireworksIdList at the given index.
     */
    int getFireworksIdList(int index);
  }
  /**
   * <pre>
   * Obf: AOPBHNBLGOE
   * </pre>
   *
   * Protobuf type {@code FireworksLaunchSchemeData}
   */
  public static final class FireworksLaunchSchemeData extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:FireworksLaunchSchemeData)
      FireworksLaunchSchemeDataOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use FireworksLaunchSchemeData.newBuilder() to construct.
    private FireworksLaunchSchemeData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private FireworksLaunchSchemeData() {
      launchParamList_ = java.util.Collections.emptyList();
      fireworksIdList_ = emptyIntList();
    }

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

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

              schemeId_ = input.readUInt32();
              break;
            }
            case 114: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                launchParamList_ = new java.util.ArrayList<emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam>();
                mutable_bitField0_ |= 0x00000001;
              }
              launchParamList_.add(
                  input.readMessage(emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam.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_ & 0x00000002) != 0)) {
          fireworksIdList_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          launchParamList_ = java.util.Collections.unmodifiableList(launchParamList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.FireworksLaunchSchemeDataOuterClass.internal_static_FireworksLaunchSchemeData_descriptor;
    }

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

    public static final int LAUNCH_PARAM_LIST_FIELD_NUMBER = 14;
    private java.util.List<emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam> launchParamList_;
    /**
     * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam> getLaunchParamListList() {
      return launchParamList_;
    }
    /**
     * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParamOrBuilder> 
        getLaunchParamListOrBuilderList() {
      return launchParamList_;
    }
    /**
     * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
     */
    @java.lang.Override
    public int getLaunchParamListCount() {
      return launchParamList_.size();
    }
    /**
     * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam getLaunchParamList(int index) {
      return launchParamList_.get(index);
    }
    /**
     * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParamOrBuilder getLaunchParamListOrBuilder(
        int index) {
      return launchParamList_.get(index);
    }

    public static final int SCHEME_ID_FIELD_NUMBER = 12;
    private int schemeId_;
    /**
     * <code>uint32 scheme_id = 12;</code>
     * @return The schemeId.
     */
    @java.lang.Override
    public int getSchemeId() {
      return schemeId_;
    }

    public static final int FIREWORKS_ID_LIST_FIELD_NUMBER = 3;
    private com.google.protobuf.Internal.IntList fireworksIdList_;
    /**
     * <code>repeated uint32 fireworks_id_list = 3;</code>
     * @return A list containing the fireworksIdList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getFireworksIdListList() {
      return fireworksIdList_;
    }
    /**
     * <code>repeated uint32 fireworks_id_list = 3;</code>
     * @return The count of fireworksIdList.
     */
    public int getFireworksIdListCount() {
      return fireworksIdList_.size();
    }
    /**
     * <code>repeated uint32 fireworks_id_list = 3;</code>
     * @param index The index of the element to return.
     * @return The fireworksIdList at the given index.
     */
    public int getFireworksIdList(int index) {
      return fireworksIdList_.getInt(index);
    }
    private int fireworksIdListMemoizedSerializedSize = -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 (getFireworksIdListList().size() > 0) {
        output.writeUInt32NoTag(26);
        output.writeUInt32NoTag(fireworksIdListMemoizedSerializedSize);
      }
      for (int i = 0; i < fireworksIdList_.size(); i++) {
        output.writeUInt32NoTag(fireworksIdList_.getInt(i));
      }
      if (schemeId_ != 0) {
        output.writeUInt32(12, schemeId_);
      }
      for (int i = 0; i < launchParamList_.size(); i++) {
        output.writeMessage(14, launchParamList_.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 < fireworksIdList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(fireworksIdList_.getInt(i));
        }
        size += dataSize;
        if (!getFireworksIdListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        fireworksIdListMemoizedSerializedSize = dataSize;
      }
      if (schemeId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(12, schemeId_);
      }
      for (int i = 0; i < launchParamList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(14, launchParamList_.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.FireworksLaunchSchemeDataOuterClass.FireworksLaunchSchemeData)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.FireworksLaunchSchemeDataOuterClass.FireworksLaunchSchemeData other = (emu.grasscutter.net.proto.FireworksLaunchSchemeDataOuterClass.FireworksLaunchSchemeData) obj;

      if (!getLaunchParamListList()
          .equals(other.getLaunchParamListList())) return false;
      if (getSchemeId()
          != other.getSchemeId()) return false;
      if (!getFireworksIdListList()
          .equals(other.getFireworksIdListList())) 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 (getLaunchParamListCount() > 0) {
        hash = (37 * hash) + LAUNCH_PARAM_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getLaunchParamListList().hashCode();
      }
      hash = (37 * hash) + SCHEME_ID_FIELD_NUMBER;
      hash = (53 * hash) + getSchemeId();
      if (getFireworksIdListCount() > 0) {
        hash = (37 * hash) + FIREWORKS_ID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getFireworksIdListList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

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

        fireworksIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.FireworksLaunchSchemeDataOuterClass.FireworksLaunchSchemeData buildPartial() {
        emu.grasscutter.net.proto.FireworksLaunchSchemeDataOuterClass.FireworksLaunchSchemeData result = new emu.grasscutter.net.proto.FireworksLaunchSchemeDataOuterClass.FireworksLaunchSchemeData(this);
        int from_bitField0_ = bitField0_;
        if (launchParamListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            launchParamList_ = java.util.Collections.unmodifiableList(launchParamList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.launchParamList_ = launchParamList_;
        } else {
          result.launchParamList_ = launchParamListBuilder_.build();
        }
        result.schemeId_ = schemeId_;
        if (((bitField0_ & 0x00000002) != 0)) {
          fireworksIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.fireworksIdList_ = fireworksIdList_;
        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.FireworksLaunchSchemeDataOuterClass.FireworksLaunchSchemeData) {
          return mergeFrom((emu.grasscutter.net.proto.FireworksLaunchSchemeDataOuterClass.FireworksLaunchSchemeData)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.FireworksLaunchSchemeDataOuterClass.FireworksLaunchSchemeData other) {
        if (other == emu.grasscutter.net.proto.FireworksLaunchSchemeDataOuterClass.FireworksLaunchSchemeData.getDefaultInstance()) return this;
        if (launchParamListBuilder_ == null) {
          if (!other.launchParamList_.isEmpty()) {
            if (launchParamList_.isEmpty()) {
              launchParamList_ = other.launchParamList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureLaunchParamListIsMutable();
              launchParamList_.addAll(other.launchParamList_);
            }
            onChanged();
          }
        } else {
          if (!other.launchParamList_.isEmpty()) {
            if (launchParamListBuilder_.isEmpty()) {
              launchParamListBuilder_.dispose();
              launchParamListBuilder_ = null;
              launchParamList_ = other.launchParamList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              launchParamListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getLaunchParamListFieldBuilder() : null;
            } else {
              launchParamListBuilder_.addAllMessages(other.launchParamList_);
            }
          }
        }
        if (other.getSchemeId() != 0) {
          setSchemeId(other.getSchemeId());
        }
        if (!other.fireworksIdList_.isEmpty()) {
          if (fireworksIdList_.isEmpty()) {
            fireworksIdList_ = other.fireworksIdList_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureFireworksIdListIsMutable();
            fireworksIdList_.addAll(other.fireworksIdList_);
          }
          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.FireworksLaunchSchemeDataOuterClass.FireworksLaunchSchemeData parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.FireworksLaunchSchemeDataOuterClass.FireworksLaunchSchemeData) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam> launchParamList_ =
        java.util.Collections.emptyList();
      private void ensureLaunchParamListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          launchParamList_ = new java.util.ArrayList<emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam>(launchParamList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam, emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam.Builder, emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParamOrBuilder> launchParamListBuilder_;

      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam> getLaunchParamListList() {
        if (launchParamListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(launchParamList_);
        } else {
          return launchParamListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public int getLaunchParamListCount() {
        if (launchParamListBuilder_ == null) {
          return launchParamList_.size();
        } else {
          return launchParamListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam getLaunchParamList(int index) {
        if (launchParamListBuilder_ == null) {
          return launchParamList_.get(index);
        } else {
          return launchParamListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public Builder setLaunchParamList(
          int index, emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam value) {
        if (launchParamListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLaunchParamListIsMutable();
          launchParamList_.set(index, value);
          onChanged();
        } else {
          launchParamListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public Builder setLaunchParamList(
          int index, emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam.Builder builderForValue) {
        if (launchParamListBuilder_ == null) {
          ensureLaunchParamListIsMutable();
          launchParamList_.set(index, builderForValue.build());
          onChanged();
        } else {
          launchParamListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public Builder addLaunchParamList(emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam value) {
        if (launchParamListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLaunchParamListIsMutable();
          launchParamList_.add(value);
          onChanged();
        } else {
          launchParamListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public Builder addLaunchParamList(
          int index, emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam value) {
        if (launchParamListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLaunchParamListIsMutable();
          launchParamList_.add(index, value);
          onChanged();
        } else {
          launchParamListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public Builder addLaunchParamList(
          emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam.Builder builderForValue) {
        if (launchParamListBuilder_ == null) {
          ensureLaunchParamListIsMutable();
          launchParamList_.add(builderForValue.build());
          onChanged();
        } else {
          launchParamListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public Builder addLaunchParamList(
          int index, emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam.Builder builderForValue) {
        if (launchParamListBuilder_ == null) {
          ensureLaunchParamListIsMutable();
          launchParamList_.add(index, builderForValue.build());
          onChanged();
        } else {
          launchParamListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public Builder addAllLaunchParamList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam> values) {
        if (launchParamListBuilder_ == null) {
          ensureLaunchParamListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, launchParamList_);
          onChanged();
        } else {
          launchParamListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public Builder clearLaunchParamList() {
        if (launchParamListBuilder_ == null) {
          launchParamList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          launchParamListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public Builder removeLaunchParamList(int index) {
        if (launchParamListBuilder_ == null) {
          ensureLaunchParamListIsMutable();
          launchParamList_.remove(index);
          onChanged();
        } else {
          launchParamListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam.Builder getLaunchParamListBuilder(
          int index) {
        return getLaunchParamListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParamOrBuilder getLaunchParamListOrBuilder(
          int index) {
        if (launchParamListBuilder_ == null) {
          return launchParamList_.get(index);  } else {
          return launchParamListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParamOrBuilder> 
           getLaunchParamListOrBuilderList() {
        if (launchParamListBuilder_ != null) {
          return launchParamListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(launchParamList_);
        }
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam.Builder addLaunchParamListBuilder() {
        return getLaunchParamListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam.getDefaultInstance());
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam.Builder addLaunchParamListBuilder(
          int index) {
        return getLaunchParamListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam.getDefaultInstance());
      }
      /**
       * <code>repeated .FireworksLaunchParam launch_param_list = 14;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam.Builder> 
           getLaunchParamListBuilderList() {
        return getLaunchParamListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam, emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam.Builder, emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParamOrBuilder> 
          getLaunchParamListFieldBuilder() {
        if (launchParamListBuilder_ == null) {
          launchParamListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam, emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParam.Builder, emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.FireworksLaunchParamOrBuilder>(
                  launchParamList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          launchParamList_ = null;
        }
        return launchParamListBuilder_;
      }

      private int schemeId_ ;
      /**
       * <code>uint32 scheme_id = 12;</code>
       * @return The schemeId.
       */
      @java.lang.Override
      public int getSchemeId() {
        return schemeId_;
      }
      /**
       * <code>uint32 scheme_id = 12;</code>
       * @param value The schemeId to set.
       * @return This builder for chaining.
       */
      public Builder setSchemeId(int value) {
        
        schemeId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 scheme_id = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearSchemeId() {
        
        schemeId_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList fireworksIdList_ = emptyIntList();
      private void ensureFireworksIdListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          fireworksIdList_ = mutableCopy(fireworksIdList_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <code>repeated uint32 fireworks_id_list = 3;</code>
       * @return A list containing the fireworksIdList.
       */
      public java.util.List<java.lang.Integer>
          getFireworksIdListList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(fireworksIdList_) : fireworksIdList_;
      }
      /**
       * <code>repeated uint32 fireworks_id_list = 3;</code>
       * @return The count of fireworksIdList.
       */
      public int getFireworksIdListCount() {
        return fireworksIdList_.size();
      }
      /**
       * <code>repeated uint32 fireworks_id_list = 3;</code>
       * @param index The index of the element to return.
       * @return The fireworksIdList at the given index.
       */
      public int getFireworksIdList(int index) {
        return fireworksIdList_.getInt(index);
      }
      /**
       * <code>repeated uint32 fireworks_id_list = 3;</code>
       * @param index The index to set the value at.
       * @param value The fireworksIdList to set.
       * @return This builder for chaining.
       */
      public Builder setFireworksIdList(
          int index, int value) {
        ensureFireworksIdListIsMutable();
        fireworksIdList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 fireworks_id_list = 3;</code>
       * @param value The fireworksIdList to add.
       * @return This builder for chaining.
       */
      public Builder addFireworksIdList(int value) {
        ensureFireworksIdListIsMutable();
        fireworksIdList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 fireworks_id_list = 3;</code>
       * @param values The fireworksIdList to add.
       * @return This builder for chaining.
       */
      public Builder addAllFireworksIdList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureFireworksIdListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, fireworksIdList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 fireworks_id_list = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearFireworksIdList() {
        fireworksIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:FireworksLaunchSchemeData)
    }

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

    public static emu.grasscutter.net.proto.FireworksLaunchSchemeDataOuterClass.FireworksLaunchSchemeData getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_FireworksLaunchSchemeData_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_FireworksLaunchSchemeData_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\037FireworksLaunchSchemeData.proto\032\032Firew" +
      "orksLaunchParam.proto\"{\n\031FireworksLaunch" +
      "SchemeData\0220\n\021launch_param_list\030\016 \003(\0132\025." +
      "FireworksLaunchParam\022\021\n\tscheme_id\030\014 \001(\r\022" +
      "\031\n\021fireworks_id_list\030\003 \003(\rB\033\n\031emu.grassc" +
      "utter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.getDescriptor(),
        });
    internal_static_FireworksLaunchSchemeData_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_FireworksLaunchSchemeData_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_FireworksLaunchSchemeData_descriptor,
        new java.lang.String[] { "LaunchParamList", "SchemeId", "FireworksIdList", });
    emu.grasscutter.net.proto.FireworksLaunchParamOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
