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, 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<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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<AccountGameCenter.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<AccountGameCenter.Builder>
public AccountGameCenter getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AccountGameCenter build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AccountGameCenter buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AccountGameCenter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AccountGameCenter.Builder>
java.io.IOException
public java.lang.String getPlayerId()
Player ID (generated by GameCenter).
string player_id = 1 [json_name = "playerId"];
getPlayerId
in interface AccountGameCenterOrBuilder
public com.google.protobuf.ByteString getPlayerIdBytes()
Player ID (generated by GameCenter).
string player_id = 1 [json_name = "playerId"];
getPlayerIdBytes
in interface AccountGameCenterOrBuilder
public 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 AccountGameCenterOrBuilder
public com.google.protobuf.ByteString getBundleIdBytes()
Bundle ID (generated by GameCenter).
string bundle_id = 2 [json_name = "bundleId"];
getBundleIdBytes
in interface AccountGameCenterOrBuilder
public 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 AccountGameCenterOrBuilder
public 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 AccountGameCenterOrBuilder
public 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 AccountGameCenterOrBuilder
public 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 AccountGameCenterOrBuilder
public com.google.protobuf.ByteString getSignatureBytes()
The verification signature data generated.
string signature = 5 [json_name = "signature"];
getSignatureBytes
in interface AccountGameCenterOrBuilder
public 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 AccountGameCenterOrBuilder
public com.google.protobuf.ByteString getPublicKeyUrlBytes()
The URL for the public encryption key.
string public_key_url = 6 [json_name = "publicKeyUrl"];
getPublicKeyUrlBytes
in interface AccountGameCenterOrBuilder
public 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()
AccountGameCenterOrBuilder
Extra information that will be bundled in the session token.
map<string, string> vars = 7 [json_name = "vars"];
getVarsCount
in interface AccountGameCenterOrBuilder
public 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 AccountGameCenterOrBuilder
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 = 7 [json_name = "vars"];
getVarsMap
in interface AccountGameCenterOrBuilder
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 = 7 [json_name = "vars"];
getVarsOrDefault
in interface AccountGameCenterOrBuilder
public 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 AccountGameCenterOrBuilder
public 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"];