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

com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.66.0
Show newest version
/*
 * Copyright 2020 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/v3/response_message.proto

package com.google.cloud.dialogflow.cx.v3;

public interface ResponseMessageOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3.ResponseMessage)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Returns a text response.
   * 
* * .google.cloud.dialogflow.cx.v3.ResponseMessage.Text text = 1; * * @return Whether the text field is set. */ boolean hasText(); /** * * *
   * Returns a text response.
   * 
* * .google.cloud.dialogflow.cx.v3.ResponseMessage.Text text = 1; * * @return The text. */ com.google.cloud.dialogflow.cx.v3.ResponseMessage.Text getText(); /** * * *
   * Returns a text response.
   * 
* * .google.cloud.dialogflow.cx.v3.ResponseMessage.Text text = 1; */ com.google.cloud.dialogflow.cx.v3.ResponseMessage.TextOrBuilder getTextOrBuilder(); /** * * *
   * Returns a response containing a custom, platform-specific payload.
   * 
* * .google.protobuf.Struct payload = 2; * * @return Whether the payload field is set. */ boolean hasPayload(); /** * * *
   * Returns a response containing a custom, platform-specific payload.
   * 
* * .google.protobuf.Struct payload = 2; * * @return The payload. */ com.google.protobuf.Struct getPayload(); /** * * *
   * Returns a response containing a custom, platform-specific payload.
   * 
* * .google.protobuf.Struct payload = 2; */ com.google.protobuf.StructOrBuilder getPayloadOrBuilder(); /** * * *
   * Indicates that the conversation succeeded.
   * 
* * * .google.cloud.dialogflow.cx.v3.ResponseMessage.ConversationSuccess conversation_success = 9; * * * @return Whether the conversationSuccess field is set. */ boolean hasConversationSuccess(); /** * * *
   * Indicates that the conversation succeeded.
   * 
* * * .google.cloud.dialogflow.cx.v3.ResponseMessage.ConversationSuccess conversation_success = 9; * * * @return The conversationSuccess. */ com.google.cloud.dialogflow.cx.v3.ResponseMessage.ConversationSuccess getConversationSuccess(); /** * * *
   * Indicates that the conversation succeeded.
   * 
* * * .google.cloud.dialogflow.cx.v3.ResponseMessage.ConversationSuccess conversation_success = 9; * */ com.google.cloud.dialogflow.cx.v3.ResponseMessage.ConversationSuccessOrBuilder getConversationSuccessOrBuilder(); /** * * *
   * A text or ssml response that is preferentially used for TTS output audio
   * synthesis, as described in the comment on the ResponseMessage message.
   * 
* * .google.cloud.dialogflow.cx.v3.ResponseMessage.OutputAudioText output_audio_text = 8; * * * @return Whether the outputAudioText field is set. */ boolean hasOutputAudioText(); /** * * *
   * A text or ssml response that is preferentially used for TTS output audio
   * synthesis, as described in the comment on the ResponseMessage message.
   * 
* * .google.cloud.dialogflow.cx.v3.ResponseMessage.OutputAudioText output_audio_text = 8; * * * @return The outputAudioText. */ com.google.cloud.dialogflow.cx.v3.ResponseMessage.OutputAudioText getOutputAudioText(); /** * * *
   * A text or ssml response that is preferentially used for TTS output audio
   * synthesis, as described in the comment on the ResponseMessage message.
   * 
* * .google.cloud.dialogflow.cx.v3.ResponseMessage.OutputAudioText output_audio_text = 8; * */ com.google.cloud.dialogflow.cx.v3.ResponseMessage.OutputAudioTextOrBuilder getOutputAudioTextOrBuilder(); /** * * *
   * Hands off conversation to a human agent.
   * 
* * .google.cloud.dialogflow.cx.v3.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10; * * * @return Whether the liveAgentHandoff field is set. */ boolean hasLiveAgentHandoff(); /** * * *
   * Hands off conversation to a human agent.
   * 
* * .google.cloud.dialogflow.cx.v3.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10; * * * @return The liveAgentHandoff. */ com.google.cloud.dialogflow.cx.v3.ResponseMessage.LiveAgentHandoff getLiveAgentHandoff(); /** * * *
   * Hands off conversation to a human agent.
   * 
* * .google.cloud.dialogflow.cx.v3.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10; * */ com.google.cloud.dialogflow.cx.v3.ResponseMessage.LiveAgentHandoffOrBuilder getLiveAgentHandoffOrBuilder(); /** * * *
   * Output only. A signal that indicates the interaction with the Dialogflow agent has
   * ended.
   * This message is generated by Dialogflow only when the conversation
   * reaches `END_SESSION` page. It is not supposed to be defined by the user.
   * It's guaranteed that there is at most one such message in each response.
   * 
* * * .google.cloud.dialogflow.cx.v3.ResponseMessage.EndInteraction end_interaction = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the endInteraction field is set. */ boolean hasEndInteraction(); /** * * *
   * Output only. A signal that indicates the interaction with the Dialogflow agent has
   * ended.
   * This message is generated by Dialogflow only when the conversation
   * reaches `END_SESSION` page. It is not supposed to be defined by the user.
   * It's guaranteed that there is at most one such message in each response.
   * 
* * * .google.cloud.dialogflow.cx.v3.ResponseMessage.EndInteraction end_interaction = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The endInteraction. */ com.google.cloud.dialogflow.cx.v3.ResponseMessage.EndInteraction getEndInteraction(); /** * * *
   * Output only. A signal that indicates the interaction with the Dialogflow agent has
   * ended.
   * This message is generated by Dialogflow only when the conversation
   * reaches `END_SESSION` page. It is not supposed to be defined by the user.
   * It's guaranteed that there is at most one such message in each response.
   * 
* * * .google.cloud.dialogflow.cx.v3.ResponseMessage.EndInteraction end_interaction = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.cloud.dialogflow.cx.v3.ResponseMessage.EndInteractionOrBuilder getEndInteractionOrBuilder(); /** * * *
   * Signal that the client should play an audio clip hosted at a
   * client-specific URI. Dialogflow uses this to construct
   * [mixed_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.mixed_audio]. However, Dialogflow itself
   * does not try to read or process the URI in any way.
   * 
* * .google.cloud.dialogflow.cx.v3.ResponseMessage.PlayAudio play_audio = 12; * * @return Whether the playAudio field is set. */ boolean hasPlayAudio(); /** * * *
   * Signal that the client should play an audio clip hosted at a
   * client-specific URI. Dialogflow uses this to construct
   * [mixed_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.mixed_audio]. However, Dialogflow itself
   * does not try to read or process the URI in any way.
   * 
* * .google.cloud.dialogflow.cx.v3.ResponseMessage.PlayAudio play_audio = 12; * * @return The playAudio. */ com.google.cloud.dialogflow.cx.v3.ResponseMessage.PlayAudio getPlayAudio(); /** * * *
   * Signal that the client should play an audio clip hosted at a
   * client-specific URI. Dialogflow uses this to construct
   * [mixed_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.mixed_audio]. However, Dialogflow itself
   * does not try to read or process the URI in any way.
   * 
* * .google.cloud.dialogflow.cx.v3.ResponseMessage.PlayAudio play_audio = 12; */ com.google.cloud.dialogflow.cx.v3.ResponseMessage.PlayAudioOrBuilder getPlayAudioOrBuilder(); /** * * *
   * Output only. An audio response message composed of both the synthesized Dialogflow
   * agent responses and responses defined via
   * [play_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.play_audio].
   * This message is generated by Dialogflow only and not supposed to be
   * defined by the user.
   * 
* * * .google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudio mixed_audio = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the mixedAudio field is set. */ boolean hasMixedAudio(); /** * * *
   * Output only. An audio response message composed of both the synthesized Dialogflow
   * agent responses and responses defined via
   * [play_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.play_audio].
   * This message is generated by Dialogflow only and not supposed to be
   * defined by the user.
   * 
* * * .google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudio mixed_audio = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The mixedAudio. */ com.google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudio getMixedAudio(); /** * * *
   * Output only. An audio response message composed of both the synthesized Dialogflow
   * agent responses and responses defined via
   * [play_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.play_audio].
   * This message is generated by Dialogflow only and not supposed to be
   * defined by the user.
   * 
* * * .google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudio mixed_audio = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudioOrBuilder getMixedAudioOrBuilder(); public com.google.cloud.dialogflow.cx.v3.ResponseMessage.MessageCase getMessageCase(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy