public static class DiversionDefinition.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<DiversionDefinition> implements org.apache.avro.data.RecordBuilder<DiversionDefinition>
Modifier and Type | Method and Description |
---|---|
DiversionDefinition |
build() |
DiversionDefinition.Builder |
clearId()
Clears the value of the 'id' field
|
DiversionDefinition.Builder |
clearName()
Clears the value of the 'name' field
|
DiversionDefinition.Builder |
clearNumBuckets()
Clears the value of the 'num_buckets' field
|
DiversionDefinition.Builder |
clearRandom()
Clears the value of the 'random' field
|
Integer |
getId()
Gets the value of the 'id' field
|
CharSequence |
getName()
Gets the value of the 'name' field
|
Integer |
getNumBuckets()
Gets the value of the 'num_buckets' field
|
Boolean |
getRandom()
Gets the value of the 'random' field
|
boolean |
hasId()
Checks whether the 'id' field has been set
|
boolean |
hasName()
Checks whether the 'name' field has been set
|
boolean |
hasNumBuckets()
Checks whether the 'num_buckets' field has been set
|
boolean |
hasRandom()
Checks whether the 'random' field has been set
|
DiversionDefinition.Builder |
setId(int value)
Sets the value of the 'id' field
|
DiversionDefinition.Builder |
setName(CharSequence value)
Sets the value of the 'name' field
|
DiversionDefinition.Builder |
setNumBuckets(int value)
Sets the value of the 'num_buckets' field
|
DiversionDefinition.Builder |
setRandom(boolean value)
Sets the value of the 'random' field
|
public Integer getId()
public DiversionDefinition.Builder setId(int value)
public boolean hasId()
public DiversionDefinition.Builder clearId()
public CharSequence getName()
public DiversionDefinition.Builder setName(CharSequence value)
public boolean hasName()
public DiversionDefinition.Builder clearName()
public Boolean getRandom()
public DiversionDefinition.Builder setRandom(boolean value)
public boolean hasRandom()
public DiversionDefinition.Builder clearRandom()
public Integer getNumBuckets()
public DiversionDefinition.Builder setNumBuckets(int value)
public boolean hasNumBuckets()
public DiversionDefinition.Builder clearNumBuckets()
public DiversionDefinition build()
build
in interface org.apache.avro.data.RecordBuilder<DiversionDefinition>
Copyright © 2013. All rights reserved.