com.google.cloud.dialogflow.v2.InputAudioConfigOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
PROTO library for proto-google-cloud-dialogflow-v2
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/v2/session.proto
package com.google.cloud.dialogflow.v2;
public interface InputAudioConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.InputAudioConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
* Required. Audio encoding of the audio content to process.
*
*
* .google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 1;
*/
int getAudioEncodingValue();
/**
*
* Required. Audio encoding of the audio content to process.
*
*
* .google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 1;
*/
com.google.cloud.dialogflow.v2.AudioEncoding getAudioEncoding();
/**
*
* 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;
*/
int getSampleRateHertz();
/**
*
* 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.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;
*/
com.google.protobuf.ByteString
getLanguageCodeBytes();
/**
*
* 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.util.List
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;
*/
com.google.protobuf.ByteString
getPhraseHintsBytes(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy