Package com.heroiclabs.nakama.api
Interface AccountCustomOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AccountCustom
,AccountCustom.Builder
public interface AccountCustomOrBuilder
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 custom identifier.com.google.protobuf.ByteString
A custom 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 custom identifier.
string id = 1;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()A custom identifier.
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;
-