org.mechio.impl.speechrec
Class SpeechRecEventRecord

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.mechio.impl.speechrec.SpeechRecEventRecord
All Implemented Interfaces:
Comparable<org.apache.avro.specific.SpecificRecord>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord, SpeechRecEvent

public class SpeechRecEventRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, SpeechRecEvent


Nested Class Summary
static class SpeechRecEventRecord.Builder
          RecordBuilder for SpeechRecEventRecord instances.
 
Field Summary
 double confidence
          Deprecated. 
 String recognizedText
          Deprecated. 
 String recognizerId
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 long timestampMillisecUTC
          Deprecated. 
 
Constructor Summary
SpeechRecEventRecord()
           
 
Method Summary
 Object get(int 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.
 org.apache.avro.Schema getSchema()
           
 Long getTimestampMillisecUTC()
          Gets the value of the 'timestampMillisecUTC' field.
static SpeechRecEventRecord.Builder newBuilder()
          Creates a new SpeechRecEventRecord RecordBuilder
static SpeechRecEventRecord.Builder newBuilder(SpeechRecEventRecord.Builder other)
          Creates a new SpeechRecEventRecord RecordBuilder by copying an existing Builder
static SpeechRecEventRecord.Builder newBuilder(SpeechRecEventRecord other)
          Creates a new SpeechRecEventRecord RecordBuilder by copying an existing SpeechRecEventRecord instance
 void put(int field$, Object value$)
           
 void setConfidence(Double value)
          Sets the value of the 'confidence' field.
 void setRecognizedText(String value)
          Sets the value of the 'recognizedText' field.
 void setRecognizerId(String value)
          Sets the value of the 'recognizerId' field.
 void setTimestampMillisecUTC(Long value)
          Sets the value of the 'timestampMillisecUTC' field.
 
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SCHEMA$

public static final org.apache.avro.Schema SCHEMA$

recognizerId

@Deprecated
public String recognizerId
Deprecated. 

timestampMillisecUTC

@Deprecated
public long timestampMillisecUTC
Deprecated. 

recognizedText

@Deprecated
public String recognizedText
Deprecated. 

confidence

@Deprecated
public double confidence
Deprecated. 
Constructor Detail

SpeechRecEventRecord

public SpeechRecEventRecord()
Method Detail

getSchema

public org.apache.avro.Schema getSchema()
Specified by:
getSchema in interface org.apache.avro.generic.GenericContainer
Specified by:
getSchema in class org.apache.avro.specific.SpecificRecordBase

get

public Object get(int field$)
Specified by:
get in interface org.apache.avro.generic.IndexedRecord
Specified by:
get in class org.apache.avro.specific.SpecificRecordBase

put

public void put(int field$,
                Object value$)
Specified by:
put in interface org.apache.avro.generic.IndexedRecord
Specified by:
put in class org.apache.avro.specific.SpecificRecordBase

getRecognizerId

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

Specified by:
getRecognizerId in interface SpeechRecEvent

setRecognizerId

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

Parameters:
value - the value to set.

getTimestampMillisecUTC

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

Specified by:
getTimestampMillisecUTC in interface SpeechRecEvent

setTimestampMillisecUTC

public void setTimestampMillisecUTC(Long value)
Sets the value of the 'timestampMillisecUTC' field.

Parameters:
value - the value to set.

getRecognizedText

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

Specified by:
getRecognizedText in interface SpeechRecEvent

setRecognizedText

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

Parameters:
value - the value to set.

getConfidence

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

Specified by:
getConfidence in interface SpeechRecEvent

setConfidence

public void setConfidence(Double value)
Sets the value of the 'confidence' field.

Parameters:
value - the value to set.

newBuilder

public static SpeechRecEventRecord.Builder newBuilder()
Creates a new SpeechRecEventRecord RecordBuilder


newBuilder

public static SpeechRecEventRecord.Builder newBuilder(SpeechRecEventRecord.Builder other)
Creates a new SpeechRecEventRecord RecordBuilder by copying an existing Builder


newBuilder

public static SpeechRecEventRecord.Builder newBuilder(SpeechRecEventRecord other)
Creates a new SpeechRecEventRecord RecordBuilder by copying an existing SpeechRecEventRecord instance



Copyright © 2011-2014. All Rights Reserved.