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

package io.grasscutter.net.proto.scene;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private OKNBFFIFIGJ(
      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 16: {

            dLGFBKCFFAO_ = input.readUInt32();
            break;
          }
          case 90: {
            io.grasscutter.net.proto.scene.MapLayerInfo.Builder subBuilder = null;
            if (mapLayerInfo_ != null) {
              subBuilder = mapLayerInfo_.toBuilder();
            }
            mapLayerInfo_ = input.readMessage(io.grasscutter.net.proto.scene.MapLayerInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(mapLayerInfo_);
              mapLayerInfo_ = subBuilder.buildPartial();
            }

            break;
          }
          case 120: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              sceneTagIdList_ = newIntList();
              mutable_bitField0_ |= 0x00000001;
            }
            sceneTagIdList_.addInt(input.readUInt32());
            break;
          }
          case 122: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
              sceneTagIdList_ = newIntList();
              mutable_bitField0_ |= 0x00000001;
            }
            while (input.getBytesUntilLimit() > 0) {
              sceneTagIdList_.addInt(input.readUInt32());
            }
            input.popLimit(limit);
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        sceneTagIdList_.makeImmutable(); // C
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.scene.Scene.internal_static_OKNBFFIFIGJ_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.scene.Scene.internal_static_OKNBFFIFIGJ_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.scene.OKNBFFIFIGJ.class, io.grasscutter.net.proto.scene.OKNBFFIFIGJ.Builder.class);
  }

  public static final int SCENE_TAG_ID_LIST_FIELD_NUMBER = 15;
  private com.google.protobuf.Internal.IntList sceneTagIdList_;
  /**
   * <code>repeated uint32 scene_tag_id_list = 15;</code>
   * @return A list containing the sceneTagIdList.
   */
  @java.lang.Override
  public java.util.List<java.lang.Integer>
      getSceneTagIdListList() {
    return sceneTagIdList_;
  }
  /**
   * <code>repeated uint32 scene_tag_id_list = 15;</code>
   * @return The count of sceneTagIdList.
   */
  public int getSceneTagIdListCount() {
    return sceneTagIdList_.size();
  }
  /**
   * <code>repeated uint32 scene_tag_id_list = 15;</code>
   * @param index The index of the element to return.
   * @return The sceneTagIdList at the given index.
   */
  public int getSceneTagIdList(int index) {
    return sceneTagIdList_.getInt(index);
  }
  private int sceneTagIdListMemoizedSerializedSize = -1;

  public static final int MAP_LAYER_INFO_FIELD_NUMBER = 11;
  private io.grasscutter.net.proto.scene.MapLayerInfo mapLayerInfo_;
  /**
   * <code>.MapLayerInfo map_layer_info = 11;</code>
   * @return Whether the mapLayerInfo field is set.
   */
  @java.lang.Override
  public boolean hasMapLayerInfo() {
    return mapLayerInfo_ != null;
  }
  /**
   * <code>.MapLayerInfo map_layer_info = 11;</code>
   * @return The mapLayerInfo.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.scene.MapLayerInfo getMapLayerInfo() {
    return mapLayerInfo_ == null ? io.grasscutter.net.proto.scene.MapLayerInfo.getDefaultInstance() : mapLayerInfo_;
  }
  /**
   * <code>.MapLayerInfo map_layer_info = 11;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.scene.MapLayerInfoOrBuilder getMapLayerInfoOrBuilder() {
    return getMapLayerInfo();
  }

  public static final int DLGFBKCFFAO_FIELD_NUMBER = 2;
  private int dLGFBKCFFAO_;
  /**
   * <code>uint32 DLGFBKCFFAO = 2;</code>
   * @return The dLGFBKCFFAO.
   */
  @java.lang.Override
  public int getDLGFBKCFFAO() {
    return dLGFBKCFFAO_;
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    getSerializedSize();
    if (dLGFBKCFFAO_ != 0) {
      output.writeUInt32(2, dLGFBKCFFAO_);
    }
    if (mapLayerInfo_ != null) {
      output.writeMessage(11, getMapLayerInfo());
    }
    if (getSceneTagIdListList().size() > 0) {
      output.writeUInt32NoTag(122);
      output.writeUInt32NoTag(sceneTagIdListMemoizedSerializedSize);
    }
    for (int i = 0; i < sceneTagIdList_.size(); i++) {
      output.writeUInt32NoTag(sceneTagIdList_.getInt(i));
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (dLGFBKCFFAO_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(2, dLGFBKCFFAO_);
    }
    if (mapLayerInfo_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(11, getMapLayerInfo());
    }
    {
      int dataSize = 0;
      for (int i = 0; i < sceneTagIdList_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeUInt32SizeNoTag(sceneTagIdList_.getInt(i));
      }
      size += dataSize;
      if (!getSceneTagIdListList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      sceneTagIdListMemoizedSerializedSize = dataSize;
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof io.grasscutter.net.proto.scene.OKNBFFIFIGJ)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.scene.OKNBFFIFIGJ other = (io.grasscutter.net.proto.scene.OKNBFFIFIGJ) obj;

    if (!getSceneTagIdListList()
        .equals(other.getSceneTagIdListList())) return false;
    if (hasMapLayerInfo() != other.hasMapLayerInfo()) return false;
    if (hasMapLayerInfo()) {
      if (!getMapLayerInfo()
          .equals(other.getMapLayerInfo())) return false;
    }
    if (getDLGFBKCFFAO()
        != other.getDLGFBKCFFAO()) 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 (getSceneTagIdListCount() > 0) {
      hash = (37 * hash) + SCENE_TAG_ID_LIST_FIELD_NUMBER;
      hash = (53 * hash) + getSceneTagIdListList().hashCode();
    }
    if (hasMapLayerInfo()) {
      hash = (37 * hash) + MAP_LAYER_INFO_FIELD_NUMBER;
      hash = (53 * hash) + getMapLayerInfo().hashCode();
    }
    hash = (37 * hash) + DLGFBKCFFAO_FIELD_NUMBER;
    hash = (53 * hash) + getDLGFBKCFFAO();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grasscutter.net.proto.scene.Scene.internal_static_OKNBFFIFIGJ_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.scene.OKNBFFIFIGJ.class, io.grasscutter.net.proto.scene.OKNBFFIFIGJ.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.scene.OKNBFFIFIGJ.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();
      sceneTagIdList_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000001);
      if (mapLayerInfoBuilder_ == null) {
        mapLayerInfo_ = null;
      } else {
        mapLayerInfo_ = null;
        mapLayerInfoBuilder_ = null;
      }
      dLGFBKCFFAO_ = 0;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return io.grasscutter.net.proto.scene.Scene.internal_static_OKNBFFIFIGJ_descriptor;
    }

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.scene.OKNBFFIFIGJ buildPartial() {
      io.grasscutter.net.proto.scene.OKNBFFIFIGJ result = new io.grasscutter.net.proto.scene.OKNBFFIFIGJ(this);
      int from_bitField0_ = bitField0_;
      if (((bitField0_ & 0x00000001) != 0)) {
        sceneTagIdList_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000001);
      }
      result.sceneTagIdList_ = sceneTagIdList_;
      if (mapLayerInfoBuilder_ == null) {
        result.mapLayerInfo_ = mapLayerInfo_;
      } else {
        result.mapLayerInfo_ = mapLayerInfoBuilder_.build();
      }
      result.dLGFBKCFFAO_ = dLGFBKCFFAO_;
      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.scene.OKNBFFIFIGJ) {
        return mergeFrom((io.grasscutter.net.proto.scene.OKNBFFIFIGJ)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.scene.OKNBFFIFIGJ other) {
      if (other == io.grasscutter.net.proto.scene.OKNBFFIFIGJ.getDefaultInstance()) return this;
      if (!other.sceneTagIdList_.isEmpty()) {
        if (sceneTagIdList_.isEmpty()) {
          sceneTagIdList_ = other.sceneTagIdList_;
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          ensureSceneTagIdListIsMutable();
          sceneTagIdList_.addAll(other.sceneTagIdList_);
        }
        onChanged();
      }
      if (other.hasMapLayerInfo()) {
        mergeMapLayerInfo(other.getMapLayerInfo());
      }
      if (other.getDLGFBKCFFAO() != 0) {
        setDLGFBKCFFAO(other.getDLGFBKCFFAO());
      }
      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.scene.OKNBFFIFIGJ parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.scene.OKNBFFIFIGJ) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private com.google.protobuf.Internal.IntList sceneTagIdList_ = emptyIntList();
    private void ensureSceneTagIdListIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        sceneTagIdList_ = mutableCopy(sceneTagIdList_);
        bitField0_ |= 0x00000001;
       }
    }
    /**
     * <code>repeated uint32 scene_tag_id_list = 15;</code>
     * @return A list containing the sceneTagIdList.
     */
    public java.util.List<java.lang.Integer>
        getSceneTagIdListList() {
      return ((bitField0_ & 0x00000001) != 0) ?
               java.util.Collections.unmodifiableList(sceneTagIdList_) : sceneTagIdList_;
    }
    /**
     * <code>repeated uint32 scene_tag_id_list = 15;</code>
     * @return The count of sceneTagIdList.
     */
    public int getSceneTagIdListCount() {
      return sceneTagIdList_.size();
    }
    /**
     * <code>repeated uint32 scene_tag_id_list = 15;</code>
     * @param index The index of the element to return.
     * @return The sceneTagIdList at the given index.
     */
    public int getSceneTagIdList(int index) {
      return sceneTagIdList_.getInt(index);
    }
    /**
     * <code>repeated uint32 scene_tag_id_list = 15;</code>
     * @param index The index to set the value at.
     * @param value The sceneTagIdList to set.
     * @return This builder for chaining.
     */
    public Builder setSceneTagIdList(
        int index, int value) {
      ensureSceneTagIdListIsMutable();
      sceneTagIdList_.setInt(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 scene_tag_id_list = 15;</code>
     * @param value The sceneTagIdList to add.
     * @return This builder for chaining.
     */
    public Builder addSceneTagIdList(int value) {
      ensureSceneTagIdListIsMutable();
      sceneTagIdList_.addInt(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 scene_tag_id_list = 15;</code>
     * @param values The sceneTagIdList to add.
     * @return This builder for chaining.
     */
    public Builder addAllSceneTagIdList(
        java.lang.Iterable<? extends java.lang.Integer> values) {
      ensureSceneTagIdListIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, sceneTagIdList_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 scene_tag_id_list = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearSceneTagIdList() {
      sceneTagIdList_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }

    private io.grasscutter.net.proto.scene.MapLayerInfo mapLayerInfo_;
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.scene.MapLayerInfo, io.grasscutter.net.proto.scene.MapLayerInfo.Builder, io.grasscutter.net.proto.scene.MapLayerInfoOrBuilder> mapLayerInfoBuilder_;
    /**
     * <code>.MapLayerInfo map_layer_info = 11;</code>
     * @return Whether the mapLayerInfo field is set.
     */
    public boolean hasMapLayerInfo() {
      return mapLayerInfoBuilder_ != null || mapLayerInfo_ != null;
    }
    /**
     * <code>.MapLayerInfo map_layer_info = 11;</code>
     * @return The mapLayerInfo.
     */
    public io.grasscutter.net.proto.scene.MapLayerInfo getMapLayerInfo() {
      if (mapLayerInfoBuilder_ == null) {
        return mapLayerInfo_ == null ? io.grasscutter.net.proto.scene.MapLayerInfo.getDefaultInstance() : mapLayerInfo_;
      } else {
        return mapLayerInfoBuilder_.getMessage();
      }
    }
    /**
     * <code>.MapLayerInfo map_layer_info = 11;</code>
     */
    public Builder setMapLayerInfo(io.grasscutter.net.proto.scene.MapLayerInfo value) {
      if (mapLayerInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        mapLayerInfo_ = value;
        onChanged();
      } else {
        mapLayerInfoBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.MapLayerInfo map_layer_info = 11;</code>
     */
    public Builder setMapLayerInfo(
        io.grasscutter.net.proto.scene.MapLayerInfo.Builder builderForValue) {
      if (mapLayerInfoBuilder_ == null) {
        mapLayerInfo_ = builderForValue.build();
        onChanged();
      } else {
        mapLayerInfoBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.MapLayerInfo map_layer_info = 11;</code>
     */
    public Builder mergeMapLayerInfo(io.grasscutter.net.proto.scene.MapLayerInfo value) {
      if (mapLayerInfoBuilder_ == null) {
        if (mapLayerInfo_ != null) {
          mapLayerInfo_ =
            io.grasscutter.net.proto.scene.MapLayerInfo.newBuilder(mapLayerInfo_).mergeFrom(value).buildPartial();
        } else {
          mapLayerInfo_ = value;
        }
        onChanged();
      } else {
        mapLayerInfoBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.MapLayerInfo map_layer_info = 11;</code>
     */
    public Builder clearMapLayerInfo() {
      if (mapLayerInfoBuilder_ == null) {
        mapLayerInfo_ = null;
        onChanged();
      } else {
        mapLayerInfo_ = null;
        mapLayerInfoBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.MapLayerInfo map_layer_info = 11;</code>
     */
    public io.grasscutter.net.proto.scene.MapLayerInfo.Builder getMapLayerInfoBuilder() {
      
      onChanged();
      return getMapLayerInfoFieldBuilder().getBuilder();
    }
    /**
     * <code>.MapLayerInfo map_layer_info = 11;</code>
     */
    public io.grasscutter.net.proto.scene.MapLayerInfoOrBuilder getMapLayerInfoOrBuilder() {
      if (mapLayerInfoBuilder_ != null) {
        return mapLayerInfoBuilder_.getMessageOrBuilder();
      } else {
        return mapLayerInfo_ == null ?
            io.grasscutter.net.proto.scene.MapLayerInfo.getDefaultInstance() : mapLayerInfo_;
      }
    }
    /**
     * <code>.MapLayerInfo map_layer_info = 11;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.scene.MapLayerInfo, io.grasscutter.net.proto.scene.MapLayerInfo.Builder, io.grasscutter.net.proto.scene.MapLayerInfoOrBuilder> 
        getMapLayerInfoFieldBuilder() {
      if (mapLayerInfoBuilder_ == null) {
        mapLayerInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.scene.MapLayerInfo, io.grasscutter.net.proto.scene.MapLayerInfo.Builder, io.grasscutter.net.proto.scene.MapLayerInfoOrBuilder>(
                getMapLayerInfo(),
                getParentForChildren(),
                isClean());
        mapLayerInfo_ = null;
      }
      return mapLayerInfoBuilder_;
    }

    private int dLGFBKCFFAO_ ;
    /**
     * <code>uint32 DLGFBKCFFAO = 2;</code>
     * @return The dLGFBKCFFAO.
     */
    @java.lang.Override
    public int getDLGFBKCFFAO() {
      return dLGFBKCFFAO_;
    }
    /**
     * <code>uint32 DLGFBKCFFAO = 2;</code>
     * @param value The dLGFBKCFFAO to set.
     * @return This builder for chaining.
     */
    public Builder setDLGFBKCFFAO(int value) {
      
      dLGFBKCFFAO_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 DLGFBKCFFAO = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearDLGFBKCFFAO() {
      
      dLGFBKCFFAO_ = 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:OKNBFFIFIGJ)
  }

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

  public static io.grasscutter.net.proto.scene.OKNBFFIFIGJ getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

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

}

