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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<IdentifyRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<IdentifyRequest.Builder>
public IdentifyRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public IdentifyRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public IdentifyRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public IdentifyRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<IdentifyRequest.Builder>
java.io.IOException
public 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 IdentifyRequestOrBuilder
public 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 IdentifyRequestOrBuilder
public 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()
IdentifyRequestOrBuilder
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"];
getDefaultCount
in interface IdentifyRequestOrBuilder
public 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 IdentifyRequestOrBuilder
public 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 IdentifyRequestOrBuilder
public 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 IdentifyRequestOrBuilder
public 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 IdentifyRequestOrBuilder
public 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()
IdentifyRequestOrBuilder
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"];
getCustomCount
in interface IdentifyRequestOrBuilder
public 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 IdentifyRequestOrBuilder
public 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 IdentifyRequestOrBuilder
public 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 IdentifyRequestOrBuilder
public 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 IdentifyRequestOrBuilder
public 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"];