org.robokind.avrogen.vision
Class ImageRegionRecord

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

public class ImageRegionRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, ImageRegion


Nested Class Summary
static class ImageRegionRecord.Builder
          RecordBuilder for ImageRegionRecord instances.
 
Field Summary
 int height
          Deprecated. 
 int regionId
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 int width
          Deprecated. 
 int x
          Deprecated. 
 int y
          Deprecated. 
 
Constructor Summary
ImageRegionRecord()
           
 
Method Summary
 Object get(int field$)
           
 Integer getHeight()
          Gets the value of the 'height' field.
 Integer getRegionId()
          Gets the value of the 'regionId' field.
 org.apache.avro.Schema getSchema()
           
 Integer getWidth()
          Gets the value of the 'width' field.
 Integer getX()
          Gets the value of the 'x' field.
 Integer getY()
          Gets the value of the 'y' field.
static ImageRegionRecord.Builder newBuilder()
          Creates a new ImageRegionRecord RecordBuilder
static ImageRegionRecord.Builder newBuilder(ImageRegionRecord.Builder other)
          Creates a new ImageRegionRecord RecordBuilder by copying an existing Builder
static ImageRegionRecord.Builder newBuilder(ImageRegionRecord other)
          Creates a new ImageRegionRecord RecordBuilder by copying an existing ImageRegionRecord instance
 void put(int field$, Object value$)
           
 void setHeight(Integer value)
          Sets the value of the 'height' field.
 void setRegionId(Integer value)
          Sets the value of the 'regionId' field.
 void setWidth(Integer value)
          Sets the value of the 'width' field.
 void setX(Integer value)
          Sets the value of the 'x' field.
 void setY(Integer value)
          Sets the value of the 'y' 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$

regionId

@Deprecated
public int regionId
Deprecated. 

x

@Deprecated
public int x
Deprecated. 

y

@Deprecated
public int y
Deprecated. 

width

@Deprecated
public int width
Deprecated. 

height

@Deprecated
public int height
Deprecated. 
Constructor Detail

ImageRegionRecord

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

getRegionId

public Integer getRegionId()
Gets the value of the 'regionId' field.

Specified by:
getRegionId in interface ImageRegion

setRegionId

public void setRegionId(Integer value)
Sets the value of the 'regionId' field.

Parameters:
value - the value to set.

getX

public Integer getX()
Gets the value of the 'x' field.

Specified by:
getX in interface ImageRegion

setX

public void setX(Integer value)
Sets the value of the 'x' field.

Parameters:
value - the value to set.

getY

public Integer getY()
Gets the value of the 'y' field.

Specified by:
getY in interface ImageRegion

setY

public void setY(Integer value)
Sets the value of the 'y' field.

Parameters:
value - the value to set.

getWidth

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

Specified by:
getWidth in interface ImageRegion

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 ImageRegion

setHeight

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

Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2011-2013. All Rights Reserved.