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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.GeneratedMessageprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static IdentifyRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IdentifyRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IdentifyRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IdentifyRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IdentifyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IdentifyRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IdentifyRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static IdentifyRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static IdentifyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static IdentifyRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static IdentifyRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static IdentifyRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic IdentifyRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static IdentifyRequest.Builder newBuilder()
public static IdentifyRequest.Builder newBuilder(IdentifyRequest prototype)
public IdentifyRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected IdentifyRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static IdentifyRequest getDefaultInstance()
public static com.google.protobuf.Parser<IdentifyRequest> parser()
public com.google.protobuf.Parser<IdentifyRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic IdentifyRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder