public enum UserExclusionDuration extends Enum<UserExclusionDuration> implements com.google.protobuf.ProtocolMessageEnum
Enumerates options for how long an exclusion will last if a user matches the `userExclusionCriteria`.Protobuf enum
google.analytics.data.v1alpha.UserExclusionDuration| Enum Constant and Description |
|---|
UNRECOGNIZED |
USER_EXCLUSION_DURATION_UNSPECIFIED
Unspecified exclusion duration.
|
USER_EXCLUSION_PERMANENT
Permanently exclude users from the segment if the user ever meets the
`userExclusionCriteria` condition.
|
USER_EXCLUSION_TEMPORARY
Temporarily exclude users from the segment during periods when the
user meets the `userExclusionCriteria` condition.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
USER_EXCLUSION_DURATION_UNSPECIFIED_VALUE
Unspecified exclusion duration.
|
static int |
USER_EXCLUSION_PERMANENT_VALUE
Permanently exclude users from the segment if the user ever meets the
`userExclusionCriteria` condition.
|
static int |
USER_EXCLUSION_TEMPORARY_VALUE
Temporarily exclude users from the segment during periods when the
user meets the `userExclusionCriteria` condition.
|
| Modifier and Type | Method and Description |
|---|---|
static UserExclusionDuration |
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<UserExclusionDuration> |
internalGetValueMap() |
static UserExclusionDuration |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UserExclusionDuration |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UserExclusionDuration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserExclusionDuration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserExclusionDuration USER_EXCLUSION_DURATION_UNSPECIFIED
Unspecified exclusion duration. Do not specify.
USER_EXCLUSION_DURATION_UNSPECIFIED = 0;public static final UserExclusionDuration USER_EXCLUSION_TEMPORARY
Temporarily exclude users from the segment during periods when the user meets the `userExclusionCriteria` condition.
USER_EXCLUSION_TEMPORARY = 1;public static final UserExclusionDuration USER_EXCLUSION_PERMANENT
Permanently exclude users from the segment if the user ever meets the `userExclusionCriteria` condition.
USER_EXCLUSION_PERMANENT = 2;public static final UserExclusionDuration UNRECOGNIZED
public static final int USER_EXCLUSION_DURATION_UNSPECIFIED_VALUE
Unspecified exclusion duration. Do not specify.
USER_EXCLUSION_DURATION_UNSPECIFIED = 0;public static final int USER_EXCLUSION_TEMPORARY_VALUE
Temporarily exclude users from the segment during periods when the user meets the `userExclusionCriteria` condition.
USER_EXCLUSION_TEMPORARY = 1;public static final int USER_EXCLUSION_PERMANENT_VALUE
Permanently exclude users from the segment if the user ever meets the `userExclusionCriteria` condition.
USER_EXCLUSION_PERMANENT = 2;public static UserExclusionDuration[] values()
for (UserExclusionDuration c : UserExclusionDuration.values()) System.out.println(c);
public static UserExclusionDuration 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 UserExclusionDuration valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UserExclusionDuration forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UserExclusionDuration> 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 UserExclusionDuration valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.