org.robokind.impl.speech
Class SpeechRequestRecord.Builder

java.lang.Object
  extended by org.apache.avro.data.RecordBuilderBase<T>
      extended by org.apache.avro.specific.SpecificRecordBuilderBase<SpeechRequestRecord>
          extended by org.robokind.impl.speech.SpeechRequestRecord.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<SpeechRequestRecord>, org.jflux.api.core.Source<SpeechRequestRecord>
Enclosing class:
SpeechRequestRecord

public static class SpeechRequestRecord.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<SpeechRequestRecord>
implements org.apache.avro.data.RecordBuilder<SpeechRequestRecord>, org.jflux.api.core.Source<SpeechRequestRecord>

RecordBuilder for SpeechRequestRecord instances.


Method Summary
 SpeechRequestRecord build()
           
 SpeechRequestRecord.Builder clearPhrase()
          Clears the value of the 'phrase' field
 SpeechRequestRecord.Builder clearRequestSourceId()
          Clears the value of the 'requestSourceId' field
 SpeechRequestRecord.Builder clearSpeechServiceId()
          Clears the value of the 'speechServiceId' field
 SpeechRequestRecord.Builder clearTimestampMillisecUTC()
          Clears the value of the 'timestampMillisecUTC' field
 String getPhrase()
          Gets the value of the 'phrase' field
 String getRequestSourceId()
          Gets the value of the 'requestSourceId' field
 String getSpeechServiceId()
          Gets the value of the 'speechServiceId' field
 Long getTimestampMillisecUTC()
          Gets the value of the 'timestampMillisecUTC' field
 SpeechRequestRecord getValue()
           
 boolean hasPhrase()
          Checks whether the 'phrase' field has been set
 boolean hasRequestSourceId()
          Checks whether the 'requestSourceId' field has been set
 boolean hasSpeechServiceId()
          Checks whether the 'speechServiceId' field has been set
 boolean hasTimestampMillisecUTC()
          Checks whether the 'timestampMillisecUTC' field has been set
 SpeechRequestRecord.Builder setPhrase(String value)
          Sets the value of the 'phrase' field
 SpeechRequestRecord.Builder setRequestSourceId(String value)
          Sets the value of the 'requestSourceId' field
 SpeechRequestRecord.Builder setSpeechServiceId(String value)
          Sets the value of the 'speechServiceId' field
 SpeechRequestRecord.Builder setTimestampMillisecUTC(long value)
          Sets the value of the 'timestampMillisecUTC' field
 
Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSpeechServiceId

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


setSpeechServiceId

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


hasSpeechServiceId

public boolean hasSpeechServiceId()
Checks whether the 'speechServiceId' field has been set


clearSpeechServiceId

public SpeechRequestRecord.Builder clearSpeechServiceId()
Clears the value of the 'speechServiceId' field


getRequestSourceId

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


setRequestSourceId

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


hasRequestSourceId

public boolean hasRequestSourceId()
Checks whether the 'requestSourceId' field has been set


clearRequestSourceId

public SpeechRequestRecord.Builder clearRequestSourceId()
Clears the value of the 'requestSourceId' field


getTimestampMillisecUTC

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


setTimestampMillisecUTC

public SpeechRequestRecord.Builder setTimestampMillisecUTC(long value)
Sets the value of the 'timestampMillisecUTC' field


hasTimestampMillisecUTC

public boolean hasTimestampMillisecUTC()
Checks whether the 'timestampMillisecUTC' field has been set


clearTimestampMillisecUTC

public SpeechRequestRecord.Builder clearTimestampMillisecUTC()
Clears the value of the 'timestampMillisecUTC' field


getPhrase

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


setPhrase

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


hasPhrase

public boolean hasPhrase()
Checks whether the 'phrase' field has been set


clearPhrase

public SpeechRequestRecord.Builder clearPhrase()
Clears the value of the 'phrase' field


build

public SpeechRequestRecord build()
Specified by:
build in interface org.apache.avro.data.RecordBuilder<SpeechRequestRecord>

getValue

public SpeechRequestRecord getValue()
Specified by:
getValue in interface org.jflux.api.core.Source<SpeechRequestRecord>


Copyright © 2011-2013. All Rights Reserved.