public static class SamplePair.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<SamplePair> implements org.apache.avro.data.RecordBuilder<SamplePair>
Modifier and Type | Method and Description |
---|---|
SamplePair |
build() |
SamplePair.Builder |
clearMethod()
Clears the value of the 'method' field.
|
SamplePair.Builder |
clearNode()
Clears the value of the 'node' field.
|
Method |
getMethod()
Gets the value of the 'method' field.
|
Method.Builder |
getMethodBuilder()
Gets the Builder instance for the 'method' field and creates one if it doesn't exist yet.
|
SampleNode |
getNode()
Gets the value of the 'node' field.
|
SampleNode.Builder |
getNodeBuilder()
Gets the Builder instance for the 'node' field and creates one if it doesn't exist yet.
|
boolean |
hasMethod()
Checks whether the 'method' field has been set.
|
boolean |
hasMethodBuilder()
Checks whether the 'method' field has an active Builder instance
|
boolean |
hasNode()
Checks whether the 'node' field has been set.
|
boolean |
hasNodeBuilder()
Checks whether the 'node' field has an active Builder instance
|
SamplePair.Builder |
setMethod(Method value)
Sets the value of the 'method' field.
|
SamplePair.Builder |
setMethodBuilder(Method.Builder value)
Sets the Builder instance for the 'method' field
|
SamplePair.Builder |
setNode(SampleNode value)
Sets the value of the 'node' field.
|
SamplePair.Builder |
setNodeBuilder(SampleNode.Builder value)
Sets the Builder instance for the 'node' field
|
public Method getMethod()
public SamplePair.Builder setMethod(Method value)
value
- The value of 'method'.public boolean hasMethod()
public Method.Builder getMethodBuilder()
public SamplePair.Builder setMethodBuilder(Method.Builder value)
value
- The builder instance that must be set.public boolean hasMethodBuilder()
public SamplePair.Builder clearMethod()
public SampleNode getNode()
public SamplePair.Builder setNode(SampleNode value)
value
- The value of 'node'.public boolean hasNode()
public SampleNode.Builder getNodeBuilder()
public SamplePair.Builder setNodeBuilder(SampleNode.Builder value)
value
- The builder instance that must be set.public boolean hasNodeBuilder()
public SamplePair.Builder clearNode()
public SamplePair build()
build
in interface org.apache.avro.data.RecordBuilder<SamplePair>
Copyright © 2018 SPF4J. All rights reserved.