public enum SessionExclusionDuration extends Enum<SessionExclusionDuration> implements com.google.protobuf.ProtocolMessageEnum
Enumerates options for how long an exclusion will last if a session matches the `sessionExclusionCriteria`.Protobuf enum
google.analytics.data.v1alpha.SessionExclusionDuration| Enum Constant and Description |
|---|
SESSION_EXCLUSION_DURATION_UNSPECIFIED
Unspecified exclusion duration.
|
SESSION_EXCLUSION_PERMANENT
Permanently exclude sessions from the segment if the session ever meets
the `sessionExclusionCriteria` condition.
|
SESSION_EXCLUSION_TEMPORARY
Temporarily exclude sessions from the segment during periods when the
session meets the `sessionExclusionCriteria` condition.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SESSION_EXCLUSION_DURATION_UNSPECIFIED_VALUE
Unspecified exclusion duration.
|
static int |
SESSION_EXCLUSION_PERMANENT_VALUE
Permanently exclude sessions from the segment if the session ever meets
the `sessionExclusionCriteria` condition.
|
static int |
SESSION_EXCLUSION_TEMPORARY_VALUE
Temporarily exclude sessions from the segment during periods when the
session meets the `sessionExclusionCriteria` condition.
|
| Modifier and Type | Method and Description |
|---|---|
static SessionExclusionDuration |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<SessionExclusionDuration> |
internalGetValueMap() |
static SessionExclusionDuration |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SessionExclusionDuration |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SessionExclusionDuration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionExclusionDuration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionExclusionDuration SESSION_EXCLUSION_DURATION_UNSPECIFIED
Unspecified exclusion duration. Do not specify.
SESSION_EXCLUSION_DURATION_UNSPECIFIED = 0;public static final SessionExclusionDuration SESSION_EXCLUSION_TEMPORARY
Temporarily exclude sessions from the segment during periods when the session meets the `sessionExclusionCriteria` condition.
SESSION_EXCLUSION_TEMPORARY = 1;public static final SessionExclusionDuration SESSION_EXCLUSION_PERMANENT
Permanently exclude sessions from the segment if the session ever meets the `sessionExclusionCriteria` condition.
SESSION_EXCLUSION_PERMANENT = 2;public static final SessionExclusionDuration UNRECOGNIZED
public static final int SESSION_EXCLUSION_DURATION_UNSPECIFIED_VALUE
Unspecified exclusion duration. Do not specify.
SESSION_EXCLUSION_DURATION_UNSPECIFIED = 0;public static final int SESSION_EXCLUSION_TEMPORARY_VALUE
Temporarily exclude sessions from the segment during periods when the session meets the `sessionExclusionCriteria` condition.
SESSION_EXCLUSION_TEMPORARY = 1;public static final int SESSION_EXCLUSION_PERMANENT_VALUE
Permanently exclude sessions from the segment if the session ever meets the `sessionExclusionCriteria` condition.
SESSION_EXCLUSION_PERMANENT = 2;public static SessionExclusionDuration[] values()
for (SessionExclusionDuration c : SessionExclusionDuration.values()) System.out.println(c);
public static SessionExclusionDuration valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static SessionExclusionDuration valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SessionExclusionDuration forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SessionExclusionDuration> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SessionExclusionDuration valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.