public static class SampleNode.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<SampleNode> implements org.apache.avro.data.RecordBuilder<SampleNode>
Modifier and Type | Method and Description |
---|---|
SampleNode |
build() |
SampleNode.Builder |
clearCount()
Clears the value of the 'count' field.
|
SampleNode.Builder |
clearSubNodes()
Clears the value of the 'subNodes' field.
|
Integer |
getCount()
Gets the value of the 'count' field.
|
List<SamplePair> |
getSubNodes()
Gets the value of the 'subNodes' field.
|
boolean |
hasCount()
Checks whether the 'count' field has been set.
|
boolean |
hasSubNodes()
Checks whether the 'subNodes' field has been set.
|
SampleNode.Builder |
setCount(int value)
Sets the value of the 'count' field.
|
SampleNode.Builder |
setSubNodes(List<SamplePair> value)
Sets the value of the 'subNodes' field.
|
public Integer getCount()
public SampleNode.Builder setCount(int value)
value
- The value of 'count'.public boolean hasCount()
public SampleNode.Builder clearCount()
public List<SamplePair> getSubNodes()
public SampleNode.Builder setSubNodes(List<SamplePair> value)
value
- The value of 'subNodes'.public boolean hasSubNodes()
public SampleNode.Builder clearSubNodes()
public SampleNode build()
build
in interface org.apache.avro.data.RecordBuilder<SampleNode>
Copyright © 2018 SPF4J. All rights reserved.