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, 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<AuthenticateCustomRequest.Builder>
public AuthenticateCustomRequest.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<AuthenticateCustomRequest.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<AuthenticateCustomRequest.Builder>
public AuthenticateCustomRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AuthenticateCustomRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AuthenticateCustomRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AuthenticateCustomRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AuthenticateCustomRequest.Builder>
java.io.IOException
public boolean hasAccount()
The custom account details.
.nakama.api.AccountCustom account = 1 [json_name = "account"];
hasAccount
in interface AuthenticateCustomRequestOrBuilder
public AccountCustom getAccount()
The custom account details.
.nakama.api.AccountCustom account = 1 [json_name = "account"];
getAccount
in interface AuthenticateCustomRequestOrBuilder
public 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 AuthenticateCustomRequestOrBuilder
public boolean hasCreate()
Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2 [json_name = "create"];
hasCreate
in interface AuthenticateCustomRequestOrBuilder
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 AuthenticateCustomRequestOrBuilder
public 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 AuthenticateCustomRequestOrBuilder
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 AuthenticateCustomRequestOrBuilder
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 AuthenticateCustomRequestOrBuilder
public 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.