// Generated by the protocol buffer compiler. DO NOT EDIT! // source: GetPlayerTokenRsp.proto package emu.grasscutter.net.proto; public final class GetPlayerTokenRspOuterClass { private GetPlayerTokenRspOuterClass() {} 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 GetPlayerTokenRspOrBuilder extends // @@protoc_insertion_point(interface_extends:GetPlayerTokenRsp) com.google.protobuf.MessageOrBuilder { /** * string birthday = 937; * @return The birthday. */ java.lang.String getBirthday(); /** * string birthday = 937; * @return The bytes for birthday. */ com.google.protobuf.ByteString getBirthdayBytes(); /** * int32 retcode = 2; * @return The retcode. */ int getRetcode(); /** * bytes security_cmd_buffer = 6; * @return The securityCmdBuffer. */ com.google.protobuf.ByteString getSecurityCmdBuffer(); /** * uint64 secret_key_seed = 13; * @return The secretKeySeed. */ long getSecretKeySeed(); /** * string country_code = 2013; * @return The countryCode. */ java.lang.String getCountryCode(); /** * string country_code = 2013; * @return The bytes for countryCode. */ com.google.protobuf.ByteString getCountryCodeBytes(); /** * bytes extra_bin_data = 3; * @return The extraBinData. */ com.google.protobuf.ByteString getExtraBinData(); /** * string secret_key = 15; * @return The secretKey. */ java.lang.String getSecretKey(); /** * string secret_key = 15; * @return The bytes for secretKey. */ com.google.protobuf.ByteString getSecretKeyBytes(); /** * uint32 Unk2700_NOJPEHIBDJH = 1561; * @return The unk2700NOJPEHIBDJH. */ int getUnk2700NOJPEHIBDJH(); /** * uint32 black_uid_end_time = 14; * @return The blackUidEndTime. */ int getBlackUidEndTime(); /** * uint32 tag = 1635; * @return The tag. */ int getTag(); /** * string token = 11; * @return The token. */ java.lang.String getToken(); /** * string token = 11; * @return The bytes for token. */ com.google.protobuf.ByteString getTokenBytes(); /** * uint32 gm_uid = 10; * @return The gmUid. */ int getGmUid(); /** * uint32 channel_id = 896; * @return The channelId. */ int getChannelId(); /** * string psn_id = 1811; * @return The psnId. */ java.lang.String getPsnId(); /** * string psn_id = 1811; * @return The bytes for psnId. */ com.google.protobuf.ByteString getPsnIdBytes(); /** * string client_ip_str = 860; * @return The clientIpStr. */ java.lang.String getClientIpStr(); /** * string client_ip_str = 860; * @return The bytes for clientIpStr. */ com.google.protobuf.ByteString getClientIpStrBytes(); /** * string msg = 7; * @return The msg. */ java.lang.String getMsg(); /** * string msg = 7; * @return The bytes for msg. */ com.google.protobuf.ByteString getMsgBytes(); /** * uint32 account_type = 5; * @return The accountType. */ int getAccountType(); /** * uint32 sub_channel_id = 1802; * @return The subChannelId. */ int getSubChannelId(); /** * bool Unk2700_FLBKPCPGPDH = 2028; * @return The unk2700FLBKPCPGPDH. */ boolean getUnk2700FLBKPCPGPDH(); /** * string encrypted_seed = 1493; * @return The encryptedSeed. */ java.lang.String getEncryptedSeed(); /** * string encrypted_seed = 1493; * @return The bytes for encryptedSeed. */ com.google.protobuf.ByteString getEncryptedSeedBytes(); /** * bool is_proficient_player = 9; * @return The isProficientPlayer. */ boolean getIsProficientPlayer(); /** * uint32 Unk2800_BPJOBLNCBEI = 1172; * @return The unk2800BPJOBLNCBEI. */ int getUnk2800BPJOBLNCBEI(); /** * uint32 uid = 1; * @return The uid. */ int getUid(); /** * string account_uid = 12; * @return The accountUid. */ java.lang.String getAccountUid(); /** * string account_uid = 12; * @return The bytes for accountUid. */ com.google.protobuf.ByteString getAccountUidBytes(); /** * bool is_guest = 4; * @return The isGuest. */ boolean getIsGuest(); /** * string client_version_random_key = 1529; * @return The clientVersionRandomKey. */ java.lang.String getClientVersionRandomKey(); /** * string client_version_random_key = 1529; * @return The bytes for clientVersionRandomKey. */ com.google.protobuf.ByteString getClientVersionRandomKeyBytes(); /** * repeated uint32 Unk2800_NNBFCEAOEPB = 1640; * @return A list containing the unk2800NNBFCEAOEPB. */ java.util.List getUnk2800NNBFCEAOEPBList(); /** * repeated uint32 Unk2800_NNBFCEAOEPB = 1640; * @return The count of unk2800NNBFCEAOEPB. */ int getUnk2800NNBFCEAOEPBCount(); /** * repeated uint32 Unk2800_NNBFCEAOEPB = 1640; * @param index The index of the element to return. * @return The unk2800NNBFCEAOEPB at the given index. */ int getUnk2800NNBFCEAOEPB(int index); /** * uint32 platform_type = 8; * @return The platformType. */ int getPlatformType(); /** * uint32 reg_platform = 1112; * @return The regPlatform. */ int getRegPlatform(); /** * bool is_login_white_list = 573; * @return The isLoginWhiteList. */ boolean getIsLoginWhiteList(); /** * string seed_signature = 1140; * @return The seedSignature. */ java.lang.String getSeedSignature(); /** * string seed_signature = 1140; * @return The bytes for seedSignature. */ com.google.protobuf.ByteString getSeedSignatureBytes(); } /** *
   * CmdId: 198
   * EnetChannelId: 0
   * EnetIsReliable: false
   * IsAllowClient: true
   * 
