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

package io.grasscutter.net.proto.fight;

/**
 * <pre>
 * CmdId: 26782
 * </pre>
 *
 * Protobuf type {@code EvtDoSkillSuccNotify}
 */
public final class EvtDoSkillSuccNotify extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:EvtDoSkillSuccNotify)
    EvtDoSkillSuccNotifyOrBuilder {
private static final long serialVersionUID = 0L;
  // Use EvtDoSkillSuccNotify.newBuilder() to construct.
  private EvtDoSkillSuccNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private EvtDoSkillSuccNotify() {
    forwardType_ = 0;
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private EvtDoSkillSuccNotify(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 18: {
            io.grasscutter.net.proto.define.Vector.Builder subBuilder = null;
            if (forward_ != null) {
              subBuilder = forward_.toBuilder();
            }
            forward_ = input.readMessage(io.grasscutter.net.proto.define.Vector.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(forward_);
              forward_ = subBuilder.buildPartial();
            }

            break;
          }
          case 80: {

            casterId_ = input.readUInt32();
            break;
          }
          case 88: {
            int rawValue = input.readEnum();

            forwardType_ = rawValue;
            break;
          }
          case 120: {

            skillId_ = 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 {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.fight.Fight.internal_static_EvtDoSkillSuccNotify_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.fight.Fight.internal_static_EvtDoSkillSuccNotify_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify.class, io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify.Builder.class);
  }

  public static final int FORWARD_FIELD_NUMBER = 2;
  private io.grasscutter.net.proto.define.Vector forward_;
  /**
   * <code>.Vector forward = 2;</code>
   * @return Whether the forward field is set.
   */
  @java.lang.Override
  public boolean hasForward() {
    return forward_ != null;
  }
  /**
   * <code>.Vector forward = 2;</code>
   * @return The forward.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.define.Vector getForward() {
    return forward_ == null ? io.grasscutter.net.proto.define.Vector.getDefaultInstance() : forward_;
  }
  /**
   * <code>.Vector forward = 2;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.define.VectorOrBuilder getForwardOrBuilder() {
    return getForward();
  }

  public static final int SKILL_ID_FIELD_NUMBER = 15;
  private int skillId_;
  /**
   * <code>uint32 skill_id = 15;</code>
   * @return The skillId.
   */
  @java.lang.Override
  public int getSkillId() {
    return skillId_;
  }

  public static final int CASTER_ID_FIELD_NUMBER = 10;
  private int casterId_;
  /**
   * <code>uint32 caster_id = 10;</code>
   * @return The casterId.
   */
  @java.lang.Override
  public int getCasterId() {
    return casterId_;
  }

  public static final int FORWARD_TYPE_FIELD_NUMBER = 11;
  private int forwardType_;
  /**
   * <code>.ForwardType forward_type = 11;</code>
   * @return The enum numeric value on the wire for forwardType.
   */
  @java.lang.Override public int getForwardTypeValue() {
    return forwardType_;
  }
  /**
   * <code>.ForwardType forward_type = 11;</code>
   * @return The forwardType.
   */
  @java.lang.Override public io.grasscutter.net.proto.fight.ForwardType getForwardType() {
    @SuppressWarnings("deprecation")
    io.grasscutter.net.proto.fight.ForwardType result = io.grasscutter.net.proto.fight.ForwardType.valueOf(forwardType_);
    return result == null ? io.grasscutter.net.proto.fight.ForwardType.UNRECOGNIZED : result;
  }

  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 (forward_ != null) {
      output.writeMessage(2, getForward());
    }
    if (casterId_ != 0) {
      output.writeUInt32(10, casterId_);
    }
    if (forwardType_ != io.grasscutter.net.proto.fight.ForwardType.ForwardType_FORWARD_LOCAL.getNumber()) {
      output.writeEnum(11, forwardType_);
    }
    if (skillId_ != 0) {
      output.writeUInt32(15, skillId_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (forward_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, getForward());
    }
    if (casterId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(10, casterId_);
    }
    if (forwardType_ != io.grasscutter.net.proto.fight.ForwardType.ForwardType_FORWARD_LOCAL.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(11, forwardType_);
    }
    if (skillId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(15, skillId_);
    }
    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 io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify other = (io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify) obj;

    if (hasForward() != other.hasForward()) return false;
    if (hasForward()) {
      if (!getForward()
          .equals(other.getForward())) return false;
    }
    if (getSkillId()
        != other.getSkillId()) return false;
    if (getCasterId()
        != other.getCasterId()) return false;
    if (forwardType_ != other.forwardType_) 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 (hasForward()) {
      hash = (37 * hash) + FORWARD_FIELD_NUMBER;
      hash = (53 * hash) + getForward().hashCode();
    }
    hash = (37 * hash) + SKILL_ID_FIELD_NUMBER;
    hash = (53 * hash) + getSkillId();
    hash = (37 * hash) + CASTER_ID_FIELD_NUMBER;
    hash = (53 * hash) + getCasterId();
    hash = (37 * hash) + FORWARD_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + forwardType_;
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grasscutter.net.proto.fight.Fight.internal_static_EvtDoSkillSuccNotify_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify.class, io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (forwardBuilder_ == null) {
        forward_ = null;
      } else {
        forward_ = null;
        forwardBuilder_ = null;
      }
      skillId_ = 0;

      casterId_ = 0;

      forwardType_ = 0;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return io.grasscutter.net.proto.fight.Fight.internal_static_EvtDoSkillSuccNotify_descriptor;
    }

    @java.lang.Override
    public io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify getDefaultInstanceForType() {
      return io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify.getDefaultInstance();
    }

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

    @java.lang.Override
    public io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify buildPartial() {
      io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify result = new io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify(this);
      if (forwardBuilder_ == null) {
        result.forward_ = forward_;
      } else {
        result.forward_ = forwardBuilder_.build();
      }
      result.skillId_ = skillId_;
      result.casterId_ = casterId_;
      result.forwardType_ = forwardType_;
      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 io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify) {
        return mergeFrom((io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify other) {
      if (other == io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify.getDefaultInstance()) return this;
      if (other.hasForward()) {
        mergeForward(other.getForward());
      }
      if (other.getSkillId() != 0) {
        setSkillId(other.getSkillId());
      }
      if (other.getCasterId() != 0) {
        setCasterId(other.getCasterId());
      }
      if (other.forwardType_ != 0) {
        setForwardTypeValue(other.getForwardTypeValue());
      }
      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 {
      io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private io.grasscutter.net.proto.define.Vector forward_;
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.define.Vector, io.grasscutter.net.proto.define.Vector.Builder, io.grasscutter.net.proto.define.VectorOrBuilder> forwardBuilder_;
    /**
     * <code>.Vector forward = 2;</code>
     * @return Whether the forward field is set.
     */
    public boolean hasForward() {
      return forwardBuilder_ != null || forward_ != null;
    }
    /**
     * <code>.Vector forward = 2;</code>
     * @return The forward.
     */
    public io.grasscutter.net.proto.define.Vector getForward() {
      if (forwardBuilder_ == null) {
        return forward_ == null ? io.grasscutter.net.proto.define.Vector.getDefaultInstance() : forward_;
      } else {
        return forwardBuilder_.getMessage();
      }
    }
    /**
     * <code>.Vector forward = 2;</code>
     */
    public Builder setForward(io.grasscutter.net.proto.define.Vector value) {
      if (forwardBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        forward_ = value;
        onChanged();
      } else {
        forwardBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.Vector forward = 2;</code>
     */
    public Builder setForward(
        io.grasscutter.net.proto.define.Vector.Builder builderForValue) {
      if (forwardBuilder_ == null) {
        forward_ = builderForValue.build();
        onChanged();
      } else {
        forwardBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.Vector forward = 2;</code>
     */
    public Builder mergeForward(io.grasscutter.net.proto.define.Vector value) {
      if (forwardBuilder_ == null) {
        if (forward_ != null) {
          forward_ =
            io.grasscutter.net.proto.define.Vector.newBuilder(forward_).mergeFrom(value).buildPartial();
        } else {
          forward_ = value;
        }
        onChanged();
      } else {
        forwardBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.Vector forward = 2;</code>
     */
    public Builder clearForward() {
      if (forwardBuilder_ == null) {
        forward_ = null;
        onChanged();
      } else {
        forward_ = null;
        forwardBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.Vector forward = 2;</code>
     */
    public io.grasscutter.net.proto.define.Vector.Builder getForwardBuilder() {
      
      onChanged();
      return getForwardFieldBuilder().getBuilder();
    }
    /**
     * <code>.Vector forward = 2;</code>
     */
    public io.grasscutter.net.proto.define.VectorOrBuilder getForwardOrBuilder() {
      if (forwardBuilder_ != null) {
        return forwardBuilder_.getMessageOrBuilder();
      } else {
        return forward_ == null ?
            io.grasscutter.net.proto.define.Vector.getDefaultInstance() : forward_;
      }
    }
    /**
     * <code>.Vector forward = 2;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.define.Vector, io.grasscutter.net.proto.define.Vector.Builder, io.grasscutter.net.proto.define.VectorOrBuilder> 
        getForwardFieldBuilder() {
      if (forwardBuilder_ == null) {
        forwardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.define.Vector, io.grasscutter.net.proto.define.Vector.Builder, io.grasscutter.net.proto.define.VectorOrBuilder>(
                getForward(),
                getParentForChildren(),
                isClean());
        forward_ = null;
      }
      return forwardBuilder_;
    }

    private int skillId_ ;
    /**
     * <code>uint32 skill_id = 15;</code>
     * @return The skillId.
     */
    @java.lang.Override
    public int getSkillId() {
      return skillId_;
    }
    /**
     * <code>uint32 skill_id = 15;</code>
     * @param value The skillId to set.
     * @return This builder for chaining.
     */
    public Builder setSkillId(int value) {
      
      skillId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 skill_id = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearSkillId() {
      
      skillId_ = 0;
      onChanged();
      return this;
    }

    private int casterId_ ;
    /**
     * <code>uint32 caster_id = 10;</code>
     * @return The casterId.
     */
    @java.lang.Override
    public int getCasterId() {
      return casterId_;
    }
    /**
     * <code>uint32 caster_id = 10;</code>
     * @param value The casterId to set.
     * @return This builder for chaining.
     */
    public Builder setCasterId(int value) {
      
      casterId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 caster_id = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearCasterId() {
      
      casterId_ = 0;
      onChanged();
      return this;
    }

    private int forwardType_ = 0;
    /**
     * <code>.ForwardType forward_type = 11;</code>
     * @return The enum numeric value on the wire for forwardType.
     */
    @java.lang.Override public int getForwardTypeValue() {
      return forwardType_;
    }
    /**
     * <code>.ForwardType forward_type = 11;</code>
     * @param value The enum numeric value on the wire for forwardType to set.
     * @return This builder for chaining.
     */
    public Builder setForwardTypeValue(int value) {
      
      forwardType_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>.ForwardType forward_type = 11;</code>
     * @return The forwardType.
     */
    @java.lang.Override
    public io.grasscutter.net.proto.fight.ForwardType getForwardType() {
      @SuppressWarnings("deprecation")
      io.grasscutter.net.proto.fight.ForwardType result = io.grasscutter.net.proto.fight.ForwardType.valueOf(forwardType_);
      return result == null ? io.grasscutter.net.proto.fight.ForwardType.UNRECOGNIZED : result;
    }
    /**
     * <code>.ForwardType forward_type = 11;</code>
     * @param value The forwardType to set.
     * @return This builder for chaining.
     */
    public Builder setForwardType(io.grasscutter.net.proto.fight.ForwardType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      
      forwardType_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <code>.ForwardType forward_type = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearForwardType() {
      
      forwardType_ = 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:EvtDoSkillSuccNotify)
  }

  // @@protoc_insertion_point(class_scope:EvtDoSkillSuccNotify)
  private static final io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify();
  }

  public static io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public io.grasscutter.net.proto.fight.EvtDoSkillSuccNotify getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

