public static class NodeEntryRecord.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<NodeEntryRecord> implements org.apache.avro.data.RecordBuilder<NodeEntryRecord>
| Modifier and Type | Method and Description |
|---|---|
NodeEntryRecord |
build() |
NodeEntryRecord.Builder |
clearActive()
Clears the value of the 'active' field
|
NodeEntryRecord.Builder |
clearHost()
Clears the value of the 'host' field
|
NodeEntryRecord.Builder |
clearLastUsed()
Clears the value of the 'last_used' field
|
NodeEntryRecord.Builder |
clearRole()
Clears the value of the 'role' field
|
Boolean |
getActive()
Gets the value of the 'active' field
|
CharSequence |
getHost()
Gets the value of the 'host' field
|
Long |
getLastUsed()
Gets the value of the 'last_used' field
|
Integer |
getRole()
Gets the value of the 'role' field
|
boolean |
hasActive()
Checks whether the 'active' field has been set
|
boolean |
hasHost()
Checks whether the 'host' field has been set
|
boolean |
hasLastUsed()
Checks whether the 'last_used' field has been set
|
boolean |
hasRole()
Checks whether the 'role' field has been set
|
NodeEntryRecord.Builder |
setActive(boolean value)
Sets the value of the 'active' field
|
NodeEntryRecord.Builder |
setHost(CharSequence value)
Sets the value of the 'host' field
|
NodeEntryRecord.Builder |
setLastUsed(long value)
Sets the value of the 'last_used' field
|
NodeEntryRecord.Builder |
setRole(int value)
Sets the value of the 'role' field
|
public CharSequence getHost()
public NodeEntryRecord.Builder setHost(CharSequence value)
public boolean hasHost()
public NodeEntryRecord.Builder clearHost()
public Integer getRole()
public NodeEntryRecord.Builder setRole(int value)
public boolean hasRole()
public NodeEntryRecord.Builder clearRole()
public Boolean getActive()
public NodeEntryRecord.Builder setActive(boolean value)
public boolean hasActive()
public NodeEntryRecord.Builder clearActive()
public Long getLastUsed()
public NodeEntryRecord.Builder setLastUsed(long value)
public boolean hasLastUsed()
public NodeEntryRecord.Builder clearLastUsed()
public NodeEntryRecord build()
build in interface org.apache.avro.data.RecordBuilder<NodeEntryRecord>Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.