public static final class AuthenticateCustomRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<AuthenticateCustomRequest.Builder> implements AuthenticateCustomRequestOrBuilder
Authenticate against the server with a custom ID.Protobuf type
nakama.api.AuthenticateCustomRequest| Modifier and Type | Method and Description |
|---|---|
AuthenticateCustomRequest |
build() |
AuthenticateCustomRequest |
buildPartial() |
AuthenticateCustomRequest.Builder |
clear() |
AuthenticateCustomRequest.Builder |
clearAccount()
The custom account details.
|
AuthenticateCustomRequest.Builder |
clearCreate()
Register the account if the user does not already exist.
|
AuthenticateCustomRequest.Builder |
clearUsername()
Set the username on the account at register.
|
AccountCustom |
getAccount()
The custom account details.
|
AccountCustom.Builder |
getAccountBuilder()
The custom account details.
|
AccountCustomOrBuilder |
getAccountOrBuilder()
The custom 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.
|
AuthenticateCustomRequest |
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 custom account details.
|
boolean |
hasCreate()
Register the account if the user does not already exist.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AuthenticateCustomRequest.Builder |
mergeAccount(AccountCustom value)
The custom account details.
|
AuthenticateCustomRequest.Builder |
mergeCreate(com.google.protobuf.BoolValue value)
Register the account if the user does not already exist.
|
AuthenticateCustomRequest.Builder |
mergeFrom(AuthenticateCustomRequest other) |
AuthenticateCustomRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AuthenticateCustomRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AuthenticateCustomRequest.Builder |
setAccount(AccountCustom.Builder builderForValue)
The custom account details.
|
AuthenticateCustomRequest.Builder |
setAccount(AccountCustom value)
The custom account details.
|
AuthenticateCustomRequest.Builder |
setCreate(com.google.protobuf.BoolValue.Builder builderForValue)
Register the account if the user does not already exist.
|
AuthenticateCustomRequest.Builder |
setCreate(com.google.protobuf.BoolValue value)
Register the account if the user does not already exist.
|
AuthenticateCustomRequest.Builder |
setUsername(java.lang.String value)
Set the username on the account at register.
|
AuthenticateCustomRequest.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<AuthenticateCustomRequest.Builder>public AuthenticateCustomRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AuthenticateCustomRequest.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<AuthenticateCustomRequest.Builder>public AuthenticateCustomRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AuthenticateCustomRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AuthenticateCustomRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AuthenticateCustomRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthenticateCustomRequest.Builder>public AuthenticateCustomRequest.Builder mergeFrom(AuthenticateCustomRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AuthenticateCustomRequest.Builder>public AuthenticateCustomRequest.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<AuthenticateCustomRequest.Builder>java.io.IOExceptionpublic boolean hasAccount()
The custom account details.
.nakama.api.AccountCustom account = 1 [json_name = "account"];hasAccount in interface AuthenticateCustomRequestOrBuilderpublic AccountCustom getAccount()
The custom account details.
.nakama.api.AccountCustom account = 1 [json_name = "account"];getAccount in interface AuthenticateCustomRequestOrBuilderpublic AuthenticateCustomRequest.Builder setAccount(AccountCustom value)
The custom account details.
.nakama.api.AccountCustom account = 1 [json_name = "account"];public AuthenticateCustomRequest.Builder setAccount(AccountCustom.Builder builderForValue)
The custom account details.
.nakama.api.AccountCustom account = 1 [json_name = "account"];public AuthenticateCustomRequest.Builder mergeAccount(AccountCustom value)
The custom account details.
.nakama.api.AccountCustom account = 1 [json_name = "account"];public AuthenticateCustomRequest.Builder clearAccount()
The custom account details.
.nakama.api.AccountCustom account = 1 [json_name = "account"];public AccountCustom.Builder getAccountBuilder()
The custom account details.
.nakama.api.AccountCustom account = 1 [json_name = "account"];public AccountCustomOrBuilder getAccountOrBuilder()
The custom account details.
.nakama.api.AccountCustom account = 1 [json_name = "account"];getAccountOrBuilder in interface AuthenticateCustomRequestOrBuilderpublic boolean hasCreate()
Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2 [json_name = "create"];hasCreate in interface AuthenticateCustomRequestOrBuilderpublic 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 AuthenticateCustomRequestOrBuilderpublic AuthenticateCustomRequest.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 AuthenticateCustomRequest.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 AuthenticateCustomRequest.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 AuthenticateCustomRequest.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 AuthenticateCustomRequestOrBuilderpublic java.lang.String getUsername()
Set the username on the account at register. Must be unique.
string username = 3 [json_name = "username"];getUsername in interface AuthenticateCustomRequestOrBuilderpublic 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 AuthenticateCustomRequestOrBuilderpublic AuthenticateCustomRequest.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 AuthenticateCustomRequest.Builder clearUsername()
Set the username on the account at register. Must be unique.
string username = 3 [json_name = "username"];public AuthenticateCustomRequest.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.