public static class Annotation.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<Annotation> implements org.apache.avro.data.RecordBuilder<Annotation>
| Modifier and Type | Method and Description |
|---|---|
Annotation |
build() |
Annotation.Builder |
clearKey()
Clears the value of the 'key' field.
|
Annotation.Builder |
clearValue()
Clears the value of the 'value' field.
|
String |
getKey()
Gets the value of the 'key' field.
|
String |
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.
|
Annotation.Builder |
setKey(String value)
Sets the value of the 'key' field.
|
Annotation.Builder |
setValue(String value)
Sets the value of the 'value' field.
|
public String getKey()
public Annotation.Builder setKey(String value)
value - The value of 'key'.public boolean hasKey()
public Annotation.Builder clearKey()
public String getValue()
public Annotation.Builder setValue(String value)
value - The value of 'value'.public boolean hasValue()
public Annotation.Builder clearValue()
public Annotation build()
build in interface org.apache.avro.data.RecordBuilder<Annotation>Copyright © 2018. All rights reserved.