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

package emu.grasscutter.net.proto;

public final class PlayerLoginReqOuterClass {
  private PlayerLoginReqOuterClass() {}
  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 PlayerLoginReqOrBuilder extends
      // @@protoc_insertion_point(interface_extends:PlayerLoginReq)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string token = 1;</code>
     * @return The token.
     */
    java.lang.String getToken();
    /**
     * <code>string token = 1;</code>
     * @return The bytes for token.
     */
    com.google.protobuf.ByteString
        getTokenBytes();

    /**
     * <code>string clientVersion = 2;</code>
     * @return The clientVersion.
     */
    java.lang.String getClientVersion();
    /**
     * <code>string clientVersion = 2;</code>
     * @return The bytes for clientVersion.
     */
    com.google.protobuf.ByteString
        getClientVersionBytes();

    /**
     * <code>string systemVersion = 3;</code>
     * @return The systemVersion.
     */
    java.lang.String getSystemVersion();
    /**
     * <code>string systemVersion = 3;</code>
     * @return The bytes for systemVersion.
     */
    com.google.protobuf.ByteString
        getSystemVersionBytes();

    /**
     * <code>string deviceName = 4;</code>
     * @return The deviceName.
     */
    java.lang.String getDeviceName();
    /**
     * <code>string deviceName = 4;</code>
     * @return The bytes for deviceName.
     */
    com.google.protobuf.ByteString
        getDeviceNameBytes();

    /**
     * <code>string deviceUuid = 5;</code>
     * @return The deviceUuid.
     */
    java.lang.String getDeviceUuid();
    /**
     * <code>string deviceUuid = 5;</code>
     * @return The bytes for deviceUuid.
     */
    com.google.protobuf.ByteString
        getDeviceUuidBytes();

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

    /**
     * <code>uint64 loginRand = 7;</code>
     * @return The loginRand.
     */
    long getLoginRand();

    /**
     * <code>bool isEditor = 8;</code>
     * @return The isEditor.
     */
    boolean getIsEditor();

    /**
     * <code>uint32 languageType = 9;</code>
     * @return The languageType.
     */
    int getLanguageType();

    /**
     * <code>uint32 accountType = 10;</code>
     * @return The accountType.
     */
    int getAccountType();

    /**
     * <code>string accountUid = 11;</code>
     * @return The accountUid.
     */
    java.lang.String getAccountUid();
    /**
     * <code>string accountUid = 11;</code>
     * @return The bytes for accountUid.
     */
    com.google.protobuf.ByteString
        getAccountUidBytes();

    /**
     * <code>string platform = 12;</code>
     * @return The platform.
     */
    java.lang.String getPlatform();
    /**
     * <code>string platform = 12;</code>
     * @return The bytes for platform.
     */
    com.google.protobuf.ByteString
        getPlatformBytes();

    /**
     * <code>string deviceInfo = 13;</code>
     * @return The deviceInfo.
     */
    java.lang.String getDeviceInfo();
    /**
     * <code>string deviceInfo = 13;</code>
     * @return The bytes for deviceInfo.
     */
    com.google.protobuf.ByteString
        getDeviceInfoBytes();

    /**
     * <code>uint32 platformType = 14;</code>
     * @return The platformType.
     */
    int getPlatformType();

    /**
     * <code>bool isGuest = 15;</code>
     * @return The isGuest.
     */
    boolean getIsGuest();

    /**
     * <code>uint32 cloudClientIp = 16;</code>
     * @return The cloudClientIp.
     */
    int getCloudClientIp();

    /**
     * <code>uint32 gmUid = 17;</code>
     * @return The gmUid.
     */
    int getGmUid();

    /**
     * <code>string checksum = 18;</code>
     * @return The checksum.
     */
    java.lang.String getChecksum();
    /**
     * <code>string checksum = 18;</code>
     * @return The bytes for checksum.
     */
    com.google.protobuf.ByteString
        getChecksumBytes();

    /**
     * <code>string onlineId = 19;</code>
     * @return The onlineId.
     */
    java.lang.String getOnlineId();
    /**
     * <code>string onlineId = 19;</code>
     * @return The bytes for onlineId.
     */
    com.google.protobuf.ByteString
        getOnlineIdBytes();

    /**
     * <code>uint32 clientToken = 20;</code>
     * @return The clientToken.
     */
    int getClientToken();

    /**
     * <code>bytes securityCmdReply = 21;</code>
     * @return The securityCmdReply.
     */
    com.google.protobuf.ByteString getSecurityCmdReply();

    /**
     * <code>bytes extraBinData = 22;</code>
     * @return The extraBinData.
     */
    com.google.protobuf.ByteString getExtraBinData();

    /**
     * <code>string cps = 23;</code>
     * @return The cps.
     */
    java.lang.String getCps();
    /**
     * <code>string cps = 23;</code>
     * @return The bytes for cps.
     */
    com.google.protobuf.ByteString
        getCpsBytes();

    /**
     * <code>uint32 channelId = 24;</code>
     * @return The channelId.
     */
    int getChannelId();

    /**
     * <code>uint32 subChannelId = 25;</code>
     * @return The subChannelId.
     */
    int getSubChannelId();

    /**
     * <code>string checksumClientVersion = 26;</code>
     * @return The checksumClientVersion.
     */
    java.lang.String getChecksumClientVersion();
    /**
     * <code>string checksumClientVersion = 26;</code>
     * @return The bytes for checksumClientVersion.
     */
    com.google.protobuf.ByteString
        getChecksumClientVersionBytes();

    /**
     * <code>uint32 tag = 27;</code>
     * @return The tag.
     */
    int getTag();

    /**
     * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
     * @return Whether the trackingIoInfo field is set.
     */
    boolean hasTrackingIoInfo();
    /**
     * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
     * @return The trackingIoInfo.
     */
    emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo getTrackingIoInfo();
    /**
     * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
     */
    emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfoOrBuilder getTrackingIoInfoOrBuilder();

    /**
     * <code>string countryCode = 29;</code>
     * @return The countryCode.
     */
    java.lang.String getCountryCode();
    /**
     * <code>string countryCode = 29;</code>
     * @return The bytes for countryCode.
     */
    com.google.protobuf.ByteString
        getCountryCodeBytes();

    /**
     * <code>uint32 clientDataVersion = 30;</code>
     * @return The clientDataVersion.
     */
    int getClientDataVersion();

    /**
     * <code>bytes environmentErrorCode = 31;</code>
     * @return The environmentErrorCode.
     */
    com.google.protobuf.ByteString getEnvironmentErrorCode();

    /**
     * <code>uint32 targetHomeOwnerUid = 32;</code>
     * @return The targetHomeOwnerUid.
     */
    int getTargetHomeOwnerUid();

