Package com.heroiclabs.nakama.api
Interface AccountDeviceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AccountDevice
,AccountDevice.Builder
public interface AccountDeviceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsVars
(String key) Extra information that will be bundled in the session token.getId()
A device identifier.com.google.protobuf.ByteString
A device identifier.getVars()
Deprecated.int
Extra information that will be bundled in the session token.Extra information that will be bundled in the session token.getVarsOrDefault
(String key, String defaultValue) Extra information that will be bundled in the session token.getVarsOrThrow
(String key) Extra information that will be bundled in the session token.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
-
getId
String getId()A device identifier. Should be obtained by a platform-specific device API.
string id = 1;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()A device identifier. Should be obtained by a platform-specific device API.
string id = 1;
- Returns:
- The bytes for id.
-
getVarsCount
int getVarsCount()Extra information that will be bundled in the session token.
map<string, string> vars = 2;
-
containsVars
Extra information that will be bundled in the session token.
map<string, string> vars = 2;
-
getVars
Deprecated.UsegetVarsMap()
instead. -
getVarsMap
Extra information that will be bundled in the session token.
map<string, string> vars = 2;
-
getVarsOrDefault
Extra information that will be bundled in the session token.
map<string, string> vars = 2;
-
getVarsOrThrow
Extra information that will be bundled in the session token.
map<string, string> vars = 2;
-