public static final class Account.Builder extends com.google.protobuf.GeneratedMessage.Builder<Account.Builder> implements AccountOrBuilder
A user with additional account details. Always the current user.Protobuf type
nakama.api.Account
Modifier and Type | Method and Description |
---|---|
Account.Builder |
addAllDevices(java.lang.Iterable<? extends AccountDevice> values)
The devices which belong to the user's account.
|
Account.Builder |
addDevices(AccountDevice.Builder builderForValue)
The devices which belong to the user's account.
|
Account.Builder |
addDevices(AccountDevice value)
The devices which belong to the user's account.
|
Account.Builder |
addDevices(int index,
AccountDevice.Builder builderForValue)
The devices which belong to the user's account.
|
Account.Builder |
addDevices(int index,
AccountDevice value)
The devices which belong to the user's account.
|
AccountDevice.Builder |
addDevicesBuilder()
The devices which belong to the user's account.
|
AccountDevice.Builder |
addDevicesBuilder(int index)
The devices which belong to the user's account.
|
Account |
build() |
Account |
buildPartial() |
Account.Builder |
clear() |
Account.Builder |
clearCustomId()
The custom id in the user's account.
|
Account.Builder |
clearDevices()
The devices which belong to the user's account.
|
Account.Builder |
clearDisableTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned.
|
Account.Builder |
clearEmail()
The email address of the user.
|
Account.Builder |
clearUser()
The user object.
|
Account.Builder |
clearVerifyTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified.
|
Account.Builder |
clearWallet()
The user's wallet data.
|
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.
|
Account |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
AccountDevice |
getDevices(int index)
The devices which belong to the user's account.
|
AccountDevice.Builder |
getDevicesBuilder(int index)
The devices which belong to the user's account.
|
java.util.List<AccountDevice.Builder> |
getDevicesBuilderList()
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.Timestamp.Builder |
getDisableTimeBuilder()
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.
|
User |
getUser()
The user object.
|
User.Builder |
getUserBuilder()
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.Timestamp.Builder |
getVerifyTimeBuilder()
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.
|
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() |
Account.Builder |
mergeDisableTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned.
|
Account.Builder |
mergeFrom(Account other) |
Account.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Account.Builder |
mergeFrom(com.google.protobuf.Message other) |
Account.Builder |
mergeUser(User value)
The user object.
|
Account.Builder |
mergeVerifyTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified.
|
Account.Builder |
removeDevices(int index)
The devices which belong to the user's account.
|
Account.Builder |
setCustomId(java.lang.String value)
The custom id in the user's account.
|
Account.Builder |
setCustomIdBytes(com.google.protobuf.ByteString value)
The custom id in the user's account.
|
Account.Builder |
setDevices(int index,
AccountDevice.Builder builderForValue)
The devices which belong to the user's account.
|
Account.Builder |
setDevices(int index,
AccountDevice value)
The devices which belong to the user's account.
|
Account.Builder |
setDisableTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned.
|
Account.Builder |
setDisableTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned.
|
Account.Builder |
setEmail(java.lang.String value)
The email address of the user.
|
Account.Builder |
setEmailBytes(com.google.protobuf.ByteString value)
The email address of the user.
|
Account.Builder |
setUser(User.Builder builderForValue)
The user object.
|
Account.Builder |
setUser(User value)
The user object.
|
Account.Builder |
setVerifyTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified.
|
Account.Builder |
setVerifyTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified.
|
Account.Builder |
setWallet(java.lang.String value)
The user's wallet data.
|
Account.Builder |
setWalletBytes(com.google.protobuf.ByteString value)
The user's wallet data.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Account.Builder>
public Account.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Account.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Account.Builder>
public Account getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Account build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Account buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Account.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Account.Builder>
public Account.Builder mergeFrom(Account other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Account.Builder>
public Account.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Account.Builder>
java.io.IOException
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 Account.Builder setUser(User value)
The user object.
.nakama.api.User user = 1 [json_name = "user"];
public Account.Builder setUser(User.Builder builderForValue)
The user object.
.nakama.api.User user = 1 [json_name = "user"];
public Account.Builder mergeUser(User value)
The user object.
.nakama.api.User user = 1 [json_name = "user"];
public Account.Builder clearUser()
The user object.
.nakama.api.User user = 1 [json_name = "user"];
public User.Builder getUserBuilder()
The user object.
.nakama.api.User user = 1 [json_name = "user"];
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 Account.Builder setWallet(java.lang.String value)
The user's wallet data.
string wallet = 2 [json_name = "wallet"];
value
- The wallet to set.public Account.Builder clearWallet()
The user's wallet data.
string wallet = 2 [json_name = "wallet"];
public Account.Builder setWalletBytes(com.google.protobuf.ByteString value)
The user's wallet data.
string wallet = 2 [json_name = "wallet"];
value
- The bytes for wallet to set.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 Account.Builder setEmail(java.lang.String value)
The email address of the user.
string email = 3 [json_name = "email"];
value
- The email to set.public Account.Builder clearEmail()
The email address of the user.
string email = 3 [json_name = "email"];
public Account.Builder setEmailBytes(com.google.protobuf.ByteString value)
The email address of the user.
string email = 3 [json_name = "email"];
value
- The bytes for email to set.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 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 Account.Builder setDevices(int index, AccountDevice value)
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
public Account.Builder setDevices(int index, AccountDevice.Builder builderForValue)
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
public Account.Builder addDevices(AccountDevice value)
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
public Account.Builder addDevices(int index, AccountDevice value)
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
public Account.Builder addDevices(AccountDevice.Builder builderForValue)
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
public Account.Builder addDevices(int index, AccountDevice.Builder builderForValue)
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
public Account.Builder addAllDevices(java.lang.Iterable<? extends AccountDevice> values)
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
public Account.Builder clearDevices()
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
public Account.Builder removeDevices(int index)
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
public AccountDevice.Builder getDevicesBuilder(int index)
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
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.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 AccountDevice.Builder addDevicesBuilder()
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
public AccountDevice.Builder addDevicesBuilder(int index)
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
public java.util.List<AccountDevice.Builder> getDevicesBuilderList()
The devices which belong to the user's account.
repeated .nakama.api.AccountDevice devices = 4 [json_name = "devices"];
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 Account.Builder setCustomId(java.lang.String value)
The custom id in the user's account.
string custom_id = 5 [json_name = "customId"];
value
- The customId to set.public Account.Builder clearCustomId()
The custom id in the user's account.
string custom_id = 5 [json_name = "customId"];
public Account.Builder setCustomIdBytes(com.google.protobuf.ByteString value)
The custom id in the user's account.
string custom_id = 5 [json_name = "customId"];
value
- The bytes for customId to set.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 Account.Builder setVerifyTime(com.google.protobuf.Timestamp value)
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"];
public Account.Builder setVerifyTime(com.google.protobuf.Timestamp.Builder builderForValue)
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"];
public Account.Builder mergeVerifyTime(com.google.protobuf.Timestamp value)
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"];
public Account.Builder clearVerifyTime()
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"];
public com.google.protobuf.Timestamp.Builder getVerifyTimeBuilder()
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"];
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 Account.Builder setDisableTime(com.google.protobuf.Timestamp value)
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"];
public Account.Builder setDisableTime(com.google.protobuf.Timestamp.Builder builderForValue)
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"];
public Account.Builder mergeDisableTime(com.google.protobuf.Timestamp value)
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"];
public Account.Builder clearDisableTime()
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"];
public com.google.protobuf.Timestamp.Builder getDisableTimeBuilder()
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"];
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