encoding property

  1. @TagNumber(1)
RecognitionConfig_AudioEncoding get encoding

Encoding of audio data sent in all RecognitionAudio messages. This field is optional for FLAC and WAV audio files and required for all other audio formats. For details, see google.cloud.speech.v1.RecognitionConfig.AudioEncoding.

Implementation

@$pb.TagNumber(1)
RecognitionConfig_AudioEncoding get encoding => $_getN(0);
  1. @TagNumber(1)
set encoding (RecognitionConfig_AudioEncoding v)

Implementation

@$pb.TagNumber(1)
set encoding(RecognitionConfig_AudioEncoding v) {
  setField(1, v);
}