public static final class Experiment.Variations extends GenericJson
GenericData.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 GenericJson
public Experiment.Variations clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.