com.google.cloud.dialogflow.v2.StreamingDetectIntentResponseOrBuilder 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
/*
* 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/v2/session.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.dialogflow.v2;
public interface StreamingDetectIntentResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.StreamingDetectIntentResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The unique identifier of the response. It can be used to
* locate a response in the training example set or for reporting issues.
*
*
* string response_id = 1;
*
* @return The responseId.
*/
java.lang.String getResponseId();
/**
*
*
*
* The unique identifier of the response. It can be used to
* locate a response in the training example set or for reporting issues.
*
*
* string response_id = 1;
*
* @return The bytes for responseId.
*/
com.google.protobuf.ByteString getResponseIdBytes();
/**
*
*
*
* The result of speech recognition.
*
*
* .google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 2;
*
* @return Whether the recognitionResult field is set.
*/
boolean hasRecognitionResult();
/**
*
*
*
* The result of speech recognition.
*
*
* .google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 2;
*
* @return The recognitionResult.
*/
com.google.cloud.dialogflow.v2.StreamingRecognitionResult getRecognitionResult();
/**
*
*
*
* The result of speech recognition.
*
*
* .google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 2;
*/
com.google.cloud.dialogflow.v2.StreamingRecognitionResultOrBuilder
getRecognitionResultOrBuilder();
/**
*
*
*
* The result of the conversational query or event processing.
*
*
* .google.cloud.dialogflow.v2.QueryResult query_result = 3;
*
* @return Whether the queryResult field is set.
*/
boolean hasQueryResult();
/**
*
*
*
* The result of the conversational query or event processing.
*
*
* .google.cloud.dialogflow.v2.QueryResult query_result = 3;
*
* @return The queryResult.
*/
com.google.cloud.dialogflow.v2.QueryResult getQueryResult();
/**
*
*
*
* The result of the conversational query or event processing.
*
*
* .google.cloud.dialogflow.v2.QueryResult query_result = 3;
*/
com.google.cloud.dialogflow.v2.QueryResultOrBuilder getQueryResultOrBuilder();
/**
*
*
*
* Specifies the status of the webhook request.
*
*
* .google.rpc.Status webhook_status = 4;
*
* @return Whether the webhookStatus field is set.
*/
boolean hasWebhookStatus();
/**
*
*
*
* Specifies the status of the webhook request.
*
*
* .google.rpc.Status webhook_status = 4;
*
* @return The webhookStatus.
*/
com.google.rpc.Status getWebhookStatus();
/**
*
*
*
* Specifies the status of the webhook request.
*
*
* .google.rpc.Status webhook_status = 4;
*/
com.google.rpc.StatusOrBuilder getWebhookStatusOrBuilder();
/**
*
*
*
* The audio data bytes encoded as specified in the request.
* Note: The output audio is generated based on the values of default platform
* text responses found in the `query_result.fulfillment_messages` field. If
* multiple default text responses exist, they will be concatenated when
* generating audio. If no default platform text responses exist, the
* generated audio content will be empty.
*
* In some scenarios, multiple output audio fields may be present in the
* response structure. In these cases, only the top-most-level audio output
* has content.
*
*
* bytes output_audio = 5;
*
* @return The outputAudio.
*/
com.google.protobuf.ByteString getOutputAudio();
/**
*
*
*
* The config used by the speech synthesizer to generate the output audio.
*
*
* .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 6;
*
* @return Whether the outputAudioConfig field is set.
*/
boolean hasOutputAudioConfig();
/**
*
*
*
* The config used by the speech synthesizer to generate the output audio.
*
*
* .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 6;
*
* @return The outputAudioConfig.
*/
com.google.cloud.dialogflow.v2.OutputAudioConfig getOutputAudioConfig();
/**
*
*
*
* The config used by the speech synthesizer to generate the output audio.
*
*
* .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 6;
*/
com.google.cloud.dialogflow.v2.OutputAudioConfigOrBuilder getOutputAudioConfigOrBuilder();
/**
*
*
*
* Debugging info that would get populated when
* `StreamingDetectIntentRequest.enable_debugging_info` is set to true.
*
*
* .google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 8;
*
* @return Whether the debuggingInfo field is set.
*/
boolean hasDebuggingInfo();
/**
*
*
*
* Debugging info that would get populated when
* `StreamingDetectIntentRequest.enable_debugging_info` is set to true.
*
*
* .google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 8;
*
* @return The debuggingInfo.
*/
com.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo getDebuggingInfo();
/**
*
*
*
* Debugging info that would get populated when
* `StreamingDetectIntentRequest.enable_debugging_info` is set to true.
*
*
* .google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 8;
*/
com.google.cloud.dialogflow.v2.CloudConversationDebuggingInfoOrBuilder
getDebuggingInfoOrBuilder();
}