public class SpeechEventRecord extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord, SpeechEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
SpeechEventRecord.Builder
RecordBuilder for SpeechEventRecord instances.
|
| Modifier and Type | Field and Description |
|---|---|
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.
|
BOOKMARK, SPEECH_END, SPEECH_START, VISEME, WORD_BOUNDARY| Constructor and Description |
|---|
SpeechEventRecord() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public String eventType
@Deprecated public long streamNumber
@Deprecated public int textPosition
@Deprecated public int textLength
@Deprecated public int currentData
@Deprecated public int nextData
@Deprecated public String stringData
@Deprecated public int duration
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic String getEventType()
getEventType in interface SpeechEventpublic void setEventType(String value)
value - the value to set.public Long getStreamNumber()
getStreamNumber in interface SpeechEventpublic void setStreamNumber(Long value)
value - the value to set.public Integer getTextPosition()
getTextPosition in interface SpeechEventpublic void setTextPosition(Integer value)
value - the value to set.public Integer getTextLength()
getTextLength in interface SpeechEventpublic void setTextLength(Integer value)
value - the value to set.public Integer getCurrentData()
getCurrentData in interface SpeechEventpublic void setCurrentData(Integer value)
value - the value to set.public Integer getNextData()
getNextData in interface SpeechEventpublic void setNextData(Integer value)
value - the value to set.public String getStringData()
getStringData in interface SpeechEventpublic void setStringData(String value)
value - the value to set.public Integer getDuration()
getDuration in interface SpeechEventpublic void setDuration(Integer value)
value - the value to set.public static SpeechEventRecord.Builder newBuilder()
public static SpeechEventRecord.Builder newBuilder(SpeechEventRecord.Builder other)
public static SpeechEventRecord.Builder newBuilder(SpeechEventRecord other)
Copyright © 2011-2014. All Rights Reserved.