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

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

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

RecordBuilder for RobotDefinitionResponseRecord instances.


Method Summary
 RobotDefinitionResponseRecord build()
           
 RobotDefinitionResponseRecord.Builder clearConnected()
          Clears the value of the 'connected' field
 RobotDefinitionResponseRecord.Builder clearEnabled()
          Clears the value of the 'enabled' field
 RobotDefinitionResponseRecord.Builder clearJoints()
          Clears the value of the 'joints' field
 RobotDefinitionResponseRecord.Builder clearResponseHeader()
          Clears the value of the 'responseHeader' field
 java.lang.Boolean getConnected()
          Gets the value of the 'connected' field
 java.lang.Boolean getEnabled()
          Gets the value of the 'enabled' field
 java.util.List<JointDefinitionRecord> getJoints()
          Gets the value of the 'joints' field
 RobotResponseHeaderRecord getResponseHeader()
          Gets the value of the 'responseHeader' field
 boolean hasConnected()
          Checks whether the 'connected' field has been set
 boolean hasEnabled()
          Checks whether the 'enabled' field has been set
 boolean hasJoints()
          Checks whether the 'joints' field has been set
 boolean hasResponseHeader()
          Checks whether the 'responseHeader' field has been set
 RobotDefinitionResponseRecord.Builder setConnected(boolean value)
          Sets the value of the 'connected' field
 RobotDefinitionResponseRecord.Builder setEnabled(boolean value)
          Sets the value of the 'enabled' field
 RobotDefinitionResponseRecord.Builder setJoints(java.util.List<JointDefinitionRecord> value)
          Sets the value of the 'joints' field
 RobotDefinitionResponseRecord.Builder setResponseHeader(RobotResponseHeaderRecord value)
          Sets the value of the 'responseHeader' 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

getResponseHeader

public RobotResponseHeaderRecord getResponseHeader()
Gets the value of the 'responseHeader' field


setResponseHeader

public RobotDefinitionResponseRecord.Builder setResponseHeader(RobotResponseHeaderRecord value)
Sets the value of the 'responseHeader' field


hasResponseHeader

public boolean hasResponseHeader()
Checks whether the 'responseHeader' field has been set


clearResponseHeader

public RobotDefinitionResponseRecord.Builder clearResponseHeader()
Clears the value of the 'responseHeader' field


getConnected

public java.lang.Boolean getConnected()
Gets the value of the 'connected' field


setConnected

public RobotDefinitionResponseRecord.Builder setConnected(boolean value)
Sets the value of the 'connected' field


hasConnected

public boolean hasConnected()
Checks whether the 'connected' field has been set


clearConnected

public RobotDefinitionResponseRecord.Builder clearConnected()
Clears the value of the 'connected' field


getEnabled

public java.lang.Boolean getEnabled()
Gets the value of the 'enabled' field


setEnabled

public RobotDefinitionResponseRecord.Builder setEnabled(boolean value)
Sets the value of the 'enabled' field


hasEnabled

public boolean hasEnabled()
Checks whether the 'enabled' field has been set


clearEnabled

public RobotDefinitionResponseRecord.Builder clearEnabled()
Clears the value of the 'enabled' field


getJoints

public java.util.List<JointDefinitionRecord> getJoints()
Gets the value of the 'joints' field


setJoints

public RobotDefinitionResponseRecord.Builder setJoints(java.util.List<JointDefinitionRecord> value)
Sets the value of the 'joints' field


hasJoints

public boolean hasJoints()
Checks whether the 'joints' field has been set


clearJoints

public RobotDefinitionResponseRecord.Builder clearJoints()
Clears the value of the 'joints' field


build

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


Copyright © 2011-2014. All Rights Reserved.