Interface ResponseMessageOrBuilder (0.13.0)

public interface ResponseMessageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConversationSuccess()

public abstract ResponseMessage.ConversationSuccess getConversationSuccess()

Indicates that the conversation succeeded.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9;

Returns
TypeDescription
ResponseMessage.ConversationSuccess

The conversationSuccess.

getConversationSuccessOrBuilder()

public abstract ResponseMessage.ConversationSuccessOrBuilder getConversationSuccessOrBuilder()

Indicates that the conversation succeeded.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9;

Returns
TypeDescription
ResponseMessage.ConversationSuccessOrBuilder

getEndInteraction()

public abstract 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.v3beta1.ResponseMessage.EndInteraction end_interaction = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ResponseMessage.EndInteraction

The endInteraction.

getEndInteractionOrBuilder()

public abstract ResponseMessage.EndInteractionOrBuilder getEndInteractionOrBuilder()

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.v3beta1.ResponseMessage.EndInteraction end_interaction = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ResponseMessage.EndInteractionOrBuilder

getLiveAgentHandoff()

public abstract ResponseMessage.LiveAgentHandoff getLiveAgentHandoff()

Hands off conversation to a human agent.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10;

Returns
TypeDescription
ResponseMessage.LiveAgentHandoff

The liveAgentHandoff.

getLiveAgentHandoffOrBuilder()

public abstract ResponseMessage.LiveAgentHandoffOrBuilder getLiveAgentHandoffOrBuilder()

Hands off conversation to a human agent.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10;

Returns
TypeDescription
ResponseMessage.LiveAgentHandoffOrBuilder

getMessageCase()

public abstract ResponseMessage.MessageCase getMessageCase()
Returns
TypeDescription
ResponseMessage.MessageCase

getMixedAudio()

public abstract ResponseMessage.MixedAudio getMixedAudio()

Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio mixed_audio = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ResponseMessage.MixedAudio

The mixedAudio.

getMixedAudioOrBuilder()

public abstract ResponseMessage.MixedAudioOrBuilder getMixedAudioOrBuilder()

Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio mixed_audio = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ResponseMessage.MixedAudioOrBuilder

getOutputAudioText()

public abstract 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.v3beta1.ResponseMessage.OutputAudioText output_audio_text = 8;

Returns
TypeDescription
ResponseMessage.OutputAudioText

The outputAudioText.

getOutputAudioTextOrBuilder()

public abstract ResponseMessage.OutputAudioTextOrBuilder getOutputAudioTextOrBuilder()

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.v3beta1.ResponseMessage.OutputAudioText output_audio_text = 8;

Returns
TypeDescription
ResponseMessage.OutputAudioTextOrBuilder

getPayload()

public abstract Struct getPayload()

Returns a response containing a custom, platform-specific payload.

.google.protobuf.Struct payload = 2;

Returns
TypeDescription
Struct

The payload.

getPayloadOrBuilder()

public abstract StructOrBuilder getPayloadOrBuilder()

Returns a response containing a custom, platform-specific payload.

.google.protobuf.Struct payload = 2;

Returns
TypeDescription
StructOrBuilder

getPlayAudio()

public abstract 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. However, Dialogflow itself does not try to read or process the URI in any way.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;

Returns
TypeDescription
ResponseMessage.PlayAudio

The playAudio.

getPlayAudioOrBuilder()

public abstract ResponseMessage.PlayAudioOrBuilder getPlayAudioOrBuilder()

Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;

Returns
TypeDescription
ResponseMessage.PlayAudioOrBuilder

getTelephonyTransferCall()

public abstract 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.cx.v3beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 18;

Returns
TypeDescription
ResponseMessage.TelephonyTransferCall

The telephonyTransferCall.

getTelephonyTransferCallOrBuilder()

public abstract ResponseMessage.TelephonyTransferCallOrBuilder getTelephonyTransferCallOrBuilder()

A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 18;

Returns
TypeDescription
ResponseMessage.TelephonyTransferCallOrBuilder

getText()

public abstract ResponseMessage.Text getText()

Returns a text response.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1;

Returns
TypeDescription
ResponseMessage.Text

The text.

getTextOrBuilder()

public abstract ResponseMessage.TextOrBuilder getTextOrBuilder()

Returns a text response.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1;

Returns
TypeDescription
ResponseMessage.TextOrBuilder

hasConversationSuccess()

public abstract boolean hasConversationSuccess()

Indicates that the conversation succeeded.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9;

Returns
TypeDescription
boolean

Whether the conversationSuccess field is set.

hasEndInteraction()

public abstract 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.v3beta1.ResponseMessage.EndInteraction end_interaction = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the endInteraction field is set.

hasLiveAgentHandoff()

public abstract boolean hasLiveAgentHandoff()

Hands off conversation to a human agent.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10;

Returns
TypeDescription
boolean

Whether the liveAgentHandoff field is set.

hasMixedAudio()

public abstract boolean hasMixedAudio()

Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio mixed_audio = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the mixedAudio field is set.

hasOutputAudioText()

public abstract 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.v3beta1.ResponseMessage.OutputAudioText output_audio_text = 8;

Returns
TypeDescription
boolean

Whether the outputAudioText field is set.

hasPayload()

public abstract boolean hasPayload()

Returns a response containing a custom, platform-specific payload.

.google.protobuf.Struct payload = 2;

Returns
TypeDescription
boolean

Whether the payload field is set.

hasPlayAudio()

public abstract boolean hasPlayAudio()

Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;

Returns
TypeDescription
boolean

Whether the playAudio field is set.

hasTelephonyTransferCall()

public abstract boolean hasTelephonyTransferCall()

A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 18;

Returns
TypeDescription
boolean

Whether the telephonyTransferCall field is set.

hasText()

public abstract boolean hasText()

Returns a text response.

.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1;

Returns
TypeDescription
boolean

Whether the text field is set.