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

package emu.grasscutter.net.proto;

public final class PlayerEnterSceneNotifyOuterClass {
  private PlayerEnterSceneNotifyOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface PlayerEnterSceneNotifyOrBuilder extends
      // @@protoc_insertion_point(interface_extends:PlayerEnterSceneNotify)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>uint32 prev_scene_id = 6;</code>
     * @return The prevSceneId.
     */
    int getPrevSceneId();

    /**
     * <code>uint32 dungeon_id = 12;</code>
     * @return The dungeonId.
     */
    int getDungeonId();

    /**
     * <code>bool is_skip_ui = 1732;</code>
     * @return The isSkipUi.
     */
    boolean getIsSkipUi();

    /**
     * <code>uint32 scene_id = 15;</code>
     * @return The sceneId.
     */
    int getSceneId();

    /**
     * <code>.EnterType type = 13;</code>
     * @return The enum numeric value on the wire for type.
     */
    int getTypeValue();
    /**
     * <code>.EnterType type = 13;</code>
     * @return The type.
     */
    emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType getType();

    /**
     * <code>uint64 scene_begin_time = 14;</code>
     * @return The sceneBeginTime.
     */
    long getSceneBeginTime();

    /**
     * <code>uint32 world_level = 11;</code>
     * @return The worldLevel.
     */
    int getWorldLevel();

    /**
     * <code>uint32 world_type = 1490;</code>
     * @return The worldType.
     */
    int getWorldType();

    /**
     * <code>uint32 target_uid = 4;</code>
     * @return The targetUid.
     */
    int getTargetUid();

    /**
     * <code>bool is_first_login_enter_scene = 3;</code>
     * @return The isFirstLoginEnterScene.
     */
    boolean getIsFirstLoginEnterScene();

    /**
     * <code>repeated uint32 scene_tag_id_list = 5;</code>
     * @return A list containing the sceneTagIdList.
     */
    java.util.List<java.lang.Integer> getSceneTagIdListList();
    /**
     * <code>repeated uint32 scene_tag_id_list = 5;</code>
     * @return The count of sceneTagIdList.
     */
    int getSceneTagIdListCount();
    /**
     * <code>repeated uint32 scene_tag_id_list = 5;</code>
     * @param index The index of the element to return.
     * @return The sceneTagIdList at the given index.
     */
    int getSceneTagIdList(int index);

    /**
     * <code>string scene_transaction = 1842;</code>
     * @return The sceneTransaction.
     */
    java.lang.String getSceneTransaction();
    /**
     * <code>string scene_transaction = 1842;</code>
     * @return The bytes for sceneTransaction.
     */
    com.google.protobuf.ByteString
        getSceneTransactionBytes();

    /**
     * <code>.Vector prev_pos = 8;</code>
     * @return Whether the prevPos field is set.
     */
    boolean hasPrevPos();
    /**
     * <code>.Vector prev_pos = 8;</code>
     * @return The prevPos.
     */
    emu.grasscutter.net.proto.VectorOuterClass.Vector getPrevPos();
    /**
     * <code>.Vector prev_pos = 8;</code>
     */
    emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPrevPosOrBuilder();

    /**
     * <code>uint32 enter_reason = 1828;</code>
     * @return The enterReason.
     */
    int getEnterReason();

    /**
     * <code>.Vector pos = 7;</code>
     * @return Whether the pos field is set.
     */
    boolean hasPos();
    /**
     * <code>.Vector pos = 7;</code>
     * @return The pos.
     */
    emu.grasscutter.net.proto.VectorOuterClass.Vector getPos();
    /**
     * <code>.Vector pos = 7;</code>
     */
    emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder();

