org.mechio.impl.sensor
Class RGBOutputRecord

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.mechio.impl.sensor.RGBOutputRecord
All Implemented Interfaces:
Comparable<org.apache.avro.specific.SpecificRecord>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord, RGBOutputEvent<HeaderRecord>

public class RGBOutputRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, RGBOutputEvent<HeaderRecord>


Nested Class Summary
static class RGBOutputRecord.Builder
          RecordBuilder for RGBOutputRecord instances.
 
Field Summary
 int blue
          Deprecated. 
 int channelId
          Deprecated. 
 int green
          Deprecated. 
 HeaderRecord header
          Deprecated. 
 int red
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 
Constructor Summary
RGBOutputRecord()
           
 
Method Summary
 Object get(int 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.
 org.apache.avro.Schema getSchema()
           
static RGBOutputRecord.Builder newBuilder()
          Creates a new RGBOutputRecord RecordBuilder
static RGBOutputRecord.Builder newBuilder(RGBOutputRecord.Builder other)
          Creates a new RGBOutputRecord RecordBuilder by copying an existing Builder
static RGBOutputRecord.Builder newBuilder(RGBOutputRecord other)
          Creates a new RGBOutputRecord RecordBuilder by copying an existing RGBOutputRecord instance
 void put(int field$, Object value$)
           
 void setBlue(Integer value)
          Sets the value of the 'blue' field.
 void setChannelId(Integer value)
          Sets the value of the 'channelId' field.
 void setGreen(Integer value)
          Sets the value of the 'green' field.
 void setHeader(HeaderRecord value)
          Sets the value of the 'header' field.
 void setRed(Integer value)
          Sets the value of the 'red' field.
 
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SCHEMA$

public static final org.apache.avro.Schema SCHEMA$

header

@Deprecated
public HeaderRecord header
Deprecated. 

channelId

@Deprecated
public int channelId
Deprecated. 

red

@Deprecated
public int red
Deprecated. 

green

@Deprecated
public int green
Deprecated. 

blue

@Deprecated
public int blue
Deprecated. 
Constructor Detail

RGBOutputRecord

public RGBOutputRecord()
Method Detail

getSchema

public org.apache.avro.Schema getSchema()
Specified by:
getSchema in interface org.apache.avro.generic.GenericContainer
Specified by:
getSchema in class org.apache.avro.specific.SpecificRecordBase

get

public Object get(int field$)
Specified by:
get in interface org.apache.avro.generic.IndexedRecord
Specified by:
get in class org.apache.avro.specific.SpecificRecordBase

put

public void put(int field$,
                Object value$)
Specified by:
put in interface org.apache.avro.generic.IndexedRecord
Specified by:
put in class org.apache.avro.specific.SpecificRecordBase

getHeader

public HeaderRecord getHeader()
Gets the value of the 'header' field.

Specified by:
getHeader in interface RGBOutputEvent<HeaderRecord>

setHeader

public void setHeader(HeaderRecord value)
Sets the value of the 'header' field.

Specified by:
setHeader in interface RGBOutputEvent<HeaderRecord>
Parameters:
value - the value to set.

getChannelId

public Integer getChannelId()
Gets the value of the 'channelId' field.

Specified by:
getChannelId in interface RGBOutputEvent<HeaderRecord>

setChannelId

public void setChannelId(Integer value)
Sets the value of the 'channelId' field.

Specified by:
setChannelId in interface RGBOutputEvent<HeaderRecord>
Parameters:
value - the value to set.

getRed

public Integer getRed()
Gets the value of the 'red' field.

Specified by:
getRed in interface RGBOutputEvent<HeaderRecord>

setRed

public void setRed(Integer value)
Sets the value of the 'red' field.

Specified by:
setRed in interface RGBOutputEvent<HeaderRecord>
Parameters:
value - the value to set.

getGreen

public Integer getGreen()
Gets the value of the 'green' field.

Specified by:
getGreen in interface RGBOutputEvent<HeaderRecord>

setGreen

public void setGreen(Integer value)
Sets the value of the 'green' field.

Specified by:
setGreen in interface RGBOutputEvent<HeaderRecord>
Parameters:
value - the value to set.

getBlue

public Integer getBlue()
Gets the value of the 'blue' field.

Specified by:
getBlue in interface RGBOutputEvent<HeaderRecord>

setBlue

public void setBlue(Integer value)
Sets the value of the 'blue' field.

Specified by:
setBlue in interface RGBOutputEvent<HeaderRecord>
Parameters:
value - the value to set.

newBuilder

public static RGBOutputRecord.Builder newBuilder()
Creates a new RGBOutputRecord RecordBuilder


newBuilder

public static RGBOutputRecord.Builder newBuilder(RGBOutputRecord.Builder other)
Creates a new RGBOutputRecord RecordBuilder by copying an existing Builder


newBuilder

public static RGBOutputRecord.Builder newBuilder(RGBOutputRecord other)
Creates a new RGBOutputRecord RecordBuilder by copying an existing RGBOutputRecord instance



Copyright © 2011-2014. All Rights Reserved.