public static final class IdentifyRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<IdentifyRequest.Builder> implements IdentifyRequestOrBuilder
Enrich/replace the current session with a new ID.Protobuf type
satori.api.IdentifyRequest| Modifier and Type | Method and Description |
|---|---|
IdentifyRequest |
build() |
IdentifyRequest |
buildPartial() |
IdentifyRequest.Builder |
clear() |
IdentifyRequest.Builder |
clearCustom() |
IdentifyRequest.Builder |
clearDefault() |
IdentifyRequest.Builder |
clearId()
Identity ID to enrich the current session and return a new session.
|
boolean |
containsCustom(java.lang.String key)
Optional custom properties to update with this call.
|
boolean |
containsDefault(java.lang.String key)
Optional default properties to update with this call.
|
java.util.Map<java.lang.String,java.lang.String> |
getCustom()
Deprecated.
|
int |
getCustomCount()
Optional custom properties to update with this call.
|
java.util.Map<java.lang.String,java.lang.String> |
getCustomMap()
Optional custom properties to update with this call.
|
java.lang.String |
getCustomOrDefault(java.lang.String key,
java.lang.String defaultValue)
Optional custom properties to update with this call.
|
java.lang.String |
getCustomOrThrow(java.lang.String key)
Optional custom properties to update with this call.
|
java.util.Map<java.lang.String,java.lang.String> |
getDefault()
Deprecated.
|
int |
getDefaultCount()
Optional default properties to update with this call.
|
IdentifyRequest |
getDefaultInstanceForType() |
java.util.Map<java.lang.String,java.lang.String> |
getDefaultMap()
Optional default properties to update with this call.
|
java.lang.String |
getDefaultOrDefault(java.lang.String key,
java.lang.String defaultValue)
Optional default properties to update with this call.
|
java.lang.String |
getDefaultOrThrow(java.lang.String key)
Optional default properties to update with this call.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getId()
Identity ID to enrich the current session and return a new session.
|
com.google.protobuf.ByteString |
getIdBytes()
Identity ID to enrich the current session and return a new session.
|
java.util.Map<java.lang.String,java.lang.String> |
getMutableCustom()
Deprecated.
|
java.util.Map<java.lang.String,java.lang.String> |
getMutableDefault()
Deprecated.
|
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() |
IdentifyRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
IdentifyRequest.Builder |
mergeFrom(IdentifyRequest other) |
IdentifyRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
IdentifyRequest.Builder |
putAllCustom(java.util.Map<java.lang.String,java.lang.String> values)
Optional custom properties to update with this call.
|
IdentifyRequest.Builder |
putAllDefault(java.util.Map<java.lang.String,java.lang.String> values)
Optional default properties to update with this call.
|
IdentifyRequest.Builder |
putCustom(java.lang.String key,
java.lang.String value)
Optional custom properties to update with this call.
|
IdentifyRequest.Builder |
putDefault(java.lang.String key,
java.lang.String value)
Optional default properties to update with this call.
|
IdentifyRequest.Builder |
removeCustom(java.lang.String key)
Optional custom properties to update with this call.
|
IdentifyRequest.Builder |
removeDefault(java.lang.String key)
Optional default properties to update with this call.
|
IdentifyRequest.Builder |
setId(java.lang.String value)
Identity ID to enrich the current session and return a new session.
|
IdentifyRequest.Builder |
setIdBytes(com.google.protobuf.ByteString value)
Identity ID to enrich the current session and return a new session.
|
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<IdentifyRequest.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<IdentifyRequest.Builder>protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<IdentifyRequest.Builder>public IdentifyRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<IdentifyRequest.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<IdentifyRequest.Builder>public IdentifyRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic IdentifyRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic IdentifyRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic IdentifyRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IdentifyRequest.Builder>public IdentifyRequest.Builder mergeFrom(IdentifyRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<IdentifyRequest.Builder>public IdentifyRequest.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<IdentifyRequest.Builder>java.io.IOExceptionpublic java.lang.String getId()
Identity ID to enrich the current session and return a new session. Old session will no longer be usable.
string id = 1 [json_name = "id"];getId in interface IdentifyRequestOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
Identity ID to enrich the current session and return a new session. Old session will no longer be usable.
string id = 1 [json_name = "id"];getIdBytes in interface IdentifyRequestOrBuilderpublic IdentifyRequest.Builder setId(java.lang.String value)
Identity ID to enrich the current session and return a new session. Old session will no longer be usable.
string id = 1 [json_name = "id"];value - The id to set.public IdentifyRequest.Builder clearId()
Identity ID to enrich the current session and return a new session. Old session will no longer be usable.
string id = 1 [json_name = "id"];public IdentifyRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
Identity ID to enrich the current session and return a new session. Old session will no longer be usable.
string id = 1 [json_name = "id"];value - The bytes for id to set.public int getDefaultCount()
IdentifyRequestOrBuilderOptional default properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> default = 2 [json_name = "default"];getDefaultCount in interface IdentifyRequestOrBuilderpublic boolean containsDefault(java.lang.String key)
Optional default properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> default = 2 [json_name = "default"];containsDefault in interface IdentifyRequestOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getDefault()
getDefaultMap() instead.getDefault in interface IdentifyRequestOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getDefaultMap()
Optional default properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> default = 2 [json_name = "default"];getDefaultMap in interface IdentifyRequestOrBuilderpublic java.lang.String getDefaultOrDefault(java.lang.String key,
java.lang.String defaultValue)
Optional default properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> default = 2 [json_name = "default"];getDefaultOrDefault in interface IdentifyRequestOrBuilderpublic java.lang.String getDefaultOrThrow(java.lang.String key)
Optional default properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> default = 2 [json_name = "default"];getDefaultOrThrow in interface IdentifyRequestOrBuilderpublic IdentifyRequest.Builder clearDefault()
public IdentifyRequest.Builder removeDefault(java.lang.String key)
Optional default properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> default = 2 [json_name = "default"];@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableDefault()
public IdentifyRequest.Builder putDefault(java.lang.String key, java.lang.String value)
Optional default properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> default = 2 [json_name = "default"];public IdentifyRequest.Builder putAllDefault(java.util.Map<java.lang.String,java.lang.String> values)
Optional default properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> default = 2 [json_name = "default"];public int getCustomCount()
IdentifyRequestOrBuilderOptional custom properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> custom = 3 [json_name = "custom"];getCustomCount in interface IdentifyRequestOrBuilderpublic boolean containsCustom(java.lang.String key)
Optional custom properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> custom = 3 [json_name = "custom"];containsCustom in interface IdentifyRequestOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getCustom()
getCustomMap() instead.getCustom in interface IdentifyRequestOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getCustomMap()
Optional custom properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> custom = 3 [json_name = "custom"];getCustomMap in interface IdentifyRequestOrBuilderpublic java.lang.String getCustomOrDefault(java.lang.String key,
java.lang.String defaultValue)
Optional custom properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> custom = 3 [json_name = "custom"];getCustomOrDefault in interface IdentifyRequestOrBuilderpublic java.lang.String getCustomOrThrow(java.lang.String key)
Optional custom properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> custom = 3 [json_name = "custom"];getCustomOrThrow in interface IdentifyRequestOrBuilderpublic IdentifyRequest.Builder clearCustom()
public IdentifyRequest.Builder removeCustom(java.lang.String key)
Optional custom properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> custom = 3 [json_name = "custom"];@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableCustom()
public IdentifyRequest.Builder putCustom(java.lang.String key, java.lang.String value)
Optional custom properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> custom = 3 [json_name = "custom"];public IdentifyRequest.Builder putAllCustom(java.util.Map<java.lang.String,java.lang.String> values)
Optional custom properties to update with this call. If not set, properties are left as they are on the server.
map<string, string> custom = 3 [json_name = "custom"];