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.
|
AvroRackDescriptor.Builder |
getRackDescriptorBuilder()
Gets the Builder instance for the 'rackDescriptor' field and creates one if it doesn't exist yet.
|
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.
|
boolean |
hasRackDescriptorBuilder()
Checks whether the 'rackDescriptor' field has an active Builder instance
|
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.
|
AvroNodeDescriptor.Builder |
setRackDescriptorBuilder(AvroRackDescriptor.Builder value)
Sets the Builder instance for the 'rackDescriptor' field
|
public CharSequence getId()
public AvroNodeDescriptor.Builder setId(CharSequence value)
value
- The value of 'id'.public boolean hasId()
public AvroNodeDescriptor.Builder clearId()
public CharSequence getName()
public AvroNodeDescriptor.Builder setName(CharSequence value)
value
- The value of 'name'.public boolean hasName()
public AvroNodeDescriptor.Builder clearName()
public CharSequence getInetSocketAddress()
public AvroNodeDescriptor.Builder setInetSocketAddress(CharSequence value)
value
- The value of 'inetSocketAddress'.public boolean hasInetSocketAddress()
public AvroNodeDescriptor.Builder clearInetSocketAddress()
public AvroRackDescriptor getRackDescriptor()
public AvroNodeDescriptor.Builder setRackDescriptor(AvroRackDescriptor value)
value
- The value of 'rackDescriptor'.public boolean hasRackDescriptor()
public AvroRackDescriptor.Builder getRackDescriptorBuilder()
public AvroNodeDescriptor.Builder setRackDescriptorBuilder(AvroRackDescriptor.Builder value)
value
- The builder instance that must be set.public boolean hasRackDescriptorBuilder()
public AvroNodeDescriptor.Builder clearRackDescriptor()
public AvroNodeDescriptor build()
build
in interface org.apache.avro.data.RecordBuilder<AvroNodeDescriptor>
Copyright © 2017 The Apache Software Foundation. All rights reserved.