public static class HeaderEntry.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<HeaderEntry> implements org.apache.avro.data.RecordBuilder<HeaderEntry>
Modifier and Type | Method and Description |
---|---|
HeaderEntry |
build() |
HeaderEntry.Builder |
clearKey()
Clears the value of the 'key' field
|
HeaderEntry.Builder |
clearValue()
Clears the value of the 'value' field
|
CharSequence |
getKey()
Gets the value of the 'key' field
|
CharSequence |
getValue()
Gets the value of the 'value' field
|
boolean |
hasKey()
Checks whether the 'key' field has been set
|
boolean |
hasValue()
Checks whether the 'value' field has been set
|
HeaderEntry.Builder |
setKey(CharSequence value)
Sets the value of the 'key' field
|
HeaderEntry.Builder |
setValue(CharSequence value)
Sets the value of the 'value' field
|
public CharSequence getKey()
public HeaderEntry.Builder setKey(CharSequence value)
public boolean hasKey()
public HeaderEntry.Builder clearKey()
public CharSequence getValue()
public HeaderEntry.Builder setValue(CharSequence value)
public boolean hasValue()
public HeaderEntry.Builder clearValue()
public HeaderEntry build()
build
in interface org.apache.avro.data.RecordBuilder<HeaderEntry>
Copyright © 2016 The Apache Software Foundation. All rights reserved.