public static final class AccountGoogle.Builder extends com.google.protobuf.GeneratedMessage.Builder<AccountGoogle.Builder> implements AccountGoogleOrBuilder
Send a Google token to the server. Used with authenticate/link/unlink.Protobuf type
nakama.api.AccountGoogle| Modifier and Type | Method and Description |
|---|---|
AccountGoogle |
build() |
AccountGoogle |
buildPartial() |
AccountGoogle.Builder |
clear() |
AccountGoogle.Builder |
clearToken()
The OAuth token received from Google to access their profile API.
|
AccountGoogle.Builder |
clearVars() |
boolean |
containsVars(java.lang.String key)
Extra information that will be bundled in the session token.
|
AccountGoogle |
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 |
getToken()
The OAuth token received from Google to access their profile API.
|
com.google.protobuf.ByteString |
getTokenBytes()
The OAuth token received from Google to access their profile API.
|
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() |
AccountGoogle.Builder |
mergeFrom(AccountGoogle other) |
AccountGoogle.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AccountGoogle.Builder |
mergeFrom(com.google.protobuf.Message other) |
AccountGoogle.Builder |
putAllVars(java.util.Map<java.lang.String,java.lang.String> values)
Extra information that will be bundled in the session token.
|
AccountGoogle.Builder |
putVars(java.lang.String key,
java.lang.String value)
Extra information that will be bundled in the session token.
|
AccountGoogle.Builder |
removeVars(java.lang.String key)
Extra information that will be bundled in the session token.
|
AccountGoogle.Builder |
setToken(java.lang.String value)
The OAuth token received from Google to access their profile API.
|
AccountGoogle.Builder |
setTokenBytes(com.google.protobuf.ByteString value)
The OAuth token received from Google to access their profile API.
|
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<AccountGoogle.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<AccountGoogle.Builder>protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AccountGoogle.Builder>public AccountGoogle.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AccountGoogle.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<AccountGoogle.Builder>public AccountGoogle getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AccountGoogle build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AccountGoogle buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AccountGoogle.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AccountGoogle.Builder>public AccountGoogle.Builder mergeFrom(AccountGoogle other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AccountGoogle.Builder>public AccountGoogle.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<AccountGoogle.Builder>java.io.IOExceptionpublic java.lang.String getToken()
The OAuth token received from Google to access their profile API.
string token = 1 [json_name = "token"];getToken in interface AccountGoogleOrBuilderpublic com.google.protobuf.ByteString getTokenBytes()
The OAuth token received from Google to access their profile API.
string token = 1 [json_name = "token"];getTokenBytes in interface AccountGoogleOrBuilderpublic AccountGoogle.Builder setToken(java.lang.String value)
The OAuth token received from Google to access their profile API.
string token = 1 [json_name = "token"];value - The token to set.public AccountGoogle.Builder clearToken()
The OAuth token received from Google to access their profile API.
string token = 1 [json_name = "token"];public AccountGoogle.Builder setTokenBytes(com.google.protobuf.ByteString value)
The OAuth token received from Google to access their profile API.
string token = 1 [json_name = "token"];value - The bytes for token to set.public int getVarsCount()
AccountGoogleOrBuilderExtra information that will be bundled in the session token.
map<string, string> vars = 2 [json_name = "vars"];getVarsCount in interface AccountGoogleOrBuilderpublic 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 AccountGoogleOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getVars()
getVarsMap() instead.getVars in interface AccountGoogleOrBuilderpublic 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 AccountGoogleOrBuilderpublic 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 AccountGoogleOrBuilderpublic 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 AccountGoogleOrBuilderpublic AccountGoogle.Builder clearVars()
public AccountGoogle.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 AccountGoogle.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 AccountGoogle.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"];