com.google.cloud.dialogflow.cx.v3beta1.AudioInputOrBuilder 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-cx-v3beta1 Show documentation
Show all versions of proto-google-cloud-dialogflow-cx-v3beta1 Show documentation
PROTO library for proto-google-cloud-dialogflow-cx-v3beta1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/cx/v3beta1/session.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dialogflow.cx.v3beta1;
public interface AudioInputOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.AudioInput)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. Instructs the speech recognizer how to process the speech audio.
*
*
*
* .google.cloud.dialogflow.cx.v3beta1.InputAudioConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the config field is set.
*/
boolean hasConfig();
/**
*
*
*
* Required. Instructs the speech recognizer how to process the speech audio.
*
*
*
* .google.cloud.dialogflow.cx.v3beta1.InputAudioConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The config.
*/
com.google.cloud.dialogflow.cx.v3beta1.InputAudioConfig getConfig();
/**
*
*
*
* Required. Instructs the speech recognizer how to process the speech audio.
*
*
*
* .google.cloud.dialogflow.cx.v3beta1.InputAudioConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.dialogflow.cx.v3beta1.InputAudioConfigOrBuilder getConfigOrBuilder();
/**
*
*
*
* The natural language speech audio to be processed.
* A single request can contain up to 2 minutes of speech audio data.
* The [transcribed
* text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot
* contain more than 256 bytes.
*
* For non-streaming audio detect intent, both `config` and `audio` must be
* provided.
* For streaming audio detect intent, `config` must be provided in
* the first request and `audio` must be provided in all following requests.
*
*
* bytes audio = 2;
*
* @return The audio.
*/
com.google.protobuf.ByteString getAudio();
}