public static class AvroRackDescriptor.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroRackDescriptor> implements org.apache.avro.data.RecordBuilder<AvroRackDescriptor>
Modifier and Type | Method and Description |
---|---|
AvroRackDescriptor |
build() |
AvroRackDescriptor.Builder |
clearName()
Clears the value of the 'name' field.
|
AvroRackDescriptor.Builder |
clearNodes()
Clears the value of the 'nodes' field.
|
CharSequence |
getName()
Gets the value of the 'name' field.
|
List<AvroNodeDescriptorInRackDescriptor> |
getNodes()
Gets the value of the 'nodes' field.
|
boolean |
hasName()
Checks whether the 'name' field has been set.
|
boolean |
hasNodes()
Checks whether the 'nodes' field has been set.
|
AvroRackDescriptor.Builder |
setName(CharSequence value)
Sets the value of the 'name' field.
|
AvroRackDescriptor.Builder |
setNodes(List<AvroNodeDescriptorInRackDescriptor> value)
Sets the value of the 'nodes' field.
|
public CharSequence getName()
public AvroRackDescriptor.Builder setName(CharSequence value)
value
- The value of 'name'.public boolean hasName()
public AvroRackDescriptor.Builder clearName()
public List<AvroNodeDescriptorInRackDescriptor> getNodes()
public AvroRackDescriptor.Builder setNodes(List<AvroNodeDescriptorInRackDescriptor> value)
value
- The value of 'nodes'.public boolean hasNodes()
public AvroRackDescriptor.Builder clearNodes()
public AvroRackDescriptor build()
build
in interface org.apache.avro.data.RecordBuilder<AvroRackDescriptor>
Copyright © 2017 The Apache Software Foundation. All rights reserved.