Package com.heroiclabs.nakama.api
Interface AccountOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Account
,Account.Builder
public interface AccountOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe custom id in the user's account.com.google.protobuf.ByteString
The custom id in the user's account.getDevices
(int index) The devices which belong to the user's account.int
The devices which belong to the user's account.The devices which belong to the user's account.getDevicesOrBuilder
(int index) The devices which belong to the user's account.List<? extends AccountDeviceOrBuilder>
The devices which belong to the user's account.The UNIX time when the user's account was disabled/banned.The UNIX time when the user's account was disabled/banned.getEmail()
The email address of the user.com.google.protobuf.ByteString
The email address of the user.getUser()
The user object.The user object.The UNIX time when the user's email was verified.The UNIX time when the user's email was verified.The user's wallet data.com.google.protobuf.ByteString
The user's wallet data.boolean
The UNIX time when the user's account was disabled/banned.boolean
hasUser()
The user object.boolean
The UNIX time when the user's email was verified.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasUser
boolean hasUser()The user object.
.nakama.api.User user = 1;
- Returns:
- Whether the user field is set.
-
getUser
User getUser()The user object.
.nakama.api.User user = 1;
- Returns:
- The user.
-
getUserOrBuilder
UserOrBuilder getUserOrBuilder()The user object.
.nakama.api.User user = 1;
-
getWallet
String getWallet()The user's wallet data.
string wallet = 2;
- Returns:
- The wallet.
-
getWalletBytes
com.google.protobuf.ByteString getWalletBytes()The user's wallet data.
string wallet = 2;
- Returns:
- The bytes for wallet.
-
getEmail
String getEmail()The email address of the user.
string email = 3;
- Returns:
- The email.
-
getEmailBytes
com.google.protobuf.ByteString getEmailBytes()The email address of the user.
string email = 3;
- Returns:
- The bytes for email.
-
getDevicesList
List<AccountDevice> getDevicesList()The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4;
-
getDevices
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4;
-
getDevicesCount
int getDevicesCount()The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4;
-
getDevicesOrBuilderList
List<? extends AccountDeviceOrBuilder> getDevicesOrBuilderList()The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4;
-
getDevicesOrBuilder
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4;
-
getCustomId
String getCustomId()The custom id in the user's account.
string custom_id = 5;
- Returns:
- The customId.
-
getCustomIdBytes
com.google.protobuf.ByteString getCustomIdBytes()The custom id in the user's account.
string custom_id = 5;
- Returns:
- The bytes for customId.
-
hasVerifyTime
boolean hasVerifyTime()The UNIX time when the user's email was verified.
.google.protobuf.Timestamp verify_time = 6;
- Returns:
- Whether the verifyTime field is set.
-
getVerifyTime
Timestamp getVerifyTime()The UNIX time when the user's email was verified.
.google.protobuf.Timestamp verify_time = 6;
- Returns:
- The verifyTime.
-
getVerifyTimeOrBuilder
TimestampOrBuilder getVerifyTimeOrBuilder()The UNIX time when the user's email was verified.
.google.protobuf.Timestamp verify_time = 6;
-
hasDisableTime
boolean hasDisableTime()The UNIX time when the user's account was disabled/banned.
.google.protobuf.Timestamp disable_time = 7;
- Returns:
- Whether the disableTime field is set.
-
getDisableTime
Timestamp getDisableTime()The UNIX time when the user's account was disabled/banned.
.google.protobuf.Timestamp disable_time = 7;
- Returns:
- The disableTime.
-
getDisableTimeOrBuilder
TimestampOrBuilder getDisableTimeOrBuilder()The UNIX time when the user's account was disabled/banned.
.google.protobuf.Timestamp disable_time = 7;
-