public static final class AccountCustom.Builder extends com.google.protobuf.GeneratedMessage.Builder<AccountCustom.Builder> implements AccountCustomOrBuilder
Send a custom ID to the server. Used with authenticate/link/unlink.Protobuf type
nakama.api.AccountCustom| Modifier and Type | Method and Description |
|---|---|
AccountCustom |
build() |
AccountCustom |
buildPartial() |
AccountCustom.Builder |
clear() |
AccountCustom.Builder |
clearId()
A custom identifier.
|
AccountCustom.Builder |
clearVars() |
boolean |
containsVars(java.lang.String key)
Extra information that will be bundled in the session token.
|
AccountCustom |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getId()
A custom identifier.
|
com.google.protobuf.ByteString |
getIdBytes()
A custom identifier.
|
java.util.Map<java.lang.String,java.lang.String> |
getMutableVars()
Deprecated.
|
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() |
AccountCustom.Builder |
mergeFrom(AccountCustom other) |
AccountCustom.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AccountCustom.Builder |
mergeFrom(com.google.protobuf.Message other) |
AccountCustom.Builder |
putAllVars(java.util.Map<java.lang.String,java.lang.String> values)
Extra information that will be bundled in the session token.
|
AccountCustom.Builder |
putVars(java.lang.String key,
java.lang.String value)
Extra information that will be bundled in the session token.
|
AccountCustom.Builder |
removeVars(java.lang.String key)
Extra information that will be bundled in the session token.
|
AccountCustom.Builder |
setId(java.lang.String value)
A custom identifier.
|
AccountCustom.Builder |
setIdBytes(com.google.protobuf.ByteString value)
A custom identifier.
|
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<AccountCustom.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<AccountCustom.Builder>protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AccountCustom.Builder>public AccountCustom.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AccountCustom.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<AccountCustom.Builder>public AccountCustom getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AccountCustom build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AccountCustom buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AccountCustom.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AccountCustom.Builder>public AccountCustom.Builder mergeFrom(AccountCustom other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AccountCustom.Builder>public AccountCustom.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<AccountCustom.Builder>java.io.IOExceptionpublic java.lang.String getId()
A custom identifier.
string id = 1 [json_name = "id"];getId in interface AccountCustomOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
A custom identifier.
string id = 1 [json_name = "id"];getIdBytes in interface AccountCustomOrBuilderpublic AccountCustom.Builder setId(java.lang.String value)
A custom identifier.
string id = 1 [json_name = "id"];value - The id to set.public AccountCustom.Builder clearId()
A custom identifier.
string id = 1 [json_name = "id"];public AccountCustom.Builder setIdBytes(com.google.protobuf.ByteString value)
A custom identifier.
string id = 1 [json_name = "id"];value - The bytes for id to set.public int getVarsCount()
AccountCustomOrBuilderExtra information that will be bundled in the session token.
map<string, string> vars = 2 [json_name = "vars"];getVarsCount in interface AccountCustomOrBuilderpublic 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 AccountCustomOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getVars()
getVarsMap() instead.getVars in interface AccountCustomOrBuilderpublic 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 AccountCustomOrBuilderpublic 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 AccountCustomOrBuilderpublic 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 AccountCustomOrBuilderpublic AccountCustom.Builder clearVars()
public AccountCustom.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 AccountCustom.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 AccountCustom.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"];