- build
- setSampleRateHertz
Sample rate in Hertz of the audio data sent in all
`RecognitionAudio` messages. Valid values are:
- setEncoding
Encoding of audio data sent in all `RecognitionAudio` messages.
This field is optional for `FLAC`
- setLanguageCode
*Required* The language of the supplied audio as a
[BCP-47](https://www.rfc-editor.org/rfc/bcp/bc
- setEnableAutomaticPunctuation
*Optional* If 'true', adds punctuation to recognition result hypotheses.
This feature is only ava
- setEnableWordTimeOffsets
*Optional* If `true`, the top result includes a list of words and
the start and end time offsets
- setMaxAlternatives
*Optional* Maximum number of recognition hypotheses to be returned.
Specifically, the maximum num
- setModel
*Optional* Which model to select for the given request. Select the model
best suited to your doma
- setUseEnhanced
*Optional* Set to true to use an enhanced model for speech recognition.
If `use_enhanced` is set
- <init>
- addSpeechContexts
*Optional* array of [SpeechContext][google.cloud.speech.v1.SpeechContext].
A means to provide con
- buildPartial