org.robokind.avrogen.speech
Class SpeechConfigRecord

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

public class SpeechConfigRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, SpeechConfig


Nested Class Summary
static class SpeechConfigRecord.Builder
          RecordBuilder for SpeechConfigRecord instances.
 
Field Summary
 String configSourceId
          Deprecated. 
 double sampleRate
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 String speechServiceId
          Deprecated. 
 String voiceName
          Deprecated. 
 
Constructor Summary
SpeechConfigRecord()
           
 
Method Summary
 Object get(int field$)
           
 String getConfigSourceId()
          Gets the value of the 'configSourceId' field.
 Double getSampleRate()
          Gets the value of the 'sampleRate' field.
 org.apache.avro.Schema getSchema()
           
 String getSpeechServiceId()
          Gets the value of the 'speechServiceId' field.
 String getVoiceName()
          Gets the value of the 'voiceName' field.
static SpeechConfigRecord.Builder newBuilder()
          Creates a new SpeechConfigRecord RecordBuilder
static SpeechConfigRecord.Builder newBuilder(SpeechConfigRecord.Builder other)
          Creates a new SpeechConfigRecord RecordBuilder by copying an existing Builder
static SpeechConfigRecord.Builder newBuilder(SpeechConfigRecord other)
          Creates a new SpeechConfigRecord RecordBuilder by copying an existing SpeechConfigRecord instance
 void put(int field$, Object value$)
           
 void setConfigSourceId(String value)
          Sets the value of the 'configSourceId' field.
 void setSampleRate(Double value)
          Sets the value of the 'sampleRate' field.
 void setSpeechServiceId(String value)
          Sets the value of the 'speechServiceId' field.
 void setVoiceName(String value)
          Sets the value of the 'voiceName' 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. 

configSourceId

@Deprecated
public String configSourceId
Deprecated. 

voiceName

@Deprecated
public String voiceName
Deprecated. 

sampleRate

@Deprecated
public double sampleRate
Deprecated. 
Constructor Detail

SpeechConfigRecord

public SpeechConfigRecord()
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 SpeechConfig

setSpeechServiceId

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

Parameters:
value - the value to set.

getConfigSourceId

public String getConfigSourceId()
Gets the value of the 'configSourceId' field.

Specified by:
getConfigSourceId in interface SpeechConfig

setConfigSourceId

public void setConfigSourceId(String value)
Sets the value of the 'configSourceId' field.

Parameters:
value - the value to set.

getVoiceName

public String getVoiceName()
Gets the value of the 'voiceName' field.

Specified by:
getVoiceName in interface SpeechConfig

setVoiceName

public void setVoiceName(String value)
Sets the value of the 'voiceName' field.

Parameters:
value - the value to set.

getSampleRate

public Double getSampleRate()
Gets the value of the 'sampleRate' field.

Specified by:
getSampleRate in interface SpeechConfig

setSampleRate

public void setSampleRate(Double value)
Sets the value of the 'sampleRate' field.

Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2011-2013. All Rights Reserved.