public static final class Experiment.Variations extends GenericJson
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Variations() |
| Modifier and Type | Method and Description |
|---|---|
Experiment.Variations |
clone() |
String |
getName()
The name of the variation.
|
String |
getStatus()
Status of the variation.
|
String |
getUrl()
The URL of the variation.
|
Double |
getWeight()
Weight that this variation should receive.
|
Boolean |
getWon()
True if the experiment has ended and this variation performed (statistically) significantly
better than the original.
|
Experiment.Variations |
set(String fieldName,
Object value) |
Experiment.Variations |
setName(String name)
The name of the variation.
|
Experiment.Variations |
setStatus(String status)
Status of the variation.
|
Experiment.Variations |
setUrl(String url)
The URL of the variation.
|
Experiment.Variations |
setWeight(Double weight)
Weight that this variation should receive.
|
Experiment.Variations |
setWon(Boolean won)
True if the experiment has ended and this variation performed (statistically) significantly
better than the original.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getName()
null for nonepublic Experiment.Variations setName(String name)
name - name or null for nonepublic String getStatus()
null for nonepublic Experiment.Variations setStatus(String status)
status - status or null for nonepublic String getUrl()
null for nonepublic Experiment.Variations setUrl(String url)
url - url or null for nonepublic Double getWeight()
null for nonepublic Experiment.Variations setWeight(Double weight)
weight - weight or null for nonepublic Boolean getWon()
null for nonepublic Experiment.Variations setWon(Boolean won)
won - won or null for nonepublic Experiment.Variations set(String fieldName, Object value)
set in class GenericJsonpublic Experiment.Variations clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.