org.robokind.avrogen.speech
Class SpeechRequestRecord

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

public class SpeechRequestRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, SpeechRequest


Nested Class Summary
static class SpeechRequestRecord.Builder
          RecordBuilder for SpeechRequestRecord instances.
 
Field Summary
 String phrase
          Deprecated. 
 String requestSourceId
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 String speechServiceId
          Deprecated. 
 long timestampMillisecUTC
          Deprecated. 
 
Constructor Summary
SpeechRequestRecord()
           
 
Method Summary
 Object get(int field$)
           
 String getPhrase()
          Gets the value of the 'phrase' field.
 String getRequestSourceId()
          Gets the value of the 'requestSourceId' field.
 org.apache.avro.Schema getSchema()
           
 String getSpeechServiceId()
          Gets the value of the 'speechServiceId' field.
 Long getTimestampMillisecUTC()
          Gets the value of the 'timestampMillisecUTC' field.
static SpeechRequestRecord.Builder newBuilder()
          Creates a new SpeechRequestRecord RecordBuilder
static SpeechRequestRecord.Builder newBuilder(SpeechRequestRecord.Builder other)
          Creates a new SpeechRequestRecord RecordBuilder by copying an existing Builder
static SpeechRequestRecord.Builder newBuilder(SpeechRequestRecord other)
          Creates a new SpeechRequestRecord RecordBuilder by copying an existing SpeechRequestRecord instance
 void put(int field$, Object value$)
           
 void setPhrase(String value)
          Sets the value of the 'phrase' field.
 void setRequestSourceId(String value)
          Sets the value of the 'requestSourceId' field.
 void setSpeechServiceId(String value)
          Sets the value of the 'speechServiceId' 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$

speechServiceId

@Deprecated
public String speechServiceId
Deprecated. 

requestSourceId

@Deprecated
public String requestSourceId
Deprecated. 

timestampMillisecUTC

@Deprecated
public long timestampMillisecUTC
Deprecated. 

phrase

@Deprecated
public String phrase
Deprecated. 
Constructor Detail

SpeechRequestRecord

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

getSpeechServiceId

public String getSpeechServiceId()
Gets the value of the 'speechServiceId' field.

Specified by:
getSpeechServiceId in interface SpeechRequest

setSpeechServiceId

public void setSpeechServiceId(String value)
Sets the value of the 'speechServiceId' field.

Parameters:
value - the value to set.

getRequestSourceId

public String getRequestSourceId()
Gets the value of the 'requestSourceId' field.

Specified by:
getRequestSourceId in interface SpeechRequest

setRequestSourceId

public void setRequestSourceId(String value)
Sets the value of the 'requestSourceId' field.

Parameters:
value - the value to set.

getTimestampMillisecUTC

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

Specified by:
getTimestampMillisecUTC in interface SpeechRequest

setTimestampMillisecUTC

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

Parameters:
value - the value to set.

getPhrase

public String getPhrase()
Gets the value of the 'phrase' field.

Specified by:
getPhrase in interface SpeechRequest

setPhrase

public void setPhrase(String value)
Sets the value of the 'phrase' field.

Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2011-2013. All Rights Reserved.