org.robokind.impl.sensor
Class GyroConfigRecord.Builder

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

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

RecordBuilder for GyroConfigRecord instances.


Method Summary
 GyroConfigRecord build()
           
 GyroConfigRecord.Builder clearCtl1()
          Clears the value of the 'ctl1' field
 GyroConfigRecord.Builder clearCtl2()
          Clears the value of the 'ctl2' field
 GyroConfigRecord.Builder clearCtl3()
          Clears the value of the 'ctl3' field
 GyroConfigRecord.Builder clearCtl4()
          Clears the value of the 'ctl4' field
 GyroConfigRecord.Builder clearCtl5()
          Clears the value of the 'ctl5' field
 GyroConfigRecord.Builder clearHeader()
          Clears the value of the 'header' field
 Integer getCtl1()
          Gets the value of the 'ctl1' field
 Integer getCtl2()
          Gets the value of the 'ctl2' field
 Integer getCtl3()
          Gets the value of the 'ctl3' field
 Integer getCtl4()
          Gets the value of the 'ctl4' field
 Integer getCtl5()
          Gets the value of the 'ctl5' field
 HeaderRecord getHeader()
          Gets the value of the 'header' field
 GyroConfigRecord getValue()
           
 boolean hasCtl1()
          Checks whether the 'ctl1' field has been set
 boolean hasCtl2()
          Checks whether the 'ctl2' field has been set
 boolean hasCtl3()
          Checks whether the 'ctl3' field has been set
 boolean hasCtl4()
          Checks whether the 'ctl4' field has been set
 boolean hasCtl5()
          Checks whether the 'ctl5' field has been set
 boolean hasHeader()
          Checks whether the 'header' field has been set
 GyroConfigRecord.Builder setCtl1(int value)
          Sets the value of the 'ctl1' field
 GyroConfigRecord.Builder setCtl2(int value)
          Sets the value of the 'ctl2' field
 GyroConfigRecord.Builder setCtl3(int value)
          Sets the value of the 'ctl3' field
 GyroConfigRecord.Builder setCtl4(int value)
          Sets the value of the 'ctl4' field
 GyroConfigRecord.Builder setCtl5(int value)
          Sets the value of the 'ctl5' field
 GyroConfigRecord.Builder setHeader(HeaderRecord value)
          Sets the value of the 'header' 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

getHeader

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


setHeader

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


hasHeader

public boolean hasHeader()
Checks whether the 'header' field has been set


clearHeader

public GyroConfigRecord.Builder clearHeader()
Clears the value of the 'header' field


getCtl1

public Integer getCtl1()
Gets the value of the 'ctl1' field


setCtl1

public GyroConfigRecord.Builder setCtl1(int value)
Sets the value of the 'ctl1' field


hasCtl1

public boolean hasCtl1()
Checks whether the 'ctl1' field has been set


clearCtl1

public GyroConfigRecord.Builder clearCtl1()
Clears the value of the 'ctl1' field


getCtl2

public Integer getCtl2()
Gets the value of the 'ctl2' field


setCtl2

public GyroConfigRecord.Builder setCtl2(int value)
Sets the value of the 'ctl2' field


hasCtl2

public boolean hasCtl2()
Checks whether the 'ctl2' field has been set


clearCtl2

public GyroConfigRecord.Builder clearCtl2()
Clears the value of the 'ctl2' field


getCtl3

public Integer getCtl3()
Gets the value of the 'ctl3' field


setCtl3

public GyroConfigRecord.Builder setCtl3(int value)
Sets the value of the 'ctl3' field


hasCtl3

public boolean hasCtl3()
Checks whether the 'ctl3' field has been set


clearCtl3

public GyroConfigRecord.Builder clearCtl3()
Clears the value of the 'ctl3' field


getCtl4

public Integer getCtl4()
Gets the value of the 'ctl4' field


setCtl4

public GyroConfigRecord.Builder setCtl4(int value)
Sets the value of the 'ctl4' field


hasCtl4

public boolean hasCtl4()
Checks whether the 'ctl4' field has been set


clearCtl4

public GyroConfigRecord.Builder clearCtl4()
Clears the value of the 'ctl4' field


getCtl5

public Integer getCtl5()
Gets the value of the 'ctl5' field


setCtl5

public GyroConfigRecord.Builder setCtl5(int value)
Sets the value of the 'ctl5' field


hasCtl5

public boolean hasCtl5()
Checks whether the 'ctl5' field has been set


clearCtl5

public GyroConfigRecord.Builder clearCtl5()
Clears the value of the 'ctl5' field


build

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

getValue

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


Copyright © 2011-2013. All Rights Reserved.