Package com.heroiclabs.nakama.api
Interface AuthenticateDeviceRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthenticateDeviceRequest
,AuthenticateDeviceRequest.Builder
public interface AuthenticateDeviceRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe device account details.The device 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 device 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 device account details.
.nakama.api.AccountDevice account = 1;
- Returns:
- Whether the account field is set.
-
getAccount
AccountDevice getAccount()The device account details.
.nakama.api.AccountDevice account = 1;
- Returns:
- The account.
-
getAccountOrBuilder
AccountDeviceOrBuilder getAccountOrBuilder()The device account details.
.nakama.api.AccountDevice 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.
-