public class DeviceBoolRecord extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord, DeviceBoolEvent<HeaderRecord>
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceBoolRecord.Builder
RecordBuilder for DeviceBoolRecord instances.
|
| Modifier and Type | Field and Description |
|---|---|
boolean |
boolValue
Deprecated.
|
int |
channelId
Deprecated.
|
HeaderRecord |
header
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
DeviceBoolRecord() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
Boolean |
getBoolValue()
Gets the value of the 'boolValue' field.
|
Integer |
getChannelId()
Gets the value of the 'channelId' field.
|
HeaderRecord |
getHeader()
Gets the value of the 'header' field.
|
org.apache.avro.Schema |
getSchema() |
static DeviceBoolRecord.Builder |
newBuilder()
Creates a new DeviceBoolRecord RecordBuilder
|
static DeviceBoolRecord.Builder |
newBuilder(DeviceBoolRecord.Builder other)
Creates a new DeviceBoolRecord RecordBuilder by copying an existing Builder
|
static DeviceBoolRecord.Builder |
newBuilder(DeviceBoolRecord other)
Creates a new DeviceBoolRecord RecordBuilder by copying an existing DeviceBoolRecord instance
|
void |
put(int field$,
Object value$) |
void |
setBoolValue(Boolean value)
Sets the value of the 'boolValue' field.
|
void |
setChannelId(Integer value)
Sets the value of the 'channelId' field.
|
void |
setHeader(HeaderRecord value)
Sets the value of the 'header' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public HeaderRecord header
@Deprecated public int channelId
@Deprecated public boolean boolValue
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic HeaderRecord getHeader()
getHeader in interface DeviceBoolEvent<HeaderRecord>public void setHeader(HeaderRecord value)
setHeader in interface DeviceBoolEvent<HeaderRecord>value - the value to set.public Integer getChannelId()
getChannelId in interface DeviceBoolEvent<HeaderRecord>public void setChannelId(Integer value)
setChannelId in interface DeviceBoolEvent<HeaderRecord>value - the value to set.public Boolean getBoolValue()
getBoolValue in interface DeviceBoolEvent<HeaderRecord>public void setBoolValue(Boolean value)
setBoolValue in interface DeviceBoolEvent<HeaderRecord>value - the value to set.public static DeviceBoolRecord.Builder newBuilder()
public static DeviceBoolRecord.Builder newBuilder(DeviceBoolRecord.Builder other)
public static DeviceBoolRecord.Builder newBuilder(DeviceBoolRecord other)
Copyright © 2011-2014. All Rights Reserved.