public interface InputAudioConfigOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
AudioEncoding |
getAudioEncoding()
Required.
|
int |
getAudioEncodingValue()
Required.
|
java.lang.String |
getLanguageCode()
Required.
|
ByteString |
getLanguageCodeBytes()
Required.
|
java.lang.String |
getPhraseHints(int index)
Optional.
|
ByteString |
getPhraseHintsBytes(int index)
Optional.
|
int |
getPhraseHintsCount()
Optional.
|
java.util.List<java.lang.String> |
getPhraseHintsList()
Optional.
|
int |
getSampleRateHertz()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getAudioEncodingValue()
Required. Audio encoding of the audio content to process.
.google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 1;
AudioEncoding getAudioEncoding()
Required. Audio encoding of the audio content to process.
.google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 1;
int getSampleRateHertz()
Required. Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](/speech/docs/basics) for more details.
int32 sample_rate_hertz = 2;
java.lang.String getLanguageCode()
Required. The language of the supplied audio. Dialogflow does not do translations. See [Language Support](https://dialogflow.com/docs/languages) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
string language_code = 3;
ByteString getLanguageCodeBytes()
Required. The language of the supplied audio. Dialogflow does not do translations. See [Language Support](https://dialogflow.com/docs/languages) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
string language_code = 3;
java.util.List<java.lang.String> getPhraseHintsList()
Optional. The collection of phrase hints which are used to boost accuracy of speech recognition. Refer to [Cloud Speech API documentation](/speech/docs/basics#phrase-hints) for more details.
repeated string phrase_hints = 4;
int getPhraseHintsCount()
Optional. The collection of phrase hints which are used to boost accuracy of speech recognition. Refer to [Cloud Speech API documentation](/speech/docs/basics#phrase-hints) for more details.
repeated string phrase_hints = 4;
java.lang.String getPhraseHints(int index)
Optional. The collection of phrase hints which are used to boost accuracy of speech recognition. Refer to [Cloud Speech API documentation](/speech/docs/basics#phrase-hints) for more details.
repeated string phrase_hints = 4;
ByteString getPhraseHintsBytes(int index)
Optional. The collection of phrase hints which are used to boost accuracy of speech recognition. Refer to [Cloud Speech API documentation](/speech/docs/basics#phrase-hints) for more details.
repeated string phrase_hints = 4;