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, 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<AuthenticateDeviceRequest.Builder>
public AuthenticateDeviceRequest.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<AuthenticateDeviceRequest.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<AuthenticateDeviceRequest.Builder>
public AuthenticateDeviceRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AuthenticateDeviceRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AuthenticateDeviceRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AuthenticateDeviceRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AuthenticateDeviceRequest.Builder>
java.io.IOException
public boolean hasAccount()
The device account details.
.nakama.api.AccountDevice account = 1 [json_name = "account"];
hasAccount
in interface AuthenticateDeviceRequestOrBuilder
public AccountDevice getAccount()
The device account details.
.nakama.api.AccountDevice account = 1 [json_name = "account"];
getAccount
in interface AuthenticateDeviceRequestOrBuilder
public 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 AuthenticateDeviceRequestOrBuilder
public boolean hasCreate()
Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2 [json_name = "create"];
hasCreate
in interface AuthenticateDeviceRequestOrBuilder
public 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 AuthenticateDeviceRequestOrBuilder
public 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 AuthenticateDeviceRequestOrBuilder
public java.lang.String getUsername()
Set the username on the account at register. Must be unique.
string username = 3 [json_name = "username"];
getUsername
in interface AuthenticateDeviceRequestOrBuilder
public 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 AuthenticateDeviceRequestOrBuilder
public 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.