RecognitionConfig$json top-level constant

  1. @Deprecated('Use recognitionConfigDescriptor instead')
Map<String, Object> const RecognitionConfig$json

Implementation

@$core.Deprecated('Use recognitionConfigDescriptor instead')
const RecognitionConfig$json = {
  '1': 'RecognitionConfig',
  '2': [
    {
      '1': 'encoding',
      '3': 1,
      '4': 1,
      '5': 14,
      '6': '.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding',
      '10': 'encoding'
    },
    {'1': 'sample_rate_hertz', '3': 2, '4': 1, '5': 5, '10': 'sampleRateHertz'},
    {
      '1': 'audio_channel_count',
      '3': 7,
      '4': 1,
      '5': 5,
      '10': 'audioChannelCount'
    },
    {
      '1': 'enable_separate_recognition_per_channel',
      '3': 12,
      '4': 1,
      '5': 8,
      '10': 'enableSeparateRecognitionPerChannel'
    },
    {
      '1': 'language_code',
      '3': 3,
      '4': 1,
      '5': 9,
      '8': {},
      '10': 'languageCode'
    },
    {
      '1': 'alternative_language_codes',
      '3': 18,
      '4': 3,
      '5': 9,
      '10': 'alternativeLanguageCodes'
    },
    {'1': 'max_alternatives', '3': 4, '4': 1, '5': 5, '10': 'maxAlternatives'},
    {'1': 'profanity_filter', '3': 5, '4': 1, '5': 8, '10': 'profanityFilter'},
    {
      '1': 'adaptation',
      '3': 20,
      '4': 1,
      '5': 11,
      '6': '.google.cloud.speech.v1p1beta1.SpeechAdaptation',
      '10': 'adaptation'
    },
    {
      '1': 'transcript_normalization',
      '3': 24,
      '4': 1,
      '5': 11,
      '6': '.google.cloud.speech.v1p1beta1.TranscriptNormalization',
      '10': 'transcriptNormalization'
    },
    {
      '1': 'speech_contexts',
      '3': 6,
      '4': 3,
      '5': 11,
      '6': '.google.cloud.speech.v1p1beta1.SpeechContext',
      '10': 'speechContexts'
    },
    {
      '1': 'enable_word_time_offsets',
      '3': 8,
      '4': 1,
      '5': 8,
      '10': 'enableWordTimeOffsets'
    },
    {
      '1': 'enable_word_confidence',
      '3': 15,
      '4': 1,
      '5': 8,
      '10': 'enableWordConfidence'
    },
    {
      '1': 'enable_automatic_punctuation',
      '3': 11,
      '4': 1,
      '5': 8,
      '10': 'enableAutomaticPunctuation'
    },
    {
      '1': 'enable_spoken_punctuation',
      '3': 22,
      '4': 1,
      '5': 11,
      '6': '.google.protobuf.BoolValue',
      '10': 'enableSpokenPunctuation'
    },
    {
      '1': 'enable_spoken_emojis',
      '3': 23,
      '4': 1,
      '5': 11,
      '6': '.google.protobuf.BoolValue',
      '10': 'enableSpokenEmojis'
    },
    {
      '1': 'enable_speaker_diarization',
      '3': 16,
      '4': 1,
      '5': 8,
      '8': {'3': true},
      '10': 'enableSpeakerDiarization',
    },
    {
      '1': 'diarization_speaker_count',
      '3': 17,
      '4': 1,
      '5': 5,
      '8': {'3': true},
      '10': 'diarizationSpeakerCount',
    },
    {
      '1': 'diarization_config',
      '3': 19,
      '4': 1,
      '5': 11,
      '6': '.google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig',
      '10': 'diarizationConfig'
    },
    {
      '1': 'metadata',
      '3': 9,
      '4': 1,
      '5': 11,
      '6': '.google.cloud.speech.v1p1beta1.RecognitionMetadata',
      '10': 'metadata'
    },
    {'1': 'model', '3': 13, '4': 1, '5': 9, '10': 'model'},
    {'1': 'use_enhanced', '3': 14, '4': 1, '5': 8, '10': 'useEnhanced'},
  ],
  '4': [RecognitionConfig_AudioEncoding$json],
};