org.robokind.impl.vision
Class ImageRecord.Builder

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

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

RecordBuilder for ImageRecord instances.


Method Summary
 ImageRecord build()
           
 ImageRecord.Builder clearData()
          Clears the value of the 'data' field
 ImageRecord.Builder clearHeight()
          Clears the value of the 'height' field
 ImageRecord.Builder clearImageId()
          Clears the value of the 'imageId' field
 ImageRecord.Builder clearImageSourceId()
          Clears the value of the 'imageSourceId' field
 ImageRecord.Builder clearImageTimestampMillisecUTC()
          Clears the value of the 'imageTimestampMillisecUTC' field
 ImageRecord.Builder clearNChannels()
          Clears the value of the 'nChannels' field
 ImageRecord.Builder clearWidth()
          Clears the value of the 'width' field
 ImageRecord.Builder clearWidthStep()
          Clears the value of the 'widthStep' 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
 ImageRecord getValue()
           
 Integer getWidth()
          Gets the value of the 'width' field
 Integer getWidthStep()
          Gets the value of the 'widthStep' field
 boolean hasData()
          Checks whether the 'data' field has been set
 boolean hasHeight()
          Checks whether the 'height' field has been set
 boolean hasImageId()
          Checks whether the 'imageId' field has been set
 boolean hasImageSourceId()
          Checks whether the 'imageSourceId' field has been set
 boolean hasImageTimestampMillisecUTC()
          Checks whether the 'imageTimestampMillisecUTC' field has been set
 boolean hasNChannels()
          Checks whether the 'nChannels' field has been set
 boolean hasWidth()
          Checks whether the 'width' field has been set
 boolean hasWidthStep()
          Checks whether the 'widthStep' field has been set
 ImageRecord.Builder setData(ByteBuffer value)
          Sets the value of the 'data' field
 ImageRecord.Builder setHeight(int value)
          Sets the value of the 'height' field
 ImageRecord.Builder setImageId(long value)
          Sets the value of the 'imageId' field
 ImageRecord.Builder setImageSourceId(String value)
          Sets the value of the 'imageSourceId' field
 ImageRecord.Builder setImageTimestampMillisecUTC(long value)
          Sets the value of the 'imageTimestampMillisecUTC' field
 ImageRecord.Builder setNChannels(int value)
          Sets the value of the 'nChannels' field
 ImageRecord.Builder setWidth(int value)
          Sets the value of the 'width' field
 ImageRecord.Builder setWidthStep(int value)
          Sets the value of the 'widthStep' 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

getImageSourceId

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


setImageSourceId

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


hasImageSourceId

public boolean hasImageSourceId()
Checks whether the 'imageSourceId' field has been set


clearImageSourceId

public ImageRecord.Builder clearImageSourceId()
Clears the value of the 'imageSourceId' field


getImageId

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


setImageId

public ImageRecord.Builder setImageId(long value)
Sets the value of the 'imageId' field


hasImageId

public boolean hasImageId()
Checks whether the 'imageId' field has been set


clearImageId

public ImageRecord.Builder clearImageId()
Clears the value of the 'imageId' field


getImageTimestampMillisecUTC

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


setImageTimestampMillisecUTC

public ImageRecord.Builder setImageTimestampMillisecUTC(long value)
Sets the value of the 'imageTimestampMillisecUTC' field


hasImageTimestampMillisecUTC

public boolean hasImageTimestampMillisecUTC()
Checks whether the 'imageTimestampMillisecUTC' field has been set


clearImageTimestampMillisecUTC

public ImageRecord.Builder clearImageTimestampMillisecUTC()
Clears the value of the 'imageTimestampMillisecUTC' field


getWidth

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


setWidth

public ImageRecord.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 ImageRecord.Builder clearWidth()
Clears the value of the 'width' field


getHeight

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


setHeight

public ImageRecord.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 ImageRecord.Builder clearHeight()
Clears the value of the 'height' field


getNChannels

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


setNChannels

public ImageRecord.Builder setNChannels(int value)
Sets the value of the 'nChannels' field


hasNChannels

public boolean hasNChannels()
Checks whether the 'nChannels' field has been set


clearNChannels

public ImageRecord.Builder clearNChannels()
Clears the value of the 'nChannels' field


getWidthStep

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


setWidthStep

public ImageRecord.Builder setWidthStep(int value)
Sets the value of the 'widthStep' field


hasWidthStep

public boolean hasWidthStep()
Checks whether the 'widthStep' field has been set


clearWidthStep

public ImageRecord.Builder clearWidthStep()
Clears the value of the 'widthStep' field


getData

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


setData

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


hasData

public boolean hasData()
Checks whether the 'data' field has been set


clearData

public ImageRecord.Builder clearData()
Clears the value of the 'data' field


build

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

getValue

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


Copyright © 2011-2013. All Rights Reserved.