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