public static final class AccountGameCenter.Builder extends com.google.protobuf.GeneratedMessage.Builder<AccountGameCenter.Builder> implements AccountGameCenterOrBuilder
Send Apple's Game Center account credentials to the server. Used with authenticate/link/unlink.Protobuf type
nakama.api.AccountGameCenter| Modifier and Type | Method and Description |
|---|---|
AccountGameCenter |
build() |
AccountGameCenter |
buildPartial() |
AccountGameCenter.Builder |
clear() |
AccountGameCenter.Builder |
clearBundleId()
Bundle ID (generated by GameCenter).
|
AccountGameCenter.Builder |
clearPlayerId()
Player ID (generated by GameCenter).
|
AccountGameCenter.Builder |
clearPublicKeyUrl()
The URL for the public encryption key.
|
AccountGameCenter.Builder |
clearSalt()
A random "NSString" used to compute the hash and keep it randomized.
|
AccountGameCenter.Builder |
clearSignature()
The verification signature data generated.
|
AccountGameCenter.Builder |
clearTimestampSeconds()
Time since UNIX epoch when the signature was created.
|
AccountGameCenter.Builder |
clearVars() |
boolean |
containsVars(java.lang.String key)
Extra information that will be bundled in the session token.
|
java.lang.String |
getBundleId()
Bundle ID (generated by GameCenter).
|
com.google.protobuf.ByteString |
getBundleIdBytes()
Bundle ID (generated by GameCenter).
|
AccountGameCenter |
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 |
getPlayerId()
Player ID (generated by GameCenter).
|
com.google.protobuf.ByteString |
getPlayerIdBytes()
Player ID (generated by GameCenter).
|
java.lang.String |
getPublicKeyUrl()
The URL for the public encryption key.
|
com.google.protobuf.ByteString |
getPublicKeyUrlBytes()
The URL for the public encryption key.
|
java.lang.String |
getSalt()
A random "NSString" used to compute the hash and keep it randomized.
|
com.google.protobuf.ByteString |
getSaltBytes()
A random "NSString" used to compute the hash and keep it randomized.
|
java.lang.String |
getSignature()
The verification signature data generated.
|
com.google.protobuf.ByteString |
getSignatureBytes()
The verification signature data generated.
|
long |
getTimestampSeconds()
Time since UNIX epoch when the signature was created.
|
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() |
AccountGameCenter.Builder |
mergeFrom(AccountGameCenter other) |
AccountGameCenter.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AccountGameCenter.Builder |
mergeFrom(com.google.protobuf.Message other) |
AccountGameCenter.Builder |
putAllVars(java.util.Map<java.lang.String,java.lang.String> values)
Extra information that will be bundled in the session token.
|
AccountGameCenter.Builder |
putVars(java.lang.String key,
java.lang.String value)
Extra information that will be bundled in the session token.
|
AccountGameCenter.Builder |
removeVars(java.lang.String key)
Extra information that will be bundled in the session token.
|
AccountGameCenter.Builder |
setBundleId(java.lang.String value)
Bundle ID (generated by GameCenter).
|
AccountGameCenter.Builder |
setBundleIdBytes(com.google.protobuf.ByteString value)
Bundle ID (generated by GameCenter).
|
AccountGameCenter.Builder |
setPlayerId(java.lang.String value)
Player ID (generated by GameCenter).
|
AccountGameCenter.Builder |
setPlayerIdBytes(com.google.protobuf.ByteString value)
Player ID (generated by GameCenter).
|
AccountGameCenter.Builder |
setPublicKeyUrl(java.lang.String value)
The URL for the public encryption key.
|
AccountGameCenter.Builder |
setPublicKeyUrlBytes(com.google.protobuf.ByteString value)
The URL for the public encryption key.
|
AccountGameCenter.Builder |
setSalt(java.lang.String value)
A random "NSString" used to compute the hash and keep it randomized.
|
AccountGameCenter.Builder |
setSaltBytes(com.google.protobuf.ByteString value)
A random "NSString" used to compute the hash and keep it randomized.
|
AccountGameCenter.Builder |
setSignature(java.lang.String value)
The verification signature data generated.
|
AccountGameCenter.Builder |
setSignatureBytes(com.google.protobuf.ByteString value)
The verification signature data generated.
|
AccountGameCenter.Builder |
setTimestampSeconds(long value)
Time since UNIX epoch when the signature was created.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<AccountGameCenter.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<AccountGameCenter.Builder>protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AccountGameCenter.Builder>public AccountGameCenter.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AccountGameCenter.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AccountGameCenter.Builder>public AccountGameCenter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AccountGameCenter build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AccountGameCenter buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AccountGameCenter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AccountGameCenter.Builder>public AccountGameCenter.Builder mergeFrom(AccountGameCenter other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AccountGameCenter.Builder>public AccountGameCenter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AccountGameCenter.Builder>java.io.IOExceptionpublic java.lang.String getPlayerId()
Player ID (generated by GameCenter).
string player_id = 1 [json_name = "playerId"];getPlayerId in interface AccountGameCenterOrBuilderpublic com.google.protobuf.ByteString getPlayerIdBytes()
Player ID (generated by GameCenter).
string player_id = 1 [json_name = "playerId"];getPlayerIdBytes in interface AccountGameCenterOrBuilderpublic AccountGameCenter.Builder setPlayerId(java.lang.String value)
Player ID (generated by GameCenter).
string player_id = 1 [json_name = "playerId"];value - The playerId to set.public AccountGameCenter.Builder clearPlayerId()
Player ID (generated by GameCenter).
string player_id = 1 [json_name = "playerId"];public AccountGameCenter.Builder setPlayerIdBytes(com.google.protobuf.ByteString value)
Player ID (generated by GameCenter).
string player_id = 1 [json_name = "playerId"];value - The bytes for playerId to set.public java.lang.String getBundleId()
Bundle ID (generated by GameCenter).
string bundle_id = 2 [json_name = "bundleId"];getBundleId in interface AccountGameCenterOrBuilderpublic com.google.protobuf.ByteString getBundleIdBytes()
Bundle ID (generated by GameCenter).
string bundle_id = 2 [json_name = "bundleId"];getBundleIdBytes in interface AccountGameCenterOrBuilderpublic AccountGameCenter.Builder setBundleId(java.lang.String value)
Bundle ID (generated by GameCenter).
string bundle_id = 2 [json_name = "bundleId"];value - The bundleId to set.public AccountGameCenter.Builder clearBundleId()
Bundle ID (generated by GameCenter).
string bundle_id = 2 [json_name = "bundleId"];public AccountGameCenter.Builder setBundleIdBytes(com.google.protobuf.ByteString value)
Bundle ID (generated by GameCenter).
string bundle_id = 2 [json_name = "bundleId"];value - The bytes for bundleId to set.public long getTimestampSeconds()
Time since UNIX epoch when the signature was created.
int64 timestamp_seconds = 3 [json_name = "timestampSeconds"];getTimestampSeconds in interface AccountGameCenterOrBuilderpublic AccountGameCenter.Builder setTimestampSeconds(long value)
Time since UNIX epoch when the signature was created.
int64 timestamp_seconds = 3 [json_name = "timestampSeconds"];value - The timestampSeconds to set.public AccountGameCenter.Builder clearTimestampSeconds()
Time since UNIX epoch when the signature was created.
int64 timestamp_seconds = 3 [json_name = "timestampSeconds"];public java.lang.String getSalt()
A random "NSString" used to compute the hash and keep it randomized.
string salt = 4 [json_name = "salt"];getSalt in interface AccountGameCenterOrBuilderpublic com.google.protobuf.ByteString getSaltBytes()
A random "NSString" used to compute the hash and keep it randomized.
string salt = 4 [json_name = "salt"];getSaltBytes in interface AccountGameCenterOrBuilderpublic AccountGameCenter.Builder setSalt(java.lang.String value)
A random "NSString" used to compute the hash and keep it randomized.
string salt = 4 [json_name = "salt"];value - The salt to set.public AccountGameCenter.Builder clearSalt()
A random "NSString" used to compute the hash and keep it randomized.
string salt = 4 [json_name = "salt"];public AccountGameCenter.Builder setSaltBytes(com.google.protobuf.ByteString value)
A random "NSString" used to compute the hash and keep it randomized.
string salt = 4 [json_name = "salt"];value - The bytes for salt to set.public java.lang.String getSignature()
The verification signature data generated.
string signature = 5 [json_name = "signature"];getSignature in interface AccountGameCenterOrBuilderpublic com.google.protobuf.ByteString getSignatureBytes()
The verification signature data generated.
string signature = 5 [json_name = "signature"];getSignatureBytes in interface AccountGameCenterOrBuilderpublic AccountGameCenter.Builder setSignature(java.lang.String value)
The verification signature data generated.
string signature = 5 [json_name = "signature"];value - The signature to set.public AccountGameCenter.Builder clearSignature()
The verification signature data generated.
string signature = 5 [json_name = "signature"];public AccountGameCenter.Builder setSignatureBytes(com.google.protobuf.ByteString value)
The verification signature data generated.
string signature = 5 [json_name = "signature"];value - The bytes for signature to set.public java.lang.String getPublicKeyUrl()
The URL for the public encryption key.
string public_key_url = 6 [json_name = "publicKeyUrl"];getPublicKeyUrl in interface AccountGameCenterOrBuilderpublic com.google.protobuf.ByteString getPublicKeyUrlBytes()
The URL for the public encryption key.
string public_key_url = 6 [json_name = "publicKeyUrl"];getPublicKeyUrlBytes in interface AccountGameCenterOrBuilderpublic AccountGameCenter.Builder setPublicKeyUrl(java.lang.String value)
The URL for the public encryption key.
string public_key_url = 6 [json_name = "publicKeyUrl"];value - The publicKeyUrl to set.public AccountGameCenter.Builder clearPublicKeyUrl()
The URL for the public encryption key.
string public_key_url = 6 [json_name = "publicKeyUrl"];public AccountGameCenter.Builder setPublicKeyUrlBytes(com.google.protobuf.ByteString value)
The URL for the public encryption key.
string public_key_url = 6 [json_name = "publicKeyUrl"];value - The bytes for publicKeyUrl to set.public int getVarsCount()
AccountGameCenterOrBuilderExtra information that will be bundled in the session token.
map<string, string> vars = 7 [json_name = "vars"];getVarsCount in interface AccountGameCenterOrBuilderpublic boolean containsVars(java.lang.String key)
Extra information that will be bundled in the session token.
map<string, string> vars = 7 [json_name = "vars"];containsVars in interface AccountGameCenterOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getVars()
getVarsMap() instead.getVars in interface AccountGameCenterOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getVarsMap()
Extra information that will be bundled in the session token.
map<string, string> vars = 7 [json_name = "vars"];getVarsMap in interface AccountGameCenterOrBuilderpublic 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 = 7 [json_name = "vars"];getVarsOrDefault in interface AccountGameCenterOrBuilderpublic java.lang.String getVarsOrThrow(java.lang.String key)
Extra information that will be bundled in the session token.
map<string, string> vars = 7 [json_name = "vars"];getVarsOrThrow in interface AccountGameCenterOrBuilderpublic AccountGameCenter.Builder clearVars()
public AccountGameCenter.Builder removeVars(java.lang.String key)
Extra information that will be bundled in the session token.
map<string, string> vars = 7 [json_name = "vars"];@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableVars()
public AccountGameCenter.Builder putVars(java.lang.String key, java.lang.String value)
Extra information that will be bundled in the session token.
map<string, string> vars = 7 [json_name = "vars"];public AccountGameCenter.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 = 7 [json_name = "vars"];