All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dialogflow.v2.InputAudioConfigOrBuilder Maven / Gradle / Ivy

There is a newer version: 4.55.0
Show newest version
// 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](https://cloud.google.com/speech-to-text/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://cloud.google.com/dialogflow-enterprise/docs/reference/language)
   * 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://cloud.google.com/dialogflow-enterprise/docs/reference/language)
   * 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](https://cloud.google.com/speech-to-text/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](https://cloud.google.com/speech-to-text/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](https://cloud.google.com/speech-to-text/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](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
   * for more details.
   * 
* * repeated string phrase_hints = 4; */ com.google.protobuf.ByteString getPhraseHintsBytes(int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy