public static final class AuthenticateFacebookInstantGameRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<AuthenticateFacebookInstantGameRequest.Builder> implements AuthenticateFacebookInstantGameRequestOrBuilder
Authenticate against the server with Facebook Instant Game token.Protobuf type
nakama.api.AuthenticateFacebookInstantGameRequest
Modifier and Type | Method and Description |
---|---|
AuthenticateFacebookInstantGameRequest |
build() |
AuthenticateFacebookInstantGameRequest |
buildPartial() |
AuthenticateFacebookInstantGameRequest.Builder |
clear() |
AuthenticateFacebookInstantGameRequest.Builder |
clearAccount()
The Facebook Instant Game account details.
|
AuthenticateFacebookInstantGameRequest.Builder |
clearCreate()
Register the account if the user does not already exist.
|
AuthenticateFacebookInstantGameRequest.Builder |
clearUsername()
Set the username on the account at register.
|
AccountFacebookInstantGame |
getAccount()
The Facebook Instant Game account details.
|
AccountFacebookInstantGame.Builder |
getAccountBuilder()
The Facebook Instant Game account details.
|
AccountFacebookInstantGameOrBuilder |
getAccountOrBuilder()
The Facebook Instant Game 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.
|
AuthenticateFacebookInstantGameRequest |
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 Facebook Instant Game account details.
|
boolean |
hasCreate()
Register the account if the user does not already exist.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AuthenticateFacebookInstantGameRequest.Builder |
mergeAccount(AccountFacebookInstantGame value)
The Facebook Instant Game account details.
|
AuthenticateFacebookInstantGameRequest.Builder |
mergeCreate(com.google.protobuf.BoolValue value)
Register the account if the user does not already exist.
|
AuthenticateFacebookInstantGameRequest.Builder |
mergeFrom(AuthenticateFacebookInstantGameRequest other) |
AuthenticateFacebookInstantGameRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AuthenticateFacebookInstantGameRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AuthenticateFacebookInstantGameRequest.Builder |
setAccount(AccountFacebookInstantGame.Builder builderForValue)
The Facebook Instant Game account details.
|
AuthenticateFacebookInstantGameRequest.Builder |
setAccount(AccountFacebookInstantGame value)
The Facebook Instant Game account details.
|
AuthenticateFacebookInstantGameRequest.Builder |
setCreate(com.google.protobuf.BoolValue.Builder builderForValue)
Register the account if the user does not already exist.
|
AuthenticateFacebookInstantGameRequest.Builder |
setCreate(com.google.protobuf.BoolValue value)
Register the account if the user does not already exist.
|
AuthenticateFacebookInstantGameRequest.Builder |
setUsername(java.lang.String value)
Set the username on the account at register.
|
AuthenticateFacebookInstantGameRequest.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<AuthenticateFacebookInstantGameRequest.Builder>
public AuthenticateFacebookInstantGameRequest.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<AuthenticateFacebookInstantGameRequest.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<AuthenticateFacebookInstantGameRequest.Builder>
public AuthenticateFacebookInstantGameRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AuthenticateFacebookInstantGameRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AuthenticateFacebookInstantGameRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AuthenticateFacebookInstantGameRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AuthenticateFacebookInstantGameRequest.Builder>
public AuthenticateFacebookInstantGameRequest.Builder mergeFrom(AuthenticateFacebookInstantGameRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<AuthenticateFacebookInstantGameRequest.Builder>
public AuthenticateFacebookInstantGameRequest.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<AuthenticateFacebookInstantGameRequest.Builder>
java.io.IOException
public boolean hasAccount()
The Facebook Instant Game account details.
.nakama.api.AccountFacebookInstantGame account = 1 [json_name = "account"];
hasAccount
in interface AuthenticateFacebookInstantGameRequestOrBuilder
public AccountFacebookInstantGame getAccount()
The Facebook Instant Game account details.
.nakama.api.AccountFacebookInstantGame account = 1 [json_name = "account"];
getAccount
in interface AuthenticateFacebookInstantGameRequestOrBuilder
public AuthenticateFacebookInstantGameRequest.Builder setAccount(AccountFacebookInstantGame value)
The Facebook Instant Game account details.
.nakama.api.AccountFacebookInstantGame account = 1 [json_name = "account"];
public AuthenticateFacebookInstantGameRequest.Builder setAccount(AccountFacebookInstantGame.Builder builderForValue)
The Facebook Instant Game account details.
.nakama.api.AccountFacebookInstantGame account = 1 [json_name = "account"];
public AuthenticateFacebookInstantGameRequest.Builder mergeAccount(AccountFacebookInstantGame value)
The Facebook Instant Game account details.
.nakama.api.AccountFacebookInstantGame account = 1 [json_name = "account"];
public AuthenticateFacebookInstantGameRequest.Builder clearAccount()
The Facebook Instant Game account details.
.nakama.api.AccountFacebookInstantGame account = 1 [json_name = "account"];
public AccountFacebookInstantGame.Builder getAccountBuilder()
The Facebook Instant Game account details.
.nakama.api.AccountFacebookInstantGame account = 1 [json_name = "account"];
public AccountFacebookInstantGameOrBuilder getAccountOrBuilder()
The Facebook Instant Game account details.
.nakama.api.AccountFacebookInstantGame account = 1 [json_name = "account"];
getAccountOrBuilder
in interface AuthenticateFacebookInstantGameRequestOrBuilder
public boolean hasCreate()
Register the account if the user does not already exist.
.google.protobuf.BoolValue create = 2 [json_name = "create"];
hasCreate
in interface AuthenticateFacebookInstantGameRequestOrBuilder
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 AuthenticateFacebookInstantGameRequestOrBuilder
public AuthenticateFacebookInstantGameRequest.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 AuthenticateFacebookInstantGameRequest.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 AuthenticateFacebookInstantGameRequest.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 AuthenticateFacebookInstantGameRequest.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 AuthenticateFacebookInstantGameRequestOrBuilder
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 AuthenticateFacebookInstantGameRequestOrBuilder
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 AuthenticateFacebookInstantGameRequestOrBuilder
public AuthenticateFacebookInstantGameRequest.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 AuthenticateFacebookInstantGameRequest.Builder clearUsername()
Set the username on the account at register. Must be unique.
string username = 3 [json_name = "username"];
public AuthenticateFacebookInstantGameRequest.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.