public class ExperimentFlagDefinition
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
ExperimentFlagDefinition.Builder
RecordBuilder for ExperimentFlagDefinition instances.
|
Modifier and Type | Field and Description |
---|---|
CharSequence |
base_value
Deprecated.
|
CharSequence |
description
Deprecated.
|
FlagType |
flag_type
Deprecated.
|
List<ModifierDefinition> |
modifiers
Deprecated.
|
CharSequence |
name
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
ExperimentFlagDefinition()
Default constructor.
|
ExperimentFlagDefinition(CharSequence name,
CharSequence description,
CharSequence base_value,
FlagType flag_type,
List<ModifierDefinition> modifiers)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
CharSequence |
getBaseValue()
Gets the value of the 'base_value' field.
|
static org.apache.avro.Schema |
getClassSchema() |
CharSequence |
getDescription()
Gets the value of the 'description' field.
|
FlagType |
getFlagType()
Gets the value of the 'flag_type' field.
|
List<ModifierDefinition> |
getModifiers()
Gets the value of the 'modifiers' field.
|
CharSequence |
getName()
Gets the value of the 'name' field.
|
org.apache.avro.Schema |
getSchema() |
static ExperimentFlagDefinition.Builder |
newBuilder()
Creates a new ExperimentFlagDefinition RecordBuilder
|
static ExperimentFlagDefinition.Builder |
newBuilder(ExperimentFlagDefinition.Builder other)
Creates a new ExperimentFlagDefinition RecordBuilder by copying an existing Builder
|
static ExperimentFlagDefinition.Builder |
newBuilder(ExperimentFlagDefinition other)
Creates a new ExperimentFlagDefinition RecordBuilder by copying an existing ExperimentFlagDefinition instance
|
void |
put(int field$,
Object value$) |
void |
setBaseValue(CharSequence value)
Sets the value of the 'base_value' field.
|
void |
setDescription(CharSequence value)
Sets the value of the 'description' field.
|
void |
setFlagType(FlagType value)
Sets the value of the 'flag_type' field.
|
void |
setModifiers(List<ModifierDefinition> value)
Sets the value of the 'modifiers' field.
|
void |
setName(CharSequence value)
Sets the value of the 'name' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence name
@Deprecated public CharSequence description
@Deprecated public CharSequence base_value
@Deprecated public FlagType flag_type
@Deprecated public List<ModifierDefinition> modifiers
public ExperimentFlagDefinition()
\#newBuilder()
.public ExperimentFlagDefinition(CharSequence name, CharSequence description, CharSequence base_value, FlagType flag_type, List<ModifierDefinition> modifiers)
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 getBaseValue()
public void setBaseValue(CharSequence value)
value
- the value to set.public FlagType getFlagType()
public void setFlagType(FlagType value)
value
- the value to set.public List<ModifierDefinition> getModifiers()
public void setModifiers(List<ModifierDefinition> value)
value
- the value to set.public static ExperimentFlagDefinition.Builder newBuilder()
public static ExperimentFlagDefinition.Builder newBuilder(ExperimentFlagDefinition.Builder other)
public static ExperimentFlagDefinition.Builder newBuilder(ExperimentFlagDefinition other)
Copyright © 2013. All rights reserved.