org.robokind.avrogen.speech
Class SpeechEventRecord

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.robokind.avrogen.speech.SpeechEventRecord
All Implemented Interfaces:
Comparable<org.apache.avro.specific.SpecificRecord>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord, SpeechEvent

public class SpeechEventRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, SpeechEvent


Nested Class Summary
static class SpeechEventRecord.Builder
          RecordBuilder for SpeechEventRecord instances.
 
Field Summary
 int currentData
          Deprecated. 
 int duration
          Deprecated. 
 String eventType
          Deprecated. 
 int nextData
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 long streamNumber
          Deprecated. 
 String stringData
          Deprecated. 
 int textLength
          Deprecated. 
 int textPosition
          Deprecated. 
 
Fields inherited from interface org.robokind.api.speech.SpeechEvent
BOOKMARK, SPEECH_END, SPEECH_START, VISEME, WORD_BOUNDARY
 
Constructor Summary
SpeechEventRecord()
           
 
Method Summary
 Object get(int 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.
 org.apache.avro.Schema getSchema()
           
 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.
static SpeechEventRecord.Builder newBuilder()
          Creates a new SpeechEventRecord RecordBuilder
static SpeechEventRecord.Builder newBuilder(SpeechEventRecord.Builder other)
          Creates a new SpeechEventRecord RecordBuilder by copying an existing Builder
static SpeechEventRecord.Builder newBuilder(SpeechEventRecord other)
          Creates a new SpeechEventRecord RecordBuilder by copying an existing SpeechEventRecord instance
 void put(int field$, Object value$)
           
 void setCurrentData(Integer value)
          Sets the value of the 'currentData' field.
 void setDuration(Integer value)
          Sets the value of the 'duration' field.
 void setEventType(String value)
          Sets the value of the 'eventType' field.
 void setNextData(Integer value)
          Sets the value of the 'nextData' field.
 void setStreamNumber(Long value)
          Sets the value of the 'streamNumber' field.
 void setStringData(String value)
          Sets the value of the 'stringData' field.
 void setTextLength(Integer value)
          Sets the value of the 'textLength' field.
 void setTextPosition(Integer value)
          Sets the value of the 'textPosition' 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$

eventType

@Deprecated
public String eventType
Deprecated. 

streamNumber

@Deprecated
public long streamNumber
Deprecated. 

textPosition

@Deprecated
public int textPosition
Deprecated. 

textLength

@Deprecated
public int textLength
Deprecated. 

currentData

@Deprecated
public int currentData
Deprecated. 

nextData

@Deprecated
public int nextData
Deprecated. 

stringData

@Deprecated
public String stringData
Deprecated. 

duration

@Deprecated
public int duration
Deprecated. 
Constructor Detail

SpeechEventRecord

public SpeechEventRecord()
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

getEventType

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

Specified by:
getEventType in interface SpeechEvent

setEventType

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

Parameters:
value - the value to set.

getStreamNumber

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

Specified by:
getStreamNumber in interface SpeechEvent

setStreamNumber

public void setStreamNumber(Long value)
Sets the value of the 'streamNumber' field.

Parameters:
value - the value to set.

getTextPosition

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

Specified by:
getTextPosition in interface SpeechEvent

setTextPosition

public void setTextPosition(Integer value)
Sets the value of the 'textPosition' field.

Parameters:
value - the value to set.

getTextLength

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

Specified by:
getTextLength in interface SpeechEvent

setTextLength

public void setTextLength(Integer value)
Sets the value of the 'textLength' field.

Parameters:
value - the value to set.

getCurrentData

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

Specified by:
getCurrentData in interface SpeechEvent

setCurrentData

public void setCurrentData(Integer value)
Sets the value of the 'currentData' field.

Parameters:
value - the value to set.

getNextData

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

Specified by:
getNextData in interface SpeechEvent

setNextData

public void setNextData(Integer value)
Sets the value of the 'nextData' field.

Parameters:
value - the value to set.

getStringData

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

Specified by:
getStringData in interface SpeechEvent

setStringData

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

Parameters:
value - the value to set.

getDuration

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

Specified by:
getDuration in interface SpeechEvent

setDuration

public void setDuration(Integer value)
Sets the value of the 'duration' field.

Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2011-2013. All Rights Reserved.