public static class HeaderRecord.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<HeaderRecord> implements org.apache.avro.data.RecordBuilder<HeaderRecord>, org.jflux.api.core.Source<HeaderRecord>
| Modifier and Type | Method and Description |
|---|---|
HeaderRecord |
build() |
HeaderRecord.Builder |
clearFrameId()
Clears the value of the 'frameId' field
|
HeaderRecord.Builder |
clearSequenceId()
Clears the value of the 'sequenceId' field
|
HeaderRecord.Builder |
clearTimestamp()
Clears the value of the 'timestamp' field
|
Integer |
getFrameId()
Gets the value of the 'frameId' field
|
Integer |
getSequenceId()
Gets the value of the 'sequenceId' field
|
Long |
getTimestamp()
Gets the value of the 'timestamp' field
|
HeaderRecord |
getValue() |
boolean |
hasFrameId()
Checks whether the 'frameId' field has been set
|
boolean |
hasSequenceId()
Checks whether the 'sequenceId' field has been set
|
boolean |
hasTimestamp()
Checks whether the 'timestamp' field has been set
|
HeaderRecord.Builder |
setFrameId(int value)
Sets the value of the 'frameId' field
|
HeaderRecord.Builder |
setSequenceId(int value)
Sets the value of the 'sequenceId' field
|
HeaderRecord.Builder |
setTimestamp(long value)
Sets the value of the 'timestamp' field
|
public Long getTimestamp()
public HeaderRecord.Builder setTimestamp(long value)
public boolean hasTimestamp()
public HeaderRecord.Builder clearTimestamp()
public Integer getSequenceId()
public HeaderRecord.Builder setSequenceId(int value)
public boolean hasSequenceId()
public HeaderRecord.Builder clearSequenceId()
public Integer getFrameId()
public HeaderRecord.Builder setFrameId(int value)
public boolean hasFrameId()
public HeaderRecord.Builder clearFrameId()
public HeaderRecord build()
build in interface org.apache.avro.data.RecordBuilder<HeaderRecord>public HeaderRecord getValue()
getValue in interface org.jflux.api.core.Source<HeaderRecord>Copyright © 2011-2014. All Rights Reserved.