// 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 world_type = 1224;</code>
     * @return The worldType.
     */
    int getWorldType();

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

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

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

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

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

    /**
     * <code>uint32 enter_scene_token = 6;</code>
     * @return The enterSceneToken.
     */
    int getEnterSceneToken();

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

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

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

    /**
     * <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>uint64 scene_begin_time = 9;</code>
     * @return The sceneBeginTime.
     */
    long getSceneBeginTime();

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

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

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

    /**
     * <code>string scene_transaction = 370;</code>
     * @return The sceneTransaction.
     */
    java.lang.String getSceneTransaction();
    /**
     * <code>string scene_transaction = 370;</code>
     * @return The bytes for sceneTransaction.
     */
    com.google.protobuf.ByteString
        getSceneTransactionBytes();
  }
  /**
   * <pre>
   * enum CmdId {
   *   option allow_alias = true;
   *   NONE = 0;
   *   CMD_ID = 279;
   *   ENET_CHANNEL_ID = 0;
   *   ENET_IS_RELIABLE = 1;
   * }
   * </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 10: {
              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 16: {

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

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

              worldLevel_ = 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: {

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

              targetUid_ = input.readUInt32();
              break;
            }
            case 72: {

              sceneBeginTime_ = input.readUInt64();
              break;
            }
            case 82: {
              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: {

              sceneId_ = input.readUInt32();
              break;
            }
            case 96: {
              int rawValue = input.readEnum();

              type_ = rawValue;
              break;
            }
            case 104: {

              prevSceneId_ = input.readUInt32();
              break;
            }
            case 256: {

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

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

              sceneTransaction_ = s;
              break;
            }
            case 9792: {

              worldType_ = input.readUInt32();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        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 WORLD_TYPE_FIELD_NUMBER = 1224;
    private int worldType_;
    /**
     * <code>uint32 world_type = 1224;</code>
     * @return The worldType.
     */
    @java.lang.Override
    public int getWorldType() {
      return worldType_;
    }

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

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

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

    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 PREV_SCENE_ID_FIELD_NUMBER = 13;
    private int prevSceneId_;
    /**
     * <code>uint32 prev_scene_id = 13;</code>
     * @return The prevSceneId.
     */
    @java.lang.Override
    public int getPrevSceneId() {
      return prevSceneId_;
    }

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

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

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

    public static final int TYPE_FIELD_NUMBER = 12;
    private int type_;
    /**
     * <code>.EnterType type = 12;</code>
     * @return The enum numeric value on the wire for type.
     */
    @java.lang.Override public int getTypeValue() {
      return type_;
    }
    /**
     * <code>.EnterType type = 12;</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_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_BEGIN_TIME_FIELD_NUMBER = 9;
    private long sceneBeginTime_;
    /**
     * <code>uint64 scene_begin_time = 9;</code>
     * @return The sceneBeginTime.
     */
    @java.lang.Override
    public long getSceneBeginTime() {
      return sceneBeginTime_;
    }

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

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

    public static final int PREV_POS_FIELD_NUMBER = 10;
    private emu.grasscutter.net.proto.VectorOuterClass.Vector prevPos_;
    /**
     * <code>.Vector prev_pos = 10;</code>
     * @return Whether the prevPos field is set.
     */
    @java.lang.Override
    public boolean hasPrevPos() {
      return prevPos_ != null;
    }
    /**
     * <code>.Vector prev_pos = 10;</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 = 10;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPrevPosOrBuilder() {
      return getPrevPos();
    }

    public static final int SCENE_TRANSACTION_FIELD_NUMBER = 370;
    private volatile java.lang.Object sceneTransaction_;
    /**
     * <code>string scene_transaction = 370;</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 = 370;</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;
      }
    }

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

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

      size = 0;
      if (pos_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getPos());
      }
      if (dungeonId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, dungeonId_);
      }
      if (isFirstLoginEnterScene_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(3, isFirstLoginEnterScene_);
      }
      if (worldLevel_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(4, worldLevel_);
      }
      {
        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 (enterSceneToken_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, enterSceneToken_);
      }
      if (targetUid_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(8, targetUid_);
      }
      if (sceneBeginTime_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(9, sceneBeginTime_);
      }
      if (prevPos_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(10, getPrevPos());
      }
      if (sceneId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(11, sceneId_);
      }
      if (type_ != emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType.ENTER_TYPE_NONE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(12, type_);
      }
      if (prevSceneId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(13, prevSceneId_);
      }
      if (isSkipUi_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(32, isSkipUi_);
      }
      if (enterReason_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(287, enterReason_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sceneTransaction_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(370, sceneTransaction_);
      }
      if (worldType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1224, worldType_);
      }
      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 (getWorldType()
          != other.getWorldType()) return false;
      if (getIsSkipUi()
          != other.getIsSkipUi()) return false;
      if (getWorldLevel()
          != other.getWorldLevel()) return false;
      if (hasPos() != other.hasPos()) return false;
      if (hasPos()) {
        if (!getPos()
            .equals(other.getPos())) return false;
      }
      if (getIsFirstLoginEnterScene()
          != other.getIsFirstLoginEnterScene()) return false;
      if (getPrevSceneId()
          != other.getPrevSceneId()) return false;
      if (getEnterSceneToken()
          != other.getEnterSceneToken()) return false;
      if (getDungeonId()
          != other.getDungeonId()) return false;
      if (getSceneId()
          != other.getSceneId()) return false;
      if (type_ != other.type_) return false;
      if (!getSceneTagIdListList()
          .equals(other.getSceneTagIdListList())) return false;
      if (getSceneBeginTime()
          != other.getSceneBeginTime()) return false;
      if (getEnterReason()
          != other.getEnterReason()) return false;
      if (getTargetUid()
          != other.getTargetUid()) return false;
      if (hasPrevPos() != other.hasPrevPos()) return false;
      if (hasPrevPos()) {
        if (!getPrevPos()
            .equals(other.getPrevPos())) return false;
      }
      if (!getSceneTransaction()
          .equals(other.getSceneTransaction())) 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) + WORLD_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getWorldType();
      hash = (37 * hash) + IS_SKIP_UI_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsSkipUi());
      hash = (37 * hash) + WORLD_LEVEL_FIELD_NUMBER;
      hash = (53 * hash) + getWorldLevel();
      if (hasPos()) {
        hash = (37 * hash) + POS_FIELD_NUMBER;
        hash = (53 * hash) + getPos().hashCode();
      }
      hash = (37 * hash) + IS_FIRST_LOGIN_ENTER_SCENE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsFirstLoginEnterScene());
      hash = (37 * hash) + PREV_SCENE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getPrevSceneId();
      hash = (37 * hash) + ENTER_SCENE_TOKEN_FIELD_NUMBER;
      hash = (53 * hash) + getEnterSceneToken();
      hash = (37 * hash) + DUNGEON_ID_FIELD_NUMBER;
      hash = (53 * hash) + getDungeonId();
      hash = (37 * hash) + SCENE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getSceneId();
      hash = (37 * hash) + TYPE_FIELD_NUMBER;
      hash = (53 * hash) + type_;
      if (getSceneTagIdListCount() > 0) {
        hash = (37 * hash) + SCENE_TAG_ID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getSceneTagIdListList().hashCode();
      }
      hash = (37 * hash) + SCENE_BEGIN_TIME_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getSceneBeginTime());
      hash = (37 * hash) + ENTER_REASON_FIELD_NUMBER;
      hash = (53 * hash) + getEnterReason();
      hash = (37 * hash) + TARGET_UID_FIELD_NUMBER;
      hash = (53 * hash) + getTargetUid();
      if (hasPrevPos()) {
        hash = (37 * hash) + PREV_POS_FIELD_NUMBER;
        hash = (53 * hash) + getPrevPos().hashCode();
      }
      hash = (37 * hash) + SCENE_TRANSACTION_FIELD_NUMBER;
      hash = (53 * hash) + getSceneTransaction().hashCode();
      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>
     * enum CmdId {
     *   option allow_alias = true;
     *   NONE = 0;
     *   CMD_ID = 279;
     *   ENET_CHANNEL_ID = 0;
     *   ENET_IS_RELIABLE = 1;
     * }
     * </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();
        worldType_ = 0;

        isSkipUi_ = false;

        worldLevel_ = 0;

        if (posBuilder_ == null) {
          pos_ = null;
        } else {
          pos_ = null;
          posBuilder_ = null;
        }
        isFirstLoginEnterScene_ = false;

        prevSceneId_ = 0;

        enterSceneToken_ = 0;

        dungeonId_ = 0;

        sceneId_ = 0;

        type_ = 0;

        sceneTagIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        sceneBeginTime_ = 0L;

        enterReason_ = 0;

        targetUid_ = 0;

        if (prevPosBuilder_ == null) {
          prevPos_ = null;
        } else {
          prevPos_ = null;
          prevPosBuilder_ = null;
        }
        sceneTransaction_ = "";

        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.worldType_ = worldType_;
        result.isSkipUi_ = isSkipUi_;
        result.worldLevel_ = worldLevel_;
        if (posBuilder_ == null) {
          result.pos_ = pos_;
        } else {
          result.pos_ = posBuilder_.build();
        }
        result.isFirstLoginEnterScene_ = isFirstLoginEnterScene_;
        result.prevSceneId_ = prevSceneId_;
        result.enterSceneToken_ = enterSceneToken_;
        result.dungeonId_ = dungeonId_;
        result.sceneId_ = sceneId_;
        result.type_ = type_;
        if (((bitField0_ & 0x00000001) != 0)) {
          sceneTagIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.sceneTagIdList_ = sceneTagIdList_;
        result.sceneBeginTime_ = sceneBeginTime_;
        result.enterReason_ = enterReason_;
        result.targetUid_ = targetUid_;
        if (prevPosBuilder_ == null) {
          result.prevPos_ = prevPos_;
        } else {
          result.prevPos_ = prevPosBuilder_.build();
        }
        result.sceneTransaction_ = sceneTransaction_;
        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.getWorldType() != 0) {
          setWorldType(other.getWorldType());
        }
        if (other.getIsSkipUi() != false) {
          setIsSkipUi(other.getIsSkipUi());
        }
        if (other.getWorldLevel() != 0) {
          setWorldLevel(other.getWorldLevel());
        }
        if (other.hasPos()) {
          mergePos(other.getPos());
        }
        if (other.getIsFirstLoginEnterScene() != false) {
          setIsFirstLoginEnterScene(other.getIsFirstLoginEnterScene());
        }
        if (other.getPrevSceneId() != 0) {
          setPrevSceneId(other.getPrevSceneId());
        }
        if (other.getEnterSceneToken() != 0) {
          setEnterSceneToken(other.getEnterSceneToken());
        }
        if (other.getDungeonId() != 0) {
          setDungeonId(other.getDungeonId());
        }
        if (other.getSceneId() != 0) {
          setSceneId(other.getSceneId());
        }
        if (other.type_ != 0) {
          setTypeValue(other.getTypeValue());
        }
        if (!other.sceneTagIdList_.isEmpty()) {
          if (sceneTagIdList_.isEmpty()) {
            sceneTagIdList_ = other.sceneTagIdList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureSceneTagIdListIsMutable();
            sceneTagIdList_.addAll(other.sceneTagIdList_);
          }
          onChanged();
        }
        if (other.getSceneBeginTime() != 0L) {
          setSceneBeginTime(other.getSceneBeginTime());
        }
        if (other.getEnterReason() != 0) {
          setEnterReason(other.getEnterReason());
        }
        if (other.getTargetUid() != 0) {
          setTargetUid(other.getTargetUid());
        }
        if (other.hasPrevPos()) {
          mergePrevPos(other.getPrevPos());
        }
        if (!other.getSceneTransaction().isEmpty()) {
          sceneTransaction_ = other.sceneTransaction_;
          onChanged();
        }
        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 worldType_ ;
      /**
       * <code>uint32 world_type = 1224;</code>
       * @return The worldType.
       */
      @java.lang.Override
      public int getWorldType() {
        return worldType_;
      }
      /**
       * <code>uint32 world_type = 1224;</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 = 1224;</code>
       * @return This builder for chaining.
       */
      public Builder clearWorldType() {
        
        worldType_ = 0;
        onChanged();
        return this;
      }

      private boolean isSkipUi_ ;
      /**
       * <code>bool is_skip_ui = 32;</code>
       * @return The isSkipUi.
       */
      @java.lang.Override
      public boolean getIsSkipUi() {
        return isSkipUi_;
      }
      /**
       * <code>bool is_skip_ui = 32;</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 = 32;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsSkipUi() {
        
        isSkipUi_ = false;
        onChanged();
        return this;
      }

      private int worldLevel_ ;
      /**
       * <code>uint32 world_level = 4;</code>
       * @return The worldLevel.
       */
      @java.lang.Override
      public int getWorldLevel() {
        return worldLevel_;
      }
      /**
       * <code>uint32 world_level = 4;</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 = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearWorldLevel() {
        
        worldLevel_ = 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 = 1;</code>
       * @return Whether the pos field is set.
       */
      public boolean hasPos() {
        return posBuilder_ != null || pos_ != null;
      }
      /**
       * <code>.Vector pos = 1;</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 = 1;</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 = 1;</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 = 1;</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 = 1;</code>
       */
      public Builder clearPos() {
        if (posBuilder_ == null) {
          pos_ = null;
          onChanged();
        } else {
          pos_ = null;
          posBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.Vector pos = 1;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPosBuilder() {
        
        onChanged();
        return getPosFieldBuilder().getBuilder();
      }
      /**
       * <code>.Vector pos = 1;</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 = 1;</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 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 int prevSceneId_ ;
      /**
       * <code>uint32 prev_scene_id = 13;</code>
       * @return The prevSceneId.
       */
      @java.lang.Override
      public int getPrevSceneId() {
        return prevSceneId_;
      }
      /**
       * <code>uint32 prev_scene_id = 13;</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 = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearPrevSceneId() {
        
        prevSceneId_ = 0;
        onChanged();
        return this;
      }

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

      private int dungeonId_ ;
      /**
       * <code>uint32 dungeon_id = 2;</code>
       * @return The dungeonId.
       */
      @java.lang.Override
      public int getDungeonId() {
        return dungeonId_;
      }
      /**
       * <code>uint32 dungeon_id = 2;</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 = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearDungeonId() {
        
        dungeonId_ = 0;
        onChanged();
        return this;
      }

      private int sceneId_ ;
      /**
       * <code>uint32 scene_id = 11;</code>
       * @return The sceneId.
       */
      @java.lang.Override
      public int getSceneId() {
        return sceneId_;
      }
      /**
       * <code>uint32 scene_id = 11;</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 = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearSceneId() {
        
        sceneId_ = 0;
        onChanged();
        return this;
      }

      private int type_ = 0;
      /**
       * <code>.EnterType type = 12;</code>
       * @return The enum numeric value on the wire for type.
       */
      @java.lang.Override public int getTypeValue() {
        return type_;
      }
      /**
       * <code>.EnterType type = 12;</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 = 12;</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 = 12;</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 = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearType() {
        
        type_ = 0;
        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 long sceneBeginTime_ ;
      /**
       * <code>uint64 scene_begin_time = 9;</code>
       * @return The sceneBeginTime.
       */
      @java.lang.Override
      public long getSceneBeginTime() {
        return sceneBeginTime_;
      }
      /**
       * <code>uint64 scene_begin_time = 9;</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 = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearSceneBeginTime() {
        
        sceneBeginTime_ = 0L;
        onChanged();
        return this;
      }

      private int enterReason_ ;
      /**
       * <code>uint32 enter_reason = 287;</code>
       * @return The enterReason.
       */
      @java.lang.Override
      public int getEnterReason() {
        return enterReason_;
      }
      /**
       * <code>uint32 enter_reason = 287;</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 = 287;</code>
       * @return This builder for chaining.
       */
      public Builder clearEnterReason() {
        
        enterReason_ = 0;
        onChanged();
        return this;
      }

      private int targetUid_ ;
      /**
       * <code>uint32 target_uid = 8;</code>
       * @return The targetUid.
       */
      @java.lang.Override
      public int getTargetUid() {
        return targetUid_;
      }
      /**
       * <code>uint32 target_uid = 8;</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 = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearTargetUid() {
        
        targetUid_ = 0;
        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 = 10;</code>
       * @return Whether the prevPos field is set.
       */
      public boolean hasPrevPos() {
        return prevPosBuilder_ != null || prevPos_ != null;
      }
      /**
       * <code>.Vector prev_pos = 10;</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 = 10;</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 = 10;</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 = 10;</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 = 10;</code>
       */
      public Builder clearPrevPos() {
        if (prevPosBuilder_ == null) {
          prevPos_ = null;
          onChanged();
        } else {
          prevPos_ = null;
          prevPosBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.Vector prev_pos = 10;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPrevPosBuilder() {
        
        onChanged();
        return getPrevPosFieldBuilder().getBuilder();
      }
      /**
       * <code>.Vector prev_pos = 10;</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 = 10;</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 java.lang.Object sceneTransaction_ = "";
      /**
       * <code>string scene_transaction = 370;</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 = 370;</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 = 370;</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 = 370;</code>
       * @return This builder for chaining.
       */
      public Builder clearSceneTransaction() {
        
        sceneTransaction_ = getDefaultInstance().getSceneTransaction();
        onChanged();
        return this;
      }
      /**
       * <code>string scene_transaction = 370;</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;
      }
      @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\"\231\003\n\026PlayerEnterSce" +
      "neNotify\022\023\n\nworld_type\030\310\t \001(\r\022\022\n\nis_skip" +
      "_ui\030  \001(\010\022\023\n\013world_level\030\004 \001(\r\022\024\n\003pos\030\001 " +
      "\001(\0132\007.Vector\022\"\n\032is_first_login_enter_sce" +
      "ne\030\003 \001(\010\022\025\n\rprev_scene_id\030\r \001(\r\022\031\n\021enter" +
      "_scene_token\030\006 \001(\r\022\022\n\ndungeon_id\030\002 \001(\r\022\020" +
      "\n\010scene_id\030\013 \001(\r\022\030\n\004type\030\014 \001(\0162\n.EnterTy" +
      "pe\022\031\n\021scene_tag_id_list\030\005 \003(\r\022\030\n\020scene_b" +
      "egin_time\030\t \001(\004\022\025\n\014enter_reason\030\237\002 \001(\r\022\022" +
      "\n\ntarget_uid\030\010 \001(\r\022\031\n\010prev_pos\030\n \001(\0132\007.V" +
      "ector\022\032\n\021scene_transaction\030\362\002 \001(\tB\033\n\031emu" +
      ".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[] { "WorldType", "IsSkipUi", "WorldLevel", "Pos", "IsFirstLoginEnterScene", "PrevSceneId", "EnterSceneToken", "DungeonId", "SceneId", "Type", "SceneTagIdList", "SceneBeginTime", "EnterReason", "TargetUid", "PrevPos", "SceneTransaction", });
    emu.grasscutter.net.proto.EnterTypeOuterClass.getDescriptor();
    emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
