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