public static class Header.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<Header> implements org.apache.avro.data.RecordBuilder<Header>
Modifier and Type | Method and Description |
---|---|
Header |
build() |
Header.Builder |
clearClassName()
Clears the value of the 'className' field.
|
Header.Builder |
clearIdentifier()
Clears the value of the 'identifier' field.
|
CharSequence |
getClassName()
Gets the value of the 'className' field.
|
Long |
getIdentifier()
Gets the value of the 'identifier' field.
|
boolean |
hasClassName()
Checks whether the 'className' field has been set.
|
boolean |
hasIdentifier()
Checks whether the 'identifier' field has been set.
|
Header.Builder |
setClassName(CharSequence value)
Sets the value of the 'className' field.
|
Header.Builder |
setIdentifier(long value)
Sets the value of the 'identifier' field.
|
public Long getIdentifier()
public Header.Builder setIdentifier(long value)
value
- The value of 'identifier'.public boolean hasIdentifier()
public Header.Builder clearIdentifier()
public CharSequence getClassName()
public Header.Builder setClassName(CharSequence value)
value
- The value of 'className'.public boolean hasClassName()
public Header.Builder clearClassName()
Copyright © 2017 The Apache Software Foundation. All rights reserved.