public static final class AuthenticateDeviceRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<AuthenticateDeviceRequest.Builder> implements AuthenticateDeviceRequestOrBuilder
Authenticate against the server with a device ID.Protobuf type
nakama.api.AuthenticateDeviceRequest| Modifier and Type | Method and Description |
|---|---|
AuthenticateDeviceRequest |
build() |
AuthenticateDeviceRequest |
buildPartial() |
AuthenticateDeviceRequest.Builder |
clear() |
AuthenticateDeviceRequest.Builder |
clearAccount()
The device account details.
|
AuthenticateDeviceRequest.Builder |
clearCreate()
Register the account if the user does not already exist.
|
AuthenticateDeviceRequest.Builder |
clearUsername()
Set the username on the account at register.
|
AccountDevice |
getAccount()
The device account details.
|
AccountDevice.Builder |
getAccountBuilder()
The device account details.
|
AccountDeviceOrBuilder |
getAccountOrBuilder()
The device account details.
|
com.google.protobuf.BoolValue |
getCreate()
Register the account if the user does not already exist.
|
com.google.protobuf.BoolValue.Builder |
getCreateBuilder()
Register the account if the user does not already exist.
|
com.google.protobuf.BoolValueOrBuilder |
getCreateOrBuilder()
Register the account if the user does not already exist.
|
AuthenticateDeviceRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getUsername()
Set the username on the account at register.
|
com.google.protobuf.ByteString |
getUsernameBytes()
Set the username on the account at register.
|
boolean |
hasAccount()
The device account details.
|
boolean |
hasCreate()
Register the account if the user does not already exist.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AuthenticateDeviceRequest.Builder |
mergeAccount(AccountDevice value)
The device account details.
|
AuthenticateDeviceRequest.Builder |
mergeCreate(com.google.protobuf.BoolValue value)
Register the account if the user does not already exist.
|
AuthenticateDeviceRequest.Builder |
mergeFrom(AuthenticateDeviceRequest other) |
AuthenticateDeviceRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AuthenticateDeviceRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AuthenticateDeviceRequest.Builder |
setAccount(AccountDevice.Builder builderForValue)
The device account details.
|
AuthenticateDeviceRequest.Builder |
setAccount(AccountDevice value)
The device account details.
|
AuthenticateDeviceRequest.Builder |
setCreate(com.google.protobuf.BoolValue.Builder builderForValue)
Register the account if the user does not already exist.
|
AuthenticateDeviceRequest.Builder |
setCreate(com.google.protobuf.BoolValue value)
Register the account if the user does not already exist.
|
AuthenticateDeviceRequest.Builder |
setUsername(java.lang.String value)
Set the username on the account at register.
|
AuthenticateDeviceRequest.Builder |
setUsernameBytes(com.google.protobuf.ByteString value)
Set the username on the account at register.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AuthenticateDeviceRequest.Builder>public AuthenticateDeviceRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AuthenticateDeviceRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AuthenticateDeviceRequest.Builder>public AuthenticateDeviceRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AuthenticateDeviceRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AuthenticateDeviceRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AuthenticateDeviceRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthenticateDeviceRequest.Builder>public AuthenticateDeviceRequest.Builder mergeFrom(AuthenticateDeviceRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AuthenticateDeviceRequest.Builder>public AuthenticateDeviceRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthenticateDeviceRequest.Builder>java.io.IOExceptionpublic boolean hasAccount()
The device account details.
.nakama.api.AccountDevice account = 1 [json_name = "account"];hasAccount in interface AuthenticateDeviceRequestOrBuilderpublic AccountDevice getAccount()
The device account details.
.nakama.api.AccountDevice account = 1 [json_name = "account"];getAccount in interface AuthenticateDeviceRequestOrBuilderpublic AuthenticateDeviceRequest.Builder setAccount(AccountDevice value)
The device account details.
.nakama.api.AccountDevice account = 1 [json_name = "account"];public AuthenticateDeviceRequest.Builder setAccount(AccountDevice.Builder builderForValue)
The device account details.
.nakama.api.AccountDevice account = 1 [json_name = "account"];public AuthenticateDeviceRequest.Builder mergeAccount(AccountDevice value)
The device account details.
.nakama.api.AccountDevice account = 1 [json_name = "account"];public AuthenticateDeviceRequest.Builder clearAccount()
The device account details.
.nakama.api.AccountDevice account = 1 [json_name = "account"];public AccountDevice.Builder getAccountBuilder()
The device account details.
.nakama.api.AccountDevice account = 1 [json_name = "account"];public AccountDeviceOrBuilder getAccountOrBuilder()
The device account details.
.nakama.api.AccountDevice account = 1 [json_name = "account"];getAccountOrBuilder in interface AuthenticateDeviceRequestOrBuilderpublic boolean hasCreate()
Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2 [json_name = "create"];hasCreate in interface AuthenticateDeviceRequestOrBuilderpublic com.google.protobuf.BoolValue getCreate()
Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2 [json_name = "create"];getCreate in interface AuthenticateDeviceRequestOrBuilderpublic AuthenticateDeviceRequest.Builder setCreate(com.google.protobuf.BoolValue value)
Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2 [json_name = "create"];public AuthenticateDeviceRequest.Builder setCreate(com.google.protobuf.BoolValue.Builder builderForValue)
Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2 [json_name = "create"];public AuthenticateDeviceRequest.Builder mergeCreate(com.google.protobuf.BoolValue value)
Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2 [json_name = "create"];public AuthenticateDeviceRequest.Builder clearCreate()
Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2 [json_name = "create"];public com.google.protobuf.BoolValue.Builder getCreateBuilder()
Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2 [json_name = "create"];public com.google.protobuf.BoolValueOrBuilder getCreateOrBuilder()
Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2 [json_name = "create"];getCreateOrBuilder in interface AuthenticateDeviceRequestOrBuilderpublic java.lang.String getUsername()
Set the username on the account at register. Must be unique.
string username = 3 [json_name = "username"];getUsername in interface AuthenticateDeviceRequestOrBuilderpublic com.google.protobuf.ByteString getUsernameBytes()
Set the username on the account at register. Must be unique.
string username = 3 [json_name = "username"];getUsernameBytes in interface AuthenticateDeviceRequestOrBuilderpublic AuthenticateDeviceRequest.Builder setUsername(java.lang.String value)
Set the username on the account at register. Must be unique.
string username = 3 [json_name = "username"];value - The username to set.public AuthenticateDeviceRequest.Builder clearUsername()
Set the username on the account at register. Must be unique.
string username = 3 [json_name = "username"];public AuthenticateDeviceRequest.Builder setUsernameBytes(com.google.protobuf.ByteString value)
Set the username on the account at register. Must be unique.
string username = 3 [json_name = "username"];value - The bytes for username to set.