com.google.cloud.dialogflow.v2beta1.ResponseMessageOrBuilder 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-v2beta1 Show documentation
Show all versions of proto-google-cloud-dialogflow-v2beta1 Show documentation
PROTO library for proto-google-cloud-dialogflow-v2beta1
/*
* 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/v2beta1/participant.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dialogflow.v2beta1;
public interface ResponseMessageOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2beta1.ResponseMessage)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Returns a text response.
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.Text text = 1;
*
* @return Whether the text field is set.
*/
boolean hasText();
/**
*
*
*
* Returns a text response.
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.Text text = 1;
*
* @return The text.
*/
com.google.cloud.dialogflow.v2beta1.ResponseMessage.Text getText();
/**
*
*
*
* Returns a text response.
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.Text text = 1;
*/
com.google.cloud.dialogflow.v2beta1.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();
/**
*
*
*
* Hands off conversation to a live agent.
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;
*
*
* @return Whether the liveAgentHandoff field is set.
*/
boolean hasLiveAgentHandoff();
/**
*
*
*
* Hands off conversation to a live agent.
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;
*
*
* @return The liveAgentHandoff.
*/
com.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff getLiveAgentHandoff();
/**
*
*
*
* Hands off conversation to a live agent.
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;
*
*/
com.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoffOrBuilder
getLiveAgentHandoffOrBuilder();
/**
*
*
*
* A signal that indicates the interaction with the Dialogflow agent has
* ended.
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;
*
*
* @return Whether the endInteraction field is set.
*/
boolean hasEndInteraction();
/**
*
*
*
* A signal that indicates the interaction with the Dialogflow agent has
* ended.
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;
*
*
* @return The endInteraction.
*/
com.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction getEndInteraction();
/**
*
*
*
* A signal that indicates the interaction with the Dialogflow agent has
* ended.
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;
*
*/
com.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteractionOrBuilder
getEndInteractionOrBuilder();
/**
*
*
*
* An audio response message composed of both the synthesized Dialogflow
* agent responses and the audios hosted in places known to the client.
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio mixed_audio = 5;
*
* @return Whether the mixedAudio field is set.
*/
boolean hasMixedAudio();
/**
*
*
*
* An audio response message composed of both the synthesized Dialogflow
* agent responses and the audios hosted in places known to the client.
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio mixed_audio = 5;
*
* @return The mixedAudio.
*/
com.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio getMixedAudio();
/**
*
*
*
* An audio response message composed of both the synthesized Dialogflow
* agent responses and the audios hosted in places known to the client.
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio mixed_audio = 5;
*/
com.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudioOrBuilder getMixedAudioOrBuilder();
/**
*
*
*
* A signal that the client should transfer the phone call connected to
* this agent to a third-party endpoint.
*
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6;
*
*
* @return Whether the telephonyTransferCall field is set.
*/
boolean hasTelephonyTransferCall();
/**
*
*
*
* A signal that the client should transfer the phone call connected to
* this agent to a third-party endpoint.
*
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6;
*
*
* @return The telephonyTransferCall.
*/
com.google.cloud.dialogflow.v2beta1.ResponseMessage.TelephonyTransferCall
getTelephonyTransferCall();
/**
*
*
*
* A signal that the client should transfer the phone call connected to
* this agent to a third-party endpoint.
*
*
*
* .google.cloud.dialogflow.v2beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6;
*
*/
com.google.cloud.dialogflow.v2beta1.ResponseMessage.TelephonyTransferCallOrBuilder
getTelephonyTransferCallOrBuilder();
com.google.cloud.dialogflow.v2beta1.ResponseMessage.MessageCase getMessageCase();
}