org.mechio.impl.motion.messaging
Class MotionFrameRecord.Builder

java.lang.Object
  extended by org.apache.avro.data.RecordBuilderBase<T>
      extended by org.apache.avro.specific.SpecificRecordBuilderBase<MotionFrameRecord>
          extended by org.mechio.impl.motion.messaging.MotionFrameRecord.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<MotionFrameRecord>
Enclosing class:
MotionFrameRecord

public static class MotionFrameRecord.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<MotionFrameRecord>
implements org.apache.avro.data.RecordBuilder<MotionFrameRecord>

RecordBuilder for MotionFrameRecord instances.


Method Summary
 MotionFrameRecord build()
           
 MotionFrameRecord.Builder clearGoalPositions()
          Clears the value of the 'goalPositions' field
 MotionFrameRecord.Builder clearMoveDurationMillisec()
          Clears the value of the 'moveDurationMillisec' field
 MotionFrameRecord.Builder clearStartPositions()
          Clears the value of the 'startPositions' field
 MotionFrameRecord.Builder clearTimestampMillisecUTC()
          Clears the value of the 'timestampMillisecUTC' field
 RobotPositionMapRecord getGoalPositions()
          Gets the value of the 'goalPositions' field
 java.lang.Long getMoveDurationMillisec()
          Gets the value of the 'moveDurationMillisec' field
 RobotPositionMapRecord getStartPositions()
          Gets the value of the 'startPositions' field
 java.lang.Long getTimestampMillisecUTC()
          Gets the value of the 'timestampMillisecUTC' field
 boolean hasGoalPositions()
          Checks whether the 'goalPositions' field has been set
 boolean hasMoveDurationMillisec()
          Checks whether the 'moveDurationMillisec' field has been set
 boolean hasStartPositions()
          Checks whether the 'startPositions' field has been set
 boolean hasTimestampMillisecUTC()
          Checks whether the 'timestampMillisecUTC' field has been set
 MotionFrameRecord.Builder setGoalPositions(RobotPositionMapRecord value)
          Sets the value of the 'goalPositions' field
 MotionFrameRecord.Builder setMoveDurationMillisec(long value)
          Sets the value of the 'moveDurationMillisec' field
 MotionFrameRecord.Builder setStartPositions(RobotPositionMapRecord value)
          Sets the value of the 'startPositions' field
 MotionFrameRecord.Builder setTimestampMillisecUTC(long value)
          Sets the value of the 'timestampMillisecUTC' 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

getTimestampMillisecUTC

public java.lang.Long getTimestampMillisecUTC()
Gets the value of the 'timestampMillisecUTC' field


setTimestampMillisecUTC

public MotionFrameRecord.Builder setTimestampMillisecUTC(long value)
Sets the value of the 'timestampMillisecUTC' field


hasTimestampMillisecUTC

public boolean hasTimestampMillisecUTC()
Checks whether the 'timestampMillisecUTC' field has been set


clearTimestampMillisecUTC

public MotionFrameRecord.Builder clearTimestampMillisecUTC()
Clears the value of the 'timestampMillisecUTC' field


getMoveDurationMillisec

public java.lang.Long getMoveDurationMillisec()
Gets the value of the 'moveDurationMillisec' field


setMoveDurationMillisec

public MotionFrameRecord.Builder setMoveDurationMillisec(long value)
Sets the value of the 'moveDurationMillisec' field


hasMoveDurationMillisec

public boolean hasMoveDurationMillisec()
Checks whether the 'moveDurationMillisec' field has been set


clearMoveDurationMillisec

public MotionFrameRecord.Builder clearMoveDurationMillisec()
Clears the value of the 'moveDurationMillisec' field


getGoalPositions

public RobotPositionMapRecord getGoalPositions()
Gets the value of the 'goalPositions' field


setGoalPositions

public MotionFrameRecord.Builder setGoalPositions(RobotPositionMapRecord value)
Sets the value of the 'goalPositions' field


hasGoalPositions

public boolean hasGoalPositions()
Checks whether the 'goalPositions' field has been set


clearGoalPositions

public MotionFrameRecord.Builder clearGoalPositions()
Clears the value of the 'goalPositions' field


getStartPositions

public RobotPositionMapRecord getStartPositions()
Gets the value of the 'startPositions' field


setStartPositions

public MotionFrameRecord.Builder setStartPositions(RobotPositionMapRecord value)
Sets the value of the 'startPositions' field


hasStartPositions

public boolean hasStartPositions()
Checks whether the 'startPositions' field has been set


clearStartPositions

public MotionFrameRecord.Builder clearStartPositions()
Clears the value of the 'startPositions' field


build

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


Copyright © 2011-2014. All Rights Reserved.