org.robokind.impl.speech
Class SpeechEventRecord.Builder

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

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

RecordBuilder for SpeechEventRecord instances.


Method Summary
 SpeechEventRecord build()
           
 SpeechEventRecord.Builder clearCurrentData()
          Clears the value of the 'currentData' field
 SpeechEventRecord.Builder clearDuration()
          Clears the value of the 'duration' field
 SpeechEventRecord.Builder clearEventType()
          Clears the value of the 'eventType' field
 SpeechEventRecord.Builder clearNextData()
          Clears the value of the 'nextData' field
 SpeechEventRecord.Builder clearStreamNumber()
          Clears the value of the 'streamNumber' field
 SpeechEventRecord.Builder clearStringData()
          Clears the value of the 'stringData' field
 SpeechEventRecord.Builder clearTextLength()
          Clears the value of the 'textLength' field
 SpeechEventRecord.Builder clearTextPosition()
          Clears the value of the 'textPosition' field
 Integer getCurrentData()
          Gets the value of the 'currentData' field
 Integer getDuration()
          Gets the value of the 'duration' field
 String getEventType()
          Gets the value of the 'eventType' field
 Integer getNextData()
          Gets the value of the 'nextData' field
 Long getStreamNumber()
          Gets the value of the 'streamNumber' field
 String getStringData()
          Gets the value of the 'stringData' field
 Integer getTextLength()
          Gets the value of the 'textLength' field
 Integer getTextPosition()
          Gets the value of the 'textPosition' field
 SpeechEventRecord getValue()
           
 boolean hasCurrentData()
          Checks whether the 'currentData' field has been set
 boolean hasDuration()
          Checks whether the 'duration' field has been set
 boolean hasEventType()
          Checks whether the 'eventType' field has been set
 boolean hasNextData()
          Checks whether the 'nextData' field has been set
 boolean hasStreamNumber()
          Checks whether the 'streamNumber' field has been set
 boolean hasStringData()
          Checks whether the 'stringData' field has been set
 boolean hasTextLength()
          Checks whether the 'textLength' field has been set
 boolean hasTextPosition()
          Checks whether the 'textPosition' field has been set
 SpeechEventRecord.Builder setCurrentData(int value)
          Sets the value of the 'currentData' field
 SpeechEventRecord.Builder setDuration(int value)
          Sets the value of the 'duration' field
 SpeechEventRecord.Builder setEventType(String value)
          Sets the value of the 'eventType' field
 SpeechEventRecord.Builder setNextData(int value)
          Sets the value of the 'nextData' field
 SpeechEventRecord.Builder setStreamNumber(long value)
          Sets the value of the 'streamNumber' field
 SpeechEventRecord.Builder setStringData(String value)
          Sets the value of the 'stringData' field
 SpeechEventRecord.Builder setTextLength(int value)
          Sets the value of the 'textLength' field
 SpeechEventRecord.Builder setTextPosition(int value)
          Sets the value of the 'textPosition' 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

getEventType

public String getEventType()
Gets the value of the 'eventType' field


setEventType

public SpeechEventRecord.Builder setEventType(String value)
Sets the value of the 'eventType' field


hasEventType

public boolean hasEventType()
Checks whether the 'eventType' field has been set


clearEventType

public SpeechEventRecord.Builder clearEventType()
Clears the value of the 'eventType' field


getStreamNumber

public Long getStreamNumber()
Gets the value of the 'streamNumber' field


setStreamNumber

public SpeechEventRecord.Builder setStreamNumber(long value)
Sets the value of the 'streamNumber' field


hasStreamNumber

public boolean hasStreamNumber()
Checks whether the 'streamNumber' field has been set


clearStreamNumber

public SpeechEventRecord.Builder clearStreamNumber()
Clears the value of the 'streamNumber' field


getTextPosition

public Integer getTextPosition()
Gets the value of the 'textPosition' field


setTextPosition

public SpeechEventRecord.Builder setTextPosition(int value)
Sets the value of the 'textPosition' field


hasTextPosition

public boolean hasTextPosition()
Checks whether the 'textPosition' field has been set


clearTextPosition

public SpeechEventRecord.Builder clearTextPosition()
Clears the value of the 'textPosition' field


getTextLength

public Integer getTextLength()
Gets the value of the 'textLength' field


setTextLength

public SpeechEventRecord.Builder setTextLength(int value)
Sets the value of the 'textLength' field


hasTextLength

public boolean hasTextLength()
Checks whether the 'textLength' field has been set


clearTextLength

public SpeechEventRecord.Builder clearTextLength()
Clears the value of the 'textLength' field


getCurrentData

public Integer getCurrentData()
Gets the value of the 'currentData' field


setCurrentData

public SpeechEventRecord.Builder setCurrentData(int value)
Sets the value of the 'currentData' field


hasCurrentData

public boolean hasCurrentData()
Checks whether the 'currentData' field has been set


clearCurrentData

public SpeechEventRecord.Builder clearCurrentData()
Clears the value of the 'currentData' field


getNextData

public Integer getNextData()
Gets the value of the 'nextData' field


setNextData

public SpeechEventRecord.Builder setNextData(int value)
Sets the value of the 'nextData' field


hasNextData

public boolean hasNextData()
Checks whether the 'nextData' field has been set


clearNextData

public SpeechEventRecord.Builder clearNextData()
Clears the value of the 'nextData' field


getStringData

public String getStringData()
Gets the value of the 'stringData' field


setStringData

public SpeechEventRecord.Builder setStringData(String value)
Sets the value of the 'stringData' field


hasStringData

public boolean hasStringData()
Checks whether the 'stringData' field has been set


clearStringData

public SpeechEventRecord.Builder clearStringData()
Clears the value of the 'stringData' field


getDuration

public Integer getDuration()
Gets the value of the 'duration' field


setDuration

public SpeechEventRecord.Builder setDuration(int value)
Sets the value of the 'duration' field


hasDuration

public boolean hasDuration()
Checks whether the 'duration' field has been set


clearDuration

public SpeechEventRecord.Builder clearDuration()
Clears the value of the 'duration' field


build

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

getValue

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


Copyright © 2011-2014. All Rights Reserved.