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

package emu.grasscutter.net.proto;

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

    /**
     * <code>.AbilityString ability_name = 1;</code>
     * @return Whether the abilityName field is set.
     */
    boolean hasAbilityName();
    /**
     * <code>.AbilityString ability_name = 1;</code>
     * @return The abilityName.
     */
    emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getAbilityName();
    /**
     * <code>.AbilityString ability_name = 1;</code>
     */
    emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder getAbilityNameOrBuilder();

    /**
     * <code>.AbilityString ability_override = 2;</code>
     * @return Whether the abilityOverride field is set.
     */
    boolean hasAbilityOverride();
    /**
     * <code>.AbilityString ability_override = 2;</code>
     * @return The abilityOverride.
     */
    emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getAbilityOverride();
    /**
     * <code>.AbilityString ability_override = 2;</code>
     */
    emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder getAbilityOverrideOrBuilder();

    /**
     * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
     */
    java.util.List<emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry> 
        getOverrideMapList();
    /**
     * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
     */
    emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry getOverrideMap(int index);
    /**
     * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
     */
    int getOverrideMapCount();
    /**
     * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntryOrBuilder> 
        getOverrideMapOrBuilderList();
    /**
     * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
     */
    emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntryOrBuilder getOverrideMapOrBuilder(
        int index);

    /**
     * <code>uint32 instanced_ability_id = 4;</code>
     * @return The instancedAbilityId.
     */
    int getInstancedAbilityId();
  }
  /**
   * Protobuf type {@code AbilityAppliedAbility}
   */
  public static final class AbilityAppliedAbility extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:AbilityAppliedAbility)
      AbilityAppliedAbilityOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AbilityAppliedAbility.newBuilder() to construct.
    private AbilityAppliedAbility(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AbilityAppliedAbility() {
      overrideMap_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private AbilityAppliedAbility(
        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: {
              emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder subBuilder = null;
              if (abilityName_ != null) {
                subBuilder = abilityName_.toBuilder();
              }
              abilityName_ = input.readMessage(emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(abilityName_);
                abilityName_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder subBuilder = null;
              if (abilityOverride_ != null) {
                subBuilder = abilityOverride_.toBuilder();
              }
              abilityOverride_ = input.readMessage(emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(abilityOverride_);
                abilityOverride_ = subBuilder.buildPartial();
              }

              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                overrideMap_ = new java.util.ArrayList<emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry>();
                mutable_bitField0_ |= 0x00000001;
              }
              overrideMap_.add(
                  input.readMessage(emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry.parser(), extensionRegistry));
              break;
            }
            case 32: {

              instancedAbilityId_ = input.readUInt32();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          overrideMap_ = java.util.Collections.unmodifiableList(overrideMap_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.internal_static_AbilityAppliedAbility_descriptor;
    }

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

    public static final int ABILITY_NAME_FIELD_NUMBER = 1;
    private emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString abilityName_;
    /**
     * <code>.AbilityString ability_name = 1;</code>
     * @return Whether the abilityName field is set.
     */
    @java.lang.Override
    public boolean hasAbilityName() {
      return abilityName_ != null;
    }
    /**
     * <code>.AbilityString ability_name = 1;</code>
     * @return The abilityName.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getAbilityName() {
      return abilityName_ == null ? emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance() : abilityName_;
    }
    /**
     * <code>.AbilityString ability_name = 1;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder getAbilityNameOrBuilder() {
      return getAbilityName();
    }

    public static final int ABILITY_OVERRIDE_FIELD_NUMBER = 2;
    private emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString abilityOverride_;
    /**
     * <code>.AbilityString ability_override = 2;</code>
     * @return Whether the abilityOverride field is set.
     */
    @java.lang.Override
    public boolean hasAbilityOverride() {
      return abilityOverride_ != null;
    }
    /**
     * <code>.AbilityString ability_override = 2;</code>
     * @return The abilityOverride.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getAbilityOverride() {
      return abilityOverride_ == null ? emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance() : abilityOverride_;
    }
    /**
     * <code>.AbilityString ability_override = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder getAbilityOverrideOrBuilder() {
      return getAbilityOverride();
    }

    public static final int OVERRIDE_MAP_FIELD_NUMBER = 3;
    private java.util.List<emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry> overrideMap_;
    /**
     * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry> getOverrideMapList() {
      return overrideMap_;
    }
    /**
     * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntryOrBuilder> 
        getOverrideMapOrBuilderList() {
      return overrideMap_;
    }
    /**
     * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
     */
    @java.lang.Override
    public int getOverrideMapCount() {
      return overrideMap_.size();
    }
    /**
     * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry getOverrideMap(int index) {
      return overrideMap_.get(index);
    }
    /**
     * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntryOrBuilder getOverrideMapOrBuilder(
        int index) {
      return overrideMap_.get(index);
    }

    public static final int INSTANCED_ABILITY_ID_FIELD_NUMBER = 4;
    private int instancedAbilityId_;
    /**
     * <code>uint32 instanced_ability_id = 4;</code>
     * @return The instancedAbilityId.
     */
    @java.lang.Override
    public int getInstancedAbilityId() {
      return instancedAbilityId_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (abilityName_ != null) {
        output.writeMessage(1, getAbilityName());
      }
      if (abilityOverride_ != null) {
        output.writeMessage(2, getAbilityOverride());
      }
      for (int i = 0; i < overrideMap_.size(); i++) {
        output.writeMessage(3, overrideMap_.get(i));
      }
      if (instancedAbilityId_ != 0) {
        output.writeUInt32(4, instancedAbilityId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (abilityName_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getAbilityName());
      }
      if (abilityOverride_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getAbilityOverride());
      }
      for (int i = 0; i < overrideMap_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, overrideMap_.get(i));
      }
      if (instancedAbilityId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(4, instancedAbilityId_);
      }
      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.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility other = (emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility) obj;

      if (hasAbilityName() != other.hasAbilityName()) return false;
      if (hasAbilityName()) {
        if (!getAbilityName()
            .equals(other.getAbilityName())) return false;
      }
      if (hasAbilityOverride() != other.hasAbilityOverride()) return false;
      if (hasAbilityOverride()) {
        if (!getAbilityOverride()
            .equals(other.getAbilityOverride())) return false;
      }
      if (!getOverrideMapList()
          .equals(other.getOverrideMapList())) return false;
      if (getInstancedAbilityId()
          != other.getInstancedAbilityId()) 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 (hasAbilityName()) {
        hash = (37 * hash) + ABILITY_NAME_FIELD_NUMBER;
        hash = (53 * hash) + getAbilityName().hashCode();
      }
      if (hasAbilityOverride()) {
        hash = (37 * hash) + ABILITY_OVERRIDE_FIELD_NUMBER;
        hash = (53 * hash) + getAbilityOverride().hashCode();
      }
      if (getOverrideMapCount() > 0) {
        hash = (37 * hash) + OVERRIDE_MAP_FIELD_NUMBER;
        hash = (53 * hash) + getOverrideMapList().hashCode();
      }
      hash = (37 * hash) + INSTANCED_ABILITY_ID_FIELD_NUMBER;
      hash = (53 * hash) + getInstancedAbilityId();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility 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.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility 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.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility 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.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility 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.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility 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.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code AbilityAppliedAbility}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:AbilityAppliedAbility)
        emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbilityOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.internal_static_AbilityAppliedAbility_descriptor;
      }

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

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getOverrideMapFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (abilityNameBuilder_ == null) {
          abilityName_ = null;
        } else {
          abilityName_ = null;
          abilityNameBuilder_ = null;
        }
        if (abilityOverrideBuilder_ == null) {
          abilityOverride_ = null;
        } else {
          abilityOverride_ = null;
          abilityOverrideBuilder_ = null;
        }
        if (overrideMapBuilder_ == null) {
          overrideMap_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          overrideMapBuilder_.clear();
        }
        instancedAbilityId_ = 0;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility buildPartial() {
        emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility result = new emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility(this);
        int from_bitField0_ = bitField0_;
        if (abilityNameBuilder_ == null) {
          result.abilityName_ = abilityName_;
        } else {
          result.abilityName_ = abilityNameBuilder_.build();
        }
        if (abilityOverrideBuilder_ == null) {
          result.abilityOverride_ = abilityOverride_;
        } else {
          result.abilityOverride_ = abilityOverrideBuilder_.build();
        }
        if (overrideMapBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            overrideMap_ = java.util.Collections.unmodifiableList(overrideMap_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.overrideMap_ = overrideMap_;
        } else {
          result.overrideMap_ = overrideMapBuilder_.build();
        }
        result.instancedAbilityId_ = instancedAbilityId_;
        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.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility) {
          return mergeFrom((emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility other) {
        if (other == emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility.getDefaultInstance()) return this;
        if (other.hasAbilityName()) {
          mergeAbilityName(other.getAbilityName());
        }
        if (other.hasAbilityOverride()) {
          mergeAbilityOverride(other.getAbilityOverride());
        }
        if (overrideMapBuilder_ == null) {
          if (!other.overrideMap_.isEmpty()) {
            if (overrideMap_.isEmpty()) {
              overrideMap_ = other.overrideMap_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureOverrideMapIsMutable();
              overrideMap_.addAll(other.overrideMap_);
            }
            onChanged();
          }
        } else {
          if (!other.overrideMap_.isEmpty()) {
            if (overrideMapBuilder_.isEmpty()) {
              overrideMapBuilder_.dispose();
              overrideMapBuilder_ = null;
              overrideMap_ = other.overrideMap_;
              bitField0_ = (bitField0_ & ~0x00000001);
              overrideMapBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getOverrideMapFieldBuilder() : null;
            } else {
              overrideMapBuilder_.addAllMessages(other.overrideMap_);
            }
          }
        }
        if (other.getInstancedAbilityId() != 0) {
          setInstancedAbilityId(other.getInstancedAbilityId());
        }
        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.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString abilityName_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder> abilityNameBuilder_;
      /**
       * <code>.AbilityString ability_name = 1;</code>
       * @return Whether the abilityName field is set.
       */
      public boolean hasAbilityName() {
        return abilityNameBuilder_ != null || abilityName_ != null;
      }
      /**
       * <code>.AbilityString ability_name = 1;</code>
       * @return The abilityName.
       */
      public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getAbilityName() {
        if (abilityNameBuilder_ == null) {
          return abilityName_ == null ? emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance() : abilityName_;
        } else {
          return abilityNameBuilder_.getMessage();
        }
      }
      /**
       * <code>.AbilityString ability_name = 1;</code>
       */
      public Builder setAbilityName(emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString value) {
        if (abilityNameBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          abilityName_ = value;
          onChanged();
        } else {
          abilityNameBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.AbilityString ability_name = 1;</code>
       */
      public Builder setAbilityName(
          emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder builderForValue) {
        if (abilityNameBuilder_ == null) {
          abilityName_ = builderForValue.build();
          onChanged();
        } else {
          abilityNameBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.AbilityString ability_name = 1;</code>
       */
      public Builder mergeAbilityName(emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString value) {
        if (abilityNameBuilder_ == null) {
          if (abilityName_ != null) {
            abilityName_ =
              emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.newBuilder(abilityName_).mergeFrom(value).buildPartial();
          } else {
            abilityName_ = value;
          }
          onChanged();
        } else {
          abilityNameBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.AbilityString ability_name = 1;</code>
       */
      public Builder clearAbilityName() {
        if (abilityNameBuilder_ == null) {
          abilityName_ = null;
          onChanged();
        } else {
          abilityName_ = null;
          abilityNameBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.AbilityString ability_name = 1;</code>
       */
      public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder getAbilityNameBuilder() {
        
        onChanged();
        return getAbilityNameFieldBuilder().getBuilder();
      }
      /**
       * <code>.AbilityString ability_name = 1;</code>
       */
      public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder getAbilityNameOrBuilder() {
        if (abilityNameBuilder_ != null) {
          return abilityNameBuilder_.getMessageOrBuilder();
        } else {
          return abilityName_ == null ?
              emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance() : abilityName_;
        }
      }
      /**
       * <code>.AbilityString ability_name = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder> 
          getAbilityNameFieldBuilder() {
        if (abilityNameBuilder_ == null) {
          abilityNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder>(
                  getAbilityName(),
                  getParentForChildren(),
                  isClean());
          abilityName_ = null;
        }
        return abilityNameBuilder_;
      }

      private emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString abilityOverride_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder> abilityOverrideBuilder_;
      /**
       * <code>.AbilityString ability_override = 2;</code>
       * @return Whether the abilityOverride field is set.
       */
      public boolean hasAbilityOverride() {
        return abilityOverrideBuilder_ != null || abilityOverride_ != null;
      }
      /**
       * <code>.AbilityString ability_override = 2;</code>
       * @return The abilityOverride.
       */
      public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getAbilityOverride() {
        if (abilityOverrideBuilder_ == null) {
          return abilityOverride_ == null ? emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance() : abilityOverride_;
        } else {
          return abilityOverrideBuilder_.getMessage();
        }
      }
      /**
       * <code>.AbilityString ability_override = 2;</code>
       */
      public Builder setAbilityOverride(emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString value) {
        if (abilityOverrideBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          abilityOverride_ = value;
          onChanged();
        } else {
          abilityOverrideBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.AbilityString ability_override = 2;</code>
       */
      public Builder setAbilityOverride(
          emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder builderForValue) {
        if (abilityOverrideBuilder_ == null) {
          abilityOverride_ = builderForValue.build();
          onChanged();
        } else {
          abilityOverrideBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.AbilityString ability_override = 2;</code>
       */
      public Builder mergeAbilityOverride(emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString value) {
        if (abilityOverrideBuilder_ == null) {
          if (abilityOverride_ != null) {
            abilityOverride_ =
              emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.newBuilder(abilityOverride_).mergeFrom(value).buildPartial();
          } else {
            abilityOverride_ = value;
          }
          onChanged();
        } else {
          abilityOverrideBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.AbilityString ability_override = 2;</code>
       */
      public Builder clearAbilityOverride() {
        if (abilityOverrideBuilder_ == null) {
          abilityOverride_ = null;
          onChanged();
        } else {
          abilityOverride_ = null;
          abilityOverrideBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.AbilityString ability_override = 2;</code>
       */
      public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder getAbilityOverrideBuilder() {
        
        onChanged();
        return getAbilityOverrideFieldBuilder().getBuilder();
      }
      /**
       * <code>.AbilityString ability_override = 2;</code>
       */
      public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder getAbilityOverrideOrBuilder() {
        if (abilityOverrideBuilder_ != null) {
          return abilityOverrideBuilder_.getMessageOrBuilder();
        } else {
          return abilityOverride_ == null ?
              emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance() : abilityOverride_;
        }
      }
      /**
       * <code>.AbilityString ability_override = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder> 
          getAbilityOverrideFieldBuilder() {
        if (abilityOverrideBuilder_ == null) {
          abilityOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder>(
                  getAbilityOverride(),
                  getParentForChildren(),
                  isClean());
          abilityOverride_ = null;
        }
        return abilityOverrideBuilder_;
      }

      private java.util.List<emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry> overrideMap_ =
        java.util.Collections.emptyList();
      private void ensureOverrideMapIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          overrideMap_ = new java.util.ArrayList<emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry>(overrideMap_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry, emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry.Builder, emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntryOrBuilder> overrideMapBuilder_;

      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry> getOverrideMapList() {
        if (overrideMapBuilder_ == null) {
          return java.util.Collections.unmodifiableList(overrideMap_);
        } else {
          return overrideMapBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public int getOverrideMapCount() {
        if (overrideMapBuilder_ == null) {
          return overrideMap_.size();
        } else {
          return overrideMapBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry getOverrideMap(int index) {
        if (overrideMapBuilder_ == null) {
          return overrideMap_.get(index);
        } else {
          return overrideMapBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public Builder setOverrideMap(
          int index, emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry value) {
        if (overrideMapBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOverrideMapIsMutable();
          overrideMap_.set(index, value);
          onChanged();
        } else {
          overrideMapBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public Builder setOverrideMap(
          int index, emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry.Builder builderForValue) {
        if (overrideMapBuilder_ == null) {
          ensureOverrideMapIsMutable();
          overrideMap_.set(index, builderForValue.build());
          onChanged();
        } else {
          overrideMapBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public Builder addOverrideMap(emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry value) {
        if (overrideMapBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOverrideMapIsMutable();
          overrideMap_.add(value);
          onChanged();
        } else {
          overrideMapBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public Builder addOverrideMap(
          int index, emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry value) {
        if (overrideMapBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOverrideMapIsMutable();
          overrideMap_.add(index, value);
          onChanged();
        } else {
          overrideMapBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public Builder addOverrideMap(
          emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry.Builder builderForValue) {
        if (overrideMapBuilder_ == null) {
          ensureOverrideMapIsMutable();
          overrideMap_.add(builderForValue.build());
          onChanged();
        } else {
          overrideMapBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public Builder addOverrideMap(
          int index, emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry.Builder builderForValue) {
        if (overrideMapBuilder_ == null) {
          ensureOverrideMapIsMutable();
          overrideMap_.add(index, builderForValue.build());
          onChanged();
        } else {
          overrideMapBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public Builder addAllOverrideMap(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry> values) {
        if (overrideMapBuilder_ == null) {
          ensureOverrideMapIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, overrideMap_);
          onChanged();
        } else {
          overrideMapBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public Builder clearOverrideMap() {
        if (overrideMapBuilder_ == null) {
          overrideMap_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          overrideMapBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public Builder removeOverrideMap(int index) {
        if (overrideMapBuilder_ == null) {
          ensureOverrideMapIsMutable();
          overrideMap_.remove(index);
          onChanged();
        } else {
          overrideMapBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry.Builder getOverrideMapBuilder(
          int index) {
        return getOverrideMapFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntryOrBuilder getOverrideMapOrBuilder(
          int index) {
        if (overrideMapBuilder_ == null) {
          return overrideMap_.get(index);  } else {
          return overrideMapBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntryOrBuilder> 
           getOverrideMapOrBuilderList() {
        if (overrideMapBuilder_ != null) {
          return overrideMapBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(overrideMap_);
        }
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry.Builder addOverrideMapBuilder() {
        return getOverrideMapFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry.getDefaultInstance());
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry.Builder addOverrideMapBuilder(
          int index) {
        return getOverrideMapFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry.getDefaultInstance());
      }
      /**
       * <code>repeated .AbilityScalarValueEntry override_map = 3;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry.Builder> 
           getOverrideMapBuilderList() {
        return getOverrideMapFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry, emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry.Builder, emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntryOrBuilder> 
          getOverrideMapFieldBuilder() {
        if (overrideMapBuilder_ == null) {
          overrideMapBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry, emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntry.Builder, emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.AbilityScalarValueEntryOrBuilder>(
                  overrideMap_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          overrideMap_ = null;
        }
        return overrideMapBuilder_;
      }

      private int instancedAbilityId_ ;
      /**
       * <code>uint32 instanced_ability_id = 4;</code>
       * @return The instancedAbilityId.
       */
      @java.lang.Override
      public int getInstancedAbilityId() {
        return instancedAbilityId_;
      }
      /**
       * <code>uint32 instanced_ability_id = 4;</code>
       * @param value The instancedAbilityId to set.
       * @return This builder for chaining.
       */
      public Builder setInstancedAbilityId(int value) {
        
        instancedAbilityId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 instanced_ability_id = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearInstancedAbilityId() {
        
        instancedAbilityId_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:AbilityAppliedAbility)
    }

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

    public static emu.grasscutter.net.proto.AbilityAppliedAbilityOuterClass.AbilityAppliedAbility getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_AbilityAppliedAbility_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_AbilityAppliedAbility_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\033AbilityAppliedAbility.proto\032\035AbilitySc" +
      "alarValueEntry.proto\032\023AbilityString.prot" +
      "o\"\265\001\n\025AbilityAppliedAbility\022$\n\014ability_n" +
      "ame\030\001 \001(\0132\016.AbilityString\022(\n\020ability_ove" +
      "rride\030\002 \001(\0132\016.AbilityString\022.\n\014override_" +
      "map\030\003 \003(\0132\030.AbilityScalarValueEntry\022\034\n\024i" +
      "nstanced_ability_id\030\004 \001(\rB\033\n\031emu.grasscu" +
      "tter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.AbilityStringOuterClass.getDescriptor(),
        });
    internal_static_AbilityAppliedAbility_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_AbilityAppliedAbility_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_AbilityAppliedAbility_descriptor,
        new java.lang.String[] { "AbilityName", "AbilityOverride", "OverrideMap", "InstancedAbilityId", });
    emu.grasscutter.net.proto.AbilityScalarValueEntryOuterClass.getDescriptor();
    emu.grasscutter.net.proto.AbilityStringOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
