public static class DeviceAnalogRecord.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<DeviceAnalogRecord> implements org.apache.avro.data.RecordBuilder<DeviceAnalogRecord>, org.jflux.api.core.Source<DeviceAnalogRecord>
| Modifier and Type | Method and Description |
|---|---|
DeviceAnalogRecord |
build() |
DeviceAnalogRecord.Builder |
clearAnalogValue()
Clears the value of the 'analogValue' field
|
DeviceAnalogRecord.Builder |
clearChannelId()
Clears the value of the 'channelId' field
|
DeviceAnalogRecord.Builder |
clearHeader()
Clears the value of the 'header' field
|
Double |
getAnalogValue()
Gets the value of the 'analogValue' field
|
Integer |
getChannelId()
Gets the value of the 'channelId' field
|
HeaderRecord |
getHeader()
Gets the value of the 'header' field
|
DeviceAnalogRecord |
getValue() |
boolean |
hasAnalogValue()
Checks whether the 'analogValue' field has been set
|
boolean |
hasChannelId()
Checks whether the 'channelId' field has been set
|
boolean |
hasHeader()
Checks whether the 'header' field has been set
|
DeviceAnalogRecord.Builder |
setAnalogValue(double value)
Sets the value of the 'analogValue' field
|
DeviceAnalogRecord.Builder |
setChannelId(int value)
Sets the value of the 'channelId' field
|
DeviceAnalogRecord.Builder |
setHeader(HeaderRecord value)
Sets the value of the 'header' field
|
public HeaderRecord getHeader()
public DeviceAnalogRecord.Builder setHeader(HeaderRecord value)
public boolean hasHeader()
public DeviceAnalogRecord.Builder clearHeader()
public Integer getChannelId()
public DeviceAnalogRecord.Builder setChannelId(int value)
public boolean hasChannelId()
public DeviceAnalogRecord.Builder clearChannelId()
public Double getAnalogValue()
public DeviceAnalogRecord.Builder setAnalogValue(double value)
public boolean hasAnalogValue()
public DeviceAnalogRecord.Builder clearAnalogValue()
public DeviceAnalogRecord build()
build in interface org.apache.avro.data.RecordBuilder<DeviceAnalogRecord>public DeviceAnalogRecord getValue()
getValue in interface org.jflux.api.core.Source<DeviceAnalogRecord>Copyright © 2011-2014. All Rights Reserved.