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

package io.grasscutter.net.proto.scene;

/**
 * <pre>
 * CmdId: 1315
 * </pre>
 *
 * Protobuf type {@code PlayerEnterSceneInfoNotify}
 */
public final class PlayerEnterSceneInfoNotify extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:PlayerEnterSceneInfoNotify)
    PlayerEnterSceneInfoNotifyOrBuilder {
private static final long serialVersionUID = 0L;
  // Use PlayerEnterSceneInfoNotify.newBuilder() to construct.
  private PlayerEnterSceneInfoNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private PlayerEnterSceneInfoNotify() {
    avatarEnterInfo_ = java.util.Collections.emptyList();
  }

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

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

            curAvatarEntityId_ = input.readUInt32();
            break;
          }
          case 50: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              avatarEnterInfo_ = new java.util.ArrayList<io.grasscutter.net.proto.scene.AvatarEnterSceneInfo>();
              mutable_bitField0_ |= 0x00000001;
            }
            avatarEnterInfo_.add(
                input.readMessage(io.grasscutter.net.proto.scene.AvatarEnterSceneInfo.parser(), extensionRegistry));
            break;
          }
          case 56: {

            enterSceneToken_ = input.readUInt32();
            break;
          }
          case 74: {
            io.grasscutter.net.proto.scene.TeamEnterSceneInfo.Builder subBuilder = null;
            if (teamEnterInfo_ != null) {
              subBuilder = teamEnterInfo_.toBuilder();
            }
            teamEnterInfo_ = input.readMessage(io.grasscutter.net.proto.scene.TeamEnterSceneInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(teamEnterInfo_);
              teamEnterInfo_ = subBuilder.buildPartial();
            }

            break;
          }
          case 98: {
            io.grasscutter.net.proto.scene.MpLevelEntityInfo.Builder subBuilder = null;
            if (mpLevelEntityInfo_ != null) {
              subBuilder = mpLevelEntityInfo_.toBuilder();
            }
            mpLevelEntityInfo_ = input.readMessage(io.grasscutter.net.proto.scene.MpLevelEntityInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(mpLevelEntityInfo_);
              mpLevelEntityInfo_ = subBuilder.buildPartial();
            }

            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)) {
        avatarEnterInfo_ = java.util.Collections.unmodifiableList(avatarEnterInfo_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.scene.Scene.internal_static_PlayerEnterSceneInfoNotify_descriptor;
  }

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

  public static final int MP_LEVEL_ENTITY_INFO_FIELD_NUMBER = 12;
  private io.grasscutter.net.proto.scene.MpLevelEntityInfo mpLevelEntityInfo_;
  /**
   * <code>.MpLevelEntityInfo mp_level_entity_info = 12;</code>
   * @return Whether the mpLevelEntityInfo field is set.
   */
  @java.lang.Override
  public boolean hasMpLevelEntityInfo() {
    return mpLevelEntityInfo_ != null;
  }
  /**
   * <code>.MpLevelEntityInfo mp_level_entity_info = 12;</code>
   * @return The mpLevelEntityInfo.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.scene.MpLevelEntityInfo getMpLevelEntityInfo() {
    return mpLevelEntityInfo_ == null ? io.grasscutter.net.proto.scene.MpLevelEntityInfo.getDefaultInstance() : mpLevelEntityInfo_;
  }
  /**
   * <code>.MpLevelEntityInfo mp_level_entity_info = 12;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.scene.MpLevelEntityInfoOrBuilder getMpLevelEntityInfoOrBuilder() {
    return getMpLevelEntityInfo();
  }

  public static final int TEAM_ENTER_INFO_FIELD_NUMBER = 9;
  private io.grasscutter.net.proto.scene.TeamEnterSceneInfo teamEnterInfo_;
  /**
   * <code>.TeamEnterSceneInfo team_enter_info = 9;</code>
   * @return Whether the teamEnterInfo field is set.
   */
  @java.lang.Override
  public boolean hasTeamEnterInfo() {
    return teamEnterInfo_ != null;
  }
  /**
   * <code>.TeamEnterSceneInfo team_enter_info = 9;</code>
   * @return The teamEnterInfo.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.scene.TeamEnterSceneInfo getTeamEnterInfo() {
    return teamEnterInfo_ == null ? io.grasscutter.net.proto.scene.TeamEnterSceneInfo.getDefaultInstance() : teamEnterInfo_;
  }
  /**
   * <code>.TeamEnterSceneInfo team_enter_info = 9;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.scene.TeamEnterSceneInfoOrBuilder getTeamEnterInfoOrBuilder() {
    return getTeamEnterInfo();
  }

  public static final int AVATAR_ENTER_INFO_FIELD_NUMBER = 6;
  private java.util.List<io.grasscutter.net.proto.scene.AvatarEnterSceneInfo> avatarEnterInfo_;
  /**
   * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
   */
  @java.lang.Override
  public java.util.List<io.grasscutter.net.proto.scene.AvatarEnterSceneInfo> getAvatarEnterInfoList() {
    return avatarEnterInfo_;
  }
  /**
   * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
   */
  @java.lang.Override
  public java.util.List<? extends io.grasscutter.net.proto.scene.AvatarEnterSceneInfoOrBuilder> 
      getAvatarEnterInfoOrBuilderList() {
    return avatarEnterInfo_;
  }
  /**
   * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
   */
  @java.lang.Override
  public int getAvatarEnterInfoCount() {
    return avatarEnterInfo_.size();
  }
  /**
   * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.scene.AvatarEnterSceneInfo getAvatarEnterInfo(int index) {
    return avatarEnterInfo_.get(index);
  }
  /**
   * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.scene.AvatarEnterSceneInfoOrBuilder getAvatarEnterInfoOrBuilder(
      int index) {
    return avatarEnterInfo_.get(index);
  }

  public static final int ENTER_SCENE_TOKEN_FIELD_NUMBER = 7;
  private int enterSceneToken_;
  /**
   * <code>uint32 enter_scene_token = 7;</code>
   * @return The enterSceneToken.
   */
  @java.lang.Override
  public int getEnterSceneToken() {
    return enterSceneToken_;
  }

  public static final int CUR_AVATAR_ENTITY_ID_FIELD_NUMBER = 5;
  private int curAvatarEntityId_;
  /**
   * <code>uint32 cur_avatar_entity_id = 5;</code>
   * @return The curAvatarEntityId.
   */
  @java.lang.Override
  public int getCurAvatarEntityId() {
    return curAvatarEntityId_;
  }

  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 (curAvatarEntityId_ != 0) {
      output.writeUInt32(5, curAvatarEntityId_);
    }
    for (int i = 0; i < avatarEnterInfo_.size(); i++) {
      output.writeMessage(6, avatarEnterInfo_.get(i));
    }
    if (enterSceneToken_ != 0) {
      output.writeUInt32(7, enterSceneToken_);
    }
    if (teamEnterInfo_ != null) {
      output.writeMessage(9, getTeamEnterInfo());
    }
    if (mpLevelEntityInfo_ != null) {
      output.writeMessage(12, getMpLevelEntityInfo());
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (curAvatarEntityId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(5, curAvatarEntityId_);
    }
    for (int i = 0; i < avatarEnterInfo_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, avatarEnterInfo_.get(i));
    }
    if (enterSceneToken_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(7, enterSceneToken_);
    }
    if (teamEnterInfo_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(9, getTeamEnterInfo());
    }
    if (mpLevelEntityInfo_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(12, getMpLevelEntityInfo());
    }
    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.PlayerEnterSceneInfoNotify)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.scene.PlayerEnterSceneInfoNotify other = (io.grasscutter.net.proto.scene.PlayerEnterSceneInfoNotify) obj;

    if (hasMpLevelEntityInfo() != other.hasMpLevelEntityInfo()) return false;
    if (hasMpLevelEntityInfo()) {
      if (!getMpLevelEntityInfo()
          .equals(other.getMpLevelEntityInfo())) return false;
    }
    if (hasTeamEnterInfo() != other.hasTeamEnterInfo()) return false;
    if (hasTeamEnterInfo()) {
      if (!getTeamEnterInfo()
          .equals(other.getTeamEnterInfo())) return false;
    }
    if (!getAvatarEnterInfoList()
        .equals(other.getAvatarEnterInfoList())) return false;
    if (getEnterSceneToken()
        != other.getEnterSceneToken()) return false;
    if (getCurAvatarEntityId()
        != other.getCurAvatarEntityId()) 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 (hasMpLevelEntityInfo()) {
      hash = (37 * hash) + MP_LEVEL_ENTITY_INFO_FIELD_NUMBER;
      hash = (53 * hash) + getMpLevelEntityInfo().hashCode();
    }
    if (hasTeamEnterInfo()) {
      hash = (37 * hash) + TEAM_ENTER_INFO_FIELD_NUMBER;
      hash = (53 * hash) + getTeamEnterInfo().hashCode();
    }
    if (getAvatarEnterInfoCount() > 0) {
      hash = (37 * hash) + AVATAR_ENTER_INFO_FIELD_NUMBER;
      hash = (53 * hash) + getAvatarEnterInfoList().hashCode();
    }
    hash = (37 * hash) + ENTER_SCENE_TOKEN_FIELD_NUMBER;
    hash = (53 * hash) + getEnterSceneToken();
    hash = (37 * hash) + CUR_AVATAR_ENTITY_ID_FIELD_NUMBER;
    hash = (53 * hash) + getCurAvatarEntityId();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getAvatarEnterInfoFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (mpLevelEntityInfoBuilder_ == null) {
        mpLevelEntityInfo_ = null;
      } else {
        mpLevelEntityInfo_ = null;
        mpLevelEntityInfoBuilder_ = null;
      }
      if (teamEnterInfoBuilder_ == null) {
        teamEnterInfo_ = null;
      } else {
        teamEnterInfo_ = null;
        teamEnterInfoBuilder_ = null;
      }
      if (avatarEnterInfoBuilder_ == null) {
        avatarEnterInfo_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        avatarEnterInfoBuilder_.clear();
      }
      enterSceneToken_ = 0;

      curAvatarEntityId_ = 0;

      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.scene.PlayerEnterSceneInfoNotify buildPartial() {
      io.grasscutter.net.proto.scene.PlayerEnterSceneInfoNotify result = new io.grasscutter.net.proto.scene.PlayerEnterSceneInfoNotify(this);
      int from_bitField0_ = bitField0_;
      if (mpLevelEntityInfoBuilder_ == null) {
        result.mpLevelEntityInfo_ = mpLevelEntityInfo_;
      } else {
        result.mpLevelEntityInfo_ = mpLevelEntityInfoBuilder_.build();
      }
      if (teamEnterInfoBuilder_ == null) {
        result.teamEnterInfo_ = teamEnterInfo_;
      } else {
        result.teamEnterInfo_ = teamEnterInfoBuilder_.build();
      }
      if (avatarEnterInfoBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          avatarEnterInfo_ = java.util.Collections.unmodifiableList(avatarEnterInfo_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.avatarEnterInfo_ = avatarEnterInfo_;
      } else {
        result.avatarEnterInfo_ = avatarEnterInfoBuilder_.build();
      }
      result.enterSceneToken_ = enterSceneToken_;
      result.curAvatarEntityId_ = curAvatarEntityId_;
      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.PlayerEnterSceneInfoNotify) {
        return mergeFrom((io.grasscutter.net.proto.scene.PlayerEnterSceneInfoNotify)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.scene.PlayerEnterSceneInfoNotify other) {
      if (other == io.grasscutter.net.proto.scene.PlayerEnterSceneInfoNotify.getDefaultInstance()) return this;
      if (other.hasMpLevelEntityInfo()) {
        mergeMpLevelEntityInfo(other.getMpLevelEntityInfo());
      }
      if (other.hasTeamEnterInfo()) {
        mergeTeamEnterInfo(other.getTeamEnterInfo());
      }
      if (avatarEnterInfoBuilder_ == null) {
        if (!other.avatarEnterInfo_.isEmpty()) {
          if (avatarEnterInfo_.isEmpty()) {
            avatarEnterInfo_ = other.avatarEnterInfo_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureAvatarEnterInfoIsMutable();
            avatarEnterInfo_.addAll(other.avatarEnterInfo_);
          }
          onChanged();
        }
      } else {
        if (!other.avatarEnterInfo_.isEmpty()) {
          if (avatarEnterInfoBuilder_.isEmpty()) {
            avatarEnterInfoBuilder_.dispose();
            avatarEnterInfoBuilder_ = null;
            avatarEnterInfo_ = other.avatarEnterInfo_;
            bitField0_ = (bitField0_ & ~0x00000001);
            avatarEnterInfoBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getAvatarEnterInfoFieldBuilder() : null;
          } else {
            avatarEnterInfoBuilder_.addAllMessages(other.avatarEnterInfo_);
          }
        }
      }
      if (other.getEnterSceneToken() != 0) {
        setEnterSceneToken(other.getEnterSceneToken());
      }
      if (other.getCurAvatarEntityId() != 0) {
        setCurAvatarEntityId(other.getCurAvatarEntityId());
      }
      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.PlayerEnterSceneInfoNotify parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.scene.PlayerEnterSceneInfoNotify) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private io.grasscutter.net.proto.scene.MpLevelEntityInfo mpLevelEntityInfo_;
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.scene.MpLevelEntityInfo, io.grasscutter.net.proto.scene.MpLevelEntityInfo.Builder, io.grasscutter.net.proto.scene.MpLevelEntityInfoOrBuilder> mpLevelEntityInfoBuilder_;
    /**
     * <code>.MpLevelEntityInfo mp_level_entity_info = 12;</code>
     * @return Whether the mpLevelEntityInfo field is set.
     */
    public boolean hasMpLevelEntityInfo() {
      return mpLevelEntityInfoBuilder_ != null || mpLevelEntityInfo_ != null;
    }
    /**
     * <code>.MpLevelEntityInfo mp_level_entity_info = 12;</code>
     * @return The mpLevelEntityInfo.
     */
    public io.grasscutter.net.proto.scene.MpLevelEntityInfo getMpLevelEntityInfo() {
      if (mpLevelEntityInfoBuilder_ == null) {
        return mpLevelEntityInfo_ == null ? io.grasscutter.net.proto.scene.MpLevelEntityInfo.getDefaultInstance() : mpLevelEntityInfo_;
      } else {
        return mpLevelEntityInfoBuilder_.getMessage();
      }
    }
    /**
     * <code>.MpLevelEntityInfo mp_level_entity_info = 12;</code>
     */
    public Builder setMpLevelEntityInfo(io.grasscutter.net.proto.scene.MpLevelEntityInfo value) {
      if (mpLevelEntityInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        mpLevelEntityInfo_ = value;
        onChanged();
      } else {
        mpLevelEntityInfoBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.MpLevelEntityInfo mp_level_entity_info = 12;</code>
     */
    public Builder setMpLevelEntityInfo(
        io.grasscutter.net.proto.scene.MpLevelEntityInfo.Builder builderForValue) {
      if (mpLevelEntityInfoBuilder_ == null) {
        mpLevelEntityInfo_ = builderForValue.build();
        onChanged();
      } else {
        mpLevelEntityInfoBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.MpLevelEntityInfo mp_level_entity_info = 12;</code>
     */
    public Builder mergeMpLevelEntityInfo(io.grasscutter.net.proto.scene.MpLevelEntityInfo value) {
      if (mpLevelEntityInfoBuilder_ == null) {
        if (mpLevelEntityInfo_ != null) {
          mpLevelEntityInfo_ =
            io.grasscutter.net.proto.scene.MpLevelEntityInfo.newBuilder(mpLevelEntityInfo_).mergeFrom(value).buildPartial();
        } else {
          mpLevelEntityInfo_ = value;
        }
        onChanged();
      } else {
        mpLevelEntityInfoBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.MpLevelEntityInfo mp_level_entity_info = 12;</code>
     */
    public Builder clearMpLevelEntityInfo() {
      if (mpLevelEntityInfoBuilder_ == null) {
        mpLevelEntityInfo_ = null;
        onChanged();
      } else {
        mpLevelEntityInfo_ = null;
        mpLevelEntityInfoBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.MpLevelEntityInfo mp_level_entity_info = 12;</code>
     */
    public io.grasscutter.net.proto.scene.MpLevelEntityInfo.Builder getMpLevelEntityInfoBuilder() {
      
      onChanged();
      return getMpLevelEntityInfoFieldBuilder().getBuilder();
    }
    /**
     * <code>.MpLevelEntityInfo mp_level_entity_info = 12;</code>
     */
    public io.grasscutter.net.proto.scene.MpLevelEntityInfoOrBuilder getMpLevelEntityInfoOrBuilder() {
      if (mpLevelEntityInfoBuilder_ != null) {
        return mpLevelEntityInfoBuilder_.getMessageOrBuilder();
      } else {
        return mpLevelEntityInfo_ == null ?
            io.grasscutter.net.proto.scene.MpLevelEntityInfo.getDefaultInstance() : mpLevelEntityInfo_;
      }
    }
    /**
     * <code>.MpLevelEntityInfo mp_level_entity_info = 12;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.scene.MpLevelEntityInfo, io.grasscutter.net.proto.scene.MpLevelEntityInfo.Builder, io.grasscutter.net.proto.scene.MpLevelEntityInfoOrBuilder> 
        getMpLevelEntityInfoFieldBuilder() {
      if (mpLevelEntityInfoBuilder_ == null) {
        mpLevelEntityInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.scene.MpLevelEntityInfo, io.grasscutter.net.proto.scene.MpLevelEntityInfo.Builder, io.grasscutter.net.proto.scene.MpLevelEntityInfoOrBuilder>(
                getMpLevelEntityInfo(),
                getParentForChildren(),
                isClean());
        mpLevelEntityInfo_ = null;
      }
      return mpLevelEntityInfoBuilder_;
    }

    private io.grasscutter.net.proto.scene.TeamEnterSceneInfo teamEnterInfo_;
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.scene.TeamEnterSceneInfo, io.grasscutter.net.proto.scene.TeamEnterSceneInfo.Builder, io.grasscutter.net.proto.scene.TeamEnterSceneInfoOrBuilder> teamEnterInfoBuilder_;
    /**
     * <code>.TeamEnterSceneInfo team_enter_info = 9;</code>
     * @return Whether the teamEnterInfo field is set.
     */
    public boolean hasTeamEnterInfo() {
      return teamEnterInfoBuilder_ != null || teamEnterInfo_ != null;
    }
    /**
     * <code>.TeamEnterSceneInfo team_enter_info = 9;</code>
     * @return The teamEnterInfo.
     */
    public io.grasscutter.net.proto.scene.TeamEnterSceneInfo getTeamEnterInfo() {
      if (teamEnterInfoBuilder_ == null) {
        return teamEnterInfo_ == null ? io.grasscutter.net.proto.scene.TeamEnterSceneInfo.getDefaultInstance() : teamEnterInfo_;
      } else {
        return teamEnterInfoBuilder_.getMessage();
      }
    }
    /**
     * <code>.TeamEnterSceneInfo team_enter_info = 9;</code>
     */
    public Builder setTeamEnterInfo(io.grasscutter.net.proto.scene.TeamEnterSceneInfo value) {
      if (teamEnterInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        teamEnterInfo_ = value;
        onChanged();
      } else {
        teamEnterInfoBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.TeamEnterSceneInfo team_enter_info = 9;</code>
     */
    public Builder setTeamEnterInfo(
        io.grasscutter.net.proto.scene.TeamEnterSceneInfo.Builder builderForValue) {
      if (teamEnterInfoBuilder_ == null) {
        teamEnterInfo_ = builderForValue.build();
        onChanged();
      } else {
        teamEnterInfoBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.TeamEnterSceneInfo team_enter_info = 9;</code>
     */
    public Builder mergeTeamEnterInfo(io.grasscutter.net.proto.scene.TeamEnterSceneInfo value) {
      if (teamEnterInfoBuilder_ == null) {
        if (teamEnterInfo_ != null) {
          teamEnterInfo_ =
            io.grasscutter.net.proto.scene.TeamEnterSceneInfo.newBuilder(teamEnterInfo_).mergeFrom(value).buildPartial();
        } else {
          teamEnterInfo_ = value;
        }
        onChanged();
      } else {
        teamEnterInfoBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.TeamEnterSceneInfo team_enter_info = 9;</code>
     */
    public Builder clearTeamEnterInfo() {
      if (teamEnterInfoBuilder_ == null) {
        teamEnterInfo_ = null;
        onChanged();
      } else {
        teamEnterInfo_ = null;
        teamEnterInfoBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.TeamEnterSceneInfo team_enter_info = 9;</code>
     */
    public io.grasscutter.net.proto.scene.TeamEnterSceneInfo.Builder getTeamEnterInfoBuilder() {
      
      onChanged();
      return getTeamEnterInfoFieldBuilder().getBuilder();
    }
    /**
     * <code>.TeamEnterSceneInfo team_enter_info = 9;</code>
     */
    public io.grasscutter.net.proto.scene.TeamEnterSceneInfoOrBuilder getTeamEnterInfoOrBuilder() {
      if (teamEnterInfoBuilder_ != null) {
        return teamEnterInfoBuilder_.getMessageOrBuilder();
      } else {
        return teamEnterInfo_ == null ?
            io.grasscutter.net.proto.scene.TeamEnterSceneInfo.getDefaultInstance() : teamEnterInfo_;
      }
    }
    /**
     * <code>.TeamEnterSceneInfo team_enter_info = 9;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.scene.TeamEnterSceneInfo, io.grasscutter.net.proto.scene.TeamEnterSceneInfo.Builder, io.grasscutter.net.proto.scene.TeamEnterSceneInfoOrBuilder> 
        getTeamEnterInfoFieldBuilder() {
      if (teamEnterInfoBuilder_ == null) {
        teamEnterInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.scene.TeamEnterSceneInfo, io.grasscutter.net.proto.scene.TeamEnterSceneInfo.Builder, io.grasscutter.net.proto.scene.TeamEnterSceneInfoOrBuilder>(
                getTeamEnterInfo(),
                getParentForChildren(),
                isClean());
        teamEnterInfo_ = null;
      }
      return teamEnterInfoBuilder_;
    }

    private java.util.List<io.grasscutter.net.proto.scene.AvatarEnterSceneInfo> avatarEnterInfo_ =
      java.util.Collections.emptyList();
    private void ensureAvatarEnterInfoIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        avatarEnterInfo_ = new java.util.ArrayList<io.grasscutter.net.proto.scene.AvatarEnterSceneInfo>(avatarEnterInfo_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.scene.AvatarEnterSceneInfo, io.grasscutter.net.proto.scene.AvatarEnterSceneInfo.Builder, io.grasscutter.net.proto.scene.AvatarEnterSceneInfoOrBuilder> avatarEnterInfoBuilder_;

    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public java.util.List<io.grasscutter.net.proto.scene.AvatarEnterSceneInfo> getAvatarEnterInfoList() {
      if (avatarEnterInfoBuilder_ == null) {
        return java.util.Collections.unmodifiableList(avatarEnterInfo_);
      } else {
        return avatarEnterInfoBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public int getAvatarEnterInfoCount() {
      if (avatarEnterInfoBuilder_ == null) {
        return avatarEnterInfo_.size();
      } else {
        return avatarEnterInfoBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public io.grasscutter.net.proto.scene.AvatarEnterSceneInfo getAvatarEnterInfo(int index) {
      if (avatarEnterInfoBuilder_ == null) {
        return avatarEnterInfo_.get(index);
      } else {
        return avatarEnterInfoBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public Builder setAvatarEnterInfo(
        int index, io.grasscutter.net.proto.scene.AvatarEnterSceneInfo value) {
      if (avatarEnterInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureAvatarEnterInfoIsMutable();
        avatarEnterInfo_.set(index, value);
        onChanged();
      } else {
        avatarEnterInfoBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public Builder setAvatarEnterInfo(
        int index, io.grasscutter.net.proto.scene.AvatarEnterSceneInfo.Builder builderForValue) {
      if (avatarEnterInfoBuilder_ == null) {
        ensureAvatarEnterInfoIsMutable();
        avatarEnterInfo_.set(index, builderForValue.build());
        onChanged();
      } else {
        avatarEnterInfoBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public Builder addAvatarEnterInfo(io.grasscutter.net.proto.scene.AvatarEnterSceneInfo value) {
      if (avatarEnterInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureAvatarEnterInfoIsMutable();
        avatarEnterInfo_.add(value);
        onChanged();
      } else {
        avatarEnterInfoBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public Builder addAvatarEnterInfo(
        int index, io.grasscutter.net.proto.scene.AvatarEnterSceneInfo value) {
      if (avatarEnterInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureAvatarEnterInfoIsMutable();
        avatarEnterInfo_.add(index, value);
        onChanged();
      } else {
        avatarEnterInfoBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public Builder addAvatarEnterInfo(
        io.grasscutter.net.proto.scene.AvatarEnterSceneInfo.Builder builderForValue) {
      if (avatarEnterInfoBuilder_ == null) {
        ensureAvatarEnterInfoIsMutable();
        avatarEnterInfo_.add(builderForValue.build());
        onChanged();
      } else {
        avatarEnterInfoBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public Builder addAvatarEnterInfo(
        int index, io.grasscutter.net.proto.scene.AvatarEnterSceneInfo.Builder builderForValue) {
      if (avatarEnterInfoBuilder_ == null) {
        ensureAvatarEnterInfoIsMutable();
        avatarEnterInfo_.add(index, builderForValue.build());
        onChanged();
      } else {
        avatarEnterInfoBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public Builder addAllAvatarEnterInfo(
        java.lang.Iterable<? extends io.grasscutter.net.proto.scene.AvatarEnterSceneInfo> values) {
      if (avatarEnterInfoBuilder_ == null) {
        ensureAvatarEnterInfoIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, avatarEnterInfo_);
        onChanged();
      } else {
        avatarEnterInfoBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public Builder clearAvatarEnterInfo() {
      if (avatarEnterInfoBuilder_ == null) {
        avatarEnterInfo_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        avatarEnterInfoBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public Builder removeAvatarEnterInfo(int index) {
      if (avatarEnterInfoBuilder_ == null) {
        ensureAvatarEnterInfoIsMutable();
        avatarEnterInfo_.remove(index);
        onChanged();
      } else {
        avatarEnterInfoBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public io.grasscutter.net.proto.scene.AvatarEnterSceneInfo.Builder getAvatarEnterInfoBuilder(
        int index) {
      return getAvatarEnterInfoFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public io.grasscutter.net.proto.scene.AvatarEnterSceneInfoOrBuilder getAvatarEnterInfoOrBuilder(
        int index) {
      if (avatarEnterInfoBuilder_ == null) {
        return avatarEnterInfo_.get(index);  } else {
        return avatarEnterInfoBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public java.util.List<? extends io.grasscutter.net.proto.scene.AvatarEnterSceneInfoOrBuilder> 
         getAvatarEnterInfoOrBuilderList() {
      if (avatarEnterInfoBuilder_ != null) {
        return avatarEnterInfoBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(avatarEnterInfo_);
      }
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public io.grasscutter.net.proto.scene.AvatarEnterSceneInfo.Builder addAvatarEnterInfoBuilder() {
      return getAvatarEnterInfoFieldBuilder().addBuilder(
          io.grasscutter.net.proto.scene.AvatarEnterSceneInfo.getDefaultInstance());
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public io.grasscutter.net.proto.scene.AvatarEnterSceneInfo.Builder addAvatarEnterInfoBuilder(
        int index) {
      return getAvatarEnterInfoFieldBuilder().addBuilder(
          index, io.grasscutter.net.proto.scene.AvatarEnterSceneInfo.getDefaultInstance());
    }
    /**
     * <code>repeated .AvatarEnterSceneInfo avatar_enter_info = 6;</code>
     */
    public java.util.List<io.grasscutter.net.proto.scene.AvatarEnterSceneInfo.Builder> 
         getAvatarEnterInfoBuilderList() {
      return getAvatarEnterInfoFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.scene.AvatarEnterSceneInfo, io.grasscutter.net.proto.scene.AvatarEnterSceneInfo.Builder, io.grasscutter.net.proto.scene.AvatarEnterSceneInfoOrBuilder> 
        getAvatarEnterInfoFieldBuilder() {
      if (avatarEnterInfoBuilder_ == null) {
        avatarEnterInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.grasscutter.net.proto.scene.AvatarEnterSceneInfo, io.grasscutter.net.proto.scene.AvatarEnterSceneInfo.Builder, io.grasscutter.net.proto.scene.AvatarEnterSceneInfoOrBuilder>(
                avatarEnterInfo_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        avatarEnterInfo_ = null;
      }
      return avatarEnterInfoBuilder_;
    }

    private int enterSceneToken_ ;
    /**
     * <code>uint32 enter_scene_token = 7;</code>
     * @return The enterSceneToken.
     */
    @java.lang.Override
    public int getEnterSceneToken() {
      return enterSceneToken_;
    }
    /**
     * <code>uint32 enter_scene_token = 7;</code>
     * @param value The enterSceneToken to set.
     * @return This builder for chaining.
     */
    public Builder setEnterSceneToken(int value) {
      
      enterSceneToken_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 enter_scene_token = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearEnterSceneToken() {
      
      enterSceneToken_ = 0;
      onChanged();
      return this;
    }

    private int curAvatarEntityId_ ;
    /**
     * <code>uint32 cur_avatar_entity_id = 5;</code>
     * @return The curAvatarEntityId.
     */
    @java.lang.Override
    public int getCurAvatarEntityId() {
      return curAvatarEntityId_;
    }
    /**
     * <code>uint32 cur_avatar_entity_id = 5;</code>
     * @param value The curAvatarEntityId to set.
     * @return This builder for chaining.
     */
    public Builder setCurAvatarEntityId(int value) {
      
      curAvatarEntityId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 cur_avatar_entity_id = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearCurAvatarEntityId() {
      
      curAvatarEntityId_ = 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:PlayerEnterSceneInfoNotify)
  }

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

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

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

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

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

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

}

