org.robokind.impl.vision
Class ImageRecord

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.robokind.impl.vision.ImageRecord
All Implemented Interfaces:
Comparable<org.apache.avro.specific.SpecificRecord>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord, ImageEvent

public class ImageRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, ImageEvent


Nested Class Summary
static class ImageRecord.Builder
          RecordBuilder for ImageRecord instances.
 
Field Summary
 ByteBuffer data
          Deprecated. 
 int height
          Deprecated. 
 long imageId
          Deprecated. 
 String imageSourceId
          Deprecated. 
 long imageTimestampMillisecUTC
          Deprecated. 
 int nChannels
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 int width
          Deprecated. 
 int widthStep
          Deprecated. 
 
Constructor Summary
ImageRecord()
           
 
Method Summary
 Object get(int field$)
           
 ByteBuffer getData()
          Gets the value of the 'data' field.
 Integer getHeight()
          Gets the value of the 'height' field.
 Long getImageId()
          Gets the value of the 'imageId' field.
 String getImageSourceId()
          Gets the value of the 'imageSourceId' field.
 Long getImageTimestampMillisecUTC()
          Gets the value of the 'imageTimestampMillisecUTC' field.
 Integer getNChannels()
          Gets the value of the 'nChannels' field.
 org.apache.avro.Schema getSchema()
           
 Integer getWidth()
          Gets the value of the 'width' field.
 Integer getWidthStep()
          Gets the value of the 'widthStep' field.
static ImageRecord.Builder newBuilder()
          Creates a new ImageRecord RecordBuilder
static ImageRecord.Builder newBuilder(ImageRecord.Builder other)
          Creates a new ImageRecord RecordBuilder by copying an existing Builder
static ImageRecord.Builder newBuilder(ImageRecord other)
          Creates a new ImageRecord RecordBuilder by copying an existing ImageRecord instance
 void put(int field$, Object value$)
           
 void setData(ByteBuffer value)
          Sets the value of the 'data' field.
 void setHeight(Integer value)
          Sets the value of the 'height' field.
 void setImageId(Long value)
          Sets the value of the 'imageId' field.
 void setImageSourceId(String value)
          Sets the value of the 'imageSourceId' field.
 void setImageTimestampMillisecUTC(Long value)
          Sets the value of the 'imageTimestampMillisecUTC' field.
 void setNChannels(Integer value)
          Sets the value of the 'nChannels' field.
 void setWidth(Integer value)
          Sets the value of the 'width' field.
 void setWidthStep(Integer value)
          Sets the value of the 'widthStep' 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$

imageSourceId

@Deprecated
public String imageSourceId
Deprecated. 

imageId

@Deprecated
public long imageId
Deprecated. 

imageTimestampMillisecUTC

@Deprecated
public long imageTimestampMillisecUTC
Deprecated. 

width

@Deprecated
public int width
Deprecated. 

height

@Deprecated
public int height
Deprecated. 

nChannels

@Deprecated
public int nChannels
Deprecated. 

widthStep

@Deprecated
public int widthStep
Deprecated. 

data

@Deprecated
public ByteBuffer data
Deprecated. 
Constructor Detail

ImageRecord

public ImageRecord()
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

getImageSourceId

public String getImageSourceId()
Gets the value of the 'imageSourceId' field.

Specified by:
getImageSourceId in interface ImageEvent

setImageSourceId

public void setImageSourceId(String value)
Sets the value of the 'imageSourceId' field.

Parameters:
value - the value to set.

getImageId

public Long getImageId()
Gets the value of the 'imageId' field.

Specified by:
getImageId in interface ImageEvent

setImageId

public void setImageId(Long value)
Sets the value of the 'imageId' field.

Parameters:
value - the value to set.

getImageTimestampMillisecUTC

public Long getImageTimestampMillisecUTC()
Gets the value of the 'imageTimestampMillisecUTC' field.

Specified by:
getImageTimestampMillisecUTC in interface ImageEvent

setImageTimestampMillisecUTC

public void setImageTimestampMillisecUTC(Long value)
Sets the value of the 'imageTimestampMillisecUTC' field.

Parameters:
value - the value to set.

getWidth

public Integer getWidth()
Gets the value of the 'width' field.

Specified by:
getWidth in interface ImageEvent

setWidth

public void setWidth(Integer value)
Sets the value of the 'width' field.

Parameters:
value - the value to set.

getHeight

public Integer getHeight()
Gets the value of the 'height' field.

Specified by:
getHeight in interface ImageEvent

setHeight

public void setHeight(Integer value)
Sets the value of the 'height' field.

Parameters:
value - the value to set.

getNChannels

public Integer getNChannels()
Gets the value of the 'nChannels' field.

Specified by:
getNChannels in interface ImageEvent

setNChannels

public void setNChannels(Integer value)
Sets the value of the 'nChannels' field.

Parameters:
value - the value to set.

getWidthStep

public Integer getWidthStep()
Gets the value of the 'widthStep' field.

Specified by:
getWidthStep in interface ImageEvent

setWidthStep

public void setWidthStep(Integer value)
Sets the value of the 'widthStep' field.

Parameters:
value - the value to set.

getData

public ByteBuffer getData()
Gets the value of the 'data' field.

Specified by:
getData in interface ImageEvent

setData

public void setData(ByteBuffer value)
Sets the value of the 'data' field.

Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2011-2013. All Rights Reserved.