public final class IdentifyRequest extends com.google.protobuf.GeneratedMessage implements IdentifyRequestOrBuilder
Enrich/replace the current session with a new ID.Protobuf type
satori.api.IdentifyRequest
Modifier and Type | Class and Description |
---|---|
static class |
IdentifyRequest.Builder
Enrich/replace the current session with a new ID.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
CUSTOM_FIELD_NUMBER |
static int |
DEFAULT_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
equals(java.lang.Object obj) |
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.
|
static IdentifyRequest |
getDefaultInstance() |
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() |
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.
|
com.google.protobuf.Parser<IdentifyRequest> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static IdentifyRequest.Builder |
newBuilder() |
static IdentifyRequest.Builder |
newBuilder(IdentifyRequest prototype) |
IdentifyRequest.Builder |
newBuilderForType() |
protected IdentifyRequest.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static IdentifyRequest |
parseDelimitedFrom(java.io.InputStream input) |
static IdentifyRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IdentifyRequest |
parseFrom(byte[] data) |
static IdentifyRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IdentifyRequest |
parseFrom(java.nio.ByteBuffer data) |
static IdentifyRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IdentifyRequest |
parseFrom(com.google.protobuf.ByteString data) |
static IdentifyRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IdentifyRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static IdentifyRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IdentifyRequest |
parseFrom(java.io.InputStream input) |
static IdentifyRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<IdentifyRequest> |
parser() |
IdentifyRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int ID_FIELD_NUMBER
public static final int DEFAULT_FIELD_NUMBER
public static final int CUSTOM_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection
in class com.google.protobuf.GeneratedMessage
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
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 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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessage
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static IdentifyRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static IdentifyRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static IdentifyRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static IdentifyRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static IdentifyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static IdentifyRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static IdentifyRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static IdentifyRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static IdentifyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static IdentifyRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static IdentifyRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static IdentifyRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public IdentifyRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static IdentifyRequest.Builder newBuilder()
public static IdentifyRequest.Builder newBuilder(IdentifyRequest prototype)
public IdentifyRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected IdentifyRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.AbstractMessage
public static IdentifyRequest getDefaultInstance()
public static com.google.protobuf.Parser<IdentifyRequest> parser()
public com.google.protobuf.Parser<IdentifyRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public IdentifyRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder