public class ExperimentDefinition
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
ExperimentDefinition.Builder
RecordBuilder for ExperimentDefinition instances.
|
Modifier and Type | Field and Description |
---|---|
List<BucketRange> |
bucket_ranges
Deprecated.
|
List<Integer> |
buckets
Deprecated.
|
ConditionOperator |
condition_merge_operator
Deprecated.
|
List<ConditionDefinition> |
conditions
Deprecated.
|
int |
control_id
Deprecated.
|
CharSequence |
description
Deprecated.
|
int |
diversion_id
Deprecated.
|
boolean |
domain
Deprecated.
|
Long |
end_time_msec_utc
Deprecated.
|
int |
id
Deprecated.
|
int |
layer_id
Deprecated.
|
CharSequence |
name
Deprecated.
|
List<OverrideDefinition> |
overrides
Deprecated.
|
CharSequence |
owner
Deprecated.
|
Long |
post_period_msec_utc
Deprecated.
|
Long |
pre_period_msec_utc
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Long |
start_time_msec_utc
Deprecated.
|
Constructor and Description |
---|
ExperimentDefinition()
Default constructor.
|
ExperimentDefinition(CharSequence name,
CharSequence description,
CharSequence owner,
Integer id,
Integer layer_id,
Boolean domain,
Integer control_id,
List<ConditionDefinition> conditions,
ConditionOperator condition_merge_operator,
List<OverrideDefinition> overrides,
Integer diversion_id,
List<Integer> buckets,
List<BucketRange> bucket_ranges,
Long start_time_msec_utc,
Long end_time_msec_utc,
Long pre_period_msec_utc,
Long post_period_msec_utc)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
List<BucketRange> |
getBucketRanges()
Gets the value of the 'bucket_ranges' field.
|
List<Integer> |
getBuckets()
Gets the value of the 'buckets' field.
|
static org.apache.avro.Schema |
getClassSchema() |
ConditionOperator |
getConditionMergeOperator()
Gets the value of the 'condition_merge_operator' field.
|
List<ConditionDefinition> |
getConditions()
Gets the value of the 'conditions' field.
|
Integer |
getControlId()
Gets the value of the 'control_id' field.
|
CharSequence |
getDescription()
Gets the value of the 'description' field.
|
Integer |
getDiversionId()
Gets the value of the 'diversion_id' field.
|
Boolean |
getDomain()
Gets the value of the 'domain' field.
|
Long |
getEndTimeMsecUtc()
Gets the value of the 'end_time_msec_utc' field.
|
Integer |
getId()
Gets the value of the 'id' field.
|
Integer |
getLayerId()
Gets the value of the 'layer_id' field.
|
CharSequence |
getName()
Gets the value of the 'name' field.
|
List<OverrideDefinition> |
getOverrides()
Gets the value of the 'overrides' field.
|
CharSequence |
getOwner()
Gets the value of the 'owner' field.
|
Long |
getPostPeriodMsecUtc()
Gets the value of the 'post_period_msec_utc' field.
|
Long |
getPrePeriodMsecUtc()
Gets the value of the 'pre_period_msec_utc' field.
|
org.apache.avro.Schema |
getSchema() |
Long |
getStartTimeMsecUtc()
Gets the value of the 'start_time_msec_utc' field.
|
static ExperimentDefinition.Builder |
newBuilder()
Creates a new ExperimentDefinition RecordBuilder
|
static ExperimentDefinition.Builder |
newBuilder(ExperimentDefinition.Builder other)
Creates a new ExperimentDefinition RecordBuilder by copying an existing Builder
|
static ExperimentDefinition.Builder |
newBuilder(ExperimentDefinition other)
Creates a new ExperimentDefinition RecordBuilder by copying an existing ExperimentDefinition instance
|
void |
put(int field$,
Object value$) |
void |
setBucketRanges(List<BucketRange> value)
Sets the value of the 'bucket_ranges' field.
|
void |
setBuckets(List<Integer> value)
Sets the value of the 'buckets' field.
|
void |
setConditionMergeOperator(ConditionOperator value)
Sets the value of the 'condition_merge_operator' field.
|
void |
setConditions(List<ConditionDefinition> value)
Sets the value of the 'conditions' field.
|
void |
setControlId(Integer value)
Sets the value of the 'control_id' field.
|
void |
setDescription(CharSequence value)
Sets the value of the 'description' field.
|
void |
setDiversionId(Integer value)
Sets the value of the 'diversion_id' field.
|
void |
setDomain(Boolean value)
Sets the value of the 'domain' field.
|
void |
setEndTimeMsecUtc(Long value)
Sets the value of the 'end_time_msec_utc' field.
|
void |
setId(Integer value)
Sets the value of the 'id' field.
|
void |
setLayerId(Integer value)
Sets the value of the 'layer_id' field.
|
void |
setName(CharSequence value)
Sets the value of the 'name' field.
|
void |
setOverrides(List<OverrideDefinition> value)
Sets the value of the 'overrides' field.
|
void |
setOwner(CharSequence value)
Sets the value of the 'owner' field.
|
void |
setPostPeriodMsecUtc(Long value)
Sets the value of the 'post_period_msec_utc' field.
|
void |
setPrePeriodMsecUtc(Long value)
Sets the value of the 'pre_period_msec_utc' field.
|
void |
setStartTimeMsecUtc(Long value)
Sets the value of the 'start_time_msec_utc' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence name
@Deprecated public CharSequence description
@Deprecated public CharSequence owner
@Deprecated public int id
@Deprecated public int layer_id
@Deprecated public boolean domain
@Deprecated public int control_id
@Deprecated public List<ConditionDefinition> conditions
@Deprecated public ConditionOperator condition_merge_operator
@Deprecated public List<OverrideDefinition> overrides
@Deprecated public int diversion_id
@Deprecated public List<Integer> buckets
@Deprecated public List<BucketRange> bucket_ranges
@Deprecated public Long start_time_msec_utc
@Deprecated public Long end_time_msec_utc
@Deprecated public Long pre_period_msec_utc
@Deprecated public Long post_period_msec_utc
public ExperimentDefinition()
\#newBuilder()
.public ExperimentDefinition(CharSequence name, CharSequence description, CharSequence owner, Integer id, Integer layer_id, Boolean domain, Integer control_id, List<ConditionDefinition> conditions, ConditionOperator condition_merge_operator, List<OverrideDefinition> overrides, Integer diversion_id, List<Integer> buckets, List<BucketRange> bucket_ranges, Long start_time_msec_utc, Long end_time_msec_utc, Long pre_period_msec_utc, Long post_period_msec_utc)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public CharSequence getName()
public void setName(CharSequence value)
value
- the value to set.public CharSequence getDescription()
public void setDescription(CharSequence value)
value
- the value to set.public CharSequence getOwner()
public void setOwner(CharSequence value)
value
- the value to set.public Integer getId()
public void setId(Integer value)
value
- the value to set.public Integer getLayerId()
public void setLayerId(Integer value)
value
- the value to set.public Boolean getDomain()
public void setDomain(Boolean value)
value
- the value to set.public Integer getControlId()
public void setControlId(Integer value)
value
- the value to set.public List<ConditionDefinition> getConditions()
public void setConditions(List<ConditionDefinition> value)
value
- the value to set.public ConditionOperator getConditionMergeOperator()
public void setConditionMergeOperator(ConditionOperator value)
value
- the value to set.public List<OverrideDefinition> getOverrides()
public void setOverrides(List<OverrideDefinition> value)
value
- the value to set.public Integer getDiversionId()
public void setDiversionId(Integer value)
value
- the value to set.public void setBuckets(List<Integer> value)
value
- the value to set.public List<BucketRange> getBucketRanges()
public void setBucketRanges(List<BucketRange> value)
value
- the value to set.public Long getStartTimeMsecUtc()
public void setStartTimeMsecUtc(Long value)
value
- the value to set.public Long getEndTimeMsecUtc()
public void setEndTimeMsecUtc(Long value)
value
- the value to set.public Long getPrePeriodMsecUtc()
public void setPrePeriodMsecUtc(Long value)
value
- the value to set.public Long getPostPeriodMsecUtc()
public void setPostPeriodMsecUtc(Long value)
value
- the value to set.public static ExperimentDefinition.Builder newBuilder()
public static ExperimentDefinition.Builder newBuilder(ExperimentDefinition.Builder other)
public static ExperimentDefinition.Builder newBuilder(ExperimentDefinition other)
Copyright © 2013. All rights reserved.