Package | Description |
---|---|
com.google.cloud.dialogflow.v2 |
A client to Dialogflow API
|
Modifier and Type | Method and Description |
---|---|
InputAudioConfig.Builder |
InputAudioConfig.Builder.addAllPhraseHints(Iterable<String> values)
Deprecated.
google.cloud.dialogflow.v2.InputAudioConfig.phrase_hints is deprecated. See
google/cloud/dialogflow/v2/audio_config.proto;l=220
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.addAllSpeechContexts(Iterable<? extends SpeechContext> values)
Context information to assist speech recognition.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.addPhraseHints(String value)
Deprecated.
google.cloud.dialogflow.v2.InputAudioConfig.phrase_hints is deprecated. See
google/cloud/dialogflow/v2/audio_config.proto;l=220
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.addPhraseHintsBytes(ByteString value)
Deprecated.
google.cloud.dialogflow.v2.InputAudioConfig.phrase_hints is deprecated. See
google/cloud/dialogflow/v2/audio_config.proto;l=220
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
InputAudioConfig.Builder |
InputAudioConfig.Builder.addSpeechContexts(int index,
SpeechContext.Builder builderForValue)
Context information to assist speech recognition.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.addSpeechContexts(int index,
SpeechContext value)
Context information to assist speech recognition.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.addSpeechContexts(SpeechContext.Builder builderForValue)
Context information to assist speech recognition.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.addSpeechContexts(SpeechContext value)
Context information to assist speech recognition.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.clear() |
InputAudioConfig.Builder |
InputAudioConfig.Builder.clearAudioEncoding()
Required.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.clearDisableNoSpeechRecognizedEvent()
Only used in [Participants.AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent] and
[Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent].
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.clearEnableWordInfo()
If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
[StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult] with information about the recognized speech
words, e.g.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.clearField(Descriptors.FieldDescriptor field) |
InputAudioConfig.Builder |
InputAudioConfig.Builder.clearLanguageCode()
Required.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.clearModel()
Which Speech model to select for the given request.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.clearModelVariant()
Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
InputAudioConfig.Builder |
InputAudioConfig.Builder.clearPhraseHints()
Deprecated.
google.cloud.dialogflow.v2.InputAudioConfig.phrase_hints is deprecated. See
google/cloud/dialogflow/v2/audio_config.proto;l=220
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.clearSampleRateHertz()
Required.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.clearSingleUtterance()
If `false` (default), recognition does not cease until the
client closes the stream.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.clearSpeechContexts()
Context information to assist speech recognition.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.clone() |
InputAudioConfig.Builder |
QueryInput.Builder.getAudioConfigBuilder()
Instructs the speech recognizer how to process the speech audio.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
InputAudioConfig.Builder |
InputAudioConfig.Builder.mergeFrom(InputAudioConfig other) |
InputAudioConfig.Builder |
InputAudioConfig.Builder.mergeFrom(Message other) |
InputAudioConfig.Builder |
InputAudioConfig.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
static InputAudioConfig.Builder |
InputAudioConfig.newBuilder() |
static InputAudioConfig.Builder |
InputAudioConfig.newBuilder(InputAudioConfig prototype) |
InputAudioConfig.Builder |
InputAudioConfig.newBuilderForType() |
protected InputAudioConfig.Builder |
InputAudioConfig.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
InputAudioConfig.Builder |
InputAudioConfig.Builder.removeSpeechContexts(int index)
Context information to assist speech recognition.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setAudioEncoding(AudioEncoding value)
Required.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setAudioEncodingValue(int value)
Required.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setDisableNoSpeechRecognizedEvent(boolean value)
Only used in [Participants.AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent] and
[Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent].
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setEnableWordInfo(boolean value)
If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
[StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult] with information about the recognized speech
words, e.g.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
InputAudioConfig.Builder |
InputAudioConfig.Builder.setLanguageCode(String value)
Required.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setLanguageCodeBytes(ByteString value)
Required.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setModel(String value)
Which Speech model to select for the given request.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setModelBytes(ByteString value)
Which Speech model to select for the given request.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setModelVariant(SpeechModelVariant value)
Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setModelVariantValue(int value)
Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setPhraseHints(int index,
String value)
Deprecated.
google.cloud.dialogflow.v2.InputAudioConfig.phrase_hints is deprecated. See
google/cloud/dialogflow/v2/audio_config.proto;l=220
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
InputAudioConfig.Builder |
InputAudioConfig.Builder.setSampleRateHertz(int value)
Required.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setSingleUtterance(boolean value)
If `false` (default), recognition does not cease until the
client closes the stream.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setSpeechContexts(int index,
SpeechContext.Builder builderForValue)
Context information to assist speech recognition.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setSpeechContexts(int index,
SpeechContext value)
Context information to assist speech recognition.
|
InputAudioConfig.Builder |
InputAudioConfig.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
InputAudioConfig.Builder |
InputAudioConfig.toBuilder() |
Modifier and Type | Method and Description |
---|---|
QueryInput.Builder |
QueryInput.Builder.setAudioConfig(InputAudioConfig.Builder builderForValue)
Instructs the speech recognizer how to process the speech audio.
|
Copyright © 2022 Google LLC. All rights reserved.