public static class RGBOutputRecord.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<RGBOutputRecord> implements org.apache.avro.data.RecordBuilder<RGBOutputRecord>, org.jflux.api.core.Source<RGBOutputRecord>
| Modifier and Type | Method and Description |
|---|---|
RGBOutputRecord |
build() |
RGBOutputRecord.Builder |
clearBlue()
Clears the value of the 'blue' field
|
RGBOutputRecord.Builder |
clearChannelId()
Clears the value of the 'channelId' field
|
RGBOutputRecord.Builder |
clearGreen()
Clears the value of the 'green' field
|
RGBOutputRecord.Builder |
clearHeader()
Clears the value of the 'header' field
|
RGBOutputRecord.Builder |
clearRed()
Clears the value of the 'red' field
|
Integer |
getBlue()
Gets the value of the 'blue' field
|
Integer |
getChannelId()
Gets the value of the 'channelId' field
|
Integer |
getGreen()
Gets the value of the 'green' field
|
HeaderRecord |
getHeader()
Gets the value of the 'header' field
|
Integer |
getRed()
Gets the value of the 'red' field
|
RGBOutputRecord |
getValue() |
boolean |
hasBlue()
Checks whether the 'blue' field has been set
|
boolean |
hasChannelId()
Checks whether the 'channelId' field has been set
|
boolean |
hasGreen()
Checks whether the 'green' field has been set
|
boolean |
hasHeader()
Checks whether the 'header' field has been set
|
boolean |
hasRed()
Checks whether the 'red' field has been set
|
RGBOutputRecord.Builder |
setBlue(int value)
Sets the value of the 'blue' field
|
RGBOutputRecord.Builder |
setChannelId(int value)
Sets the value of the 'channelId' field
|
RGBOutputRecord.Builder |
setGreen(int value)
Sets the value of the 'green' field
|
RGBOutputRecord.Builder |
setHeader(HeaderRecord value)
Sets the value of the 'header' field
|
RGBOutputRecord.Builder |
setRed(int value)
Sets the value of the 'red' field
|
public HeaderRecord getHeader()
public RGBOutputRecord.Builder setHeader(HeaderRecord value)
public boolean hasHeader()
public RGBOutputRecord.Builder clearHeader()
public Integer getChannelId()
public RGBOutputRecord.Builder setChannelId(int value)
public boolean hasChannelId()
public RGBOutputRecord.Builder clearChannelId()
public Integer getRed()
public RGBOutputRecord.Builder setRed(int value)
public boolean hasRed()
public RGBOutputRecord.Builder clearRed()
public Integer getGreen()
public RGBOutputRecord.Builder setGreen(int value)
public boolean hasGreen()
public RGBOutputRecord.Builder clearGreen()
public Integer getBlue()
public RGBOutputRecord.Builder setBlue(int value)
public boolean hasBlue()
public RGBOutputRecord.Builder clearBlue()
public RGBOutputRecord build()
build in interface org.apache.avro.data.RecordBuilder<RGBOutputRecord>public RGBOutputRecord getValue()
getValue in interface org.jflux.api.core.Source<RGBOutputRecord>Copyright © 2011-2014. All Rights Reserved.