public final class Account extends com.google.protobuf.GeneratedMessage implements AccountOrBuilder
A user with additional account details. Always the current user.Protobuf type
nakama.api.Account
Modifier and Type | Class and Description |
---|---|
static class |
Account.Builder
A user with additional account details.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
CUSTOM_ID_FIELD_NUMBER |
static int |
DEVICES_FIELD_NUMBER |
static int |
DISABLE_TIME_FIELD_NUMBER |
static int |
EMAIL_FIELD_NUMBER |
static int |
USER_FIELD_NUMBER |
static int |
VERIFY_TIME_FIELD_NUMBER |
static int |
WALLET_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCustomId()
The custom id in the user's account.
|
com.google.protobuf.ByteString |
getCustomIdBytes()
The custom id in the user's account.
|
static Account |
getDefaultInstance() |
Account |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
AccountDevice |
getDevices(int index)
The devices which belong to the user's account.
|
int |
getDevicesCount()
The devices which belong to the user's account.
|
java.util.List<AccountDevice> |
getDevicesList()
The devices which belong to the user's account.
|
AccountDeviceOrBuilder |
getDevicesOrBuilder(int index)
The devices which belong to the user's account.
|
java.util.List<? extends AccountDeviceOrBuilder> |
getDevicesOrBuilderList()
The devices which belong to the user's account.
|
com.google.protobuf.Timestamp |
getDisableTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned.
|
com.google.protobuf.TimestampOrBuilder |
getDisableTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned.
|
java.lang.String |
getEmail()
The email address of the user.
|
com.google.protobuf.ByteString |
getEmailBytes()
The email address of the user.
|
com.google.protobuf.Parser<Account> |
getParserForType() |
int |
getSerializedSize() |
User |
getUser()
The user object.
|
UserOrBuilder |
getUserOrBuilder()
The user object.
|
com.google.protobuf.Timestamp |
getVerifyTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified.
|
com.google.protobuf.TimestampOrBuilder |
getVerifyTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified.
|
java.lang.String |
getWallet()
The user's wallet data.
|
com.google.protobuf.ByteString |
getWalletBytes()
The user's wallet data.
|
boolean |
hasDisableTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned.
|
int |
hashCode() |
boolean |
hasUser()
The user object.
|
boolean |
hasVerifyTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Account.Builder |
newBuilder() |
static Account.Builder |
newBuilder(Account prototype) |
Account.Builder |
newBuilderForType() |
protected Account.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static Account |
parseDelimitedFrom(java.io.InputStream input) |
static Account |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Account |
parseFrom(byte[] data) |
static Account |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Account |
parseFrom(java.nio.ByteBuffer data) |
static Account |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Account |
parseFrom(com.google.protobuf.ByteString data) |
static Account |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Account |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Account |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Account |
parseFrom(java.io.InputStream input) |
static Account |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Account> |
parser() |
Account.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int USER_FIELD_NUMBER
public static final int WALLET_FIELD_NUMBER
public static final int EMAIL_FIELD_NUMBER
public static final int DEVICES_FIELD_NUMBER
public static final int CUSTOM_ID_FIELD_NUMBER
public static final int VERIFY_TIME_FIELD_NUMBER
public static final int DISABLE_TIME_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public boolean hasUser()
The user object.
.nakama.api.User user = 1 [json_name = "user"];
hasUser
in interface AccountOrBuilder
public User getUser()
The user object.
.nakama.api.User user = 1 [json_name = "user"];
getUser
in interface AccountOrBuilder
public UserOrBuilder getUserOrBuilder()
The user object.
.nakama.api.User user = 1 [json_name = "user"];
getUserOrBuilder
in interface AccountOrBuilder
public java.lang.String getWallet()
The user's wallet data.
string wallet = 2 [json_name = "wallet"];
getWallet
in interface AccountOrBuilder
public com.google.protobuf.ByteString getWalletBytes()
The user's wallet data.
string wallet = 2 [json_name = "wallet"];
getWalletBytes
in interface AccountOrBuilder
public java.lang.String getEmail()
The email address of the user.
string email = 3 [json_name = "email"];
getEmail
in interface AccountOrBuilder
public com.google.protobuf.ByteString getEmailBytes()
The email address of the user.
string email = 3 [json_name = "email"];
getEmailBytes
in interface AccountOrBuilder
public java.util.List<AccountDevice> getDevicesList()
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
getDevicesList
in interface AccountOrBuilder
public java.util.List<? extends AccountDeviceOrBuilder> getDevicesOrBuilderList()
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
getDevicesOrBuilderList
in interface AccountOrBuilder
public int getDevicesCount()
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
getDevicesCount
in interface AccountOrBuilder
public AccountDevice getDevices(int index)
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
getDevices
in interface AccountOrBuilder
public AccountDeviceOrBuilder getDevicesOrBuilder(int index)
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
getDevicesOrBuilder
in interface AccountOrBuilder
public java.lang.String getCustomId()
The custom id in the user's account.
string custom_id = 5 [json_name = "customId"];
getCustomId
in interface AccountOrBuilder
public com.google.protobuf.ByteString getCustomIdBytes()
The custom id in the user's account.
string custom_id = 5 [json_name = "customId"];
getCustomIdBytes
in interface AccountOrBuilder
public boolean hasVerifyTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified.
.google.protobuf.Timestamp verify_time = 6 [json_name = "verifyTime"];
hasVerifyTime
in interface AccountOrBuilder
public com.google.protobuf.Timestamp getVerifyTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified.
.google.protobuf.Timestamp verify_time = 6 [json_name = "verifyTime"];
getVerifyTime
in interface AccountOrBuilder
public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified.
.google.protobuf.Timestamp verify_time = 6 [json_name = "verifyTime"];
getVerifyTimeOrBuilder
in interface AccountOrBuilder
public boolean hasDisableTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned.
.google.protobuf.Timestamp disable_time = 7 [json_name = "disableTime"];
hasDisableTime
in interface AccountOrBuilder
public com.google.protobuf.Timestamp getDisableTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned.
.google.protobuf.Timestamp disable_time = 7 [json_name = "disableTime"];
getDisableTime
in interface AccountOrBuilder
public com.google.protobuf.TimestampOrBuilder getDisableTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned.
.google.protobuf.Timestamp disable_time = 7 [json_name = "disableTime"];
getDisableTimeOrBuilder
in interface AccountOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessage
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Account parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Account parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Account parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Account parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Account parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Account parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Account parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Account parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Account parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Account parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Account parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Account parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Account.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Account.Builder newBuilder()
public static Account.Builder newBuilder(Account prototype)
public Account.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Account.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.AbstractMessage
public static Account getDefaultInstance()
public static com.google.protobuf.Parser<Account> parser()
public com.google.protobuf.Parser<Account> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public Account getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder