// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GetPlayerTokenReq.proto
package emu.grasscutter.net.proto;
public final class GetPlayerTokenReqOuterClass {
private GetPlayerTokenReqOuterClass() {}
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 GetPlayerTokenReqOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetPlayerTokenReq)
com.google.protobuf.MessageOrBuilder {
/**
* string account_token = 10;
* @return The accountToken.
*/
java.lang.String getAccountToken();
/**
* string account_token = 10;
* @return The bytes for accountToken.
*/
com.google.protobuf.ByteString
getAccountTokenBytes();
/**
* string account_uid = 11;
* @return The accountUid.
*/
java.lang.String getAccountUid();
/**
* string account_uid = 11;
* @return The bytes for accountUid.
*/
com.google.protobuf.ByteString
getAccountUidBytes();
/**
* string psn_region = 4;
* @return The psnRegion.
*/
java.lang.String getPsnRegion();
/**
* string psn_region = 4;
* @return The bytes for psnRegion.
*/
com.google.protobuf.ByteString
getPsnRegionBytes();
/**
* string online_id = 7;
* @return The onlineId.
*/
java.lang.String getOnlineId();
/**
* string online_id = 7;
* @return The bytes for onlineId.
*/
com.google.protobuf.ByteString
getOnlineIdBytes();
/**
* uint32 channel_id = 15;
* @return The channelId.
*/
int getChannelId();
/**
* string account_ext = 9;
* @return The accountExt.
*/
java.lang.String getAccountExt();
/**
* string account_ext = 9;
* @return The bytes for accountExt.
*/
com.google.protobuf.ByteString
getAccountExtBytes();
/**
* string country_code = 5;
* @return The countryCode.
*/
java.lang.String getCountryCode();
/**
* string country_code = 5;
* @return The bytes for countryCode.
*/
com.google.protobuf.ByteString
getCountryCodeBytes();
/**
* string client_seed = 760;
* @return The clientSeed.
*/
java.lang.String getClientSeed();
/**
* string client_seed = 760;
* @return The bytes for clientSeed.
*/
com.google.protobuf.ByteString
getClientSeedBytes();
/**
* bool is_guest = 6;
* @return The isGuest.
*/
boolean getIsGuest();
/**
* string birthday = 1718;
* @return The birthday.
*/
java.lang.String getBirthday();
/**
* string birthday = 1718;
* @return The bytes for birthday.
*/
com.google.protobuf.ByteString
getBirthdayBytes();
/**
* uint32 sub_channel_id = 8;
* @return The subChannelId.
*/
int getSubChannelId();
/**
* uint32 platform_type = 12;
* @return The platformType.
*/
int getPlatformType();
/**
* string client_ip_str = 3;
* @return The clientIpStr.
*/
java.lang.String getClientIpStr();
/**
* string client_ip_str = 3;
* @return The bytes for clientIpStr.
*/
com.google.protobuf.ByteString
getClientIpStrBytes();
/**
* string psn_id = 13;
* @return The psnId.
*/
java.lang.String getPsnId();
/**
* string psn_id = 13;
* @return The bytes for psnId.
*/
com.google.protobuf.ByteString
getPsnIdBytes();
/**
* uint32 account_type = 1;
* @return The accountType.
*/
int getAccountType();
/**
* uint32 Unk2700_NOJPEHIBDJH = 995;
* @return The unk2700NOJPEHIBDJH.
*/
int getUnk2700NOJPEHIBDJH();
/**
* uint32 cloud_client_ip = 14;
* @return The cloudClientIp.
*/
int getCloudClientIp();
/**
* uint32 key_id = 1787;
* @return The keyId.
*/
int getKeyId();
/**
* uint32 uid = 2;
* @return The uid.
*/
int getUid();
}
/**
*
* CmdId: 172 * EnetChannelId: 0 * EnetIsReliable: false * IsAllowClient: true ** * Protobuf type {@code GetPlayerTokenReq} */ public static final class GetPlayerTokenReq extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:GetPlayerTokenReq) GetPlayerTokenReqOrBuilder { private static final long serialVersionUID = 0L; // Use GetPlayerTokenReq.newBuilder() to construct. private GetPlayerTokenReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } private GetPlayerTokenReq() { accountToken_ = ""; accountUid_ = ""; psnRegion_ = ""; onlineId_ = ""; accountExt_ = ""; countryCode_ = ""; clientSeed_ = ""; birthday_ = ""; clientIpStr_ = ""; psnId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetPlayerTokenReq(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetPlayerTokenReq( 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 8: { accountType_ = input.readUInt32(); break; } case 16: { uid_ = input.readUInt32(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); clientIpStr_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); psnRegion_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); countryCode_ = s; break; } case 48: { isGuest_ = input.readBool(); break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); onlineId_ = s; break; } case 64: { subChannelId_ = input.readUInt32(); break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); accountExt_ = s; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); accountToken_ = s; break; } case 90: { java.lang.String s = input.readStringRequireUtf8(); accountUid_ = s; break; } case 96: { platformType_ = input.readUInt32(); break; } case 106: { java.lang.String s = input.readStringRequireUtf8(); psnId_ = s; break; } case 112: { cloudClientIp_ = input.readUInt32(); break; } case 120: { channelId_ = input.readUInt32(); break; } case 6082: { java.lang.String s = input.readStringRequireUtf8(); clientSeed_ = s; break; } case 7960: { unk2700NOJPEHIBDJH_ = input.readUInt32(); break; } case 13746: { java.lang.String s = input.readStringRequireUtf8(); birthday_ = s; break; } case 14296: { keyId_ = input.readUInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.internal_static_GetPlayerTokenReq_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.internal_static_GetPlayerTokenReq_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq.class, emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq.Builder.class); } public static final int ACCOUNT_TOKEN_FIELD_NUMBER = 10; private volatile java.lang.Object accountToken_; /** *
string account_token = 10;
* @return The accountToken.
*/
@java.lang.Override
public java.lang.String getAccountToken() {
java.lang.Object ref = accountToken_;
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();
accountToken_ = s;
return s;
}
}
/**
* string account_token = 10;
* @return The bytes for accountToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountTokenBytes() {
java.lang.Object ref = accountToken_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACCOUNT_UID_FIELD_NUMBER = 11;
private volatile java.lang.Object accountUid_;
/**
* string account_uid = 11;
* @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 = 11;
* @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 PSN_REGION_FIELD_NUMBER = 4;
private volatile java.lang.Object psnRegion_;
/**
* string psn_region = 4;
* @return The psnRegion.
*/
@java.lang.Override
public java.lang.String getPsnRegion() {
java.lang.Object ref = psnRegion_;
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();
psnRegion_ = s;
return s;
}
}
/**
* string psn_region = 4;
* @return The bytes for psnRegion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPsnRegionBytes() {
java.lang.Object ref = psnRegion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
psnRegion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ONLINE_ID_FIELD_NUMBER = 7;
private volatile java.lang.Object onlineId_;
/**
* string online_id = 7;
* @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;
}
}
/**
* string online_id = 7;
* @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 CHANNEL_ID_FIELD_NUMBER = 15;
private int channelId_;
/**
* uint32 channel_id = 15;
* @return The channelId.
*/
@java.lang.Override
public int getChannelId() {
return channelId_;
}
public static final int ACCOUNT_EXT_FIELD_NUMBER = 9;
private volatile java.lang.Object accountExt_;
/**
* string account_ext = 9;
* @return The accountExt.
*/
@java.lang.Override
public java.lang.String getAccountExt() {
java.lang.Object ref = accountExt_;
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();
accountExt_ = s;
return s;
}
}
/**
* string account_ext = 9;
* @return The bytes for accountExt.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountExtBytes() {
java.lang.Object ref = accountExt_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountExt_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COUNTRY_CODE_FIELD_NUMBER = 5;
private volatile java.lang.Object countryCode_;
/**
* string country_code = 5;
* @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 = 5;
* @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 CLIENT_SEED_FIELD_NUMBER = 760;
private volatile java.lang.Object clientSeed_;
/**
* string client_seed = 760;
* @return The clientSeed.
*/
@java.lang.Override
public java.lang.String getClientSeed() {
java.lang.Object ref = clientSeed_;
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();
clientSeed_ = s;
return s;
}
}
/**
* string client_seed = 760;
* @return The bytes for clientSeed.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClientSeedBytes() {
java.lang.Object ref = clientSeed_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientSeed_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IS_GUEST_FIELD_NUMBER = 6;
private boolean isGuest_;
/**
* bool is_guest = 6;
* @return The isGuest.
*/
@java.lang.Override
public boolean getIsGuest() {
return isGuest_;
}
public static final int BIRTHDAY_FIELD_NUMBER = 1718;
private volatile java.lang.Object birthday_;
/**
* string birthday = 1718;
* @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 = 1718;
* @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 SUB_CHANNEL_ID_FIELD_NUMBER = 8;
private int subChannelId_;
/**
* uint32 sub_channel_id = 8;
* @return The subChannelId.
*/
@java.lang.Override
public int getSubChannelId() {
return subChannelId_;
}
public static final int PLATFORM_TYPE_FIELD_NUMBER = 12;
private int platformType_;
/**
* uint32 platform_type = 12;
* @return The platformType.
*/
@java.lang.Override
public int getPlatformType() {
return platformType_;
}
public static final int CLIENT_IP_STR_FIELD_NUMBER = 3;
private volatile java.lang.Object clientIpStr_;
/**
* string client_ip_str = 3;
* @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 = 3;
* @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 PSN_ID_FIELD_NUMBER = 13;
private volatile java.lang.Object psnId_;
/**
* string psn_id = 13;
* @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 = 13;
* @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 ACCOUNT_TYPE_FIELD_NUMBER = 1;
private int accountType_;
/**
* uint32 account_type = 1;
* @return The accountType.
*/
@java.lang.Override
public int getAccountType() {
return accountType_;
}
public static final int UNK2700_NOJPEHIBDJH_FIELD_NUMBER = 995;
private int unk2700NOJPEHIBDJH_;
/**
* uint32 Unk2700_NOJPEHIBDJH = 995;
* @return The unk2700NOJPEHIBDJH.
*/
@java.lang.Override
public int getUnk2700NOJPEHIBDJH() {
return unk2700NOJPEHIBDJH_;
}
public static final int CLOUD_CLIENT_IP_FIELD_NUMBER = 14;
private int cloudClientIp_;
/**
* uint32 cloud_client_ip = 14;
* @return The cloudClientIp.
*/
@java.lang.Override
public int getCloudClientIp() {
return cloudClientIp_;
}
public static final int KEY_ID_FIELD_NUMBER = 1787;
private int keyId_;
/**
* uint32 key_id = 1787;
* @return The keyId.
*/
@java.lang.Override
public int getKeyId() {
return keyId_;
}
public static final int UID_FIELD_NUMBER = 2;
private int uid_;
/**
* uint32 uid = 2;
* @return The uid.
*/
@java.lang.Override
public int getUid() {
return uid_;
}
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 (accountType_ != 0) {
output.writeUInt32(1, accountType_);
}
if (uid_ != 0) {
output.writeUInt32(2, uid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientIpStr_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clientIpStr_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(psnRegion_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, psnRegion_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(countryCode_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, countryCode_);
}
if (isGuest_ != false) {
output.writeBool(6, isGuest_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(onlineId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, onlineId_);
}
if (subChannelId_ != 0) {
output.writeUInt32(8, subChannelId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountExt_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, accountExt_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, accountToken_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountUid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, accountUid_);
}
if (platformType_ != 0) {
output.writeUInt32(12, platformType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(psnId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, psnId_);
}
if (cloudClientIp_ != 0) {
output.writeUInt32(14, cloudClientIp_);
}
if (channelId_ != 0) {
output.writeUInt32(15, channelId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientSeed_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 760, clientSeed_);
}
if (unk2700NOJPEHIBDJH_ != 0) {
output.writeUInt32(995, unk2700NOJPEHIBDJH_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(birthday_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1718, birthday_);
}
if (keyId_ != 0) {
output.writeUInt32(1787, keyId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (accountType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, accountType_);
}
if (uid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, uid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientIpStr_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clientIpStr_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(psnRegion_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, psnRegion_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(countryCode_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, countryCode_);
}
if (isGuest_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, isGuest_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(onlineId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, onlineId_);
}
if (subChannelId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, subChannelId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountExt_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, accountExt_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, accountToken_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountUid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, accountUid_);
}
if (platformType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, platformType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(psnId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, psnId_);
}
if (cloudClientIp_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, cloudClientIp_);
}
if (channelId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, channelId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientSeed_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(760, clientSeed_);
}
if (unk2700NOJPEHIBDJH_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(995, unk2700NOJPEHIBDJH_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(birthday_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1718, birthday_);
}
if (keyId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1787, keyId_);
}
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.GetPlayerTokenReqOuterClass.GetPlayerTokenReq)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq other = (emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq) obj;
if (!getAccountToken()
.equals(other.getAccountToken())) return false;
if (!getAccountUid()
.equals(other.getAccountUid())) return false;
if (!getPsnRegion()
.equals(other.getPsnRegion())) return false;
if (!getOnlineId()
.equals(other.getOnlineId())) return false;
if (getChannelId()
!= other.getChannelId()) return false;
if (!getAccountExt()
.equals(other.getAccountExt())) return false;
if (!getCountryCode()
.equals(other.getCountryCode())) return false;
if (!getClientSeed()
.equals(other.getClientSeed())) return false;
if (getIsGuest()
!= other.getIsGuest()) return false;
if (!getBirthday()
.equals(other.getBirthday())) return false;
if (getSubChannelId()
!= other.getSubChannelId()) return false;
if (getPlatformType()
!= other.getPlatformType()) return false;
if (!getClientIpStr()
.equals(other.getClientIpStr())) return false;
if (!getPsnId()
.equals(other.getPsnId())) return false;
if (getAccountType()
!= other.getAccountType()) return false;
if (getUnk2700NOJPEHIBDJH()
!= other.getUnk2700NOJPEHIBDJH()) return false;
if (getCloudClientIp()
!= other.getCloudClientIp()) return false;
if (getKeyId()
!= other.getKeyId()) return false;
if (getUid()
!= other.getUid()) 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) + ACCOUNT_TOKEN_FIELD_NUMBER;
hash = (53 * hash) + getAccountToken().hashCode();
hash = (37 * hash) + ACCOUNT_UID_FIELD_NUMBER;
hash = (53 * hash) + getAccountUid().hashCode();
hash = (37 * hash) + PSN_REGION_FIELD_NUMBER;
hash = (53 * hash) + getPsnRegion().hashCode();
hash = (37 * hash) + ONLINE_ID_FIELD_NUMBER;
hash = (53 * hash) + getOnlineId().hashCode();
hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER;
hash = (53 * hash) + getChannelId();
hash = (37 * hash) + ACCOUNT_EXT_FIELD_NUMBER;
hash = (53 * hash) + getAccountExt().hashCode();
hash = (37 * hash) + COUNTRY_CODE_FIELD_NUMBER;
hash = (53 * hash) + getCountryCode().hashCode();
hash = (37 * hash) + CLIENT_SEED_FIELD_NUMBER;
hash = (53 * hash) + getClientSeed().hashCode();
hash = (37 * hash) + IS_GUEST_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsGuest());
hash = (37 * hash) + BIRTHDAY_FIELD_NUMBER;
hash = (53 * hash) + getBirthday().hashCode();
hash = (37 * hash) + SUB_CHANNEL_ID_FIELD_NUMBER;
hash = (53 * hash) + getSubChannelId();
hash = (37 * hash) + PLATFORM_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getPlatformType();
hash = (37 * hash) + CLIENT_IP_STR_FIELD_NUMBER;
hash = (53 * hash) + getClientIpStr().hashCode();
hash = (37 * hash) + PSN_ID_FIELD_NUMBER;
hash = (53 * hash) + getPsnId().hashCode();
hash = (37 * hash) + ACCOUNT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getAccountType();
hash = (37 * hash) + UNK2700_NOJPEHIBDJH_FIELD_NUMBER;
hash = (53 * hash) + getUnk2700NOJPEHIBDJH();
hash = (37 * hash) + CLOUD_CLIENT_IP_FIELD_NUMBER;
hash = (53 * hash) + getCloudClientIp();
hash = (37 * hash) + KEY_ID_FIELD_NUMBER;
hash = (53 * hash) + getKeyId();
hash = (37 * hash) + UID_FIELD_NUMBER;
hash = (53 * hash) + getUid();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq 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.GetPlayerTokenReqOuterClass.GetPlayerTokenReq parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq 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.GetPlayerTokenReqOuterClass.GetPlayerTokenReq parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq 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.GetPlayerTokenReqOuterClass.GetPlayerTokenReq parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq 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.GetPlayerTokenReqOuterClass.GetPlayerTokenReq parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq 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.GetPlayerTokenReqOuterClass.GetPlayerTokenReq 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: 172 * EnetChannelId: 0 * EnetIsReliable: false * IsAllowClient: true ** * Protobuf type {@code GetPlayerTokenReq} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
string account_token = 10;
* @return The accountToken.
*/
public java.lang.String getAccountToken() {
java.lang.Object ref = accountToken_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accountToken_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string account_token = 10;
* @return The bytes for accountToken.
*/
public com.google.protobuf.ByteString
getAccountTokenBytes() {
java.lang.Object ref = accountToken_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string account_token = 10;
* @param value The accountToken to set.
* @return This builder for chaining.
*/
public Builder setAccountToken(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
accountToken_ = value;
onChanged();
return this;
}
/**
* string account_token = 10;
* @return This builder for chaining.
*/
public Builder clearAccountToken() {
accountToken_ = getDefaultInstance().getAccountToken();
onChanged();
return this;
}
/**
* string account_token = 10;
* @param value The bytes for accountToken to set.
* @return This builder for chaining.
*/
public Builder setAccountTokenBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
accountToken_ = value;
onChanged();
return this;
}
private java.lang.Object accountUid_ = "";
/**
* string account_uid = 11;
* @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 = 11;
* @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 = 11;
* @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 = 11;
* @return This builder for chaining.
*/
public Builder clearAccountUid() {
accountUid_ = getDefaultInstance().getAccountUid();
onChanged();
return this;
}
/**
* string account_uid = 11;
* @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 psnRegion_ = "";
/**
* string psn_region = 4;
* @return The psnRegion.
*/
public java.lang.String getPsnRegion() {
java.lang.Object ref = psnRegion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
psnRegion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string psn_region = 4;
* @return The bytes for psnRegion.
*/
public com.google.protobuf.ByteString
getPsnRegionBytes() {
java.lang.Object ref = psnRegion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
psnRegion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string psn_region = 4;
* @param value The psnRegion to set.
* @return This builder for chaining.
*/
public Builder setPsnRegion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
psnRegion_ = value;
onChanged();
return this;
}
/**
* string psn_region = 4;
* @return This builder for chaining.
*/
public Builder clearPsnRegion() {
psnRegion_ = getDefaultInstance().getPsnRegion();
onChanged();
return this;
}
/**
* string psn_region = 4;
* @param value The bytes for psnRegion to set.
* @return This builder for chaining.
*/
public Builder setPsnRegionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
psnRegion_ = value;
onChanged();
return this;
}
private java.lang.Object onlineId_ = "";
/**
* string online_id = 7;
* @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;
}
}
/**
* string online_id = 7;
* @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;
}
}
/**
* string online_id = 7;
* @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;
}
/**
* string online_id = 7;
* @return This builder for chaining.
*/
public Builder clearOnlineId() {
onlineId_ = getDefaultInstance().getOnlineId();
onChanged();
return this;
}
/**
* string online_id = 7;
* @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 channelId_ ;
/**
* uint32 channel_id = 15;
* @return The channelId.
*/
@java.lang.Override
public int getChannelId() {
return channelId_;
}
/**
* uint32 channel_id = 15;
* @param value The channelId to set.
* @return This builder for chaining.
*/
public Builder setChannelId(int value) {
channelId_ = value;
onChanged();
return this;
}
/**
* uint32 channel_id = 15;
* @return This builder for chaining.
*/
public Builder clearChannelId() {
channelId_ = 0;
onChanged();
return this;
}
private java.lang.Object accountExt_ = "";
/**
* string account_ext = 9;
* @return The accountExt.
*/
public java.lang.String getAccountExt() {
java.lang.Object ref = accountExt_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accountExt_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string account_ext = 9;
* @return The bytes for accountExt.
*/
public com.google.protobuf.ByteString
getAccountExtBytes() {
java.lang.Object ref = accountExt_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountExt_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string account_ext = 9;
* @param value The accountExt to set.
* @return This builder for chaining.
*/
public Builder setAccountExt(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
accountExt_ = value;
onChanged();
return this;
}
/**
* string account_ext = 9;
* @return This builder for chaining.
*/
public Builder clearAccountExt() {
accountExt_ = getDefaultInstance().getAccountExt();
onChanged();
return this;
}
/**
* string account_ext = 9;
* @param value The bytes for accountExt to set.
* @return This builder for chaining.
*/
public Builder setAccountExtBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
accountExt_ = value;
onChanged();
return this;
}
private java.lang.Object countryCode_ = "";
/**
* string country_code = 5;
* @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 = 5;
* @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 = 5;
* @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 = 5;
* @return This builder for chaining.
*/
public Builder clearCountryCode() {
countryCode_ = getDefaultInstance().getCountryCode();
onChanged();
return this;
}
/**
* string country_code = 5;
* @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 java.lang.Object clientSeed_ = "";
/**
* string client_seed = 760;
* @return The clientSeed.
*/
public java.lang.String getClientSeed() {
java.lang.Object ref = clientSeed_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
clientSeed_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string client_seed = 760;
* @return The bytes for clientSeed.
*/
public com.google.protobuf.ByteString
getClientSeedBytes() {
java.lang.Object ref = clientSeed_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientSeed_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string client_seed = 760;
* @param value The clientSeed to set.
* @return This builder for chaining.
*/
public Builder setClientSeed(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
clientSeed_ = value;
onChanged();
return this;
}
/**
* string client_seed = 760;
* @return This builder for chaining.
*/
public Builder clearClientSeed() {
clientSeed_ = getDefaultInstance().getClientSeed();
onChanged();
return this;
}
/**
* string client_seed = 760;
* @param value The bytes for clientSeed to set.
* @return This builder for chaining.
*/
public Builder setClientSeedBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
clientSeed_ = value;
onChanged();
return this;
}
private boolean isGuest_ ;
/**
* bool is_guest = 6;
* @return The isGuest.
*/
@java.lang.Override
public boolean getIsGuest() {
return isGuest_;
}
/**
* bool is_guest = 6;
* @param value The isGuest to set.
* @return This builder for chaining.
*/
public Builder setIsGuest(boolean value) {
isGuest_ = value;
onChanged();
return this;
}
/**
* bool is_guest = 6;
* @return This builder for chaining.
*/
public Builder clearIsGuest() {
isGuest_ = false;
onChanged();
return this;
}
private java.lang.Object birthday_ = "";
/**
* string birthday = 1718;
* @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 = 1718;
* @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 = 1718;
* @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 = 1718;
* @return This builder for chaining.
*/
public Builder clearBirthday() {
birthday_ = getDefaultInstance().getBirthday();
onChanged();
return this;
}
/**
* string birthday = 1718;
* @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 subChannelId_ ;
/**
* uint32 sub_channel_id = 8;
* @return The subChannelId.
*/
@java.lang.Override
public int getSubChannelId() {
return subChannelId_;
}
/**
* uint32 sub_channel_id = 8;
* @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 = 8;
* @return This builder for chaining.
*/
public Builder clearSubChannelId() {
subChannelId_ = 0;
onChanged();
return this;
}
private int platformType_ ;
/**
* uint32 platform_type = 12;
* @return The platformType.
*/
@java.lang.Override
public int getPlatformType() {
return platformType_;
}
/**
* uint32 platform_type = 12;
* @param value The platformType to set.
* @return This builder for chaining.
*/
public Builder setPlatformType(int value) {
platformType_ = value;
onChanged();
return this;
}
/**
* uint32 platform_type = 12;
* @return This builder for chaining.
*/
public Builder clearPlatformType() {
platformType_ = 0;
onChanged();
return this;
}
private java.lang.Object clientIpStr_ = "";
/**
* string client_ip_str = 3;
* @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 = 3;
* @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 = 3;
* @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 = 3;
* @return This builder for chaining.
*/
public Builder clearClientIpStr() {
clientIpStr_ = getDefaultInstance().getClientIpStr();
onChanged();
return this;
}
/**
* string client_ip_str = 3;
* @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 psnId_ = "";
/**
* string psn_id = 13;
* @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 = 13;
* @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 = 13;
* @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 = 13;
* @return This builder for chaining.
*/
public Builder clearPsnId() {
psnId_ = getDefaultInstance().getPsnId();
onChanged();
return this;
}
/**
* string psn_id = 13;
* @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 int accountType_ ;
/**
* uint32 account_type = 1;
* @return The accountType.
*/
@java.lang.Override
public int getAccountType() {
return accountType_;
}
/**
* uint32 account_type = 1;
* @param value The accountType to set.
* @return This builder for chaining.
*/
public Builder setAccountType(int value) {
accountType_ = value;
onChanged();
return this;
}
/**
* uint32 account_type = 1;
* @return This builder for chaining.
*/
public Builder clearAccountType() {
accountType_ = 0;
onChanged();
return this;
}
private int unk2700NOJPEHIBDJH_ ;
/**
* uint32 Unk2700_NOJPEHIBDJH = 995;
* @return The unk2700NOJPEHIBDJH.
*/
@java.lang.Override
public int getUnk2700NOJPEHIBDJH() {
return unk2700NOJPEHIBDJH_;
}
/**
* uint32 Unk2700_NOJPEHIBDJH = 995;
* @param value The unk2700NOJPEHIBDJH to set.
* @return This builder for chaining.
*/
public Builder setUnk2700NOJPEHIBDJH(int value) {
unk2700NOJPEHIBDJH_ = value;
onChanged();
return this;
}
/**
* uint32 Unk2700_NOJPEHIBDJH = 995;
* @return This builder for chaining.
*/
public Builder clearUnk2700NOJPEHIBDJH() {
unk2700NOJPEHIBDJH_ = 0;
onChanged();
return this;
}
private int cloudClientIp_ ;
/**
* uint32 cloud_client_ip = 14;
* @return The cloudClientIp.
*/
@java.lang.Override
public int getCloudClientIp() {
return cloudClientIp_;
}
/**
* uint32 cloud_client_ip = 14;
* @param value The cloudClientIp to set.
* @return This builder for chaining.
*/
public Builder setCloudClientIp(int value) {
cloudClientIp_ = value;
onChanged();
return this;
}
/**
* uint32 cloud_client_ip = 14;
* @return This builder for chaining.
*/
public Builder clearCloudClientIp() {
cloudClientIp_ = 0;
onChanged();
return this;
}
private int keyId_ ;
/**
* uint32 key_id = 1787;
* @return The keyId.
*/
@java.lang.Override
public int getKeyId() {
return keyId_;
}
/**
* uint32 key_id = 1787;
* @param value The keyId to set.
* @return This builder for chaining.
*/
public Builder setKeyId(int value) {
keyId_ = value;
onChanged();
return this;
}
/**
* uint32 key_id = 1787;
* @return This builder for chaining.
*/
public Builder clearKeyId() {
keyId_ = 0;
onChanged();
return this;
}
private int uid_ ;
/**
* uint32 uid = 2;
* @return The uid.
*/
@java.lang.Override
public int getUid() {
return uid_;
}
/**
* uint32 uid = 2;
* @param value The uid to set.
* @return This builder for chaining.
*/
public Builder setUid(int value) {
uid_ = value;
onChanged();
return this;
}
/**
* uint32 uid = 2;
* @return This builder for chaining.
*/
public Builder clearUid() {
uid_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:GetPlayerTokenReq)
}
// @@protoc_insertion_point(class_scope:GetPlayerTokenReq)
private static final emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq();
}
public static emu.grasscutter.net.proto.GetPlayerTokenReqOuterClass.GetPlayerTokenReq getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser