public enum CampaignTrialTrafficSplitType extends Enum<CampaignTrialTrafficSplitType>
Java class for CampaignTrialTrafficSplitType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CampaignTrialTrafficSplitType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="RANDOM_QUERY"/>
<enumeration value="COOKIE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
COOKIE
The traffic is split using cookies to keep users in the same arm (base or trial)
of the experiment.
|
RANDOM_QUERY
The traffic is split using a coin toss for each query when running on the search
network.
|
UNKNOWN
Invalid type.
|
| Modifier and Type | Method and Description |
|---|---|
static CampaignTrialTrafficSplitType |
fromValue(String v) |
String |
value() |
static CampaignTrialTrafficSplitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CampaignTrialTrafficSplitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CampaignTrialTrafficSplitType UNKNOWN
public static final CampaignTrialTrafficSplitType RANDOM_QUERY
public static final CampaignTrialTrafficSplitType COOKIE
public static CampaignTrialTrafficSplitType[] values()
for (CampaignTrialTrafficSplitType c : CampaignTrialTrafficSplitType.values()) System.out.println(c);
public static CampaignTrialTrafficSplitType 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 String value()
public static CampaignTrialTrafficSplitType fromValue(String v)
Copyright © 2023. All rights reserved.