    /**
     * <code>string psnId = 33;</code>
     * @return The psnId.
     */
    java.lang.String getPsnId();
    /**
     * <code>string psnId = 33;</code>
     * @return The bytes for psnId.
     */
    com.google.protobuf.ByteString
        getPsnIdBytes();
  }
  /**
   * Protobuf type {@code PlayerLoginReq}
   */
  public static final class PlayerLoginReq extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:PlayerLoginReq)
      PlayerLoginReqOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PlayerLoginReq.newBuilder() to construct.
    private PlayerLoginReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private PlayerLoginReq() {
      token_ = "";
      clientVersion_ = "";
      systemVersion_ = "";
      deviceName_ = "";
      deviceUuid_ = "";
      accountUid_ = "";
      platform_ = "";
      deviceInfo_ = "";
      checksum_ = "";
      onlineId_ = "";
      securityCmdReply_ = com.google.protobuf.ByteString.EMPTY;
      extraBinData_ = com.google.protobuf.ByteString.EMPTY;
      cps_ = "";
      checksumClientVersion_ = "";
      countryCode_ = "";
      environmentErrorCode_ = com.google.protobuf.ByteString.EMPTY;
      psnId_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PlayerLoginReq(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              token_ = s;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              clientVersion_ = s;
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();

              systemVersion_ = s;
              break;
            }
            case 34: {
              java.lang.String s = input.readStringRequireUtf8();

              deviceName_ = s;
              break;
            }
            case 42: {
              java.lang.String s = input.readStringRequireUtf8();

              deviceUuid_ = s;
              break;
            }
            case 48: {

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

              loginRand_ = input.readUInt64();
              break;
            }
            case 64: {

              isEditor_ = input.readBool();
              break;
            }
            case 72: {

              languageType_ = input.readUInt32();
              break;
            }
            case 80: {

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

              accountUid_ = s;
              break;
            }
            case 98: {
              java.lang.String s = input.readStringRequireUtf8();

              platform_ = s;
              break;
            }
            case 106: {
              java.lang.String s = input.readStringRequireUtf8();

              deviceInfo_ = s;
              break;
            }
            case 112: {

              platformType_ = input.readUInt32();
              break;
            }
            case 120: {

              isGuest_ = input.readBool();
              break;
            }
            case 128: {

              cloudClientIp_ = input.readUInt32();
              break;
            }
            case 136: {

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

              checksum_ = s;
              break;
            }
            case 154: {
              java.lang.String s = input.readStringRequireUtf8();

              onlineId_ = s;
              break;
            }
            case 160: {

              clientToken_ = input.readUInt32();
              break;
            }
            case 170: {

              securityCmdReply_ = input.readBytes();
              break;
            }
            case 178: {

              extraBinData_ = input.readBytes();
              break;
            }
            case 186: {
              java.lang.String s = input.readStringRequireUtf8();

              cps_ = s;
              break;
            }
            case 192: {

              channelId_ = input.readUInt32();
              break;
            }
            case 200: {

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

              checksumClientVersion_ = s;
              break;
            }
            case 216: {

              tag_ = input.readUInt32();
              break;
            }
            case 226: {
              emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo.Builder subBuilder = null;
              if (trackingIoInfo_ != null) {
                subBuilder = trackingIoInfo_.toBuilder();
              }
              trackingIoInfo_ = input.readMessage(emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(trackingIoInfo_);
                trackingIoInfo_ = subBuilder.buildPartial();
              }

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

              countryCode_ = s;
              break;
            }
            case 240: {

              clientDataVersion_ = input.readUInt32();
              break;
            }
            case 250: {

              environmentErrorCode_ = input.readBytes();
              break;
            }
            case 256: {

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

              psnId_ = 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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.PlayerLoginReqOuterClass.internal_static_PlayerLoginReq_descriptor;
    }

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

    public static final int TOKEN_FIELD_NUMBER = 1;
    private volatile java.lang.Object token_;
    /**
     * <code>string token = 1;</code>
     * @return The token.
     */
    @java.lang.Override
    public java.lang.String getToken() {
      java.lang.Object ref = token_;
      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();
        token_ = s;
        return s;
      }
    }
    /**
     * <code>string token = 1;</code>
     * @return The bytes for token.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getTokenBytes() {
      java.lang.Object ref = token_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        token_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int CLIENTVERSION_FIELD_NUMBER = 2;
    private volatile java.lang.Object clientVersion_;
    /**
     * <code>string clientVersion = 2;</code>
     * @return The clientVersion.
     */
    @java.lang.Override
    public java.lang.String getClientVersion() {
      java.lang.Object ref = clientVersion_;
      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();
        clientVersion_ = s;
        return s;
      }
    }
    /**
     * <code>string clientVersion = 2;</code>
     * @return The bytes for clientVersion.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getClientVersionBytes() {
      java.lang.Object ref = clientVersion_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        clientVersion_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SYSTEMVERSION_FIELD_NUMBER = 3;
    private volatile java.lang.Object systemVersion_;
    /**
     * <code>string systemVersion = 3;</code>
     * @return The systemVersion.
     */
    @java.lang.Override
    public java.lang.String getSystemVersion() {
      java.lang.Object ref = systemVersion_;
      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();
        systemVersion_ = s;
        return s;
      }
    }
    /**
     * <code>string systemVersion = 3;</code>
     * @return The bytes for systemVersion.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getSystemVersionBytes() {
      java.lang.Object ref = systemVersion_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        systemVersion_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DEVICENAME_FIELD_NUMBER = 4;
    private volatile java.lang.Object deviceName_;
    /**
     * <code>string deviceName = 4;</code>
     * @return The deviceName.
     */
    @java.lang.Override
    public java.lang.String getDeviceName() {
      java.lang.Object ref = deviceName_;
      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();
        deviceName_ = s;
        return s;
      }
    }
    /**
     * <code>string deviceName = 4;</code>
     * @return The bytes for deviceName.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDeviceNameBytes() {
      java.lang.Object ref = deviceName_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        deviceName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DEVICEUUID_FIELD_NUMBER = 5;
    private volatile java.lang.Object deviceUuid_;
    /**
     * <code>string deviceUuid = 5;</code>
     * @return The deviceUuid.
     */
    @java.lang.Override
    public java.lang.String getDeviceUuid() {
      java.lang.Object ref = deviceUuid_;
      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();
        deviceUuid_ = s;
        return s;
      }
    }
    /**
     * <code>string deviceUuid = 5;</code>
     * @return The bytes for deviceUuid.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDeviceUuidBytes() {
      java.lang.Object ref = deviceUuid_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        deviceUuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

    public static final int LOGINRAND_FIELD_NUMBER = 7;
    private long loginRand_;
    /**
     * <code>uint64 loginRand = 7;</code>
     * @return The loginRand.
     */
    @java.lang.Override
    public long getLoginRand() {
      return loginRand_;
    }

    public static final int ISEDITOR_FIELD_NUMBER = 8;
    private boolean isEditor_;
    /**
     * <code>bool isEditor = 8;</code>
     * @return The isEditor.
     */
    @java.lang.Override
    public boolean getIsEditor() {
      return isEditor_;
    }

    public static final int LANGUAGETYPE_FIELD_NUMBER = 9;
    private int languageType_;
    /**
     * <code>uint32 languageType = 9;</code>
     * @return The languageType.
     */
    @java.lang.Override
    public int getLanguageType() {
      return languageType_;
    }

    public static final int ACCOUNTTYPE_FIELD_NUMBER = 10;
    private int accountType_;
    /**
     * <code>uint32 accountType = 10;</code>
     * @return The accountType.
     */
    @java.lang.Override
    public int getAccountType() {
      return accountType_;
    }

    public static final int ACCOUNTUID_FIELD_NUMBER = 11;
    private volatile java.lang.Object accountUid_;
    /**
     * <code>string accountUid = 11;</code>
     * @return The accountUid.
     */
    @java.lang.Override
    public java.lang.String getAccountUid() {
      java.lang.Object ref = accountUid_;
      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();
        accountUid_ = s;
        return s;
      }
    }
    /**
     * <code>string accountUid = 11;</code>
     * @return The bytes for accountUid.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getAccountUidBytes() {
      java.lang.Object ref = accountUid_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        accountUid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PLATFORM_FIELD_NUMBER = 12;
    private volatile java.lang.Object platform_;
    /**
     * <code>string platform = 12;</code>
     * @return The platform.
     */
    @java.lang.Override
    public java.lang.String getPlatform() {
      java.lang.Object ref = platform_;
      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();
        platform_ = s;
        return s;
      }
    }
    /**
     * <code>string platform = 12;</code>
     * @return The bytes for platform.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getPlatformBytes() {
      java.lang.Object ref = platform_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        platform_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DEVICEINFO_FIELD_NUMBER = 13;
    private volatile java.lang.Object deviceInfo_;
    /**
     * <code>string deviceInfo = 13;</code>
     * @return The deviceInfo.
     */
    @java.lang.Override
    public java.lang.String getDeviceInfo() {
      java.lang.Object ref = deviceInfo_;
      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();
        deviceInfo_ = s;
        return s;
      }
    }
    /**
     * <code>string deviceInfo = 13;</code>
     * @return The bytes for deviceInfo.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDeviceInfoBytes() {
      java.lang.Object ref = deviceInfo_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        deviceInfo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PLATFORMTYPE_FIELD_NUMBER = 14;
    private int platformType_;
    /**
     * <code>uint32 platformType = 14;</code>
     * @return The platformType.
     */
    @java.lang.Override
    public int getPlatformType() {
      return platformType_;
    }

    public static final int ISGUEST_FIELD_NUMBER = 15;
    private boolean isGuest_;
    /**
     * <code>bool isGuest = 15;</code>
     * @return The isGuest.
     */
    @java.lang.Override
    public boolean getIsGuest() {
      return isGuest_;
    }

    public static final int CLOUDCLIENTIP_FIELD_NUMBER = 16;
    private int cloudClientIp_;
    /**
     * <code>uint32 cloudClientIp = 16;</code>
     * @return The cloudClientIp.
     */
    @java.lang.Override
    public int getCloudClientIp() {
      return cloudClientIp_;
    }

    public static final int GMUID_FIELD_NUMBER = 17;
    private int gmUid_;
    /**
     * <code>uint32 gmUid = 17;</code>
     * @return The gmUid.
     */
    @java.lang.Override
    public int getGmUid() {
      return gmUid_;
    }

    public static final int CHECKSUM_FIELD_NUMBER = 18;
    private volatile java.lang.Object checksum_;
    /**
     * <code>string checksum = 18;</code>
     * @return The checksum.
     */
    @java.lang.Override
    public java.lang.String getChecksum() {
      java.lang.Object ref = checksum_;
      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();
        checksum_ = s;
        return s;
      }
    }
    /**
     * <code>string checksum = 18;</code>
     * @return The bytes for checksum.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getChecksumBytes() {
      java.lang.Object ref = checksum_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        checksum_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ONLINEID_FIELD_NUMBER = 19;
    private volatile java.lang.Object onlineId_;
    /**
     * <code>string onlineId = 19;</code>
     * @return The onlineId.
     */
    @java.lang.Override
    public java.lang.String getOnlineId() {
      java.lang.Object ref = onlineId_;
      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();
        onlineId_ = s;
        return s;
      }
    }
    /**
     * <code>string onlineId = 19;</code>
     * @return The bytes for onlineId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getOnlineIdBytes() {
      java.lang.Object ref = onlineId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        onlineId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int CLIENTTOKEN_FIELD_NUMBER = 20;
    private int clientToken_;
    /**
     * <code>uint32 clientToken = 20;</code>
     * @return The clientToken.
     */
    @java.lang.Override
    public int getClientToken() {
      return clientToken_;
    }

    public static final int SECURITYCMDREPLY_FIELD_NUMBER = 21;
    private com.google.protobuf.ByteString securityCmdReply_;
    /**
     * <code>bytes securityCmdReply = 21;</code>
     * @return The securityCmdReply.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getSecurityCmdReply() {
      return securityCmdReply_;
    }

    public static final int EXTRABINDATA_FIELD_NUMBER = 22;
    private com.google.protobuf.ByteString extraBinData_;
    /**
     * <code>bytes extraBinData = 22;</code>
     * @return The extraBinData.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getExtraBinData() {
      return extraBinData_;
    }

    public static final int CPS_FIELD_NUMBER = 23;
    private volatile java.lang.Object cps_;
    /**
     * <code>string cps = 23;</code>
     * @return The cps.
     */
    @java.lang.Override
    public java.lang.String getCps() {
      java.lang.Object ref = cps_;
      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();
        cps_ = s;
        return s;
      }
    }
    /**
     * <code>string cps = 23;</code>
     * @return The bytes for cps.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getCpsBytes() {
      java.lang.Object ref = cps_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        cps_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int CHANNELID_FIELD_NUMBER = 24;
    private int channelId_;
    /**
     * <code>uint32 channelId = 24;</code>
     * @return The channelId.
     */
    @java.lang.Override
    public int getChannelId() {
      return channelId_;
    }

    public static final int SUBCHANNELID_FIELD_NUMBER = 25;
    private int subChannelId_;
    /**
     * <code>uint32 subChannelId = 25;</code>
     * @return The subChannelId.
     */
    @java.lang.Override
    public int getSubChannelId() {
      return subChannelId_;
    }

    public static final int CHECKSUMCLIENTVERSION_FIELD_NUMBER = 26;
    private volatile java.lang.Object checksumClientVersion_;
    /**
     * <code>string checksumClientVersion = 26;</code>
     * @return The checksumClientVersion.
     */
    @java.lang.Override
    public java.lang.String getChecksumClientVersion() {
      java.lang.Object ref = checksumClientVersion_;
      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();
        checksumClientVersion_ = s;
        return s;
      }
    }
    /**
     * <code>string checksumClientVersion = 26;</code>
     * @return The bytes for checksumClientVersion.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getChecksumClientVersionBytes() {
      java.lang.Object ref = checksumClientVersion_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        checksumClientVersion_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TAG_FIELD_NUMBER = 27;
    private int tag_;
    /**
     * <code>uint32 tag = 27;</code>
     * @return The tag.
     */
    @java.lang.Override
    public int getTag() {
      return tag_;
    }

    public static final int TRACKINGIOINFO_FIELD_NUMBER = 28;
    private emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo trackingIoInfo_;
    /**
     * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
     * @return Whether the trackingIoInfo field is set.
     */
    @java.lang.Override
    public boolean hasTrackingIoInfo() {
      return trackingIoInfo_ != null;
    }
    /**
     * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
     * @return The trackingIoInfo.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo getTrackingIoInfo() {
      return trackingIoInfo_ == null ? emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo.getDefaultInstance() : trackingIoInfo_;
    }
    /**
     * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfoOrBuilder getTrackingIoInfoOrBuilder() {
      return getTrackingIoInfo();
    }

    public static final int COUNTRYCODE_FIELD_NUMBER = 29;
    private volatile java.lang.Object countryCode_;
    /**
     * <code>string countryCode = 29;</code>
     * @return The countryCode.
     */
    @java.lang.Override
    public java.lang.String getCountryCode() {
      java.lang.Object ref = countryCode_;
      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();
        countryCode_ = s;
        return s;
      }
    }
    /**
     * <code>string countryCode = 29;</code>
     * @return The bytes for countryCode.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getCountryCodeBytes() {
      java.lang.Object ref = countryCode_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        countryCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int CLIENTDATAVERSION_FIELD_NUMBER = 30;
    private int clientDataVersion_;
    /**
     * <code>uint32 clientDataVersion = 30;</code>
     * @return The clientDataVersion.
     */
    @java.lang.Override
    public int getClientDataVersion() {
      return clientDataVersion_;
    }

    public static final int ENVIRONMENTERRORCODE_FIELD_NUMBER = 31;
    private com.google.protobuf.ByteString environmentErrorCode_;
    /**
     * <code>bytes environmentErrorCode = 31;</code>
     * @return The environmentErrorCode.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getEnvironmentErrorCode() {
      return environmentErrorCode_;
    }

    public static final int TARGETHOMEOWNERUID_FIELD_NUMBER = 32;
    private int targetHomeOwnerUid_;
    /**
     * <code>uint32 targetHomeOwnerUid = 32;</code>
     * @return The targetHomeOwnerUid.
     */
    @java.lang.Override
    public int getTargetHomeOwnerUid() {
      return targetHomeOwnerUid_;
    }

    public static final int PSNID_FIELD_NUMBER = 33;
    private volatile java.lang.Object psnId_;
    /**
     * <code>string psnId = 33;</code>
     * @return The psnId.
     */
    @java.lang.Override
    public java.lang.String getPsnId() {
      java.lang.Object ref = psnId_;
      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();
        psnId_ = s;
        return s;
      }
    }
    /**
     * <code>string psnId = 33;</code>
     * @return The bytes for psnId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getPsnIdBytes() {
      java.lang.Object ref = psnId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        psnId_ = 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 {
      if (!getTokenBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, token_);
      }
      if (!getClientVersionBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clientVersion_);
      }
      if (!getSystemVersionBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, systemVersion_);
      }
      if (!getDeviceNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, deviceName_);
      }
      if (!getDeviceUuidBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, deviceUuid_);
      }
      if (targetUid_ != 0) {
        output.writeUInt32(6, targetUid_);
      }
      if (loginRand_ != 0L) {
        output.writeUInt64(7, loginRand_);
      }
      if (isEditor_ != false) {
        output.writeBool(8, isEditor_);
      }
      if (languageType_ != 0) {
        output.writeUInt32(9, languageType_);
      }
      if (accountType_ != 0) {
        output.writeUInt32(10, accountType_);
      }
      if (!getAccountUidBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 11, accountUid_);
      }
      if (!getPlatformBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 12, platform_);
      }
      if (!getDeviceInfoBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 13, deviceInfo_);
      }
      if (platformType_ != 0) {
        output.writeUInt32(14, platformType_);
      }
      if (isGuest_ != false) {
        output.writeBool(15, isGuest_);
      }
      if (cloudClientIp_ != 0) {
        output.writeUInt32(16, cloudClientIp_);
      }
      if (gmUid_ != 0) {
        output.writeUInt32(17, gmUid_);
      }
      if (!getChecksumBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 18, checksum_);
      }
      if (!getOnlineIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 19, onlineId_);
      }
      if (clientToken_ != 0) {
        output.writeUInt32(20, clientToken_);
      }
      if (!securityCmdReply_.isEmpty()) {
        output.writeBytes(21, securityCmdReply_);
      }
      if (!extraBinData_.isEmpty()) {
        output.writeBytes(22, extraBinData_);
      }
      if (!getCpsBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 23, cps_);
      }
      if (channelId_ != 0) {
        output.writeUInt32(24, channelId_);
      }
      if (subChannelId_ != 0) {
        output.writeUInt32(25, subChannelId_);
      }
      if (!getChecksumClientVersionBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 26, checksumClientVersion_);
      }
      if (tag_ != 0) {
        output.writeUInt32(27, tag_);
      }
      if (trackingIoInfo_ != null) {
        output.writeMessage(28, getTrackingIoInfo());
      }
      if (!getCountryCodeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 29, countryCode_);
      }
      if (clientDataVersion_ != 0) {
        output.writeUInt32(30, clientDataVersion_);
      }
      if (!environmentErrorCode_.isEmpty()) {
        output.writeBytes(31, environmentErrorCode_);
      }
      if (targetHomeOwnerUid_ != 0) {
        output.writeUInt32(32, targetHomeOwnerUid_);
      }
      if (!getPsnIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 33, psnId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getTokenBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, token_);
      }
      if (!getClientVersionBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clientVersion_);
      }
      if (!getSystemVersionBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, systemVersion_);
      }
      if (!getDeviceNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, deviceName_);
      }
      if (!getDeviceUuidBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, deviceUuid_);
      }
      if (targetUid_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, targetUid_);
      }
      if (loginRand_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(7, loginRand_);
      }
      if (isEditor_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(8, isEditor_);
      }
      if (languageType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(9, languageType_);
      }
      if (accountType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(10, accountType_);
      }
      if (!getAccountUidBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, accountUid_);
      }
      if (!getPlatformBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, platform_);
      }
      if (!getDeviceInfoBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, deviceInfo_);
      }
      if (platformType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(14, platformType_);
      }
      if (isGuest_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(15, isGuest_);
      }
      if (cloudClientIp_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(16, cloudClientIp_);
      }
      if (gmUid_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(17, gmUid_);
      }
      if (!getChecksumBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, checksum_);
      }
      if (!getOnlineIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, onlineId_);
      }
      if (clientToken_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(20, clientToken_);
      }
      if (!securityCmdReply_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(21, securityCmdReply_);
      }
      if (!extraBinData_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(22, extraBinData_);
      }
      if (!getCpsBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, cps_);
      }
      if (channelId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(24, channelId_);
      }
      if (subChannelId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(25, subChannelId_);
      }
      if (!getChecksumClientVersionBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, checksumClientVersion_);
      }
      if (tag_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(27, tag_);
      }
      if (trackingIoInfo_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(28, getTrackingIoInfo());
      }
      if (!getCountryCodeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, countryCode_);
      }
      if (clientDataVersion_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(30, clientDataVersion_);
      }
      if (!environmentErrorCode_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(31, environmentErrorCode_);
      }
      if (targetHomeOwnerUid_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(32, targetHomeOwnerUid_);
      }
      if (!getPsnIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(33, psnId_);
      }
      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.PlayerLoginReqOuterClass.PlayerLoginReq)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq other = (emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq) obj;

      if (!getToken()
          .equals(other.getToken())) return false;
      if (!getClientVersion()
          .equals(other.getClientVersion())) return false;
      if (!getSystemVersion()
          .equals(other.getSystemVersion())) return false;
      if (!getDeviceName()
          .equals(other.getDeviceName())) return false;
      if (!getDeviceUuid()
          .equals(other.getDeviceUuid())) return false;
      if (getTargetUid()
          != other.getTargetUid()) return false;
      if (getLoginRand()
          != other.getLoginRand()) return false;
      if (getIsEditor()
          != other.getIsEditor()) return false;
      if (getLanguageType()
          != other.getLanguageType()) return false;
      if (getAccountType()
          != other.getAccountType()) return false;
      if (!getAccountUid()
          .equals(other.getAccountUid())) return false;
      if (!getPlatform()
          .equals(other.getPlatform())) return false;
      if (!getDeviceInfo()
          .equals(other.getDeviceInfo())) return false;
      if (getPlatformType()
          != other.getPlatformType()) return false;
      if (getIsGuest()
          != other.getIsGuest()) return false;
      if (getCloudClientIp()
          != other.getCloudClientIp()) return false;
      if (getGmUid()
          != other.getGmUid()) return false;
      if (!getChecksum()
          .equals(other.getChecksum())) return false;
      if (!getOnlineId()
          .equals(other.getOnlineId())) return false;
      if (getClientToken()
          != other.getClientToken()) return false;
      if (!getSecurityCmdReply()
          .equals(other.getSecurityCmdReply())) return false;
      if (!getExtraBinData()
          .equals(other.getExtraBinData())) return false;
      if (!getCps()
          .equals(other.getCps())) return false;
      if (getChannelId()
          != other.getChannelId()) return false;
      if (getSubChannelId()
          != other.getSubChannelId()) return false;
      if (!getChecksumClientVersion()
          .equals(other.getChecksumClientVersion())) return false;
      if (getTag()
          != other.getTag()) return false;
      if (hasTrackingIoInfo() != other.hasTrackingIoInfo()) return false;
      if (hasTrackingIoInfo()) {
        if (!getTrackingIoInfo()
            .equals(other.getTrackingIoInfo())) return false;
      }
      if (!getCountryCode()
          .equals(other.getCountryCode())) return false;
      if (getClientDataVersion()
          != other.getClientDataVersion()) return false;
      if (!getEnvironmentErrorCode()
          .equals(other.getEnvironmentErrorCode())) return false;
      if (getTargetHomeOwnerUid()
          != other.getTargetHomeOwnerUid()) return false;
      if (!getPsnId()
          .equals(other.getPsnId())) 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) + TOKEN_FIELD_NUMBER;
      hash = (53 * hash) + getToken().hashCode();
      hash = (37 * hash) + CLIENTVERSION_FIELD_NUMBER;
      hash = (53 * hash) + getClientVersion().hashCode();
      hash = (37 * hash) + SYSTEMVERSION_FIELD_NUMBER;
      hash = (53 * hash) + getSystemVersion().hashCode();
      hash = (37 * hash) + DEVICENAME_FIELD_NUMBER;
      hash = (53 * hash) + getDeviceName().hashCode();
      hash = (37 * hash) + DEVICEUUID_FIELD_NUMBER;
      hash = (53 * hash) + getDeviceUuid().hashCode();
      hash = (37 * hash) + TARGETUID_FIELD_NUMBER;
      hash = (53 * hash) + getTargetUid();
      hash = (37 * hash) + LOGINRAND_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getLoginRand());
      hash = (37 * hash) + ISEDITOR_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsEditor());
      hash = (37 * hash) + LANGUAGETYPE_FIELD_NUMBER;
      hash = (53 * hash) + getLanguageType();
      hash = (37 * hash) + ACCOUNTTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getAccountType();
      hash = (37 * hash) + ACCOUNTUID_FIELD_NUMBER;
      hash = (53 * hash) + getAccountUid().hashCode();
      hash = (37 * hash) + PLATFORM_FIELD_NUMBER;
      hash = (53 * hash) + getPlatform().hashCode();
      hash = (37 * hash) + DEVICEINFO_FIELD_NUMBER;
      hash = (53 * hash) + getDeviceInfo().hashCode();
      hash = (37 * hash) + PLATFORMTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getPlatformType();
      hash = (37 * hash) + ISGUEST_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsGuest());
      hash = (37 * hash) + CLOUDCLIENTIP_FIELD_NUMBER;
      hash = (53 * hash) + getCloudClientIp();
      hash = (37 * hash) + GMUID_FIELD_NUMBER;
      hash = (53 * hash) + getGmUid();
      hash = (37 * hash) + CHECKSUM_FIELD_NUMBER;
      hash = (53 * hash) + getChecksum().hashCode();
      hash = (37 * hash) + ONLINEID_FIELD_NUMBER;
      hash = (53 * hash) + getOnlineId().hashCode();
      hash = (37 * hash) + CLIENTTOKEN_FIELD_NUMBER;
      hash = (53 * hash) + getClientToken();
      hash = (37 * hash) + SECURITYCMDREPLY_FIELD_NUMBER;
      hash = (53 * hash) + getSecurityCmdReply().hashCode();
      hash = (37 * hash) + EXTRABINDATA_FIELD_NUMBER;
      hash = (53 * hash) + getExtraBinData().hashCode();
      hash = (37 * hash) + CPS_FIELD_NUMBER;
      hash = (53 * hash) + getCps().hashCode();
      hash = (37 * hash) + CHANNELID_FIELD_NUMBER;
      hash = (53 * hash) + getChannelId();
      hash = (37 * hash) + SUBCHANNELID_FIELD_NUMBER;
      hash = (53 * hash) + getSubChannelId();
      hash = (37 * hash) + CHECKSUMCLIENTVERSION_FIELD_NUMBER;
      hash = (53 * hash) + getChecksumClientVersion().hashCode();
      hash = (37 * hash) + TAG_FIELD_NUMBER;
      hash = (53 * hash) + getTag();
      if (hasTrackingIoInfo()) {
        hash = (37 * hash) + TRACKINGIOINFO_FIELD_NUMBER;
        hash = (53 * hash) + getTrackingIoInfo().hashCode();
      }
      hash = (37 * hash) + COUNTRYCODE_FIELD_NUMBER;
      hash = (53 * hash) + getCountryCode().hashCode();
      hash = (37 * hash) + CLIENTDATAVERSION_FIELD_NUMBER;
      hash = (53 * hash) + getClientDataVersion();
      hash = (37 * hash) + ENVIRONMENTERRORCODE_FIELD_NUMBER;
      hash = (53 * hash) + getEnvironmentErrorCode().hashCode();
      hash = (37 * hash) + TARGETHOMEOWNERUID_FIELD_NUMBER;
      hash = (53 * hash) + getTargetHomeOwnerUid();
      hash = (37 * hash) + PSNID_FIELD_NUMBER;
      hash = (53 * hash) + getPsnId().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq 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.PlayerLoginReqOuterClass.PlayerLoginReq parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq 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.PlayerLoginReqOuterClass.PlayerLoginReq parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq 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.PlayerLoginReqOuterClass.PlayerLoginReq parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq 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.PlayerLoginReqOuterClass.PlayerLoginReq parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq 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.PlayerLoginReqOuterClass.PlayerLoginReq prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code PlayerLoginReq}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:PlayerLoginReq)
        emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReqOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.PlayerLoginReqOuterClass.internal_static_PlayerLoginReq_descriptor;
      }

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

      // Construct using emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq.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();
        token_ = "";

        clientVersion_ = "";

        systemVersion_ = "";

        deviceName_ = "";

        deviceUuid_ = "";

        targetUid_ = 0;

        loginRand_ = 0L;

        isEditor_ = false;

        languageType_ = 0;

        accountType_ = 0;

        accountUid_ = "";

        platform_ = "";

        deviceInfo_ = "";

        platformType_ = 0;

        isGuest_ = false;

        cloudClientIp_ = 0;

        gmUid_ = 0;

        checksum_ = "";

        onlineId_ = "";

        clientToken_ = 0;

        securityCmdReply_ = com.google.protobuf.ByteString.EMPTY;

        extraBinData_ = com.google.protobuf.ByteString.EMPTY;

        cps_ = "";

        channelId_ = 0;

        subChannelId_ = 0;

        checksumClientVersion_ = "";

        tag_ = 0;

        if (trackingIoInfoBuilder_ == null) {
          trackingIoInfo_ = null;
        } else {
          trackingIoInfo_ = null;
          trackingIoInfoBuilder_ = null;
        }
        countryCode_ = "";

        clientDataVersion_ = 0;

        environmentErrorCode_ = com.google.protobuf.ByteString.EMPTY;

        targetHomeOwnerUid_ = 0;

        psnId_ = "";

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq buildPartial() {
        emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq result = new emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq(this);
        result.token_ = token_;
        result.clientVersion_ = clientVersion_;
        result.systemVersion_ = systemVersion_;
        result.deviceName_ = deviceName_;
        result.deviceUuid_ = deviceUuid_;
        result.targetUid_ = targetUid_;
        result.loginRand_ = loginRand_;
        result.isEditor_ = isEditor_;
        result.languageType_ = languageType_;
        result.accountType_ = accountType_;
        result.accountUid_ = accountUid_;
        result.platform_ = platform_;
        result.deviceInfo_ = deviceInfo_;
        result.platformType_ = platformType_;
        result.isGuest_ = isGuest_;
        result.cloudClientIp_ = cloudClientIp_;
        result.gmUid_ = gmUid_;
        result.checksum_ = checksum_;
        result.onlineId_ = onlineId_;
        result.clientToken_ = clientToken_;
        result.securityCmdReply_ = securityCmdReply_;
        result.extraBinData_ = extraBinData_;
        result.cps_ = cps_;
        result.channelId_ = channelId_;
        result.subChannelId_ = subChannelId_;
        result.checksumClientVersion_ = checksumClientVersion_;
        result.tag_ = tag_;
        if (trackingIoInfoBuilder_ == null) {
          result.trackingIoInfo_ = trackingIoInfo_;
        } else {
          result.trackingIoInfo_ = trackingIoInfoBuilder_.build();
        }
        result.countryCode_ = countryCode_;
        result.clientDataVersion_ = clientDataVersion_;
        result.environmentErrorCode_ = environmentErrorCode_;
        result.targetHomeOwnerUid_ = targetHomeOwnerUid_;
        result.psnId_ = psnId_;
        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.PlayerLoginReqOuterClass.PlayerLoginReq) {
          return mergeFrom((emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq other) {
        if (other == emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq.getDefaultInstance()) return this;
        if (!other.getToken().isEmpty()) {
          token_ = other.token_;
          onChanged();
        }
        if (!other.getClientVersion().isEmpty()) {
          clientVersion_ = other.clientVersion_;
          onChanged();
        }
        if (!other.getSystemVersion().isEmpty()) {
          systemVersion_ = other.systemVersion_;
          onChanged();
        }
        if (!other.getDeviceName().isEmpty()) {
          deviceName_ = other.deviceName_;
          onChanged();
        }
        if (!other.getDeviceUuid().isEmpty()) {
          deviceUuid_ = other.deviceUuid_;
          onChanged();
        }
        if (other.getTargetUid() != 0) {
          setTargetUid(other.getTargetUid());
        }
        if (other.getLoginRand() != 0L) {
          setLoginRand(other.getLoginRand());
        }
        if (other.getIsEditor() != false) {
          setIsEditor(other.getIsEditor());
        }
        if (other.getLanguageType() != 0) {
          setLanguageType(other.getLanguageType());
        }
        if (other.getAccountType() != 0) {
          setAccountType(other.getAccountType());
        }
        if (!other.getAccountUid().isEmpty()) {
          accountUid_ = other.accountUid_;
          onChanged();
        }
        if (!other.getPlatform().isEmpty()) {
          platform_ = other.platform_;
          onChanged();
        }
        if (!other.getDeviceInfo().isEmpty()) {
          deviceInfo_ = other.deviceInfo_;
          onChanged();
        }
        if (other.getPlatformType() != 0) {
          setPlatformType(other.getPlatformType());
        }
        if (other.getIsGuest() != false) {
          setIsGuest(other.getIsGuest());
        }
        if (other.getCloudClientIp() != 0) {
          setCloudClientIp(other.getCloudClientIp());
        }
        if (other.getGmUid() != 0) {
          setGmUid(other.getGmUid());
        }
        if (!other.getChecksum().isEmpty()) {
          checksum_ = other.checksum_;
          onChanged();
        }
        if (!other.getOnlineId().isEmpty()) {
          onlineId_ = other.onlineId_;
          onChanged();
        }
        if (other.getClientToken() != 0) {
          setClientToken(other.getClientToken());
        }
        if (other.getSecurityCmdReply() != com.google.protobuf.ByteString.EMPTY) {
          setSecurityCmdReply(other.getSecurityCmdReply());
        }
        if (other.getExtraBinData() != com.google.protobuf.ByteString.EMPTY) {
          setExtraBinData(other.getExtraBinData());
        }
        if (!other.getCps().isEmpty()) {
          cps_ = other.cps_;
          onChanged();
        }
        if (other.getChannelId() != 0) {
          setChannelId(other.getChannelId());
        }
        if (other.getSubChannelId() != 0) {
          setSubChannelId(other.getSubChannelId());
        }
        if (!other.getChecksumClientVersion().isEmpty()) {
          checksumClientVersion_ = other.checksumClientVersion_;
          onChanged();
        }
        if (other.getTag() != 0) {
          setTag(other.getTag());
        }
        if (other.hasTrackingIoInfo()) {
          mergeTrackingIoInfo(other.getTrackingIoInfo());
        }
        if (!other.getCountryCode().isEmpty()) {
          countryCode_ = other.countryCode_;
          onChanged();
        }
        if (other.getClientDataVersion() != 0) {
          setClientDataVersion(other.getClientDataVersion());
        }
        if (other.getEnvironmentErrorCode() != com.google.protobuf.ByteString.EMPTY) {
          setEnvironmentErrorCode(other.getEnvironmentErrorCode());
        }
        if (other.getTargetHomeOwnerUid() != 0) {
          setTargetHomeOwnerUid(other.getTargetHomeOwnerUid());
        }
        if (!other.getPsnId().isEmpty()) {
          psnId_ = other.psnId_;
          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.PlayerLoginReqOuterClass.PlayerLoginReq parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object token_ = "";
      /**
       * <code>string token = 1;</code>
       * @return The token.
       */
      public java.lang.String getToken() {
        java.lang.Object ref = token_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          token_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string token = 1;</code>
       * @return The bytes for token.
       */
      public com.google.protobuf.ByteString
          getTokenBytes() {
        java.lang.Object ref = token_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          token_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string token = 1;</code>
       * @param value The token to set.
       * @return This builder for chaining.
       */
      public Builder setToken(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        token_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string token = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearToken() {
        
        token_ = getDefaultInstance().getToken();
        onChanged();
        return this;
      }
      /**
       * <code>string token = 1;</code>
       * @param value The bytes for token to set.
       * @return This builder for chaining.
       */
      public Builder setTokenBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        token_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object clientVersion_ = "";
      /**
       * <code>string clientVersion = 2;</code>
       * @return The clientVersion.
       */
      public java.lang.String getClientVersion() {
        java.lang.Object ref = clientVersion_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          clientVersion_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string clientVersion = 2;</code>
       * @return The bytes for clientVersion.
       */
      public com.google.protobuf.ByteString
          getClientVersionBytes() {
        java.lang.Object ref = clientVersion_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          clientVersion_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string clientVersion = 2;</code>
       * @param value The clientVersion to set.
       * @return This builder for chaining.
       */
      public Builder setClientVersion(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        clientVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string clientVersion = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearClientVersion() {
        
        clientVersion_ = getDefaultInstance().getClientVersion();
        onChanged();
        return this;
      }
      /**
       * <code>string clientVersion = 2;</code>
       * @param value The bytes for clientVersion to set.
       * @return This builder for chaining.
       */
      public Builder setClientVersionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        clientVersion_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object systemVersion_ = "";
      /**
       * <code>string systemVersion = 3;</code>
       * @return The systemVersion.
       */
      public java.lang.String getSystemVersion() {
        java.lang.Object ref = systemVersion_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          systemVersion_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string systemVersion = 3;</code>
       * @return The bytes for systemVersion.
       */
      public com.google.protobuf.ByteString
          getSystemVersionBytes() {
        java.lang.Object ref = systemVersion_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          systemVersion_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string systemVersion = 3;</code>
       * @param value The systemVersion to set.
       * @return This builder for chaining.
       */
      public Builder setSystemVersion(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        systemVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string systemVersion = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearSystemVersion() {
        
        systemVersion_ = getDefaultInstance().getSystemVersion();
        onChanged();
        return this;
      }
      /**
       * <code>string systemVersion = 3;</code>
       * @param value The bytes for systemVersion to set.
       * @return This builder for chaining.
       */
      public Builder setSystemVersionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        systemVersion_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object deviceName_ = "";
      /**
       * <code>string deviceName = 4;</code>
       * @return The deviceName.
       */
      public java.lang.String getDeviceName() {
        java.lang.Object ref = deviceName_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          deviceName_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string deviceName = 4;</code>
       * @return The bytes for deviceName.
       */
      public com.google.protobuf.ByteString
          getDeviceNameBytes() {
        java.lang.Object ref = deviceName_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          deviceName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string deviceName = 4;</code>
       * @param value The deviceName to set.
       * @return This builder for chaining.
       */
      public Builder setDeviceName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        deviceName_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string deviceName = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearDeviceName() {
        
        deviceName_ = getDefaultInstance().getDeviceName();
        onChanged();
        return this;
      }
      /**
       * <code>string deviceName = 4;</code>
       * @param value The bytes for deviceName to set.
       * @return This builder for chaining.
       */
      public Builder setDeviceNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        deviceName_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object deviceUuid_ = "";
      /**
       * <code>string deviceUuid = 5;</code>
       * @return The deviceUuid.
       */
      public java.lang.String getDeviceUuid() {
        java.lang.Object ref = deviceUuid_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          deviceUuid_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string deviceUuid = 5;</code>
       * @return The bytes for deviceUuid.
       */
      public com.google.protobuf.ByteString
          getDeviceUuidBytes() {
        java.lang.Object ref = deviceUuid_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          deviceUuid_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string deviceUuid = 5;</code>
       * @param value The deviceUuid to set.
       * @return This builder for chaining.
       */
      public Builder setDeviceUuid(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        deviceUuid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string deviceUuid = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearDeviceUuid() {
        
        deviceUuid_ = getDefaultInstance().getDeviceUuid();
        onChanged();
        return this;
      }
      /**
       * <code>string deviceUuid = 5;</code>
       * @param value The bytes for deviceUuid to set.
       * @return This builder for chaining.
       */
      public Builder setDeviceUuidBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        deviceUuid_ = value;
        onChanged();
        return this;
      }

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

      private long loginRand_ ;
      /**
       * <code>uint64 loginRand = 7;</code>
       * @return The loginRand.
       */
      @java.lang.Override
      public long getLoginRand() {
        return loginRand_;
      }
      /**
       * <code>uint64 loginRand = 7;</code>
       * @param value The loginRand to set.
       * @return This builder for chaining.
       */
      public Builder setLoginRand(long value) {
        
        loginRand_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 loginRand = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearLoginRand() {
        
        loginRand_ = 0L;
        onChanged();
        return this;
      }

      private boolean isEditor_ ;
      /**
       * <code>bool isEditor = 8;</code>
       * @return The isEditor.
       */
      @java.lang.Override
      public boolean getIsEditor() {
        return isEditor_;
      }
      /**
       * <code>bool isEditor = 8;</code>
       * @param value The isEditor to set.
       * @return This builder for chaining.
       */
      public Builder setIsEditor(boolean value) {
        
        isEditor_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool isEditor = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsEditor() {
        
        isEditor_ = false;
        onChanged();
        return this;
      }

      private int languageType_ ;
      /**
       * <code>uint32 languageType = 9;</code>
       * @return The languageType.
       */
      @java.lang.Override
      public int getLanguageType() {
        return languageType_;
      }
      /**
       * <code>uint32 languageType = 9;</code>
       * @param value The languageType to set.
       * @return This builder for chaining.
       */
      public Builder setLanguageType(int value) {
        
        languageType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 languageType = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearLanguageType() {
        
        languageType_ = 0;
        onChanged();
        return this;
      }

      private int accountType_ ;
      /**
       * <code>uint32 accountType = 10;</code>
       * @return The accountType.
       */
      @java.lang.Override
      public int getAccountType() {
        return accountType_;
      }
      /**
       * <code>uint32 accountType = 10;</code>
       * @param value The accountType to set.
       * @return This builder for chaining.
       */
      public Builder setAccountType(int value) {
        
        accountType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 accountType = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearAccountType() {
        
        accountType_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object accountUid_ = "";
      /**
       * <code>string accountUid = 11;</code>
       * @return The accountUid.
       */
      public java.lang.String getAccountUid() {
        java.lang.Object ref = accountUid_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          accountUid_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string accountUid = 11;</code>
       * @return The bytes for accountUid.
       */
      public com.google.protobuf.ByteString
          getAccountUidBytes() {
        java.lang.Object ref = accountUid_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          accountUid_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string accountUid = 11;</code>
       * @param value The accountUid to set.
       * @return This builder for chaining.
       */
      public Builder setAccountUid(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        accountUid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string accountUid = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearAccountUid() {
        
        accountUid_ = getDefaultInstance().getAccountUid();
        onChanged();
        return this;
      }
      /**
       * <code>string accountUid = 11;</code>
       * @param value The bytes for accountUid to set.
       * @return This builder for chaining.
       */
      public Builder setAccountUidBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        accountUid_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object platform_ = "";
      /**
       * <code>string platform = 12;</code>
       * @return The platform.
       */
      public java.lang.String getPlatform() {
        java.lang.Object ref = platform_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          platform_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string platform = 12;</code>
       * @return The bytes for platform.
       */
      public com.google.protobuf.ByteString
          getPlatformBytes() {
        java.lang.Object ref = platform_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          platform_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string platform = 12;</code>
       * @param value The platform to set.
       * @return This builder for chaining.
       */
      public Builder setPlatform(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        platform_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string platform = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearPlatform() {
        
        platform_ = getDefaultInstance().getPlatform();
        onChanged();
        return this;
      }
      /**
       * <code>string platform = 12;</code>
       * @param value The bytes for platform to set.
       * @return This builder for chaining.
       */
      public Builder setPlatformBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        platform_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object deviceInfo_ = "";
      /**
       * <code>string deviceInfo = 13;</code>
       * @return The deviceInfo.
       */
      public java.lang.String getDeviceInfo() {
        java.lang.Object ref = deviceInfo_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          deviceInfo_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string deviceInfo = 13;</code>
       * @return The bytes for deviceInfo.
       */
      public com.google.protobuf.ByteString
          getDeviceInfoBytes() {
        java.lang.Object ref = deviceInfo_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          deviceInfo_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string deviceInfo = 13;</code>
       * @param value The deviceInfo to set.
       * @return This builder for chaining.
       */
      public Builder setDeviceInfo(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        deviceInfo_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string deviceInfo = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearDeviceInfo() {
        
        deviceInfo_ = getDefaultInstance().getDeviceInfo();
        onChanged();
        return this;
      }
      /**
       * <code>string deviceInfo = 13;</code>
       * @param value The bytes for deviceInfo to set.
       * @return This builder for chaining.
       */
      public Builder setDeviceInfoBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        deviceInfo_ = value;
        onChanged();
        return this;
      }

      private int platformType_ ;
      /**
       * <code>uint32 platformType = 14;</code>
       * @return The platformType.
       */
      @java.lang.Override
      public int getPlatformType() {
        return platformType_;
      }
      /**
       * <code>uint32 platformType = 14;</code>
       * @param value The platformType to set.
       * @return This builder for chaining.
       */
      public Builder setPlatformType(int value) {
        
        platformType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 platformType = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearPlatformType() {
        
        platformType_ = 0;
        onChanged();
        return this;
      }

      private boolean isGuest_ ;
      /**
       * <code>bool isGuest = 15;</code>
       * @return The isGuest.
       */
      @java.lang.Override
      public boolean getIsGuest() {
        return isGuest_;
      }
      /**
       * <code>bool isGuest = 15;</code>
       * @param value The isGuest to set.
       * @return This builder for chaining.
       */
      public Builder setIsGuest(boolean value) {
        
        isGuest_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool isGuest = 15;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsGuest() {
        
        isGuest_ = false;
        onChanged();
        return this;
      }

      private int cloudClientIp_ ;
      /**
       * <code>uint32 cloudClientIp = 16;</code>
       * @return The cloudClientIp.
       */
      @java.lang.Override
      public int getCloudClientIp() {
        return cloudClientIp_;
      }
      /**
       * <code>uint32 cloudClientIp = 16;</code>
       * @param value The cloudClientIp to set.
       * @return This builder for chaining.
       */
      public Builder setCloudClientIp(int value) {
        
        cloudClientIp_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 cloudClientIp = 16;</code>
       * @return This builder for chaining.
       */
      public Builder clearCloudClientIp() {
        
        cloudClientIp_ = 0;
        onChanged();
        return this;
      }

      private int gmUid_ ;
      /**
       * <code>uint32 gmUid = 17;</code>
       * @return The gmUid.
       */
      @java.lang.Override
      public int getGmUid() {
        return gmUid_;
      }
      /**
       * <code>uint32 gmUid = 17;</code>
       * @param value The gmUid to set.
       * @return This builder for chaining.
       */
      public Builder setGmUid(int value) {
        
        gmUid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 gmUid = 17;</code>
       * @return This builder for chaining.
       */
      public Builder clearGmUid() {
        
        gmUid_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object checksum_ = "";
      /**
       * <code>string checksum = 18;</code>
       * @return The checksum.
       */
      public java.lang.String getChecksum() {
        java.lang.Object ref = checksum_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          checksum_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string checksum = 18;</code>
       * @return The bytes for checksum.
       */
      public com.google.protobuf.ByteString
          getChecksumBytes() {
        java.lang.Object ref = checksum_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          checksum_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string checksum = 18;</code>
       * @param value The checksum to set.
       * @return This builder for chaining.
       */
      public Builder setChecksum(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        checksum_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string checksum = 18;</code>
       * @return This builder for chaining.
       */
      public Builder clearChecksum() {
        
        checksum_ = getDefaultInstance().getChecksum();
        onChanged();
        return this;
      }
      /**
       * <code>string checksum = 18;</code>
       * @param value The bytes for checksum to set.
       * @return This builder for chaining.
       */
      public Builder setChecksumBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        checksum_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object onlineId_ = "";
      /**
       * <code>string onlineId = 19;</code>
       * @return The onlineId.
       */
      public java.lang.String getOnlineId() {
        java.lang.Object ref = onlineId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          onlineId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string onlineId = 19;</code>
       * @return The bytes for onlineId.
       */
      public com.google.protobuf.ByteString
          getOnlineIdBytes() {
        java.lang.Object ref = onlineId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          onlineId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string onlineId = 19;</code>
       * @param value The onlineId to set.
       * @return This builder for chaining.
       */
      public Builder setOnlineId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        onlineId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string onlineId = 19;</code>
       * @return This builder for chaining.
       */
      public Builder clearOnlineId() {
        
        onlineId_ = getDefaultInstance().getOnlineId();
        onChanged();
        return this;
      }
      /**
       * <code>string onlineId = 19;</code>
       * @param value The bytes for onlineId to set.
       * @return This builder for chaining.
       */
      public Builder setOnlineIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        onlineId_ = value;
        onChanged();
        return this;
      }

      private int clientToken_ ;
      /**
       * <code>uint32 clientToken = 20;</code>
       * @return The clientToken.
       */
      @java.lang.Override
      public int getClientToken() {
        return clientToken_;
      }
      /**
       * <code>uint32 clientToken = 20;</code>
       * @param value The clientToken to set.
       * @return This builder for chaining.
       */
      public Builder setClientToken(int value) {
        
        clientToken_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 clientToken = 20;</code>
       * @return This builder for chaining.
       */
      public Builder clearClientToken() {
        
        clientToken_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString securityCmdReply_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>bytes securityCmdReply = 21;</code>
       * @return The securityCmdReply.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getSecurityCmdReply() {
        return securityCmdReply_;
      }
      /**
       * <code>bytes securityCmdReply = 21;</code>
       * @param value The securityCmdReply to set.
       * @return This builder for chaining.
       */
      public Builder setSecurityCmdReply(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        securityCmdReply_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bytes securityCmdReply = 21;</code>
       * @return This builder for chaining.
       */
      public Builder clearSecurityCmdReply() {
        
        securityCmdReply_ = getDefaultInstance().getSecurityCmdReply();
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString extraBinData_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>bytes extraBinData = 22;</code>
       * @return The extraBinData.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getExtraBinData() {
        return extraBinData_;
      }
      /**
       * <code>bytes extraBinData = 22;</code>
       * @param value The extraBinData to set.
       * @return This builder for chaining.
       */
      public Builder setExtraBinData(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        extraBinData_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bytes extraBinData = 22;</code>
       * @return This builder for chaining.
       */
      public Builder clearExtraBinData() {
        
        extraBinData_ = getDefaultInstance().getExtraBinData();
        onChanged();
        return this;
      }

      private java.lang.Object cps_ = "";
      /**
       * <code>string cps = 23;</code>
       * @return The cps.
       */
      public java.lang.String getCps() {
        java.lang.Object ref = cps_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          cps_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string cps = 23;</code>
       * @return The bytes for cps.
       */
      public com.google.protobuf.ByteString
          getCpsBytes() {
        java.lang.Object ref = cps_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          cps_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string cps = 23;</code>
       * @param value The cps to set.
       * @return This builder for chaining.
       */
      public Builder setCps(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        cps_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string cps = 23;</code>
       * @return This builder for chaining.
       */
      public Builder clearCps() {
        
        cps_ = getDefaultInstance().getCps();
        onChanged();
        return this;
      }
      /**
       * <code>string cps = 23;</code>
       * @param value The bytes for cps to set.
       * @return This builder for chaining.
       */
      public Builder setCpsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        cps_ = value;
        onChanged();
        return this;
      }

      private int channelId_ ;
      /**
       * <code>uint32 channelId = 24;</code>
       * @return The channelId.
       */
      @java.lang.Override
      public int getChannelId() {
        return channelId_;
      }
      /**
       * <code>uint32 channelId = 24;</code>
       * @param value The channelId to set.
       * @return This builder for chaining.
       */
      public Builder setChannelId(int value) {
        
        channelId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 channelId = 24;</code>
       * @return This builder for chaining.
       */
      public Builder clearChannelId() {
        
        channelId_ = 0;
        onChanged();
        return this;
      }

      private int subChannelId_ ;
      /**
       * <code>uint32 subChannelId = 25;</code>
       * @return The subChannelId.
       */
      @java.lang.Override
      public int getSubChannelId() {
        return subChannelId_;
      }
      /**
       * <code>uint32 subChannelId = 25;</code>
       * @param value The subChannelId to set.
       * @return This builder for chaining.
       */
      public Builder setSubChannelId(int value) {
        
        subChannelId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 subChannelId = 25;</code>
       * @return This builder for chaining.
       */
      public Builder clearSubChannelId() {
        
        subChannelId_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object checksumClientVersion_ = "";
      /**
       * <code>string checksumClientVersion = 26;</code>
       * @return The checksumClientVersion.
       */
      public java.lang.String getChecksumClientVersion() {
        java.lang.Object ref = checksumClientVersion_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          checksumClientVersion_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string checksumClientVersion = 26;</code>
       * @return The bytes for checksumClientVersion.
       */
      public com.google.protobuf.ByteString
          getChecksumClientVersionBytes() {
        java.lang.Object ref = checksumClientVersion_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          checksumClientVersion_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string checksumClientVersion = 26;</code>
       * @param value The checksumClientVersion to set.
       * @return This builder for chaining.
       */
      public Builder setChecksumClientVersion(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        checksumClientVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string checksumClientVersion = 26;</code>
       * @return This builder for chaining.
       */
      public Builder clearChecksumClientVersion() {
        
        checksumClientVersion_ = getDefaultInstance().getChecksumClientVersion();
        onChanged();
        return this;
      }
      /**
       * <code>string checksumClientVersion = 26;</code>
       * @param value The bytes for checksumClientVersion to set.
       * @return This builder for chaining.
       */
      public Builder setChecksumClientVersionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        checksumClientVersion_ = value;
        onChanged();
        return this;
      }

      private int tag_ ;
      /**
       * <code>uint32 tag = 27;</code>
       * @return The tag.
       */
      @java.lang.Override
      public int getTag() {
        return tag_;
      }
      /**
       * <code>uint32 tag = 27;</code>
       * @param value The tag to set.
       * @return This builder for chaining.
       */
      public Builder setTag(int value) {
        
        tag_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 tag = 27;</code>
       * @return This builder for chaining.
       */
      public Builder clearTag() {
        
        tag_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo trackingIoInfo_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo, emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo.Builder, emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfoOrBuilder> trackingIoInfoBuilder_;
      /**
       * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
       * @return Whether the trackingIoInfo field is set.
       */
      public boolean hasTrackingIoInfo() {
        return trackingIoInfoBuilder_ != null || trackingIoInfo_ != null;
      }
      /**
       * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
       * @return The trackingIoInfo.
       */
      public emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo getTrackingIoInfo() {
        if (trackingIoInfoBuilder_ == null) {
          return trackingIoInfo_ == null ? emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo.getDefaultInstance() : trackingIoInfo_;
        } else {
          return trackingIoInfoBuilder_.getMessage();
        }
      }
      /**
       * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
       */
      public Builder setTrackingIoInfo(emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo value) {
        if (trackingIoInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          trackingIoInfo_ = value;
          onChanged();
        } else {
          trackingIoInfoBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
       */
      public Builder setTrackingIoInfo(
          emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo.Builder builderForValue) {
        if (trackingIoInfoBuilder_ == null) {
          trackingIoInfo_ = builderForValue.build();
          onChanged();
        } else {
          trackingIoInfoBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
       */
      public Builder mergeTrackingIoInfo(emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo value) {
        if (trackingIoInfoBuilder_ == null) {
          if (trackingIoInfo_ != null) {
            trackingIoInfo_ =
              emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo.newBuilder(trackingIoInfo_).mergeFrom(value).buildPartial();
          } else {
            trackingIoInfo_ = value;
          }
          onChanged();
        } else {
          trackingIoInfoBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
       */
      public Builder clearTrackingIoInfo() {
        if (trackingIoInfoBuilder_ == null) {
          trackingIoInfo_ = null;
          onChanged();
        } else {
          trackingIoInfo_ = null;
          trackingIoInfoBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
       */
      public emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo.Builder getTrackingIoInfoBuilder() {
        
        onChanged();
        return getTrackingIoInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
       */
      public emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfoOrBuilder getTrackingIoInfoOrBuilder() {
        if (trackingIoInfoBuilder_ != null) {
          return trackingIoInfoBuilder_.getMessageOrBuilder();
        } else {
          return trackingIoInfo_ == null ?
              emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo.getDefaultInstance() : trackingIoInfo_;
        }
      }
      /**
       * <code>.TrackingIOInfo trackingIoInfo = 28;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo, emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo.Builder, emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfoOrBuilder> 
          getTrackingIoInfoFieldBuilder() {
        if (trackingIoInfoBuilder_ == null) {
          trackingIoInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo, emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfo.Builder, emu.grasscutter.net.proto.TrackingIOInfoOuterClass.TrackingIOInfoOrBuilder>(
                  getTrackingIoInfo(),
                  getParentForChildren(),
                  isClean());
          trackingIoInfo_ = null;
        }
        return trackingIoInfoBuilder_;
      }

      private java.lang.Object countryCode_ = "";
      /**
       * <code>string countryCode = 29;</code>
       * @return The countryCode.
       */
      public java.lang.String getCountryCode() {
        java.lang.Object ref = countryCode_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          countryCode_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string countryCode = 29;</code>
       * @return The bytes for countryCode.
       */
      public com.google.protobuf.ByteString
          getCountryCodeBytes() {
        java.lang.Object ref = countryCode_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          countryCode_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string countryCode = 29;</code>
       * @param value The countryCode to set.
       * @return This builder for chaining.
       */
      public Builder setCountryCode(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        countryCode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string countryCode = 29;</code>
       * @return This builder for chaining.
       */
      public Builder clearCountryCode() {
        
        countryCode_ = getDefaultInstance().getCountryCode();
        onChanged();
        return this;
      }
      /**
       * <code>string countryCode = 29;</code>
       * @param value The bytes for countryCode to set.
       * @return This builder for chaining.
       */
      public Builder setCountryCodeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        countryCode_ = value;
        onChanged();
        return this;
      }

      private int clientDataVersion_ ;
      /**
       * <code>uint32 clientDataVersion = 30;</code>
       * @return The clientDataVersion.
       */
      @java.lang.Override
      public int getClientDataVersion() {
        return clientDataVersion_;
      }
      /**
       * <code>uint32 clientDataVersion = 30;</code>
       * @param value The clientDataVersion to set.
       * @return This builder for chaining.
       */
      public Builder setClientDataVersion(int value) {
        
        clientDataVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 clientDataVersion = 30;</code>
       * @return This builder for chaining.
       */
      public Builder clearClientDataVersion() {
        
        clientDataVersion_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString environmentErrorCode_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>bytes environmentErrorCode = 31;</code>
       * @return The environmentErrorCode.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getEnvironmentErrorCode() {
        return environmentErrorCode_;
      }
      /**
       * <code>bytes environmentErrorCode = 31;</code>
       * @param value The environmentErrorCode to set.
       * @return This builder for chaining.
       */
      public Builder setEnvironmentErrorCode(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        environmentErrorCode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bytes environmentErrorCode = 31;</code>
       * @return This builder for chaining.
       */
      public Builder clearEnvironmentErrorCode() {
        
        environmentErrorCode_ = getDefaultInstance().getEnvironmentErrorCode();
        onChanged();
        return this;
      }

      private int targetHomeOwnerUid_ ;
      /**
       * <code>uint32 targetHomeOwnerUid = 32;</code>
       * @return The targetHomeOwnerUid.
       */
      @java.lang.Override
      public int getTargetHomeOwnerUid() {
        return targetHomeOwnerUid_;
      }
      /**
       * <code>uint32 targetHomeOwnerUid = 32;</code>
       * @param value The targetHomeOwnerUid to set.
       * @return This builder for chaining.
       */
      public Builder setTargetHomeOwnerUid(int value) {
        
        targetHomeOwnerUid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 targetHomeOwnerUid = 32;</code>
       * @return This builder for chaining.
       */
      public Builder clearTargetHomeOwnerUid() {
        
        targetHomeOwnerUid_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object psnId_ = "";
      /**
       * <code>string psnId = 33;</code>
       * @return The psnId.
       */
      public java.lang.String getPsnId() {
        java.lang.Object ref = psnId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          psnId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string psnId = 33;</code>
       * @return The bytes for psnId.
       */
      public com.google.protobuf.ByteString
          getPsnIdBytes() {
        java.lang.Object ref = psnId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          psnId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string psnId = 33;</code>
       * @param value The psnId to set.
       * @return This builder for chaining.
       */
      public Builder setPsnId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        psnId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string psnId = 33;</code>
       * @return This builder for chaining.
       */
      public Builder clearPsnId() {
        
        psnId_ = getDefaultInstance().getPsnId();
        onChanged();
        return this;
      }
      /**
       * <code>string psnId = 33;</code>
       * @param value The bytes for psnId to set.
       * @return This builder for chaining.
       */
      public Builder setPsnIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        psnId_ = 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:PlayerLoginReq)
    }

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

    public static emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_PlayerLoginReq_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_PlayerLoginReq_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\024PlayerLoginReq.proto\032\024TrackingIOInfo.p" +
      "roto\"\314\005\n\016PlayerLoginReq\022\r\n\005token\030\001 \001(\t\022\025" +
      "\n\rclientVersion\030\002 \001(\t\022\025\n\rsystemVersion\030\003" +
      " \001(\t\022\022\n\ndeviceName\030\004 \001(\t\022\022\n\ndeviceUuid\030\005" +
      " \001(\t\022\021\n\ttargetUid\030\006 \001(\r\022\021\n\tloginRand\030\007 \001" +
      "(\004\022\020\n\010isEditor\030\010 \001(\010\022\024\n\014languageType\030\t \001" +
      "(\r\022\023\n\013accountType\030\n \001(\r\022\022\n\naccountUid\030\013 " +
      "\001(\t\022\020\n\010platform\030\014 \001(\t\022\022\n\ndeviceInfo\030\r \001(" +
      "\t\022\024\n\014platformType\030\016 \001(\r\022\017\n\007isGuest\030\017 \001(\010" +
      "\022\025\n\rcloudClientIp\030\020 \001(\r\022\r\n\005gmUid\030\021 \001(\r\022\020" +
      "\n\010checksum\030\022 \001(\t\022\020\n\010onlineId\030\023 \001(\t\022\023\n\013cl" +
      "ientToken\030\024 \001(\r\022\030\n\020securityCmdReply\030\025 \001(" +
      "\014\022\024\n\014extraBinData\030\026 \001(\014\022\013\n\003cps\030\027 \001(\t\022\021\n\t" +
      "channelId\030\030 \001(\r\022\024\n\014subChannelId\030\031 \001(\r\022\035\n" +
      "\025checksumClientVersion\030\032 \001(\t\022\013\n\003tag\030\033 \001(" +
      "\r\022\'\n\016trackingIoInfo\030\034 \001(\0132\017.TrackingIOIn" +
      "fo\022\023\n\013countryCode\030\035 \001(\t\022\031\n\021clientDataVer" +
      "sion\030\036 \001(\r\022\034\n\024environmentErrorCode\030\037 \001(\014" +
      "\022\032\n\022targetHomeOwnerUid\030  \001(\r\022\r\n\005psnId\030! " +
      "\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.TrackingIOInfoOuterClass.getDescriptor(),
        });
    internal_static_PlayerLoginReq_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_PlayerLoginReq_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_PlayerLoginReq_descriptor,
        new java.lang.String[] { "Token", "ClientVersion", "SystemVersion", "DeviceName", "DeviceUuid", "TargetUid", "LoginRand", "IsEditor", "LanguageType", "AccountType", "AccountUid", "Platform", "DeviceInfo", "PlatformType", "IsGuest", "CloudClientIp", "GmUid", "Checksum", "OnlineId", "ClientToken", "SecurityCmdReply", "ExtraBinData", "Cps", "ChannelId", "SubChannelId", "ChecksumClientVersion", "Tag", "TrackingIoInfo", "CountryCode", "ClientDataVersion", "EnvironmentErrorCode", "TargetHomeOwnerUid", "PsnId", });
    emu.grasscutter.net.proto.TrackingIOInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
