org.robokind.impl.vision
Class ImageRegionRecord.Builder

java.lang.Object
  extended by org.apache.avro.data.RecordBuilderBase<T>
      extended by org.apache.avro.specific.SpecificRecordBuilderBase<ImageRegionRecord>
          extended by org.robokind.impl.vision.ImageRegionRecord.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<ImageRegionRecord>, org.jflux.api.core.Source<ImageRegionRecord>
Enclosing class:
ImageRegionRecord

public static class ImageRegionRecord.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<ImageRegionRecord>
implements org.apache.avro.data.RecordBuilder<ImageRegionRecord>, org.jflux.api.core.Source<ImageRegionRecord>

RecordBuilder for ImageRegionRecord instances.


Method Summary
 ImageRegionRecord build()
           
 ImageRegionRecord.Builder clearHeight()
          Clears the value of the 'height' field
 ImageRegionRecord.Builder clearRegionId()
          Clears the value of the 'regionId' field
 ImageRegionRecord.Builder clearWidth()
          Clears the value of the 'width' field
 ImageRegionRecord.Builder clearX()
          Clears the value of the 'x' field
 ImageRegionRecord.Builder clearY()
          Clears the value of the 'y' field
 Integer getHeight()
          Gets the value of the 'height' field
 Integer getRegionId()
          Gets the value of the 'regionId' field
 ImageRegionRecord getValue()
           
 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
 boolean hasHeight()
          Checks whether the 'height' field has been set
 boolean hasRegionId()
          Checks whether the 'regionId' field has been set
 boolean hasWidth()
          Checks whether the 'width' field has been set
 boolean hasX()
          Checks whether the 'x' field has been set
 boolean hasY()
          Checks whether the 'y' field has been set
 ImageRegionRecord.Builder setHeight(int value)
          Sets the value of the 'height' field
 ImageRegionRecord.Builder setRegionId(int value)
          Sets the value of the 'regionId' field
 ImageRegionRecord.Builder setWidth(int value)
          Sets the value of the 'width' field
 ImageRegionRecord.Builder setX(int value)
          Sets the value of the 'x' field
 ImageRegionRecord.Builder setY(int value)
          Sets the value of the 'y' field
 
Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRegionId

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


setRegionId

public ImageRegionRecord.Builder setRegionId(int value)
Sets the value of the 'regionId' field


hasRegionId

public boolean hasRegionId()
Checks whether the 'regionId' field has been set


clearRegionId

public ImageRegionRecord.Builder clearRegionId()
Clears the value of the 'regionId' field


getX

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


setX

public ImageRegionRecord.Builder setX(int value)
Sets the value of the 'x' field


hasX

public boolean hasX()
Checks whether the 'x' field has been set


clearX

public ImageRegionRecord.Builder clearX()
Clears the value of the 'x' field


getY

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


setY

public ImageRegionRecord.Builder setY(int value)
Sets the value of the 'y' field


hasY

public boolean hasY()
Checks whether the 'y' field has been set


clearY

public ImageRegionRecord.Builder clearY()
Clears the value of the 'y' field


getWidth

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


setWidth

public ImageRegionRecord.Builder setWidth(int value)
Sets the value of the 'width' field


hasWidth

public boolean hasWidth()
Checks whether the 'width' field has been set


clearWidth

public ImageRegionRecord.Builder clearWidth()
Clears the value of the 'width' field


getHeight

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


setHeight

public ImageRegionRecord.Builder setHeight(int value)
Sets the value of the 'height' field


hasHeight

public boolean hasHeight()
Checks whether the 'height' field has been set


clearHeight

public ImageRegionRecord.Builder clearHeight()
Clears the value of the 'height' field


build

public ImageRegionRecord build()
Specified by:
build in interface org.apache.avro.data.RecordBuilder<ImageRegionRecord>

getValue

public ImageRegionRecord getValue()
Specified by:
getValue in interface org.jflux.api.core.Source<ImageRegionRecord>


Copyright © 2011-2013. All Rights Reserved.