org.mechio.impl.speechrec
Class SpeechRecEventRecord.Builder

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

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

RecordBuilder for SpeechRecEventRecord instances.


Method Summary
 SpeechRecEventRecord build()
           
 SpeechRecEventRecord.Builder clearConfidence()
          Clears the value of the 'confidence' field
 SpeechRecEventRecord.Builder clearRecognizedText()
          Clears the value of the 'recognizedText' field
 SpeechRecEventRecord.Builder clearRecognizerId()
          Clears the value of the 'recognizerId' field
 SpeechRecEventRecord.Builder clearTimestampMillisecUTC()
          Clears the value of the 'timestampMillisecUTC' field
 Double getConfidence()
          Gets the value of the 'confidence' field
 String getRecognizedText()
          Gets the value of the 'recognizedText' field
 String getRecognizerId()
          Gets the value of the 'recognizerId' field
 Long getTimestampMillisecUTC()
          Gets the value of the 'timestampMillisecUTC' field
 SpeechRecEventRecord getValue()
           
 boolean hasConfidence()
          Checks whether the 'confidence' field has been set
 boolean hasRecognizedText()
          Checks whether the 'recognizedText' field has been set
 boolean hasRecognizerId()
          Checks whether the 'recognizerId' field has been set
 boolean hasTimestampMillisecUTC()
          Checks whether the 'timestampMillisecUTC' field has been set
 SpeechRecEventRecord.Builder setConfidence(double value)
          Sets the value of the 'confidence' field
 SpeechRecEventRecord.Builder setRecognizedText(String value)
          Sets the value of the 'recognizedText' field
 SpeechRecEventRecord.Builder setRecognizerId(String value)
          Sets the value of the 'recognizerId' field
 SpeechRecEventRecord.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

getRecognizerId

public String getRecognizerId()
Gets the value of the 'recognizerId' field


setRecognizerId

public SpeechRecEventRecord.Builder setRecognizerId(String value)
Sets the value of the 'recognizerId' field


hasRecognizerId

public boolean hasRecognizerId()
Checks whether the 'recognizerId' field has been set


clearRecognizerId

public SpeechRecEventRecord.Builder clearRecognizerId()
Clears the value of the 'recognizerId' field


getTimestampMillisecUTC

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


setTimestampMillisecUTC

public SpeechRecEventRecord.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 SpeechRecEventRecord.Builder clearTimestampMillisecUTC()
Clears the value of the 'timestampMillisecUTC' field


getRecognizedText

public String getRecognizedText()
Gets the value of the 'recognizedText' field


setRecognizedText

public SpeechRecEventRecord.Builder setRecognizedText(String value)
Sets the value of the 'recognizedText' field


hasRecognizedText

public boolean hasRecognizedText()
Checks whether the 'recognizedText' field has been set


clearRecognizedText

public SpeechRecEventRecord.Builder clearRecognizedText()
Clears the value of the 'recognizedText' field


getConfidence

public Double getConfidence()
Gets the value of the 'confidence' field


setConfidence

public SpeechRecEventRecord.Builder setConfidence(double value)
Sets the value of the 'confidence' field


hasConfidence

public boolean hasConfidence()
Checks whether the 'confidence' field has been set


clearConfidence

public SpeechRecEventRecord.Builder clearConfidence()
Clears the value of the 'confidence' field


build

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

getValue

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


Copyright © 2011-2014. All Rights Reserved.