|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.avro.data.RecordBuilderBase<T>
org.apache.avro.specific.SpecificRecordBuilderBase<HeaderRecord>
org.robokind.impl.sensor.HeaderRecord.Builder
public static class HeaderRecord.Builder
RecordBuilder for HeaderRecord instances.
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.apache.avro.data.RecordBuilderBase |
|---|
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||