RecognitionConfig$json top-level constant
Implementation
const RecognitionConfig$json = const {
'1': 'RecognitionConfig',
'2': const [
const {
'1': 'encoding',
'3': 1,
'4': 1,
'5': 14,
'6': '.google.cloud.speech.v1.RecognitionConfig.AudioEncoding',
'10': 'encoding'
},
const {
'1': 'sample_rate_hertz',
'3': 2,
'4': 1,
'5': 5,
'10': 'sampleRateHertz'
},
const {
'1': 'audio_channel_count',
'3': 7,
'4': 1,
'5': 5,
'10': 'audioChannelCount'
},
const {
'1': 'enable_separate_recognition_per_channel',
'3': 12,
'4': 1,
'5': 8,
'10': 'enableSeparateRecognitionPerChannel'
},
const {
'1': 'language_code',
'3': 3,
'4': 1,
'5': 9,
'8': const {},
'10': 'languageCode'
},
const {
'1': 'max_alternatives',
'3': 4,
'4': 1,
'5': 5,
'10': 'maxAlternatives'
},
const {
'1': 'profanity_filter',
'3': 5,
'4': 1,
'5': 8,
'10': 'profanityFilter'
},
const {
'1': 'speech_contexts',
'3': 6,
'4': 3,
'5': 11,
'6': '.google.cloud.speech.v1.SpeechContext',
'10': 'speechContexts'
},
const {
'1': 'enable_word_time_offsets',
'3': 8,
'4': 1,
'5': 8,
'10': 'enableWordTimeOffsets'
},
const {
'1': 'enable_automatic_punctuation',
'3': 11,
'4': 1,
'5': 8,
'10': 'enableAutomaticPunctuation'
},
const {
'1': 'diarization_config',
'3': 19,
'4': 1,
'5': 11,
'6': '.google.cloud.speech.v1.SpeakerDiarizationConfig',
'10': 'diarizationConfig'
},
const {
'1': 'metadata',
'3': 9,
'4': 1,
'5': 11,
'6': '.google.cloud.speech.v1.RecognitionMetadata',
'10': 'metadata'
},
const {'1': 'model', '3': 13, '4': 1, '5': 9, '10': 'model'},
const {'1': 'use_enhanced', '3': 14, '4': 1, '5': 8, '10': 'useEnhanced'},
],
'4': const [RecognitionConfig_AudioEncoding$json],
};