    /**
     * <code>uint32 enter_scene_token = 2;</code>
     * @return The enterSceneToken.
     */
    int getEnterSceneToken();
  }
  /**
   * <pre>
   * CmdId: 272
   * EnetChannelId: 0
   * EnetIsReliable: false
   * IsAllowClient: true
   * </pre>
   *
   * Protobuf type {@code PlayerEnterSceneNotify}
   */
  public static final class PlayerEnterSceneNotify extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:PlayerEnterSceneNotify)
      PlayerEnterSceneNotifyOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PlayerEnterSceneNotify.newBuilder() to construct.
    private PlayerEnterSceneNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private PlayerEnterSceneNotify() {
      type_ = 0;
      sceneTagIdList_ = emptyIntList();
      sceneTransaction_ = "";
    }

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

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

              enterSceneToken_ = input.readUInt32();
              break;
            }
            case 24: {

              isFirstLoginEnterScene_ = input.readBool();
              break;
            }
            case 32: {

              targetUid_ = input.readUInt32();
              break;
            }
            case 40: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                sceneTagIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              sceneTagIdList_.addInt(input.readUInt32());
              break;
            }
            case 42: {
              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;
            }
            case 48: {

              prevSceneId_ = input.readUInt32();
              break;
            }
            case 58: {
              emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
              if (pos_ != null) {
                subBuilder = pos_.toBuilder();
              }
              pos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(pos_);
                pos_ = subBuilder.buildPartial();
              }

              break;
            }
            case 66: {
              emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
              if (prevPos_ != null) {
                subBuilder = prevPos_.toBuilder();
              }
              prevPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(prevPos_);
                prevPos_ = subBuilder.buildPartial();
              }

              break;
            }
            case 88: {

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

              dungeonId_ = input.readUInt32();
              break;
            }
            case 104: {
              int rawValue = input.readEnum();

              type_ = rawValue;
              break;
            }
            case 112: {

              sceneBeginTime_ = input.readUInt64();
              break;
            }
            case 120: {

              sceneId_ = input.readUInt32();
              break;
            }
            case 11920: {

              worldType_ = input.readUInt32();
              break;
            }
            case 13856: {

              isSkipUi_ = input.readBool();
              break;
            }
            case 14624: {

              enterReason_ = input.readUInt32();
              break;
            }
            case 14738: {
              java.lang.String s = input.readStringRequireUtf8();

              sceneTransaction_ = s;
              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 emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.internal_static_PlayerEnterSceneNotify_descriptor;
    }

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

    public static final int PREV_SCENE_ID_FIELD_NUMBER = 6;
    private int prevSceneId_;
    /**
     * <code>uint32 prev_scene_id = 6;</code>
     * @return The prevSceneId.
     */
    @java.lang.Override
    public int getPrevSceneId() {
      return prevSceneId_;
    }

    public static final int DUNGEON_ID_FIELD_NUMBER = 12;
    private int dungeonId_;
    /**
     * <code>uint32 dungeon_id = 12;</code>
     * @return The dungeonId.
     */
    @java.lang.Override
    public int getDungeonId() {
      return dungeonId_;
    }

    public static final int IS_SKIP_UI_FIELD_NUMBER = 1732;
    private boolean isSkipUi_;
    /**
     * <code>bool is_skip_ui = 1732;</code>
     * @return The isSkipUi.
     */
    @java.lang.Override
    public boolean getIsSkipUi() {
      return isSkipUi_;
    }

    public static final int SCENE_ID_FIELD_NUMBER = 15;
    private int sceneId_;
    /**
     * <code>uint32 scene_id = 15;</code>
     * @return The sceneId.
     */
    @java.lang.Override
    public int getSceneId() {
      return sceneId_;
    }

    public static final int TYPE_FIELD_NUMBER = 13;
    private int type_;
    /**
     * <code>.EnterType type = 13;</code>
     * @return The enum numeric value on the wire for type.
     */
    @java.lang.Override public int getTypeValue() {
      return type_;
    }
    /**
     * <code>.EnterType type = 13;</code>
     * @return The type.
     */
    @java.lang.Override public emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType getType() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType result = emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType.valueOf(type_);
      return result == null ? emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType.UNRECOGNIZED : result;
    }

    public static final int SCENE_BEGIN_TIME_FIELD_NUMBER = 14;
    private long sceneBeginTime_;
    /**
     * <code>uint64 scene_begin_time = 14;</code>
     * @return The sceneBeginTime.
     */
    @java.lang.Override
    public long getSceneBeginTime() {
      return sceneBeginTime_;
    }

    public static final int WORLD_LEVEL_FIELD_NUMBER = 11;
    private int worldLevel_;
    /**
     * <code>uint32 world_level = 11;</code>
     * @return The worldLevel.
     */
    @java.lang.Override
    public int getWorldLevel() {
      return worldLevel_;
    }

    public static final int WORLD_TYPE_FIELD_NUMBER = 1490;
    private int worldType_;
    /**
     * <code>uint32 world_type = 1490;</code>
     * @return The worldType.
     */
    @java.lang.Override
    public int getWorldType() {
      return worldType_;
    }

    public static final int TARGET_UID_FIELD_NUMBER = 4;
    private int targetUid_;
    /**
     * <code>uint32 target_uid = 4;</code>
     * @return The targetUid.
     */
    @java.lang.Override
    public int getTargetUid() {
      return targetUid_;
    }

    public static final int IS_FIRST_LOGIN_ENTER_SCENE_FIELD_NUMBER = 3;
    private boolean isFirstLoginEnterScene_;
    /**
     * <code>bool is_first_login_enter_scene = 3;</code>
     * @return The isFirstLoginEnterScene.
     */
    @java.lang.Override
    public boolean getIsFirstLoginEnterScene() {
      return isFirstLoginEnterScene_;
    }

    public static final int SCENE_TAG_ID_LIST_FIELD_NUMBER = 5;
    private com.google.protobuf.Internal.IntList sceneTagIdList_;
    /**
     * <code>repeated uint32 scene_tag_id_list = 5;</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 = 5;</code>
     * @return The count of sceneTagIdList.
     */
    public int getSceneTagIdListCount() {
      return sceneTagIdList_.size();
    }
    /**
     * <code>repeated uint32 scene_tag_id_list = 5;</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 SCENE_TRANSACTION_FIELD_NUMBER = 1842;
    private volatile java.lang.Object sceneTransaction_;
    /**
     * <code>string scene_transaction = 1842;</code>
     * @return The sceneTransaction.
     */
    @java.lang.Override
    public java.lang.String getSceneTransaction() {
      java.lang.Object ref = sceneTransaction_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        sceneTransaction_ = s;
        return s;
      }
    }
    /**
     * <code>string scene_transaction = 1842;</code>
     * @return The bytes for sceneTransaction.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getSceneTransactionBytes() {
      java.lang.Object ref = sceneTransaction_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sceneTransaction_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PREV_POS_FIELD_NUMBER = 8;
    private emu.grasscutter.net.proto.VectorOuterClass.Vector prevPos_;
    /**
     * <code>.Vector prev_pos = 8;</code>
     * @return Whether the prevPos field is set.
     */
    @java.lang.Override
    public boolean hasPrevPos() {
      return prevPos_ != null;
    }
    /**
     * <code>.Vector prev_pos = 8;</code>
     * @return The prevPos.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.Vector getPrevPos() {
      return prevPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : prevPos_;
    }
    /**
     * <code>.Vector prev_pos = 8;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPrevPosOrBuilder() {
      return getPrevPos();
    }

    public static final int ENTER_REASON_FIELD_NUMBER = 1828;
    private int enterReason_;
    /**
     * <code>uint32 enter_reason = 1828;</code>
     * @return The enterReason.
     */
    @java.lang.Override
    public int getEnterReason() {
      return enterReason_;
    }

    public static final int POS_FIELD_NUMBER = 7;
    private emu.grasscutter.net.proto.VectorOuterClass.Vector pos_;
    /**
     * <code>.Vector pos = 7;</code>
     * @return Whether the pos field is set.
     */
    @java.lang.Override
    public boolean hasPos() {
      return pos_ != null;
    }
    /**
     * <code>.Vector pos = 7;</code>
     * @return The pos.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.Vector getPos() {
      return pos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_;
    }
    /**
     * <code>.Vector pos = 7;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder() {
      return getPos();
    }

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

    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 (enterSceneToken_ != 0) {
        output.writeUInt32(2, enterSceneToken_);
      }
      if (isFirstLoginEnterScene_ != false) {
        output.writeBool(3, isFirstLoginEnterScene_);
      }
      if (targetUid_ != 0) {
        output.writeUInt32(4, targetUid_);
      }
      if (getSceneTagIdListList().size() > 0) {
        output.writeUInt32NoTag(42);
        output.writeUInt32NoTag(sceneTagIdListMemoizedSerializedSize);
      }
      for (int i = 0; i < sceneTagIdList_.size(); i++) {
        output.writeUInt32NoTag(sceneTagIdList_.getInt(i));
      }
      if (prevSceneId_ != 0) {
        output.writeUInt32(6, prevSceneId_);
      }
      if (pos_ != null) {
        output.writeMessage(7, getPos());
      }
      if (prevPos_ != null) {
        output.writeMessage(8, getPrevPos());
      }
      if (worldLevel_ != 0) {
        output.writeUInt32(11, worldLevel_);
      }
      if (dungeonId_ != 0) {
        output.writeUInt32(12, dungeonId_);
      }
      if (type_ != emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType.ENTER_TYPE_NONE.getNumber()) {
        output.writeEnum(13, type_);
      }
      if (sceneBeginTime_ != 0L) {
        output.writeUInt64(14, sceneBeginTime_);
      }
      if (sceneId_ != 0) {
        output.writeUInt32(15, sceneId_);
      }
      if (worldType_ != 0) {
        output.writeUInt32(1490, worldType_);
      }
      if (isSkipUi_ != false) {
        output.writeBool(1732, isSkipUi_);
      }
      if (enterReason_ != 0) {
        output.writeUInt32(1828, enterReason_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sceneTransaction_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1842, sceneTransaction_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (enterSceneToken_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, enterSceneToken_);
      }
      if (isFirstLoginEnterScene_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(3, isFirstLoginEnterScene_);
      }
      if (targetUid_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(4, targetUid_);
      }
      {
        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;
      }
      if (prevSceneId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, prevSceneId_);
      }
      if (pos_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, getPos());
      }
      if (prevPos_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, getPrevPos());
      }
      if (worldLevel_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(11, worldLevel_);
      }
      if (dungeonId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(12, dungeonId_);
      }
      if (type_ != emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType.ENTER_TYPE_NONE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(13, type_);
      }
      if (sceneBeginTime_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(14, sceneBeginTime_);
      }
      if (sceneId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(15, sceneId_);
      }
      if (worldType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1490, worldType_);
      }
      if (isSkipUi_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1732, isSkipUi_);
      }
      if (enterReason_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1828, enterReason_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sceneTransaction_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1842, sceneTransaction_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

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

      if (getPrevSceneId()
          != other.getPrevSceneId()) return false;
      if (getDungeonId()
          != other.getDungeonId()) return false;
      if (getIsSkipUi()
          != other.getIsSkipUi()) return false;
      if (getSceneId()
          != other.getSceneId()) return false;
      if (type_ != other.type_) return false;
      if (getSceneBeginTime()
          != other.getSceneBeginTime()) return false;
      if (getWorldLevel()
          != other.getWorldLevel()) return false;
      if (getWorldType()
          != other.getWorldType()) return false;
      if (getTargetUid()
          != other.getTargetUid()) return false;
      if (getIsFirstLoginEnterScene()
          != other.getIsFirstLoginEnterScene()) return false;
      if (!getSceneTagIdListList()
          .equals(other.getSceneTagIdListList())) return false;
      if (!getSceneTransaction()
          .equals(other.getSceneTransaction())) return false;
      if (hasPrevPos() != other.hasPrevPos()) return false;
      if (hasPrevPos()) {
        if (!getPrevPos()
            .equals(other.getPrevPos())) return false;
      }
      if (getEnterReason()
          != other.getEnterReason()) return false;
      if (hasPos() != other.hasPos()) return false;
      if (hasPos()) {
        if (!getPos()
            .equals(other.getPos())) return false;
      }
      if (getEnterSceneToken()
          != other.getEnterSceneToken()) 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();
      hash = (37 * hash) + PREV_SCENE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getPrevSceneId();
      hash = (37 * hash) + DUNGEON_ID_FIELD_NUMBER;
      hash = (53 * hash) + getDungeonId();
      hash = (37 * hash) + IS_SKIP_UI_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsSkipUi());
      hash = (37 * hash) + SCENE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getSceneId();
      hash = (37 * hash) + TYPE_FIELD_NUMBER;
      hash = (53 * hash) + type_;
      hash = (37 * hash) + SCENE_BEGIN_TIME_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getSceneBeginTime());
      hash = (37 * hash) + WORLD_LEVEL_FIELD_NUMBER;
      hash = (53 * hash) + getWorldLevel();
      hash = (37 * hash) + WORLD_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getWorldType();
      hash = (37 * hash) + TARGET_UID_FIELD_NUMBER;
      hash = (53 * hash) + getTargetUid();
      hash = (37 * hash) + IS_FIRST_LOGIN_ENTER_SCENE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsFirstLoginEnterScene());
      if (getSceneTagIdListCount() > 0) {
        hash = (37 * hash) + SCENE_TAG_ID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getSceneTagIdListList().hashCode();
      }
      hash = (37 * hash) + SCENE_TRANSACTION_FIELD_NUMBER;
      hash = (53 * hash) + getSceneTransaction().hashCode();
      if (hasPrevPos()) {
        hash = (37 * hash) + PREV_POS_FIELD_NUMBER;
        hash = (53 * hash) + getPrevPos().hashCode();
      }
      hash = (37 * hash) + ENTER_REASON_FIELD_NUMBER;
      hash = (53 * hash) + getEnterReason();
      if (hasPos()) {
        hash = (37 * hash) + POS_FIELD_NUMBER;
        hash = (53 * hash) + getPos().hashCode();
      }
      hash = (37 * hash) + ENTER_SCENE_TOKEN_FIELD_NUMBER;
      hash = (53 * hash) + getEnterSceneToken();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify 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: 272
     * EnetChannelId: 0
     * EnetIsReliable: false
     * IsAllowClient: true
     * </pre>
     *
     * Protobuf type {@code PlayerEnterSceneNotify}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:PlayerEnterSceneNotify)
        emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotifyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.internal_static_PlayerEnterSceneNotify_descriptor;
      }

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

      // Construct using emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify.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();
        prevSceneId_ = 0;

        dungeonId_ = 0;

        isSkipUi_ = false;

        sceneId_ = 0;

        type_ = 0;

        sceneBeginTime_ = 0L;

        worldLevel_ = 0;

        worldType_ = 0;

        targetUid_ = 0;

        isFirstLoginEnterScene_ = false;

        sceneTagIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        sceneTransaction_ = "";

        if (prevPosBuilder_ == null) {
          prevPos_ = null;
        } else {
          prevPos_ = null;
          prevPosBuilder_ = null;
        }
        enterReason_ = 0;

        if (posBuilder_ == null) {
          pos_ = null;
        } else {
          pos_ = null;
          posBuilder_ = null;
        }
        enterSceneToken_ = 0;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify buildPartial() {
        emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify result = new emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify(this);
        int from_bitField0_ = bitField0_;
        result.prevSceneId_ = prevSceneId_;
        result.dungeonId_ = dungeonId_;
        result.isSkipUi_ = isSkipUi_;
        result.sceneId_ = sceneId_;
        result.type_ = type_;
        result.sceneBeginTime_ = sceneBeginTime_;
        result.worldLevel_ = worldLevel_;
        result.worldType_ = worldType_;
        result.targetUid_ = targetUid_;
        result.isFirstLoginEnterScene_ = isFirstLoginEnterScene_;
        if (((bitField0_ & 0x00000001) != 0)) {
          sceneTagIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.sceneTagIdList_ = sceneTagIdList_;
        result.sceneTransaction_ = sceneTransaction_;
        if (prevPosBuilder_ == null) {
          result.prevPos_ = prevPos_;
        } else {
          result.prevPos_ = prevPosBuilder_.build();
        }
        result.enterReason_ = enterReason_;
        if (posBuilder_ == null) {
          result.pos_ = pos_;
        } else {
          result.pos_ = posBuilder_.build();
        }
        result.enterSceneToken_ = enterSceneToken_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify) {
          return mergeFrom((emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify other) {
        if (other == emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify.getDefaultInstance()) return this;
        if (other.getPrevSceneId() != 0) {
          setPrevSceneId(other.getPrevSceneId());
        }
        if (other.getDungeonId() != 0) {
          setDungeonId(other.getDungeonId());
        }
        if (other.getIsSkipUi() != false) {
          setIsSkipUi(other.getIsSkipUi());
        }
        if (other.getSceneId() != 0) {
          setSceneId(other.getSceneId());
        }
        if (other.type_ != 0) {
          setTypeValue(other.getTypeValue());
        }
        if (other.getSceneBeginTime() != 0L) {
          setSceneBeginTime(other.getSceneBeginTime());
        }
        if (other.getWorldLevel() != 0) {
          setWorldLevel(other.getWorldLevel());
        }
        if (other.getWorldType() != 0) {
          setWorldType(other.getWorldType());
        }
        if (other.getTargetUid() != 0) {
          setTargetUid(other.getTargetUid());
        }
        if (other.getIsFirstLoginEnterScene() != false) {
          setIsFirstLoginEnterScene(other.getIsFirstLoginEnterScene());
        }
        if (!other.sceneTagIdList_.isEmpty()) {
          if (sceneTagIdList_.isEmpty()) {
            sceneTagIdList_ = other.sceneTagIdList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureSceneTagIdListIsMutable();
            sceneTagIdList_.addAll(other.sceneTagIdList_);
          }
          onChanged();
        }
        if (!other.getSceneTransaction().isEmpty()) {
          sceneTransaction_ = other.sceneTransaction_;
          onChanged();
        }
        if (other.hasPrevPos()) {
          mergePrevPos(other.getPrevPos());
        }
        if (other.getEnterReason() != 0) {
          setEnterReason(other.getEnterReason());
        }
        if (other.hasPos()) {
          mergePos(other.getPos());
        }
        if (other.getEnterSceneToken() != 0) {
          setEnterSceneToken(other.getEnterSceneToken());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int prevSceneId_ ;
      /**
       * <code>uint32 prev_scene_id = 6;</code>
       * @return The prevSceneId.
       */
      @java.lang.Override
      public int getPrevSceneId() {
        return prevSceneId_;
      }
      /**
       * <code>uint32 prev_scene_id = 6;</code>
       * @param value The prevSceneId to set.
       * @return This builder for chaining.
       */
      public Builder setPrevSceneId(int value) {
        
        prevSceneId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 prev_scene_id = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearPrevSceneId() {
        
        prevSceneId_ = 0;
        onChanged();
        return this;
      }

      private int dungeonId_ ;
      /**
       * <code>uint32 dungeon_id = 12;</code>
       * @return The dungeonId.
       */
      @java.lang.Override
      public int getDungeonId() {
        return dungeonId_;
      }
      /**
       * <code>uint32 dungeon_id = 12;</code>
       * @param value The dungeonId to set.
       * @return This builder for chaining.
       */
      public Builder setDungeonId(int value) {
        
        dungeonId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 dungeon_id = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearDungeonId() {
        
        dungeonId_ = 0;
        onChanged();
        return this;
      }

      private boolean isSkipUi_ ;
      /**
       * <code>bool is_skip_ui = 1732;</code>
       * @return The isSkipUi.
       */
      @java.lang.Override
      public boolean getIsSkipUi() {
        return isSkipUi_;
      }
      /**
       * <code>bool is_skip_ui = 1732;</code>
       * @param value The isSkipUi to set.
       * @return This builder for chaining.
       */
      public Builder setIsSkipUi(boolean value) {
        
        isSkipUi_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_skip_ui = 1732;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsSkipUi() {
        
        isSkipUi_ = false;
        onChanged();
        return this;
      }

      private int sceneId_ ;
      /**
       * <code>uint32 scene_id = 15;</code>
       * @return The sceneId.
       */
      @java.lang.Override
      public int getSceneId() {
        return sceneId_;
      }
      /**
       * <code>uint32 scene_id = 15;</code>
       * @param value The sceneId to set.
       * @return This builder for chaining.
       */
      public Builder setSceneId(int value) {
        
        sceneId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 scene_id = 15;</code>
       * @return This builder for chaining.
       */
      public Builder clearSceneId() {
        
        sceneId_ = 0;
        onChanged();
        return this;
      }

      private int type_ = 0;
      /**
       * <code>.EnterType type = 13;</code>
       * @return The enum numeric value on the wire for type.
       */
      @java.lang.Override public int getTypeValue() {
        return type_;
      }
      /**
       * <code>.EnterType type = 13;</code>
       * @param value The enum numeric value on the wire for type to set.
       * @return This builder for chaining.
       */
      public Builder setTypeValue(int value) {
        
        type_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.EnterType type = 13;</code>
       * @return The type.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType getType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType result = emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType.valueOf(type_);
        return result == null ? emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType.UNRECOGNIZED : result;
      }
      /**
       * <code>.EnterType type = 13;</code>
       * @param value The type to set.
       * @return This builder for chaining.
       */
      public Builder setType(emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        type_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.EnterType type = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearType() {
        
        type_ = 0;
        onChanged();
        return this;
      }

      private long sceneBeginTime_ ;
      /**
       * <code>uint64 scene_begin_time = 14;</code>
       * @return The sceneBeginTime.
       */
      @java.lang.Override
      public long getSceneBeginTime() {
        return sceneBeginTime_;
      }
      /**
       * <code>uint64 scene_begin_time = 14;</code>
       * @param value The sceneBeginTime to set.
       * @return This builder for chaining.
       */
      public Builder setSceneBeginTime(long value) {
        
        sceneBeginTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 scene_begin_time = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearSceneBeginTime() {
        
        sceneBeginTime_ = 0L;
        onChanged();
        return this;
      }

      private int worldLevel_ ;
      /**
       * <code>uint32 world_level = 11;</code>
       * @return The worldLevel.
       */
      @java.lang.Override
      public int getWorldLevel() {
        return worldLevel_;
      }
      /**
       * <code>uint32 world_level = 11;</code>
       * @param value The worldLevel to set.
       * @return This builder for chaining.
       */
      public Builder setWorldLevel(int value) {
        
        worldLevel_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 world_level = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearWorldLevel() {
        
        worldLevel_ = 0;
        onChanged();
        return this;
      }

      private int worldType_ ;
      /**
       * <code>uint32 world_type = 1490;</code>
       * @return The worldType.
       */
      @java.lang.Override
      public int getWorldType() {
        return worldType_;
      }
      /**
       * <code>uint32 world_type = 1490;</code>
       * @param value The worldType to set.
       * @return This builder for chaining.
       */
      public Builder setWorldType(int value) {
        
        worldType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 world_type = 1490;</code>
       * @return This builder for chaining.
       */
      public Builder clearWorldType() {
        
        worldType_ = 0;
        onChanged();
        return this;
      }

      private int targetUid_ ;
      /**
       * <code>uint32 target_uid = 4;</code>
       * @return The targetUid.
       */
      @java.lang.Override
      public int getTargetUid() {
        return targetUid_;
      }
      /**
       * <code>uint32 target_uid = 4;</code>
       * @param value The targetUid to set.
       * @return This builder for chaining.
       */
      public Builder setTargetUid(int value) {
        
        targetUid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 target_uid = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearTargetUid() {
        
        targetUid_ = 0;
        onChanged();
        return this;
      }

      private boolean isFirstLoginEnterScene_ ;
      /**
       * <code>bool is_first_login_enter_scene = 3;</code>
       * @return The isFirstLoginEnterScene.
       */
      @java.lang.Override
      public boolean getIsFirstLoginEnterScene() {
        return isFirstLoginEnterScene_;
      }
      /**
       * <code>bool is_first_login_enter_scene = 3;</code>
       * @param value The isFirstLoginEnterScene to set.
       * @return This builder for chaining.
       */
      public Builder setIsFirstLoginEnterScene(boolean value) {
        
        isFirstLoginEnterScene_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_first_login_enter_scene = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsFirstLoginEnterScene() {
        
        isFirstLoginEnterScene_ = false;
        onChanged();
        return this;
      }

      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 = 5;</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 = 5;</code>
       * @return The count of sceneTagIdList.
       */
      public int getSceneTagIdListCount() {
        return sceneTagIdList_.size();
      }
      /**
       * <code>repeated uint32 scene_tag_id_list = 5;</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 = 5;</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 = 5;</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 = 5;</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 = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearSceneTagIdList() {
        sceneTagIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private java.lang.Object sceneTransaction_ = "";
      /**
       * <code>string scene_transaction = 1842;</code>
       * @return The sceneTransaction.
       */
      public java.lang.String getSceneTransaction() {
        java.lang.Object ref = sceneTransaction_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          sceneTransaction_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string scene_transaction = 1842;</code>
       * @return The bytes for sceneTransaction.
       */
      public com.google.protobuf.ByteString
          getSceneTransactionBytes() {
        java.lang.Object ref = sceneTransaction_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          sceneTransaction_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string scene_transaction = 1842;</code>
       * @param value The sceneTransaction to set.
       * @return This builder for chaining.
       */
      public Builder setSceneTransaction(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sceneTransaction_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string scene_transaction = 1842;</code>
       * @return This builder for chaining.
       */
      public Builder clearSceneTransaction() {
        
        sceneTransaction_ = getDefaultInstance().getSceneTransaction();
        onChanged();
        return this;
      }
      /**
       * <code>string scene_transaction = 1842;</code>
       * @param value The bytes for sceneTransaction to set.
       * @return This builder for chaining.
       */
      public Builder setSceneTransactionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sceneTransaction_ = value;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.VectorOuterClass.Vector prevPos_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> prevPosBuilder_;
      /**
       * <code>.Vector prev_pos = 8;</code>
       * @return Whether the prevPos field is set.
       */
      public boolean hasPrevPos() {
        return prevPosBuilder_ != null || prevPos_ != null;
      }
      /**
       * <code>.Vector prev_pos = 8;</code>
       * @return The prevPos.
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getPrevPos() {
        if (prevPosBuilder_ == null) {
          return prevPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : prevPos_;
        } else {
          return prevPosBuilder_.getMessage();
        }
      }
      /**
       * <code>.Vector prev_pos = 8;</code>
       */
      public Builder setPrevPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (prevPosBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          prevPos_ = value;
          onChanged();
        } else {
          prevPosBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.Vector prev_pos = 8;</code>
       */
      public Builder setPrevPos(
          emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
        if (prevPosBuilder_ == null) {
          prevPos_ = builderForValue.build();
          onChanged();
        } else {
          prevPosBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.Vector prev_pos = 8;</code>
       */
      public Builder mergePrevPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (prevPosBuilder_ == null) {
          if (prevPos_ != null) {
            prevPos_ =
              emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(prevPos_).mergeFrom(value).buildPartial();
          } else {
            prevPos_ = value;
          }
          onChanged();
        } else {
          prevPosBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.Vector prev_pos = 8;</code>
       */
      public Builder clearPrevPos() {
        if (prevPosBuilder_ == null) {
          prevPos_ = null;
          onChanged();
        } else {
          prevPos_ = null;
          prevPosBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.Vector prev_pos = 8;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPrevPosBuilder() {
        
        onChanged();
        return getPrevPosFieldBuilder().getBuilder();
      }
      /**
       * <code>.Vector prev_pos = 8;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPrevPosOrBuilder() {
        if (prevPosBuilder_ != null) {
          return prevPosBuilder_.getMessageOrBuilder();
        } else {
          return prevPos_ == null ?
              emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : prevPos_;
        }
      }
      /**
       * <code>.Vector prev_pos = 8;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
          getPrevPosFieldBuilder() {
        if (prevPosBuilder_ == null) {
          prevPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                  getPrevPos(),
                  getParentForChildren(),
                  isClean());
          prevPos_ = null;
        }
        return prevPosBuilder_;
      }

      private int enterReason_ ;
      /**
       * <code>uint32 enter_reason = 1828;</code>
       * @return The enterReason.
       */
      @java.lang.Override
      public int getEnterReason() {
        return enterReason_;
      }
      /**
       * <code>uint32 enter_reason = 1828;</code>
       * @param value The enterReason to set.
       * @return This builder for chaining.
       */
      public Builder setEnterReason(int value) {
        
        enterReason_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 enter_reason = 1828;</code>
       * @return This builder for chaining.
       */
      public Builder clearEnterReason() {
        
        enterReason_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.VectorOuterClass.Vector pos_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> posBuilder_;
      /**
       * <code>.Vector pos = 7;</code>
       * @return Whether the pos field is set.
       */
      public boolean hasPos() {
        return posBuilder_ != null || pos_ != null;
      }
      /**
       * <code>.Vector pos = 7;</code>
       * @return The pos.
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getPos() {
        if (posBuilder_ == null) {
          return pos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_;
        } else {
          return posBuilder_.getMessage();
        }
      }
      /**
       * <code>.Vector pos = 7;</code>
       */
      public Builder setPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (posBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          pos_ = value;
          onChanged();
        } else {
          posBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.Vector pos = 7;</code>
       */
      public Builder setPos(
          emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
        if (posBuilder_ == null) {
          pos_ = builderForValue.build();
          onChanged();
        } else {
          posBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.Vector pos = 7;</code>
       */
      public Builder mergePos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (posBuilder_ == null) {
          if (pos_ != null) {
            pos_ =
              emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(pos_).mergeFrom(value).buildPartial();
          } else {
            pos_ = value;
          }
          onChanged();
        } else {
          posBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.Vector pos = 7;</code>
       */
      public Builder clearPos() {
        if (posBuilder_ == null) {
          pos_ = null;
          onChanged();
        } else {
          pos_ = null;
          posBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.Vector pos = 7;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPosBuilder() {
        
        onChanged();
        return getPosFieldBuilder().getBuilder();
      }
      /**
       * <code>.Vector pos = 7;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder() {
        if (posBuilder_ != null) {
          return posBuilder_.getMessageOrBuilder();
        } else {
          return pos_ == null ?
              emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_;
        }
      }
      /**
       * <code>.Vector pos = 7;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
          getPosFieldBuilder() {
        if (posBuilder_ == null) {
          posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                  getPos(),
                  getParentForChildren(),
                  isClean());
          pos_ = null;
        }
        return posBuilder_;
      }

      private int enterSceneToken_ ;
      /**
       * <code>uint32 enter_scene_token = 2;</code>
       * @return The enterSceneToken.
       */
      @java.lang.Override
      public int getEnterSceneToken() {
        return enterSceneToken_;
      }
      /**
       * <code>uint32 enter_scene_token = 2;</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 = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearEnterSceneToken() {
        
        enterSceneToken_ = 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:PlayerEnterSceneNotify)
    }

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

    public static emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_PlayerEnterSceneNotify_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_PlayerEnterSceneNotify_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\034PlayerEnterSceneNotify.proto\032\017EnterTyp" +
      "e.proto\032\014Vector.proto\"\232\003\n\026PlayerEnterSce" +
      "neNotify\022\025\n\rprev_scene_id\030\006 \001(\r\022\022\n\ndunge" +
      "on_id\030\014 \001(\r\022\023\n\nis_skip_ui\030\304\r \001(\010\022\020\n\010scen" +
      "e_id\030\017 \001(\r\022\030\n\004type\030\r \001(\0162\n.EnterType\022\030\n\020" +
      "scene_begin_time\030\016 \001(\004\022\023\n\013world_level\030\013 " +
      "\001(\r\022\023\n\nworld_type\030\322\013 \001(\r\022\022\n\ntarget_uid\030\004" +
      " \001(\r\022\"\n\032is_first_login_enter_scene\030\003 \001(\010" +
      "\022\031\n\021scene_tag_id_list\030\005 \003(\r\022\032\n\021scene_tra" +
      "nsaction\030\262\016 \001(\t\022\031\n\010prev_pos\030\010 \001(\0132\007.Vect" +
      "or\022\025\n\014enter_reason\030\244\016 \001(\r\022\024\n\003pos\030\007 \001(\0132\007" +
      ".Vector\022\031\n\021enter_scene_token\030\002 \001(\rB\033\n\031em" +
      "u.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.EnterTypeOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(),
        });
    internal_static_PlayerEnterSceneNotify_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_PlayerEnterSceneNotify_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_PlayerEnterSceneNotify_descriptor,
        new java.lang.String[] { "PrevSceneId", "DungeonId", "IsSkipUi", "SceneId", "Type", "SceneBeginTime", "WorldLevel", "WorldType", "TargetUid", "IsFirstLoginEnterScene", "SceneTagIdList", "SceneTransaction", "PrevPos", "EnterReason", "Pos", "EnterSceneToken", });
    emu.grasscutter.net.proto.EnterTypeOuterClass.getDescriptor();
    emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
