public static class AvroNodeDescriptorInRackDescriptor.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroNodeDescriptorInRackDescriptor> implements org.apache.avro.data.RecordBuilder<AvroNodeDescriptorInRackDescriptor>
Modifier and Type | Method and Description |
---|---|
AvroNodeDescriptorInRackDescriptor |
build() |
AvroNodeDescriptorInRackDescriptor.Builder |
clearId()
Clears the value of the 'id' field.
|
AvroNodeDescriptorInRackDescriptor.Builder |
clearInetSocketAddress()
Clears the value of the 'inetSocketAddress' field.
|
AvroNodeDescriptorInRackDescriptor.Builder |
clearName()
Clears the value of the 'name' field.
|
CharSequence |
getId()
Gets the value of the 'id' field.
|
CharSequence |
getInetSocketAddress()
Gets the value of the 'inetSocketAddress' field.
|
CharSequence |
getName()
Gets the value of the 'name' field.
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasInetSocketAddress()
Checks whether the 'inetSocketAddress' field has been set.
|
boolean |
hasName()
Checks whether the 'name' field has been set.
|
AvroNodeDescriptorInRackDescriptor.Builder |
setId(CharSequence value)
Sets the value of the 'id' field.
|
AvroNodeDescriptorInRackDescriptor.Builder |
setInetSocketAddress(CharSequence value)
Sets the value of the 'inetSocketAddress' field.
|
AvroNodeDescriptorInRackDescriptor.Builder |
setName(CharSequence value)
Sets the value of the 'name' field.
|
public CharSequence getId()
public AvroNodeDescriptorInRackDescriptor.Builder setId(CharSequence value)
value
- The value of 'id'.public boolean hasId()
public AvroNodeDescriptorInRackDescriptor.Builder clearId()
public CharSequence getName()
public AvroNodeDescriptorInRackDescriptor.Builder setName(CharSequence value)
value
- The value of 'name'.public boolean hasName()
public AvroNodeDescriptorInRackDescriptor.Builder clearName()
public CharSequence getInetSocketAddress()
public AvroNodeDescriptorInRackDescriptor.Builder setInetSocketAddress(CharSequence value)
value
- The value of 'inetSocketAddress'.public boolean hasInetSocketAddress()
public AvroNodeDescriptorInRackDescriptor.Builder clearInetSocketAddress()
public AvroNodeDescriptorInRackDescriptor build()
build
in interface org.apache.avro.data.RecordBuilder<AvroNodeDescriptorInRackDescriptor>
Copyright © 2017 The Apache Software Foundation. All rights reserved.