* * Protobuf type {@code GetPlayerTokenRsp} */ public static final class GetPlayerTokenRsp extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:GetPlayerTokenRsp) GetPlayerTokenRspOrBuilder { private static final long serialVersionUID = 0L; // Use GetPlayerTokenRsp.newBuilder() to construct. private GetPlayerTokenRsp(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetPlayerTokenRsp() { birthday_ = ""; securityCmdBuffer_ = com.google.protobuf.ByteString.EMPTY; countryCode_ = ""; extraBinData_ = com.google.protobuf.ByteString.EMPTY; secretKey_ = ""; token_ = ""; psnId_ = ""; clientIpStr_ = ""; msg_ = ""; encryptedSeed_ = ""; accountUid_ = ""; clientVersionRandomKey_ = ""; unk2800NNBFCEAOEPB_ = emptyIntList(); seedSignature_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetPlayerTokenRsp(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetPlayerTokenRsp( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { uid_ = input.readUInt32(); break; } case 16: { retcode_ = input.readInt32(); break; } case 26: { extraBinData_ = input.readBytes(); break; } case 32: { isGuest_ = input.readBool(); break; } case 40: { accountType_ = input.readUInt32(); break; } case 50: { securityCmdBuffer_ = input.readBytes(); break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); msg_ = s; break; } case 64: { platformType_ = input.readUInt32(); break; } case 72: { isProficientPlayer_ = input.readBool(); break; } case 80: { gmUid_ = input.readUInt32(); break; } case 90: { java.lang.String s = input.readStringRequireUtf8(); token_ = s; break; } case 98: { java.lang.String s = input.readStringRequireUtf8(); accountUid_ = s; break; } case 104: { secretKeySeed_ = input.readUInt64(); break; } case 112: { blackUidEndTime_ = input.readUInt32(); break; } case 122: { java.lang.String s = input.readStringRequireUtf8(); secretKey_ = s; break; } case 4584: { isLoginWhiteList_ = input.readBool(); break; } case 6882: { java.lang.String s = input.readStringRequireUtf8(); clientIpStr_ = s; break; } case 7168: { channelId_ = input.readUInt32(); break; } case 7498: { java.lang.String s = input.readStringRequireUtf8(); birthday_ = s; break; } case 8896: { regPlatform_ = input.readUInt32(); break; } case 9122: { java.lang.String s = input.readStringRequireUtf8(); seedSignature_ = s; break; } case 9376: { unk2800BPJOBLNCBEI_ = input.readUInt32(); break; } case 11946: { java.lang.String s = input.readStringRequireUtf8(); encryptedSeed_ = s; break; } case 12234: { java.lang.String s = input.readStringRequireUtf8(); clientVersionRandomKey_ = s; break; } case 12488: { unk2700NOJPEHIBDJH_ = input.readUInt32(); break; } case 13080: { tag_ = input.readUInt32(); break; } case 13120: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { unk2800NNBFCEAOEPB_ = newIntList(); mutable_bitField0_ |= 0x00000001; } unk2800NNBFCEAOEPB_.addInt(input.readUInt32()); break; } case 13122: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { unk2800NNBFCEAOEPB_ = newIntList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { unk2800NNBFCEAOEPB_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 14416: { subChannelId_ = input.readUInt32(); break; } case 14490: { java.lang.String s = input.readStringRequireUtf8(); psnId_ = s; break; } case 16106: { java.lang.String s = input.readStringRequireUtf8(); countryCode_ = s; break; } case 16224: { unk2700FLBKPCPGPDH_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { unk2800NNBFCEAOEPB_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.internal_static_GetPlayerTokenRsp_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.internal_static_GetPlayerTokenRsp_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp.class, emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp.Builder.class); } public static final int BIRTHDAY_FIELD_NUMBER = 937; private volatile java.lang.Object birthday_; /** * string birthday = 937; * @return The birthday. */ @java.lang.Override public java.lang.String getBirthday() { java.lang.Object ref = birthday_; 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(); birthday_ = s; return s; } } /** * string birthday = 937; * @return The bytes for birthday. */ @java.lang.Override public com.google.protobuf.ByteString getBirthdayBytes() { java.lang.Object ref = birthday_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); birthday_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RETCODE_FIELD_NUMBER = 2; private int retcode_; /** * int32 retcode = 2; * @return The retcode. */ @java.lang.Override public int getRetcode() { return retcode_; } public static final int SECURITY_CMD_BUFFER_FIELD_NUMBER = 6; private com.google.protobuf.ByteString securityCmdBuffer_; /** * bytes security_cmd_buffer = 6; * @return The securityCmdBuffer. */ @java.lang.Override public com.google.protobuf.ByteString getSecurityCmdBuffer() { return securityCmdBuffer_; } public static final int SECRET_KEY_SEED_FIELD_NUMBER = 13; private long secretKeySeed_; /** * uint64 secret_key_seed = 13; * @return The secretKeySeed. */ @java.lang.Override public long getSecretKeySeed() { return secretKeySeed_; } public static final int COUNTRY_CODE_FIELD_NUMBER = 2013; private volatile java.lang.Object countryCode_; /** * string country_code = 2013; * @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; } } /** * string country_code = 2013; * @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 EXTRA_BIN_DATA_FIELD_NUMBER = 3; private com.google.protobuf.ByteString extraBinData_; /** * bytes extra_bin_data = 3; * @return The extraBinData. */ @java.lang.Override public com.google.protobuf.ByteString getExtraBinData() { return extraBinData_; } public static final int SECRET_KEY_FIELD_NUMBER = 15; private volatile java.lang.Object secretKey_; /** * string secret_key = 15; * @return The secretKey. */ @java.lang.Override public java.lang.String getSecretKey() { java.lang.Object ref = secretKey_; 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(); secretKey_ = s; return s; } } /** * string secret_key = 15; * @return The bytes for secretKey. */ @java.lang.Override public com.google.protobuf.ByteString getSecretKeyBytes() { java.lang.Object ref = secretKey_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); secretKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UNK2700_NOJPEHIBDJH_FIELD_NUMBER = 1561; private int unk2700NOJPEHIBDJH_; /** * uint32 Unk2700_NOJPEHIBDJH = 1561; * @return The unk2700NOJPEHIBDJH. */ @java.lang.Override public int getUnk2700NOJPEHIBDJH() { return unk2700NOJPEHIBDJH_; } public static final int BLACK_UID_END_TIME_FIELD_NUMBER = 14; private int blackUidEndTime_; /** * uint32 black_uid_end_time = 14; * @return The blackUidEndTime. */ @java.lang.Override public int getBlackUidEndTime() { return blackUidEndTime_; } public static final int TAG_FIELD_NUMBER = 1635; private int tag_; /** * uint32 tag = 1635; * @return The tag. */ @java.lang.Override public int getTag() { return tag_; } public static final int TOKEN_FIELD_NUMBER = 11; private volatile java.lang.Object token_; /** * string token = 11; * @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; } } /** * string token = 11; * @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 GM_UID_FIELD_NUMBER = 10; private int gmUid_; /** * uint32 gm_uid = 10; * @return The gmUid. */ @java.lang.Override public int getGmUid() { return gmUid_; } public static final int CHANNEL_ID_FIELD_NUMBER = 896; private int channelId_; /** * uint32 channel_id = 896; * @return The channelId. */ @java.lang.Override public int getChannelId() { return channelId_; } public static final int PSN_ID_FIELD_NUMBER = 1811; private volatile java.lang.Object psnId_; /** * string psn_id = 1811; * @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; } } /** * string psn_id = 1811; * @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; } } public static final int CLIENT_IP_STR_FIELD_NUMBER = 860; private volatile java.lang.Object clientIpStr_; /** * string client_ip_str = 860; * @return The clientIpStr. */ @java.lang.Override public java.lang.String getClientIpStr() { java.lang.Object ref = clientIpStr_; 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(); clientIpStr_ = s; return s; } } /** * string client_ip_str = 860; * @return The bytes for clientIpStr. */ @java.lang.Override public com.google.protobuf.ByteString getClientIpStrBytes() { java.lang.Object ref = clientIpStr_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientIpStr_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MSG_FIELD_NUMBER = 7; private volatile java.lang.Object msg_; /** * string msg = 7; * @return The msg. */ @java.lang.Override public java.lang.String getMsg() { java.lang.Object ref = msg_; 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(); msg_ = s; return s; } } /** * string msg = 7; * @return The bytes for msg. */ @java.lang.Override public com.google.protobuf.ByteString getMsgBytes() { java.lang.Object ref = msg_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACCOUNT_TYPE_FIELD_NUMBER = 5; private int accountType_; /** * uint32 account_type = 5; * @return The accountType. */ @java.lang.Override public int getAccountType() { return accountType_; } public static final int SUB_CHANNEL_ID_FIELD_NUMBER = 1802; private int subChannelId_; /** * uint32 sub_channel_id = 1802; * @return The subChannelId. */ @java.lang.Override public int getSubChannelId() { return subChannelId_; } public static final int UNK2700_FLBKPCPGPDH_FIELD_NUMBER = 2028; private boolean unk2700FLBKPCPGPDH_; /** * bool Unk2700_FLBKPCPGPDH = 2028; * @return The unk2700FLBKPCPGPDH. */ @java.lang.Override public boolean getUnk2700FLBKPCPGPDH() { return unk2700FLBKPCPGPDH_; } public static final int ENCRYPTED_SEED_FIELD_NUMBER = 1493; private volatile java.lang.Object encryptedSeed_; /** * string encrypted_seed = 1493; * @return The encryptedSeed. */ @java.lang.Override public java.lang.String getEncryptedSeed() { java.lang.Object ref = encryptedSeed_; 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(); encryptedSeed_ = s; return s; } } /** * string encrypted_seed = 1493; * @return The bytes for encryptedSeed. */ @java.lang.Override public com.google.protobuf.ByteString getEncryptedSeedBytes() { java.lang.Object ref = encryptedSeed_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); encryptedSeed_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IS_PROFICIENT_PLAYER_FIELD_NUMBER = 9; private boolean isProficientPlayer_; /** * bool is_proficient_player = 9; * @return The isProficientPlayer. */ @java.lang.Override public boolean getIsProficientPlayer() { return isProficientPlayer_; } public static final int UNK2800_BPJOBLNCBEI_FIELD_NUMBER = 1172; private int unk2800BPJOBLNCBEI_; /** * uint32 Unk2800_BPJOBLNCBEI = 1172; * @return The unk2800BPJOBLNCBEI. */ @java.lang.Override public int getUnk2800BPJOBLNCBEI() { return unk2800BPJOBLNCBEI_; } public static final int UID_FIELD_NUMBER = 1; private int uid_; /** * uint32 uid = 1; * @return The uid. */ @java.lang.Override public int getUid() { return uid_; } public static final int ACCOUNT_UID_FIELD_NUMBER = 12; private volatile java.lang.Object accountUid_; /** * string account_uid = 12; * @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; } } /** * string account_uid = 12; * @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 IS_GUEST_FIELD_NUMBER = 4; private boolean isGuest_; /** * bool is_guest = 4; * @return The isGuest. */ @java.lang.Override public boolean getIsGuest() { return isGuest_; } public static final int CLIENT_VERSION_RANDOM_KEY_FIELD_NUMBER = 1529; private volatile java.lang.Object clientVersionRandomKey_; /** * string client_version_random_key = 1529; * @return The clientVersionRandomKey. */ @java.lang.Override public java.lang.String getClientVersionRandomKey() { java.lang.Object ref = clientVersionRandomKey_; 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(); clientVersionRandomKey_ = s; return s; } } /** * string client_version_random_key = 1529; * @return The bytes for clientVersionRandomKey. */ @java.lang.Override public com.google.protobuf.ByteString getClientVersionRandomKeyBytes() { java.lang.Object ref = clientVersionRandomKey_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientVersionRandomKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UNK2800_NNBFCEAOEPB_FIELD_NUMBER = 1640; private com.google.protobuf.Internal.IntList unk2800NNBFCEAOEPB_; /** * repeated uint32 Unk2800_NNBFCEAOEPB = 1640; * @return A list containing the unk2800NNBFCEAOEPB. */ @java.lang.Override public java.util.List getUnk2800NNBFCEAOEPBList() { return unk2800NNBFCEAOEPB_; } /** * repeated uint32 Unk2800_NNBFCEAOEPB = 1640; * @return The count of unk2800NNBFCEAOEPB. */ public int getUnk2800NNBFCEAOEPBCount() { return unk2800NNBFCEAOEPB_.size(); } /** * repeated uint32 Unk2800_NNBFCEAOEPB = 1640; * @param index The index of the element to return. * @return The unk2800NNBFCEAOEPB at the given index. */ public int getUnk2800NNBFCEAOEPB(int index) { return unk2800NNBFCEAOEPB_.getInt(index); } private int unk2800NNBFCEAOEPBMemoizedSerializedSize = -1; public static final int PLATFORM_TYPE_FIELD_NUMBER = 8; private int platformType_; /** * uint32 platform_type = 8; * @return The platformType. */ @java.lang.Override public int getPlatformType() { return platformType_; } public static final int REG_PLATFORM_FIELD_NUMBER = 1112; private int regPlatform_; /** * uint32 reg_platform = 1112; * @return The regPlatform. */ @java.lang.Override public int getRegPlatform() { return regPlatform_; } public static final int IS_LOGIN_WHITE_LIST_FIELD_NUMBER = 573; private boolean isLoginWhiteList_; /** * bool is_login_white_list = 573; * @return The isLoginWhiteList. */ @java.lang.Override public boolean getIsLoginWhiteList() { return isLoginWhiteList_; } public static final int SEED_SIGNATURE_FIELD_NUMBER = 1140; private volatile java.lang.Object seedSignature_; /** * string seed_signature = 1140; * @return The seedSignature. */ @java.lang.Override public java.lang.String getSeedSignature() { java.lang.Object ref = seedSignature_; 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(); seedSignature_ = s; return s; } } /** * string seed_signature = 1140; * @return The bytes for seedSignature. */ @java.lang.Override public com.google.protobuf.ByteString getSeedSignatureBytes() { java.lang.Object ref = seedSignature_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); seedSignature_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (uid_ != 0) { output.writeUInt32(1, uid_); } if (retcode_ != 0) { output.writeInt32(2, retcode_); } if (!extraBinData_.isEmpty()) { output.writeBytes(3, extraBinData_); } if (isGuest_ != false) { output.writeBool(4, isGuest_); } if (accountType_ != 0) { output.writeUInt32(5, accountType_); } if (!securityCmdBuffer_.isEmpty()) { output.writeBytes(6, securityCmdBuffer_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msg_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, msg_); } if (platformType_ != 0) { output.writeUInt32(8, platformType_); } if (isProficientPlayer_ != false) { output.writeBool(9, isProficientPlayer_); } if (gmUid_ != 0) { output.writeUInt32(10, gmUid_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, token_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountUid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, accountUid_); } if (secretKeySeed_ != 0L) { output.writeUInt64(13, secretKeySeed_); } if (blackUidEndTime_ != 0) { output.writeUInt32(14, blackUidEndTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(secretKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, secretKey_); } if (isLoginWhiteList_ != false) { output.writeBool(573, isLoginWhiteList_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientIpStr_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 860, clientIpStr_); } if (channelId_ != 0) { output.writeUInt32(896, channelId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(birthday_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 937, birthday_); } if (regPlatform_ != 0) { output.writeUInt32(1112, regPlatform_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(seedSignature_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1140, seedSignature_); } if (unk2800BPJOBLNCBEI_ != 0) { output.writeUInt32(1172, unk2800BPJOBLNCBEI_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encryptedSeed_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1493, encryptedSeed_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientVersionRandomKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1529, clientVersionRandomKey_); } if (unk2700NOJPEHIBDJH_ != 0) { output.writeUInt32(1561, unk2700NOJPEHIBDJH_); } if (tag_ != 0) { output.writeUInt32(1635, tag_); } if (getUnk2800NNBFCEAOEPBList().size() > 0) { output.writeUInt32NoTag(13122); output.writeUInt32NoTag(unk2800NNBFCEAOEPBMemoizedSerializedSize); } for (int i = 0; i < unk2800NNBFCEAOEPB_.size(); i++) { output.writeUInt32NoTag(unk2800NNBFCEAOEPB_.getInt(i)); } if (subChannelId_ != 0) { output.writeUInt32(1802, subChannelId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(psnId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1811, psnId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(countryCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2013, countryCode_); } if (unk2700FLBKPCPGPDH_ != false) { output.writeBool(2028, unk2700FLBKPCPGPDH_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (uid_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, uid_); } if (retcode_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, retcode_); } if (!extraBinData_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, extraBinData_); } if (isGuest_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, isGuest_); } if (accountType_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, accountType_); } if (!securityCmdBuffer_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, securityCmdBuffer_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msg_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, msg_); } if (platformType_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, platformType_); } if (isProficientPlayer_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, isProficientPlayer_); } if (gmUid_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(10, gmUid_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, token_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountUid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, accountUid_); } if (secretKeySeed_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(13, secretKeySeed_); } if (blackUidEndTime_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(14, blackUidEndTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(secretKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, secretKey_); } if (isLoginWhiteList_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(573, isLoginWhiteList_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientIpStr_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(860, clientIpStr_); } if (channelId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(896, channelId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(birthday_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(937, birthday_); } if (regPlatform_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1112, regPlatform_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(seedSignature_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1140, seedSignature_); } if (unk2800BPJOBLNCBEI_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1172, unk2800BPJOBLNCBEI_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encryptedSeed_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1493, encryptedSeed_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientVersionRandomKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1529, clientVersionRandomKey_); } if (unk2700NOJPEHIBDJH_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1561, unk2700NOJPEHIBDJH_); } if (tag_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1635, tag_); } { int dataSize = 0; for (int i = 0; i < unk2800NNBFCEAOEPB_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(unk2800NNBFCEAOEPB_.getInt(i)); } size += dataSize; if (!getUnk2800NNBFCEAOEPBList().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } unk2800NNBFCEAOEPBMemoizedSerializedSize = dataSize; } if (subChannelId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1802, subChannelId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(psnId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1811, psnId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(countryCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2013, countryCode_); } if (unk2700FLBKPCPGPDH_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2028, unk2700FLBKPCPGPDH_); } 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.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp)) { return super.equals(obj); } emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp other = (emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp) obj; if (!getBirthday() .equals(other.getBirthday())) return false; if (getRetcode() != other.getRetcode()) return false; if (!getSecurityCmdBuffer() .equals(other.getSecurityCmdBuffer())) return false; if (getSecretKeySeed() != other.getSecretKeySeed()) return false; if (!getCountryCode() .equals(other.getCountryCode())) return false; if (!getExtraBinData() .equals(other.getExtraBinData())) return false; if (!getSecretKey() .equals(other.getSecretKey())) return false; if (getUnk2700NOJPEHIBDJH() != other.getUnk2700NOJPEHIBDJH()) return false; if (getBlackUidEndTime() != other.getBlackUidEndTime()) return false; if (getTag() != other.getTag()) return false; if (!getToken() .equals(other.getToken())) return false; if (getGmUid() != other.getGmUid()) return false; if (getChannelId() != other.getChannelId()) return false; if (!getPsnId() .equals(other.getPsnId())) return false; if (!getClientIpStr() .equals(other.getClientIpStr())) return false; if (!getMsg() .equals(other.getMsg())) return false; if (getAccountType() != other.getAccountType()) return false; if (getSubChannelId() != other.getSubChannelId()) return false; if (getUnk2700FLBKPCPGPDH() != other.getUnk2700FLBKPCPGPDH()) return false; if (!getEncryptedSeed() .equals(other.getEncryptedSeed())) return false; if (getIsProficientPlayer() != other.getIsProficientPlayer()) return false; if (getUnk2800BPJOBLNCBEI() != other.getUnk2800BPJOBLNCBEI()) return false; if (getUid() != other.getUid()) return false; if (!getAccountUid() .equals(other.getAccountUid())) return false; if (getIsGuest() != other.getIsGuest()) return false; if (!getClientVersionRandomKey() .equals(other.getClientVersionRandomKey())) return false; if (!getUnk2800NNBFCEAOEPBList() .equals(other.getUnk2800NNBFCEAOEPBList())) return false; if (getPlatformType() != other.getPlatformType()) return false; if (getRegPlatform() != other.getRegPlatform()) return false; if (getIsLoginWhiteList() != other.getIsLoginWhiteList()) return false; if (!getSeedSignature() .equals(other.getSeedSignature())) 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) + BIRTHDAY_FIELD_NUMBER; hash = (53 * hash) + getBirthday().hashCode(); hash = (37 * hash) + RETCODE_FIELD_NUMBER; hash = (53 * hash) + getRetcode(); hash = (37 * hash) + SECURITY_CMD_BUFFER_FIELD_NUMBER; hash = (53 * hash) + getSecurityCmdBuffer().hashCode(); hash = (37 * hash) + SECRET_KEY_SEED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSecretKeySeed()); hash = (37 * hash) + COUNTRY_CODE_FIELD_NUMBER; hash = (53 * hash) + getCountryCode().hashCode(); hash = (37 * hash) + EXTRA_BIN_DATA_FIELD_NUMBER; hash = (53 * hash) + getExtraBinData().hashCode(); hash = (37 * hash) + SECRET_KEY_FIELD_NUMBER; hash = (53 * hash) + getSecretKey().hashCode(); hash = (37 * hash) + UNK2700_NOJPEHIBDJH_FIELD_NUMBER; hash = (53 * hash) + getUnk2700NOJPEHIBDJH(); hash = (37 * hash) + BLACK_UID_END_TIME_FIELD_NUMBER; hash = (53 * hash) + getBlackUidEndTime(); hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag(); hash = (37 * hash) + TOKEN_FIELD_NUMBER; hash = (53 * hash) + getToken().hashCode(); hash = (37 * hash) + GM_UID_FIELD_NUMBER; hash = (53 * hash) + getGmUid(); hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; hash = (53 * hash) + getChannelId(); hash = (37 * hash) + PSN_ID_FIELD_NUMBER; hash = (53 * hash) + getPsnId().hashCode(); hash = (37 * hash) + CLIENT_IP_STR_FIELD_NUMBER; hash = (53 * hash) + getClientIpStr().hashCode(); hash = (37 * hash) + MSG_FIELD_NUMBER; hash = (53 * hash) + getMsg().hashCode(); hash = (37 * hash) + ACCOUNT_TYPE_FIELD_NUMBER; hash = (53 * hash) + getAccountType(); hash = (37 * hash) + SUB_CHANNEL_ID_FIELD_NUMBER; hash = (53 * hash) + getSubChannelId(); hash = (37 * hash) + UNK2700_FLBKPCPGPDH_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUnk2700FLBKPCPGPDH()); hash = (37 * hash) + ENCRYPTED_SEED_FIELD_NUMBER; hash = (53 * hash) + getEncryptedSeed().hashCode(); hash = (37 * hash) + IS_PROFICIENT_PLAYER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsProficientPlayer()); hash = (37 * hash) + UNK2800_BPJOBLNCBEI_FIELD_NUMBER; hash = (53 * hash) + getUnk2800BPJOBLNCBEI(); hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid(); hash = (37 * hash) + ACCOUNT_UID_FIELD_NUMBER; hash = (53 * hash) + getAccountUid().hashCode(); hash = (37 * hash) + IS_GUEST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsGuest()); hash = (37 * hash) + CLIENT_VERSION_RANDOM_KEY_FIELD_NUMBER; hash = (53 * hash) + getClientVersionRandomKey().hashCode(); if (getUnk2800NNBFCEAOEPBCount() > 0) { hash = (37 * hash) + UNK2800_NNBFCEAOEPB_FIELD_NUMBER; hash = (53 * hash) + getUnk2800NNBFCEAOEPBList().hashCode(); } hash = (37 * hash) + PLATFORM_TYPE_FIELD_NUMBER; hash = (53 * hash) + getPlatformType(); hash = (37 * hash) + REG_PLATFORM_FIELD_NUMBER; hash = (53 * hash) + getRegPlatform(); hash = (37 * hash) + IS_LOGIN_WHITE_LIST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsLoginWhiteList()); hash = (37 * hash) + SEED_SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSeedSignature().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp 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.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp 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.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp 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.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp 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.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp 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.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp 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; } /** *
     * CmdId: 198
     * EnetChannelId: 0
     * EnetIsReliable: false
     * IsAllowClient: true
     * 
* * Protobuf type {@code GetPlayerTokenRsp} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:GetPlayerTokenRsp) emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRspOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.internal_static_GetPlayerTokenRsp_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.internal_static_GetPlayerTokenRsp_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp.class, emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp.Builder.class); } // Construct using emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp.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(); birthday_ = ""; retcode_ = 0; securityCmdBuffer_ = com.google.protobuf.ByteString.EMPTY; secretKeySeed_ = 0L; countryCode_ = ""; extraBinData_ = com.google.protobuf.ByteString.EMPTY; secretKey_ = ""; unk2700NOJPEHIBDJH_ = 0; blackUidEndTime_ = 0; tag_ = 0; token_ = ""; gmUid_ = 0; channelId_ = 0; psnId_ = ""; clientIpStr_ = ""; msg_ = ""; accountType_ = 0; subChannelId_ = 0; unk2700FLBKPCPGPDH_ = false; encryptedSeed_ = ""; isProficientPlayer_ = false; unk2800BPJOBLNCBEI_ = 0; uid_ = 0; accountUid_ = ""; isGuest_ = false; clientVersionRandomKey_ = ""; unk2800NNBFCEAOEPB_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); platformType_ = 0; regPlatform_ = 0; isLoginWhiteList_ = false; seedSignature_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.internal_static_GetPlayerTokenRsp_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp getDefaultInstanceForType() { return emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp build() { emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp buildPartial() { emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp result = new emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp(this); int from_bitField0_ = bitField0_; result.birthday_ = birthday_; result.retcode_ = retcode_; result.securityCmdBuffer_ = securityCmdBuffer_; result.secretKeySeed_ = secretKeySeed_; result.countryCode_ = countryCode_; result.extraBinData_ = extraBinData_; result.secretKey_ = secretKey_; result.unk2700NOJPEHIBDJH_ = unk2700NOJPEHIBDJH_; result.blackUidEndTime_ = blackUidEndTime_; result.tag_ = tag_; result.token_ = token_; result.gmUid_ = gmUid_; result.channelId_ = channelId_; result.psnId_ = psnId_; result.clientIpStr_ = clientIpStr_; result.msg_ = msg_; result.accountType_ = accountType_; result.subChannelId_ = subChannelId_; result.unk2700FLBKPCPGPDH_ = unk2700FLBKPCPGPDH_; result.encryptedSeed_ = encryptedSeed_; result.isProficientPlayer_ = isProficientPlayer_; result.unk2800BPJOBLNCBEI_ = unk2800BPJOBLNCBEI_; result.uid_ = uid_; result.accountUid_ = accountUid_; result.isGuest_ = isGuest_; result.clientVersionRandomKey_ = clientVersionRandomKey_; if (((bitField0_ & 0x00000001) != 0)) { unk2800NNBFCEAOEPB_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.unk2800NNBFCEAOEPB_ = unk2800NNBFCEAOEPB_; result.platformType_ = platformType_; result.regPlatform_ = regPlatform_; result.isLoginWhiteList_ = isLoginWhiteList_; result.seedSignature_ = seedSignature_; 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.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp) { return mergeFrom((emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp other) { if (other == emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp.getDefaultInstance()) return this; if (!other.getBirthday().isEmpty()) { birthday_ = other.birthday_; onChanged(); } if (other.getRetcode() != 0) { setRetcode(other.getRetcode()); } if (other.getSecurityCmdBuffer() != com.google.protobuf.ByteString.EMPTY) { setSecurityCmdBuffer(other.getSecurityCmdBuffer()); } if (other.getSecretKeySeed() != 0L) { setSecretKeySeed(other.getSecretKeySeed()); } if (!other.getCountryCode().isEmpty()) { countryCode_ = other.countryCode_; onChanged(); } if (other.getExtraBinData() != com.google.protobuf.ByteString.EMPTY) { setExtraBinData(other.getExtraBinData()); } if (!other.getSecretKey().isEmpty()) { secretKey_ = other.secretKey_; onChanged(); } if (other.getUnk2700NOJPEHIBDJH() != 0) { setUnk2700NOJPEHIBDJH(other.getUnk2700NOJPEHIBDJH()); } if (other.getBlackUidEndTime() != 0) { setBlackUidEndTime(other.getBlackUidEndTime()); } if (other.getTag() != 0) { setTag(other.getTag()); } if (!other.getToken().isEmpty()) { token_ = other.token_; onChanged(); } if (other.getGmUid() != 0) { setGmUid(other.getGmUid()); } if (other.getChannelId() != 0) { setChannelId(other.getChannelId()); } if (!other.getPsnId().isEmpty()) { psnId_ = other.psnId_; onChanged(); } if (!other.getClientIpStr().isEmpty()) { clientIpStr_ = other.clientIpStr_; onChanged(); } if (!other.getMsg().isEmpty()) { msg_ = other.msg_; onChanged(); } if (other.getAccountType() != 0) { setAccountType(other.getAccountType()); } if (other.getSubChannelId() != 0) { setSubChannelId(other.getSubChannelId()); } if (other.getUnk2700FLBKPCPGPDH() != false) { setUnk2700FLBKPCPGPDH(other.getUnk2700FLBKPCPGPDH()); } if (!other.getEncryptedSeed().isEmpty()) { encryptedSeed_ = other.encryptedSeed_; onChanged(); } if (other.getIsProficientPlayer() != false) { setIsProficientPlayer(other.getIsProficientPlayer()); } if (other.getUnk2800BPJOBLNCBEI() != 0) { setUnk2800BPJOBLNCBEI(other.getUnk2800BPJOBLNCBEI()); } if (other.getUid() != 0) { setUid(other.getUid()); } if (!other.getAccountUid().isEmpty()) { accountUid_ = other.accountUid_; onChanged(); } if (other.getIsGuest() != false) { setIsGuest(other.getIsGuest()); } if (!other.getClientVersionRandomKey().isEmpty()) { clientVersionRandomKey_ = other.clientVersionRandomKey_; onChanged(); } if (!other.unk2800NNBFCEAOEPB_.isEmpty()) { if (unk2800NNBFCEAOEPB_.isEmpty()) { unk2800NNBFCEAOEPB_ = other.unk2800NNBFCEAOEPB_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUnk2800NNBFCEAOEPBIsMutable(); unk2800NNBFCEAOEPB_.addAll(other.unk2800NNBFCEAOEPB_); } onChanged(); } if (other.getPlatformType() != 0) { setPlatformType(other.getPlatformType()); } if (other.getRegPlatform() != 0) { setRegPlatform(other.getRegPlatform()); } if (other.getIsLoginWhiteList() != false) { setIsLoginWhiteList(other.getIsLoginWhiteList()); } if (!other.getSeedSignature().isEmpty()) { seedSignature_ = other.seedSignature_; 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.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object birthday_ = ""; /** * string birthday = 937; * @return The birthday. */ public java.lang.String getBirthday() { java.lang.Object ref = birthday_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); birthday_ = s; return s; } else { return (java.lang.String) ref; } } /** * string birthday = 937; * @return The bytes for birthday. */ public com.google.protobuf.ByteString getBirthdayBytes() { java.lang.Object ref = birthday_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); birthday_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string birthday = 937; * @param value The birthday to set. * @return This builder for chaining. */ public Builder setBirthday( java.lang.String value) { if (value == null) { throw new NullPointerException(); } birthday_ = value; onChanged(); return this; } /** * string birthday = 937; * @return This builder for chaining. */ public Builder clearBirthday() { birthday_ = getDefaultInstance().getBirthday(); onChanged(); return this; } /** * string birthday = 937; * @param value The bytes for birthday to set. * @return This builder for chaining. */ public Builder setBirthdayBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); birthday_ = value; onChanged(); return this; } private int retcode_ ; /** * int32 retcode = 2; * @return The retcode. */ @java.lang.Override public int getRetcode() { return retcode_; } /** * int32 retcode = 2; * @param value The retcode to set. * @return This builder for chaining. */ public Builder setRetcode(int value) { retcode_ = value; onChanged(); return this; } /** * int32 retcode = 2; * @return This builder for chaining. */ public Builder clearRetcode() { retcode_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString securityCmdBuffer_ = com.google.protobuf.ByteString.EMPTY; /** * bytes security_cmd_buffer = 6; * @return The securityCmdBuffer. */ @java.lang.Override public com.google.protobuf.ByteString getSecurityCmdBuffer() { return securityCmdBuffer_; } /** * bytes security_cmd_buffer = 6; * @param value The securityCmdBuffer to set. * @return This builder for chaining. */ public Builder setSecurityCmdBuffer(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } securityCmdBuffer_ = value; onChanged(); return this; } /** * bytes security_cmd_buffer = 6; * @return This builder for chaining. */ public Builder clearSecurityCmdBuffer() { securityCmdBuffer_ = getDefaultInstance().getSecurityCmdBuffer(); onChanged(); return this; } private long secretKeySeed_ ; /** * uint64 secret_key_seed = 13; * @return The secretKeySeed. */ @java.lang.Override public long getSecretKeySeed() { return secretKeySeed_; } /** * uint64 secret_key_seed = 13; * @param value The secretKeySeed to set. * @return This builder for chaining. */ public Builder setSecretKeySeed(long value) { secretKeySeed_ = value; onChanged(); return this; } /** * uint64 secret_key_seed = 13; * @return This builder for chaining. */ public Builder clearSecretKeySeed() { secretKeySeed_ = 0L; onChanged(); return this; } private java.lang.Object countryCode_ = ""; /** * string country_code = 2013; * @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; } } /** * string country_code = 2013; * @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; } } /** * string country_code = 2013; * @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; } /** * string country_code = 2013; * @return This builder for chaining. */ public Builder clearCountryCode() { countryCode_ = getDefaultInstance().getCountryCode(); onChanged(); return this; } /** * string country_code = 2013; * @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 com.google.protobuf.ByteString extraBinData_ = com.google.protobuf.ByteString.EMPTY; /** * bytes extra_bin_data = 3; * @return The extraBinData. */ @java.lang.Override public com.google.protobuf.ByteString getExtraBinData() { return extraBinData_; } /** * bytes extra_bin_data = 3; * @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; } /** * bytes extra_bin_data = 3; * @return This builder for chaining. */ public Builder clearExtraBinData() { extraBinData_ = getDefaultInstance().getExtraBinData(); onChanged(); return this; } private java.lang.Object secretKey_ = ""; /** * string secret_key = 15; * @return The secretKey. */ public java.lang.String getSecretKey() { java.lang.Object ref = secretKey_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretKey_ = s; return s; } else { return (java.lang.String) ref; } } /** * string secret_key = 15; * @return The bytes for secretKey. */ public com.google.protobuf.ByteString getSecretKeyBytes() { java.lang.Object ref = secretKey_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); secretKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string secret_key = 15; * @param value The secretKey to set. * @return This builder for chaining. */ public Builder setSecretKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } secretKey_ = value; onChanged(); return this; } /** * string secret_key = 15; * @return This builder for chaining. */ public Builder clearSecretKey() { secretKey_ = getDefaultInstance().getSecretKey(); onChanged(); return this; } /** * string secret_key = 15; * @param value The bytes for secretKey to set. * @return This builder for chaining. */ public Builder setSecretKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); secretKey_ = value; onChanged(); return this; } private int unk2700NOJPEHIBDJH_ ; /** * uint32 Unk2700_NOJPEHIBDJH = 1561; * @return The unk2700NOJPEHIBDJH. */ @java.lang.Override public int getUnk2700NOJPEHIBDJH() { return unk2700NOJPEHIBDJH_; } /** * uint32 Unk2700_NOJPEHIBDJH = 1561; * @param value The unk2700NOJPEHIBDJH to set. * @return This builder for chaining. */ public Builder setUnk2700NOJPEHIBDJH(int value) { unk2700NOJPEHIBDJH_ = value; onChanged(); return this; } /** * uint32 Unk2700_NOJPEHIBDJH = 1561; * @return This builder for chaining. */ public Builder clearUnk2700NOJPEHIBDJH() { unk2700NOJPEHIBDJH_ = 0; onChanged(); return this; } private int blackUidEndTime_ ; /** * uint32 black_uid_end_time = 14; * @return The blackUidEndTime. */ @java.lang.Override public int getBlackUidEndTime() { return blackUidEndTime_; } /** * uint32 black_uid_end_time = 14; * @param value The blackUidEndTime to set. * @return This builder for chaining. */ public Builder setBlackUidEndTime(int value) { blackUidEndTime_ = value; onChanged(); return this; } /** * uint32 black_uid_end_time = 14; * @return This builder for chaining. */ public Builder clearBlackUidEndTime() { blackUidEndTime_ = 0; onChanged(); return this; } private int tag_ ; /** * uint32 tag = 1635; * @return The tag. */ @java.lang.Override public int getTag() { return tag_; } /** * uint32 tag = 1635; * @param value The tag to set. * @return This builder for chaining. */ public Builder setTag(int value) { tag_ = value; onChanged(); return this; } /** * uint32 tag = 1635; * @return This builder for chaining. */ public Builder clearTag() { tag_ = 0; onChanged(); return this; } private java.lang.Object token_ = ""; /** * string token = 11; * @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; } } /** * string token = 11; * @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; } } /** * string token = 11; * @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; } /** * string token = 11; * @return This builder for chaining. */ public Builder clearToken() { token_ = getDefaultInstance().getToken(); onChanged(); return this; } /** * string token = 11; * @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 int gmUid_ ; /** * uint32 gm_uid = 10; * @return The gmUid. */ @java.lang.Override public int getGmUid() { return gmUid_; } /** * uint32 gm_uid = 10; * @param value The gmUid to set. * @return This builder for chaining. */ public Builder setGmUid(int value) { gmUid_ = value; onChanged(); return this; } /** * uint32 gm_uid = 10; * @return This builder for chaining. */ public Builder clearGmUid() { gmUid_ = 0; onChanged(); return this; } private int channelId_ ; /** * uint32 channel_id = 896; * @return The channelId. */ @java.lang.Override public int getChannelId() { return channelId_; } /** * uint32 channel_id = 896; * @param value The channelId to set. * @return This builder for chaining. */ public Builder setChannelId(int value) { channelId_ = value; onChanged(); return this; } /** * uint32 channel_id = 896; * @return This builder for chaining. */ public Builder clearChannelId() { channelId_ = 0; onChanged(); return this; } private java.lang.Object psnId_ = ""; /** * string psn_id = 1811; * @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; } } /** * string psn_id = 1811; * @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; } } /** * string psn_id = 1811; * @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; } /** * string psn_id = 1811; * @return This builder for chaining. */ public Builder clearPsnId() { psnId_ = getDefaultInstance().getPsnId(); onChanged(); return this; } /** * string psn_id = 1811; * @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; } private java.lang.Object clientIpStr_ = ""; /** * string client_ip_str = 860; * @return The clientIpStr. */ public java.lang.String getClientIpStr() { java.lang.Object ref = clientIpStr_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientIpStr_ = s; return s; } else { return (java.lang.String) ref; } } /** * string client_ip_str = 860; * @return The bytes for clientIpStr. */ public com.google.protobuf.ByteString getClientIpStrBytes() { java.lang.Object ref = clientIpStr_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientIpStr_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string client_ip_str = 860; * @param value The clientIpStr to set. * @return This builder for chaining. */ public Builder setClientIpStr( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientIpStr_ = value; onChanged(); return this; } /** * string client_ip_str = 860; * @return This builder for chaining. */ public Builder clearClientIpStr() { clientIpStr_ = getDefaultInstance().getClientIpStr(); onChanged(); return this; } /** * string client_ip_str = 860; * @param value The bytes for clientIpStr to set. * @return This builder for chaining. */ public Builder setClientIpStrBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clientIpStr_ = value; onChanged(); return this; } private java.lang.Object msg_ = ""; /** * string msg = 7; * @return The msg. */ public java.lang.String getMsg() { java.lang.Object ref = msg_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); msg_ = s; return s; } else { return (java.lang.String) ref; } } /** * string msg = 7; * @return The bytes for msg. */ public com.google.protobuf.ByteString getMsgBytes() { java.lang.Object ref = msg_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string msg = 7; * @param value The msg to set. * @return This builder for chaining. */ public Builder setMsg( java.lang.String value) { if (value == null) { throw new NullPointerException(); } msg_ = value; onChanged(); return this; } /** * string msg = 7; * @return This builder for chaining. */ public Builder clearMsg() { msg_ = getDefaultInstance().getMsg(); onChanged(); return this; } /** * string msg = 7; * @param value The bytes for msg to set. * @return This builder for chaining. */ public Builder setMsgBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); msg_ = value; onChanged(); return this; } private int accountType_ ; /** * uint32 account_type = 5; * @return The accountType. */ @java.lang.Override public int getAccountType() { return accountType_; } /** * uint32 account_type = 5; * @param value The accountType to set. * @return This builder for chaining. */ public Builder setAccountType(int value) { accountType_ = value; onChanged(); return this; } /** * uint32 account_type = 5; * @return This builder for chaining. */ public Builder clearAccountType() { accountType_ = 0; onChanged(); return this; } private int subChannelId_ ; /** * uint32 sub_channel_id = 1802; * @return The subChannelId. */ @java.lang.Override public int getSubChannelId() { return subChannelId_; } /** * uint32 sub_channel_id = 1802; * @param value The subChannelId to set. * @return This builder for chaining. */ public Builder setSubChannelId(int value) { subChannelId_ = value; onChanged(); return this; } /** * uint32 sub_channel_id = 1802; * @return This builder for chaining. */ public Builder clearSubChannelId() { subChannelId_ = 0; onChanged(); return this; } private boolean unk2700FLBKPCPGPDH_ ; /** * bool Unk2700_FLBKPCPGPDH = 2028; * @return The unk2700FLBKPCPGPDH. */ @java.lang.Override public boolean getUnk2700FLBKPCPGPDH() { return unk2700FLBKPCPGPDH_; } /** * bool Unk2700_FLBKPCPGPDH = 2028; * @param value The unk2700FLBKPCPGPDH to set. * @return This builder for chaining. */ public Builder setUnk2700FLBKPCPGPDH(boolean value) { unk2700FLBKPCPGPDH_ = value; onChanged(); return this; } /** * bool Unk2700_FLBKPCPGPDH = 2028; * @return This builder for chaining. */ public Builder clearUnk2700FLBKPCPGPDH() { unk2700FLBKPCPGPDH_ = false; onChanged(); return this; } private java.lang.Object encryptedSeed_ = ""; /** * string encrypted_seed = 1493; * @return The encryptedSeed. */ public java.lang.String getEncryptedSeed() { java.lang.Object ref = encryptedSeed_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encryptedSeed_ = s; return s; } else { return (java.lang.String) ref; } } /** * string encrypted_seed = 1493; * @return The bytes for encryptedSeed. */ public com.google.protobuf.ByteString getEncryptedSeedBytes() { java.lang.Object ref = encryptedSeed_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); encryptedSeed_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string encrypted_seed = 1493; * @param value The encryptedSeed to set. * @return This builder for chaining. */ public Builder setEncryptedSeed( java.lang.String value) { if (value == null) { throw new NullPointerException(); } encryptedSeed_ = value; onChanged(); return this; } /** * string encrypted_seed = 1493; * @return This builder for chaining. */ public Builder clearEncryptedSeed() { encryptedSeed_ = getDefaultInstance().getEncryptedSeed(); onChanged(); return this; } /** * string encrypted_seed = 1493; * @param value The bytes for encryptedSeed to set. * @return This builder for chaining. */ public Builder setEncryptedSeedBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); encryptedSeed_ = value; onChanged(); return this; } private boolean isProficientPlayer_ ; /** * bool is_proficient_player = 9; * @return The isProficientPlayer. */ @java.lang.Override public boolean getIsProficientPlayer() { return isProficientPlayer_; } /** * bool is_proficient_player = 9; * @param value The isProficientPlayer to set. * @return This builder for chaining. */ public Builder setIsProficientPlayer(boolean value) { isProficientPlayer_ = value; onChanged(); return this; } /** * bool is_proficient_player = 9; * @return This builder for chaining. */ public Builder clearIsProficientPlayer() { isProficientPlayer_ = false; onChanged(); return this; } private int unk2800BPJOBLNCBEI_ ; /** * uint32 Unk2800_BPJOBLNCBEI = 1172; * @return The unk2800BPJOBLNCBEI. */ @java.lang.Override public int getUnk2800BPJOBLNCBEI() { return unk2800BPJOBLNCBEI_; } /** * uint32 Unk2800_BPJOBLNCBEI = 1172; * @param value The unk2800BPJOBLNCBEI to set. * @return This builder for chaining. */ public Builder setUnk2800BPJOBLNCBEI(int value) { unk2800BPJOBLNCBEI_ = value; onChanged(); return this; } /** * uint32 Unk2800_BPJOBLNCBEI = 1172; * @return This builder for chaining. */ public Builder clearUnk2800BPJOBLNCBEI() { unk2800BPJOBLNCBEI_ = 0; onChanged(); return this; } private int uid_ ; /** * uint32 uid = 1; * @return The uid. */ @java.lang.Override public int getUid() { return uid_; } /** * uint32 uid = 1; * @param value The uid to set. * @return This builder for chaining. */ public Builder setUid(int value) { uid_ = value; onChanged(); return this; } /** * uint32 uid = 1; * @return This builder for chaining. */ public Builder clearUid() { uid_ = 0; onChanged(); return this; } private java.lang.Object accountUid_ = ""; /** * string account_uid = 12; * @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; } } /** * string account_uid = 12; * @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; } } /** * string account_uid = 12; * @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; } /** * string account_uid = 12; * @return This builder for chaining. */ public Builder clearAccountUid() { accountUid_ = getDefaultInstance().getAccountUid(); onChanged(); return this; } /** * string account_uid = 12; * @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 boolean isGuest_ ; /** * bool is_guest = 4; * @return The isGuest. */ @java.lang.Override public boolean getIsGuest() { return isGuest_; } /** * bool is_guest = 4; * @param value The isGuest to set. * @return This builder for chaining. */ public Builder setIsGuest(boolean value) { isGuest_ = value; onChanged(); return this; } /** * bool is_guest = 4; * @return This builder for chaining. */ public Builder clearIsGuest() { isGuest_ = false; onChanged(); return this; } private java.lang.Object clientVersionRandomKey_ = ""; /** * string client_version_random_key = 1529; * @return The clientVersionRandomKey. */ public java.lang.String getClientVersionRandomKey() { java.lang.Object ref = clientVersionRandomKey_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientVersionRandomKey_ = s; return s; } else { return (java.lang.String) ref; } } /** * string client_version_random_key = 1529; * @return The bytes for clientVersionRandomKey. */ public com.google.protobuf.ByteString getClientVersionRandomKeyBytes() { java.lang.Object ref = clientVersionRandomKey_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientVersionRandomKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string client_version_random_key = 1529; * @param value The clientVersionRandomKey to set. * @return This builder for chaining. */ public Builder setClientVersionRandomKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientVersionRandomKey_ = value; onChanged(); return this; } /** * string client_version_random_key = 1529; * @return This builder for chaining. */ public Builder clearClientVersionRandomKey() { clientVersionRandomKey_ = getDefaultInstance().getClientVersionRandomKey(); onChanged(); return this; } /** * string client_version_random_key = 1529; * @param value The bytes for clientVersionRandomKey to set. * @return This builder for chaining. */ public Builder setClientVersionRandomKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clientVersionRandomKey_ = value; onChanged(); return this; } private com.google.protobuf.Internal.IntList unk2800NNBFCEAOEPB_ = emptyIntList(); private void ensureUnk2800NNBFCEAOEPBIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { unk2800NNBFCEAOEPB_ = mutableCopy(unk2800NNBFCEAOEPB_); bitField0_ |= 0x00000001; } } /** * repeated uint32 Unk2800_NNBFCEAOEPB = 1640; * @return A list containing the unk2800NNBFCEAOEPB. */ public java.util.List getUnk2800NNBFCEAOEPBList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(unk2800NNBFCEAOEPB_) : unk2800NNBFCEAOEPB_; } /** * repeated uint32 Unk2800_NNBFCEAOEPB = 1640; * @return The count of unk2800NNBFCEAOEPB. */ public int getUnk2800NNBFCEAOEPBCount() { return unk2800NNBFCEAOEPB_.size(); } /** * repeated uint32 Unk2800_NNBFCEAOEPB = 1640; * @param index The index of the element to return. * @return The unk2800NNBFCEAOEPB at the given index. */ public int getUnk2800NNBFCEAOEPB(int index) { return unk2800NNBFCEAOEPB_.getInt(index); } /** * repeated uint32 Unk2800_NNBFCEAOEPB = 1640; * @param index The index to set the value at. * @param value The unk2800NNBFCEAOEPB to set. * @return This builder for chaining. */ public Builder setUnk2800NNBFCEAOEPB( int index, int value) { ensureUnk2800NNBFCEAOEPBIsMutable(); unk2800NNBFCEAOEPB_.setInt(index, value); onChanged(); return this; } /** * repeated uint32 Unk2800_NNBFCEAOEPB = 1640; * @param value The unk2800NNBFCEAOEPB to add. * @return This builder for chaining. */ public Builder addUnk2800NNBFCEAOEPB(int value) { ensureUnk2800NNBFCEAOEPBIsMutable(); unk2800NNBFCEAOEPB_.addInt(value); onChanged(); return this; } /** * repeated uint32 Unk2800_NNBFCEAOEPB = 1640; * @param values The unk2800NNBFCEAOEPB to add. * @return This builder for chaining. */ public Builder addAllUnk2800NNBFCEAOEPB( java.lang.Iterable values) { ensureUnk2800NNBFCEAOEPBIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, unk2800NNBFCEAOEPB_); onChanged(); return this; } /** * repeated uint32 Unk2800_NNBFCEAOEPB = 1640; * @return This builder for chaining. */ public Builder clearUnk2800NNBFCEAOEPB() { unk2800NNBFCEAOEPB_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private int platformType_ ; /** * uint32 platform_type = 8; * @return The platformType. */ @java.lang.Override public int getPlatformType() { return platformType_; } /** * uint32 platform_type = 8; * @param value The platformType to set. * @return This builder for chaining. */ public Builder setPlatformType(int value) { platformType_ = value; onChanged(); return this; } /** * uint32 platform_type = 8; * @return This builder for chaining. */ public Builder clearPlatformType() { platformType_ = 0; onChanged(); return this; } private int regPlatform_ ; /** * uint32 reg_platform = 1112; * @return The regPlatform. */ @java.lang.Override public int getRegPlatform() { return regPlatform_; } /** * uint32 reg_platform = 1112; * @param value The regPlatform to set. * @return This builder for chaining. */ public Builder setRegPlatform(int value) { regPlatform_ = value; onChanged(); return this; } /** * uint32 reg_platform = 1112; * @return This builder for chaining. */ public Builder clearRegPlatform() { regPlatform_ = 0; onChanged(); return this; } private boolean isLoginWhiteList_ ; /** * bool is_login_white_list = 573; * @return The isLoginWhiteList. */ @java.lang.Override public boolean getIsLoginWhiteList() { return isLoginWhiteList_; } /** * bool is_login_white_list = 573; * @param value The isLoginWhiteList to set. * @return This builder for chaining. */ public Builder setIsLoginWhiteList(boolean value) { isLoginWhiteList_ = value; onChanged(); return this; } /** * bool is_login_white_list = 573; * @return This builder for chaining. */ public Builder clearIsLoginWhiteList() { isLoginWhiteList_ = false; onChanged(); return this; } private java.lang.Object seedSignature_ = ""; /** * string seed_signature = 1140; * @return The seedSignature. */ public java.lang.String getSeedSignature() { java.lang.Object ref = seedSignature_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); seedSignature_ = s; return s; } else { return (java.lang.String) ref; } } /** * string seed_signature = 1140; * @return The bytes for seedSignature. */ public com.google.protobuf.ByteString getSeedSignatureBytes() { java.lang.Object ref = seedSignature_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); seedSignature_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string seed_signature = 1140; * @param value The seedSignature to set. * @return This builder for chaining. */ public Builder setSeedSignature( java.lang.String value) { if (value == null) { throw new NullPointerException(); } seedSignature_ = value; onChanged(); return this; } /** * string seed_signature = 1140; * @return This builder for chaining. */ public Builder clearSeedSignature() { seedSignature_ = getDefaultInstance().getSeedSignature(); onChanged(); return this; } /** * string seed_signature = 1140; * @param value The bytes for seedSignature to set. * @return This builder for chaining. */ public Builder setSeedSignatureBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); seedSignature_ = 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:GetPlayerTokenRsp) } // @@protoc_insertion_point(class_scope:GetPlayerTokenRsp) private static final emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp(); } public static emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetPlayerTokenRsp parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetPlayerTokenRsp(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public emu.grasscutter.net.proto.GetPlayerTokenRspOuterClass.GetPlayerTokenRsp getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_GetPlayerTokenRsp_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_GetPlayerTokenRsp_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\027GetPlayerTokenRsp.proto\"\337\005\n\021GetPlayerT" + "okenRsp\022\021\n\010birthday\030\251\007 \001(\t\022\017\n\007retcode\030\002 " + "\001(\005\022\033\n\023security_cmd_buffer\030\006 \001(\014\022\027\n\017secr" + "et_key_seed\030\r \001(\004\022\025\n\014country_code\030\335\017 \001(\t" + "\022\026\n\016extra_bin_data\030\003 \001(\014\022\022\n\nsecret_key\030\017" + " \001(\t\022\034\n\023Unk2700_NOJPEHIBDJH\030\231\014 \001(\r\022\032\n\022bl" + "ack_uid_end_time\030\016 \001(\r\022\014\n\003tag\030\343\014 \001(\r\022\r\n\005" + "token\030\013 \001(\t\022\016\n\006gm_uid\030\n \001(\r\022\023\n\nchannel_i" + "d\030\200\007 \001(\r\022\017\n\006psn_id\030\223\016 \001(\t\022\026\n\rclient_ip_s" + "tr\030\334\006 \001(\t\022\013\n\003msg\030\007 \001(\t\022\024\n\014account_type\030\005" + " \001(\r\022\027\n\016sub_channel_id\030\212\016 \001(\r\022\034\n\023Unk2700" + "_FLBKPCPGPDH\030\354\017 \001(\010\022\027\n\016encrypted_seed\030\325\013" + " \001(\t\022\034\n\024is_proficient_player\030\t \001(\010\022\034\n\023Un" + "k2800_BPJOBLNCBEI\030\224\t \001(\r\022\013\n\003uid\030\001 \001(\r\022\023\n" + "\013account_uid\030\014 \001(\t\022\020\n\010is_guest\030\004 \001(\010\022\"\n\031" + "client_version_random_key\030\371\013 \001(\t\022\034\n\023Unk2" + "800_NNBFCEAOEPB\030\350\014 \003(\r\022\025\n\rplatform_type\030" + "\010 \001(\r\022\025\n\014reg_platform\030\330\010 \001(\r\022\034\n\023is_login" + "_white_list\030\275\004 \001(\010\022\027\n\016seed_signature\030\364\010 " + "\001(\tB\033\n\031emu.grasscutter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_GetPlayerTokenRsp_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_GetPlayerTokenRsp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_GetPlayerTokenRsp_descriptor, new java.lang.String[] { "Birthday", "Retcode", "SecurityCmdBuffer", "SecretKeySeed", "CountryCode", "ExtraBinData", "SecretKey", "Unk2700NOJPEHIBDJH", "BlackUidEndTime", "Tag", "Token", "GmUid", "ChannelId", "PsnId", "ClientIpStr", "Msg", "AccountType", "SubChannelId", "Unk2700FLBKPCPGPDH", "EncryptedSeed", "IsProficientPlayer", "Unk2800BPJOBLNCBEI", "Uid", "AccountUid", "IsGuest", "ClientVersionRandomKey", "Unk2800NNBFCEAOEPB", "PlatformType", "RegPlatform", "IsLoginWhiteList", "SeedSignature", }); } // @@protoc_insertion_point(outer_class_scope) }