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

package io.grasscutter.net.proto.property;

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

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

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

            break;
          }
          case 48: {

            localId_ = input.readInt32();
            break;
          }
          case 56: {

            instancedModifierId_ = input.readUInt32();
            break;
          }
          case 64: {

            instancedAbilityId_ = input.readUInt32();
            break;
          }
          case 96: {

            modifierLocalId_ = input.readInt32();
            break;
          }
          case 104: {

            casterId_ = 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.property.Property.internal_static_KNJLMGFKIMB_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.property.Property.internal_static_KNJLMGFKIMB_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.property.KNJLMGFKIMB.class, io.grasscutter.net.proto.property.KNJLMGFKIMB.Builder.class);
  }

  public static final int PARENT_ABILITY_NAME_FIELD_NUMBER = 2;
  private io.grasscutter.net.proto.define.AbilityString parentAbilityName_;
  /**
   * <code>.AbilityString parent_ability_name = 2;</code>
   * @return Whether the parentAbilityName field is set.
   */
  @java.lang.Override
  public boolean hasParentAbilityName() {
    return parentAbilityName_ != null;
  }
  /**
   * <code>.AbilityString parent_ability_name = 2;</code>
   * @return The parentAbilityName.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.define.AbilityString getParentAbilityName() {
    return parentAbilityName_ == null ? io.grasscutter.net.proto.define.AbilityString.getDefaultInstance() : parentAbilityName_;
  }
  /**
   * <code>.AbilityString parent_ability_name = 2;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.define.AbilityStringOrBuilder getParentAbilityNameOrBuilder() {
    return getParentAbilityName();
  }

  public static final int INSTANCED_MODIFIER_ID_FIELD_NUMBER = 7;
  private int instancedModifierId_;
  /**
   * <code>uint32 instanced_modifier_id = 7;</code>
   * @return The instancedModifierId.
   */
  @java.lang.Override
  public int getInstancedModifierId() {
    return instancedModifierId_;
  }

  public static final int LOCAL_ID_FIELD_NUMBER = 6;
  private int localId_;
  /**
   * <code>int32 local_id = 6;</code>
   * @return The localId.
   */
  @java.lang.Override
  public int getLocalId() {
    return localId_;
  }

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

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

  public static final int MODIFIER_LOCAL_ID_FIELD_NUMBER = 12;
  private int modifierLocalId_;
  /**
   * <code>int32 modifier_local_id = 12;</code>
   * @return The modifierLocalId.
   */
  @java.lang.Override
  public int getModifierLocalId() {
    return modifierLocalId_;
  }

  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 (parentAbilityName_ != null) {
      output.writeMessage(2, getParentAbilityName());
    }
    if (localId_ != 0) {
      output.writeInt32(6, localId_);
    }
    if (instancedModifierId_ != 0) {
      output.writeUInt32(7, instancedModifierId_);
    }
    if (instancedAbilityId_ != 0) {
      output.writeUInt32(8, instancedAbilityId_);
    }
    if (modifierLocalId_ != 0) {
      output.writeInt32(12, modifierLocalId_);
    }
    if (casterId_ != 0) {
      output.writeUInt32(13, casterId_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (parentAbilityName_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, getParentAbilityName());
    }
    if (localId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(6, localId_);
    }
    if (instancedModifierId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(7, instancedModifierId_);
    }
    if (instancedAbilityId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(8, instancedAbilityId_);
    }
    if (modifierLocalId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(12, modifierLocalId_);
    }
    if (casterId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(13, casterId_);
    }
    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.property.KNJLMGFKIMB)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.property.KNJLMGFKIMB other = (io.grasscutter.net.proto.property.KNJLMGFKIMB) obj;

    if (hasParentAbilityName() != other.hasParentAbilityName()) return false;
    if (hasParentAbilityName()) {
      if (!getParentAbilityName()
          .equals(other.getParentAbilityName())) return false;
    }
    if (getInstancedModifierId()
        != other.getInstancedModifierId()) return false;
    if (getLocalId()
        != other.getLocalId()) return false;
    if (getCasterId()
        != other.getCasterId()) return false;
    if (getInstancedAbilityId()
        != other.getInstancedAbilityId()) return false;
    if (getModifierLocalId()
        != other.getModifierLocalId()) 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 (hasParentAbilityName()) {
      hash = (37 * hash) + PARENT_ABILITY_NAME_FIELD_NUMBER;
      hash = (53 * hash) + getParentAbilityName().hashCode();
    }
    hash = (37 * hash) + INSTANCED_MODIFIER_ID_FIELD_NUMBER;
    hash = (53 * hash) + getInstancedModifierId();
    hash = (37 * hash) + LOCAL_ID_FIELD_NUMBER;
    hash = (53 * hash) + getLocalId();
    hash = (37 * hash) + CASTER_ID_FIELD_NUMBER;
    hash = (53 * hash) + getCasterId();
    hash = (37 * hash) + INSTANCED_ABILITY_ID_FIELD_NUMBER;
    hash = (53 * hash) + getInstancedAbilityId();
    hash = (37 * hash) + MODIFIER_LOCAL_ID_FIELD_NUMBER;
    hash = (53 * hash) + getModifierLocalId();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grasscutter.net.proto.property.Property.internal_static_KNJLMGFKIMB_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.property.KNJLMGFKIMB.class, io.grasscutter.net.proto.property.KNJLMGFKIMB.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.property.KNJLMGFKIMB.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 (parentAbilityNameBuilder_ == null) {
        parentAbilityName_ = null;
      } else {
        parentAbilityName_ = null;
        parentAbilityNameBuilder_ = null;
      }
      instancedModifierId_ = 0;

      localId_ = 0;

      casterId_ = 0;

      instancedAbilityId_ = 0;

      modifierLocalId_ = 0;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return io.grasscutter.net.proto.property.Property.internal_static_KNJLMGFKIMB_descriptor;
    }

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.property.KNJLMGFKIMB buildPartial() {
      io.grasscutter.net.proto.property.KNJLMGFKIMB result = new io.grasscutter.net.proto.property.KNJLMGFKIMB(this);
      if (parentAbilityNameBuilder_ == null) {
        result.parentAbilityName_ = parentAbilityName_;
      } else {
        result.parentAbilityName_ = parentAbilityNameBuilder_.build();
      }
      result.instancedModifierId_ = instancedModifierId_;
      result.localId_ = localId_;
      result.casterId_ = casterId_;
      result.instancedAbilityId_ = instancedAbilityId_;
      result.modifierLocalId_ = modifierLocalId_;
      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.property.KNJLMGFKIMB) {
        return mergeFrom((io.grasscutter.net.proto.property.KNJLMGFKIMB)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.property.KNJLMGFKIMB other) {
      if (other == io.grasscutter.net.proto.property.KNJLMGFKIMB.getDefaultInstance()) return this;
      if (other.hasParentAbilityName()) {
        mergeParentAbilityName(other.getParentAbilityName());
      }
      if (other.getInstancedModifierId() != 0) {
        setInstancedModifierId(other.getInstancedModifierId());
      }
      if (other.getLocalId() != 0) {
        setLocalId(other.getLocalId());
      }
      if (other.getCasterId() != 0) {
        setCasterId(other.getCasterId());
      }
      if (other.getInstancedAbilityId() != 0) {
        setInstancedAbilityId(other.getInstancedAbilityId());
      }
      if (other.getModifierLocalId() != 0) {
        setModifierLocalId(other.getModifierLocalId());
      }
      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.property.KNJLMGFKIMB parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.property.KNJLMGFKIMB) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private io.grasscutter.net.proto.define.AbilityString parentAbilityName_;
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.define.AbilityString, io.grasscutter.net.proto.define.AbilityString.Builder, io.grasscutter.net.proto.define.AbilityStringOrBuilder> parentAbilityNameBuilder_;
    /**
     * <code>.AbilityString parent_ability_name = 2;</code>
     * @return Whether the parentAbilityName field is set.
     */
    public boolean hasParentAbilityName() {
      return parentAbilityNameBuilder_ != null || parentAbilityName_ != null;
    }
    /**
     * <code>.AbilityString parent_ability_name = 2;</code>
     * @return The parentAbilityName.
     */
    public io.grasscutter.net.proto.define.AbilityString getParentAbilityName() {
      if (parentAbilityNameBuilder_ == null) {
        return parentAbilityName_ == null ? io.grasscutter.net.proto.define.AbilityString.getDefaultInstance() : parentAbilityName_;
      } else {
        return parentAbilityNameBuilder_.getMessage();
      }
    }
    /**
     * <code>.AbilityString parent_ability_name = 2;</code>
     */
    public Builder setParentAbilityName(io.grasscutter.net.proto.define.AbilityString value) {
      if (parentAbilityNameBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        parentAbilityName_ = value;
        onChanged();
      } else {
        parentAbilityNameBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.AbilityString parent_ability_name = 2;</code>
     */
    public Builder setParentAbilityName(
        io.grasscutter.net.proto.define.AbilityString.Builder builderForValue) {
      if (parentAbilityNameBuilder_ == null) {
        parentAbilityName_ = builderForValue.build();
        onChanged();
      } else {
        parentAbilityNameBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.AbilityString parent_ability_name = 2;</code>
     */
    public Builder mergeParentAbilityName(io.grasscutter.net.proto.define.AbilityString value) {
      if (parentAbilityNameBuilder_ == null) {
        if (parentAbilityName_ != null) {
          parentAbilityName_ =
            io.grasscutter.net.proto.define.AbilityString.newBuilder(parentAbilityName_).mergeFrom(value).buildPartial();
        } else {
          parentAbilityName_ = value;
        }
        onChanged();
      } else {
        parentAbilityNameBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.AbilityString parent_ability_name = 2;</code>
     */
    public Builder clearParentAbilityName() {
      if (parentAbilityNameBuilder_ == null) {
        parentAbilityName_ = null;
        onChanged();
      } else {
        parentAbilityName_ = null;
        parentAbilityNameBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.AbilityString parent_ability_name = 2;</code>
     */
    public io.grasscutter.net.proto.define.AbilityString.Builder getParentAbilityNameBuilder() {
      
      onChanged();
      return getParentAbilityNameFieldBuilder().getBuilder();
    }
    /**
     * <code>.AbilityString parent_ability_name = 2;</code>
     */
    public io.grasscutter.net.proto.define.AbilityStringOrBuilder getParentAbilityNameOrBuilder() {
      if (parentAbilityNameBuilder_ != null) {
        return parentAbilityNameBuilder_.getMessageOrBuilder();
      } else {
        return parentAbilityName_ == null ?
            io.grasscutter.net.proto.define.AbilityString.getDefaultInstance() : parentAbilityName_;
      }
    }
    /**
     * <code>.AbilityString parent_ability_name = 2;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.define.AbilityString, io.grasscutter.net.proto.define.AbilityString.Builder, io.grasscutter.net.proto.define.AbilityStringOrBuilder> 
        getParentAbilityNameFieldBuilder() {
      if (parentAbilityNameBuilder_ == null) {
        parentAbilityNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.define.AbilityString, io.grasscutter.net.proto.define.AbilityString.Builder, io.grasscutter.net.proto.define.AbilityStringOrBuilder>(
                getParentAbilityName(),
                getParentForChildren(),
                isClean());
        parentAbilityName_ = null;
      }
      return parentAbilityNameBuilder_;
    }

    private int instancedModifierId_ ;
    /**
     * <code>uint32 instanced_modifier_id = 7;</code>
     * @return The instancedModifierId.
     */
    @java.lang.Override
    public int getInstancedModifierId() {
      return instancedModifierId_;
    }
    /**
     * <code>uint32 instanced_modifier_id = 7;</code>
     * @param value The instancedModifierId to set.
     * @return This builder for chaining.
     */
    public Builder setInstancedModifierId(int value) {
      
      instancedModifierId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 instanced_modifier_id = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearInstancedModifierId() {
      
      instancedModifierId_ = 0;
      onChanged();
      return this;
    }

    private int localId_ ;
    /**
     * <code>int32 local_id = 6;</code>
     * @return The localId.
     */
    @java.lang.Override
    public int getLocalId() {
      return localId_;
    }
    /**
     * <code>int32 local_id = 6;</code>
     * @param value The localId to set.
     * @return This builder for chaining.
     */
    public Builder setLocalId(int value) {
      
      localId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 local_id = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearLocalId() {
      
      localId_ = 0;
      onChanged();
      return this;
    }

    private int casterId_ ;
    /**
     * <code>uint32 caster_id = 13;</code>
     * @return The casterId.
     */
    @java.lang.Override
    public int getCasterId() {
      return casterId_;
    }
    /**
     * <code>uint32 caster_id = 13;</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 = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearCasterId() {
      
      casterId_ = 0;
      onChanged();
      return this;
    }

    private int instancedAbilityId_ ;
    /**
     * <code>uint32 instanced_ability_id = 8;</code>
     * @return The instancedAbilityId.
     */
    @java.lang.Override
    public int getInstancedAbilityId() {
      return instancedAbilityId_;
    }
    /**
     * <code>uint32 instanced_ability_id = 8;</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 = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearInstancedAbilityId() {
      
      instancedAbilityId_ = 0;
      onChanged();
      return this;
    }

    private int modifierLocalId_ ;
    /**
     * <code>int32 modifier_local_id = 12;</code>
     * @return The modifierLocalId.
     */
    @java.lang.Override
    public int getModifierLocalId() {
      return modifierLocalId_;
    }
    /**
     * <code>int32 modifier_local_id = 12;</code>
     * @param value The modifierLocalId to set.
     * @return This builder for chaining.
     */
    public Builder setModifierLocalId(int value) {
      
      modifierLocalId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 modifier_local_id = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearModifierLocalId() {
      
      modifierLocalId_ = 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:KNJLMGFKIMB)
  }

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

  public static io.grasscutter.net.proto.property.KNJLMGFKIMB getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

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

}

