com.google.cloud.dialogflow.v2.StreamingAnalyzeContentResponseOrBuilder 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/participant.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dialogflow.v2;
public interface StreamingAnalyzeContentResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The result of speech recognition.
*
*
* .google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;
*
* @return Whether the recognitionResult field is set.
*/
boolean hasRecognitionResult();
/**
*
*
*
* The result of speech recognition.
*
*
* .google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;
*
* @return The recognitionResult.
*/
com.google.cloud.dialogflow.v2.StreamingRecognitionResult getRecognitionResult();
/**
*
*
*
* The result of speech recognition.
*
*
* .google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;
*/
com.google.cloud.dialogflow.v2.StreamingRecognitionResultOrBuilder
getRecognitionResultOrBuilder();
/**
*
*
*
* The output text content.
* This field is set if an automated agent responded with a text for the user.
*
*
* string reply_text = 2;
*
* @return The replyText.
*/
java.lang.String getReplyText();
/**
*
*
*
* The output text content.
* This field is set if an automated agent responded with a text for the user.
*
*
* string reply_text = 2;
*
* @return The bytes for replyText.
*/
com.google.protobuf.ByteString getReplyTextBytes();
/**
*
*
*
* The audio data bytes encoded as specified in the request.
* This field is set if:
*
* - The `reply_audio_config` field is specified in the request.
* - The automated agent, which this output comes from, responded with audio.
* In such case, the `reply_audio.config` field contains settings used to
* synthesize the speech.
*
* 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.
*
*
* .google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
*
* @return Whether the replyAudio field is set.
*/
boolean hasReplyAudio();
/**
*
*
*
* The audio data bytes encoded as specified in the request.
* This field is set if:
*
* - The `reply_audio_config` field is specified in the request.
* - The automated agent, which this output comes from, responded with audio.
* In such case, the `reply_audio.config` field contains settings used to
* synthesize the speech.
*
* 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.
*
*
* .google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
*
* @return The replyAudio.
*/
com.google.cloud.dialogflow.v2.OutputAudio getReplyAudio();
/**
*
*
*
* The audio data bytes encoded as specified in the request.
* This field is set if:
*
* - The `reply_audio_config` field is specified in the request.
* - The automated agent, which this output comes from, responded with audio.
* In such case, the `reply_audio.config` field contains settings used to
* synthesize the speech.
*
* 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.
*
*
* .google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
*/
com.google.cloud.dialogflow.v2.OutputAudioOrBuilder getReplyAudioOrBuilder();
/**
*
*
*
* Only set if a Dialogflow automated agent has responded.
* Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
* and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
* are always empty, use
* [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio]
* instead.
*
*
* .google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
*
* @return Whether the automatedAgentReply field is set.
*/
boolean hasAutomatedAgentReply();
/**
*
*
*
* Only set if a Dialogflow automated agent has responded.
* Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
* and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
* are always empty, use
* [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio]
* instead.
*
*
* .google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
*
* @return The automatedAgentReply.
*/
com.google.cloud.dialogflow.v2.AutomatedAgentReply getAutomatedAgentReply();
/**
*
*
*
* Only set if a Dialogflow automated agent has responded.
* Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
* and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
* are always empty, use
* [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio]
* instead.
*
*
* .google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
*/
com.google.cloud.dialogflow.v2.AutomatedAgentReplyOrBuilder getAutomatedAgentReplyOrBuilder();
/**
*
*
*
* Message analyzed by CCAI.
*
*
* .google.cloud.dialogflow.v2.Message message = 6;
*
* @return Whether the message field is set.
*/
boolean hasMessage();
/**
*
*
*
* Message analyzed by CCAI.
*
*
* .google.cloud.dialogflow.v2.Message message = 6;
*
* @return The message.
*/
com.google.cloud.dialogflow.v2.Message getMessage();
/**
*
*
*
* Message analyzed by CCAI.
*
*
* .google.cloud.dialogflow.v2.Message message = 6;
*/
com.google.cloud.dialogflow.v2.MessageOrBuilder getMessageOrBuilder();
/**
*
*
*
* The suggestions for most recent human agent. The order is the same as
* [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
* of
* [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
*
*
* repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
*
*/
java.util.List
getHumanAgentSuggestionResultsList();
/**
*
*
*
* The suggestions for most recent human agent. The order is the same as
* [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
* of
* [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
*
*
* repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
*
*/
com.google.cloud.dialogflow.v2.SuggestionResult getHumanAgentSuggestionResults(int index);
/**
*
*
*
* The suggestions for most recent human agent. The order is the same as
* [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
* of
* [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
*
*
* repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
*
*/
int getHumanAgentSuggestionResultsCount();
/**
*
*
*
* The suggestions for most recent human agent. The order is the same as
* [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
* of
* [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
*
*
* repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
*
*/
java.util.List extends com.google.cloud.dialogflow.v2.SuggestionResultOrBuilder>
getHumanAgentSuggestionResultsOrBuilderList();
/**
*
*
*
* The suggestions for most recent human agent. The order is the same as
* [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
* of
* [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
*
*
* repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
*
*/
com.google.cloud.dialogflow.v2.SuggestionResultOrBuilder getHumanAgentSuggestionResultsOrBuilder(
int index);
/**
*
*
*
* The suggestions for end user. The order is the same as
* [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
* of
* [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
*
*
* repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
*
*/
java.util.List getEndUserSuggestionResultsList();
/**
*
*
*
* The suggestions for end user. The order is the same as
* [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
* of
* [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
*
*
* repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
*
*/
com.google.cloud.dialogflow.v2.SuggestionResult getEndUserSuggestionResults(int index);
/**
*
*
*
* The suggestions for end user. The order is the same as
* [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
* of
* [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
*
*
* repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
*
*/
int getEndUserSuggestionResultsCount();
/**
*
*
*
* The suggestions for end user. The order is the same as
* [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
* of
* [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
*
*
* repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
*
*/
java.util.List extends com.google.cloud.dialogflow.v2.SuggestionResultOrBuilder>
getEndUserSuggestionResultsOrBuilderList();
/**
*
*
*
* The suggestions for end user. The order is the same as
* [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
* of
* [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
*
*
* repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
*
*/
com.google.cloud.dialogflow.v2.SuggestionResultOrBuilder getEndUserSuggestionResultsOrBuilder(
int index);
/**
*
*
*
* Indicates the parameters of DTMF.
*
*
* .google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;
*
* @return Whether the dtmfParameters field is set.
*/
boolean hasDtmfParameters();
/**
*
*
*
* Indicates the parameters of DTMF.
*
*
* .google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;
*
* @return The dtmfParameters.
*/
com.google.cloud.dialogflow.v2.DtmfParameters getDtmfParameters();
/**
*
*
*
* Indicates the parameters of DTMF.
*
*
* .google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;
*/
com.google.cloud.dialogflow.v2.DtmfParametersOrBuilder getDtmfParametersOrBuilder();
/**
*
*
*
* Debugging info that would get populated when
* `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
*
*
* .google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;
*
* @return Whether the debuggingInfo field is set.
*/
boolean hasDebuggingInfo();
/**
*
*
*
* Debugging info that would get populated when
* `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
*
*
* .google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;
*
* @return The debuggingInfo.
*/
com.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo getDebuggingInfo();
/**
*
*
*
* Debugging info that would get populated when
* `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
*
*
* .google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;
*/
com.google.cloud.dialogflow.v2.CloudConversationDebuggingInfoOrBuilder
getDebuggingInfoOrBuilder();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy