Package com.heroiclabs.nakama.api
Interface AuthenticateCustomRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthenticateCustomRequest
,AuthenticateCustomRequest.Builder
public interface AuthenticateCustomRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe custom account details.The custom account details.Register the account if the user does not already exist.Register the account if the user does not already exist.Set the username on the account at register.com.google.protobuf.ByteString
Set the username on the account at register.boolean
The custom account details.boolean
Register the account if the user does not already exist.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAccount
boolean hasAccount()The custom account details.
.nakama.api.AccountCustom account = 1;
- Returns:
- Whether the account field is set.
-
getAccount
AccountCustom getAccount()The custom account details.
.nakama.api.AccountCustom account = 1;
- Returns:
- The account.
-
getAccountOrBuilder
AccountCustomOrBuilder getAccountOrBuilder()The custom account details.
.nakama.api.AccountCustom account = 1;
-
hasCreate
boolean hasCreate()Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2;
- Returns:
- Whether the create field is set.
-
getCreate
BoolValue getCreate()Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2;
- Returns:
- The create.
-
getCreateOrBuilder
BoolValueOrBuilder getCreateOrBuilder()Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2;
-
getUsername
String getUsername()Set the username on the account at register. Must be unique.
string username = 3;
- Returns:
- The username.
-
getUsernameBytes
com.google.protobuf.ByteString getUsernameBytes()Set the username on the account at register. Must be unique.
string username = 3;
- Returns:
- The bytes for username.
-