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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.GeneratedMessagepublic boolean hasUser()
The user object.
.nakama.api.User user = 1 [json_name = "user"];hasUser in interface AccountOrBuilderpublic User getUser()
The user object.
.nakama.api.User user = 1 [json_name = "user"];getUser in interface AccountOrBuilderpublic UserOrBuilder getUserOrBuilder()
The user object.
.nakama.api.User user = 1 [json_name = "user"];getUserOrBuilder in interface AccountOrBuilderpublic java.lang.String getWallet()
The user's wallet data.
string wallet = 2 [json_name = "wallet"];getWallet in interface AccountOrBuilderpublic com.google.protobuf.ByteString getWalletBytes()
The user's wallet data.
string wallet = 2 [json_name = "wallet"];getWalletBytes in interface AccountOrBuilderpublic java.lang.String getEmail()
The email address of the user.
string email = 3 [json_name = "email"];getEmail in interface AccountOrBuilderpublic com.google.protobuf.ByteString getEmailBytes()
The email address of the user.
string email = 3 [json_name = "email"];getEmailBytes in interface AccountOrBuilderpublic 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 AccountOrBuilderpublic 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 AccountOrBuilderpublic int getDevicesCount()
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];getDevicesCount in interface AccountOrBuilderpublic 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 AccountOrBuilderpublic 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 AccountOrBuilderpublic java.lang.String getCustomId()
The custom id in the user's account.
string custom_id = 5 [json_name = "customId"];getCustomId in interface AccountOrBuilderpublic com.google.protobuf.ByteString getCustomIdBytes()
The custom id in the user's account.
string custom_id = 5 [json_name = "customId"];getCustomIdBytes in interface AccountOrBuilderpublic 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 AccountOrBuilderpublic 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 AccountOrBuilderpublic 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 AccountOrBuilderpublic 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 AccountOrBuilderpublic 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 AccountOrBuilderpublic 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 AccountOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Account parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Account parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Account parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Account parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Account parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Account parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Account parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Account parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Account parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Account parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Account parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Account parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Account.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Account.Builder newBuilder()
public static Account.Builder newBuilder(Account prototype)
public Account.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Account.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static Account getDefaultInstance()
public static com.google.protobuf.Parser<Account> parser()
public com.google.protobuf.Parser<Account> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Account getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder