public static final class AccountFacebookInstantGame.Builder extends com.google.protobuf.GeneratedMessage.Builder<AccountFacebookInstantGame.Builder> implements AccountFacebookInstantGameOrBuilder
Send a Facebook Instant Game token to the server. Used with authenticate/link/unlink.Protobuf type
nakama.api.AccountFacebookInstantGame
Modifier and Type | Method and Description |
---|---|
AccountFacebookInstantGame |
build() |
AccountFacebookInstantGame |
buildPartial() |
AccountFacebookInstantGame.Builder |
clear() |
AccountFacebookInstantGame.Builder |
clearSignedPlayerInfo()
The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)
|
AccountFacebookInstantGame.Builder |
clearVars() |
boolean |
containsVars(java.lang.String key)
Extra information that will be bundled in the session token.
|
AccountFacebookInstantGame |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.util.Map<java.lang.String,java.lang.String> |
getMutableVars()
Deprecated.
|
java.lang.String |
getSignedPlayerInfo()
The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)
|
com.google.protobuf.ByteString |
getSignedPlayerInfoBytes()
The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)
|
java.util.Map<java.lang.String,java.lang.String> |
getVars()
Deprecated.
|
int |
getVarsCount()
Extra information that will be bundled in the session token.
|
java.util.Map<java.lang.String,java.lang.String> |
getVarsMap()
Extra information that will be bundled in the session token.
|
java.lang.String |
getVarsOrDefault(java.lang.String key,
java.lang.String defaultValue)
Extra information that will be bundled in the session token.
|
java.lang.String |
getVarsOrThrow(java.lang.String key)
Extra information that will be bundled in the session token.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
AccountFacebookInstantGame.Builder |
mergeFrom(AccountFacebookInstantGame other) |
AccountFacebookInstantGame.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AccountFacebookInstantGame.Builder |
mergeFrom(com.google.protobuf.Message other) |
AccountFacebookInstantGame.Builder |
putAllVars(java.util.Map<java.lang.String,java.lang.String> values)
Extra information that will be bundled in the session token.
|
AccountFacebookInstantGame.Builder |
putVars(java.lang.String key,
java.lang.String value)
Extra information that will be bundled in the session token.
|
AccountFacebookInstantGame.Builder |
removeVars(java.lang.String key)
Extra information that will be bundled in the session token.
|
AccountFacebookInstantGame.Builder |
setSignedPlayerInfo(java.lang.String value)
The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)
|
AccountFacebookInstantGame.Builder |
setSignedPlayerInfoBytes(com.google.protobuf.ByteString value)
The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection
in class com.google.protobuf.GeneratedMessage.Builder<AccountFacebookInstantGame.Builder>
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection
in class com.google.protobuf.GeneratedMessage.Builder<AccountFacebookInstantGame.Builder>
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<AccountFacebookInstantGame.Builder>
public AccountFacebookInstantGame.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<AccountFacebookInstantGame.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<AccountFacebookInstantGame.Builder>
public AccountFacebookInstantGame getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AccountFacebookInstantGame build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AccountFacebookInstantGame buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AccountFacebookInstantGame.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AccountFacebookInstantGame.Builder>
public AccountFacebookInstantGame.Builder mergeFrom(AccountFacebookInstantGame other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<AccountFacebookInstantGame.Builder>
public AccountFacebookInstantGame.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<AccountFacebookInstantGame.Builder>
java.io.IOException
public java.lang.String getSignedPlayerInfo()
The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)
string signed_player_info = 1 [json_name = "signedPlayerInfo"];
getSignedPlayerInfo
in interface AccountFacebookInstantGameOrBuilder
public com.google.protobuf.ByteString getSignedPlayerInfoBytes()
The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)
string signed_player_info = 1 [json_name = "signedPlayerInfo"];
getSignedPlayerInfoBytes
in interface AccountFacebookInstantGameOrBuilder
public AccountFacebookInstantGame.Builder setSignedPlayerInfo(java.lang.String value)
The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)
string signed_player_info = 1 [json_name = "signedPlayerInfo"];
value
- The signedPlayerInfo to set.public AccountFacebookInstantGame.Builder clearSignedPlayerInfo()
The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)
string signed_player_info = 1 [json_name = "signedPlayerInfo"];
public AccountFacebookInstantGame.Builder setSignedPlayerInfoBytes(com.google.protobuf.ByteString value)
The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)
string signed_player_info = 1 [json_name = "signedPlayerInfo"];
value
- The bytes for signedPlayerInfo to set.public int getVarsCount()
AccountFacebookInstantGameOrBuilder
Extra information that will be bundled in the session token.
map<string, string> vars = 2 [json_name = "vars"];
getVarsCount
in interface AccountFacebookInstantGameOrBuilder
public boolean containsVars(java.lang.String key)
Extra information that will be bundled in the session token.
map<string, string> vars = 2 [json_name = "vars"];
containsVars
in interface AccountFacebookInstantGameOrBuilder
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getVars()
getVarsMap()
instead.getVars
in interface AccountFacebookInstantGameOrBuilder
public java.util.Map<java.lang.String,java.lang.String> getVarsMap()
Extra information that will be bundled in the session token.
map<string, string> vars = 2 [json_name = "vars"];
getVarsMap
in interface AccountFacebookInstantGameOrBuilder
public java.lang.String getVarsOrDefault(java.lang.String key, java.lang.String defaultValue)
Extra information that will be bundled in the session token.
map<string, string> vars = 2 [json_name = "vars"];
getVarsOrDefault
in interface AccountFacebookInstantGameOrBuilder
public java.lang.String getVarsOrThrow(java.lang.String key)
Extra information that will be bundled in the session token.
map<string, string> vars = 2 [json_name = "vars"];
getVarsOrThrow
in interface AccountFacebookInstantGameOrBuilder
public AccountFacebookInstantGame.Builder clearVars()
public AccountFacebookInstantGame.Builder removeVars(java.lang.String key)
Extra information that will be bundled in the session token.
map<string, string> vars = 2 [json_name = "vars"];
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableVars()
public AccountFacebookInstantGame.Builder putVars(java.lang.String key, java.lang.String value)
Extra information that will be bundled in the session token.
map<string, string> vars = 2 [json_name = "vars"];
public AccountFacebookInstantGame.Builder putAllVars(java.util.Map<java.lang.String,java.lang.String> values)
Extra information that will be bundled in the session token.
map<string, string> vars = 2 [json_name = "vars"];