Interface ResponseMessageOrBuilder (4.42.0)

public interface ResponseMessageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndInteraction()

public abstract ResponseMessage.EndInteraction getEndInteraction()

A signal that indicates the interaction with the Dialogflow agent has ended.

.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;

Returns
Type Description
ResponseMessage.EndInteraction

The endInteraction.

getEndInteractionOrBuilder()

public abstract ResponseMessage.EndInteractionOrBuilder getEndInteractionOrBuilder()

A signal that indicates the interaction with the Dialogflow agent has ended.

.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;

Returns
Type Description
ResponseMessage.EndInteractionOrBuilder

getLiveAgentHandoff()

public abstract ResponseMessage.LiveAgentHandoff getLiveAgentHandoff()

Hands off conversation to a live agent.

.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;

Returns
Type Description
ResponseMessage.LiveAgentHandoff

The liveAgentHandoff.

getLiveAgentHandoffOrBuilder()

public abstract ResponseMessage.LiveAgentHandoffOrBuilder getLiveAgentHandoffOrBuilder()

Hands off conversation to a live agent.

.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;

Returns
Type Description
ResponseMessage.LiveAgentHandoffOrBuilder

getMessageCase()

public abstract ResponseMessage.MessageCase getMessageCase()
Returns
Type Description
ResponseMessage.MessageCase

getMixedAudio()

public abstract 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;

Returns
Type Description
ResponseMessage.MixedAudio

The mixedAudio.

getMixedAudioOrBuilder()

public abstract ResponseMessage.MixedAudioOrBuilder getMixedAudioOrBuilder()

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;

Returns
Type Description
ResponseMessage.MixedAudioOrBuilder

getPayload()

public abstract Struct getPayload()

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

.google.protobuf.Struct payload = 2;

Returns
Type Description
Struct

The payload.

getPayloadOrBuilder()

public abstract StructOrBuilder getPayloadOrBuilder()

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

.google.protobuf.Struct payload = 2;

Returns
Type Description
StructOrBuilder

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.v2beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6;

Returns
Type Description
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.v2beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6;

Returns
Type Description
ResponseMessage.TelephonyTransferCallOrBuilder

getText()

public abstract ResponseMessage.Text getText()

Returns a text response.

.google.cloud.dialogflow.v2beta1.ResponseMessage.Text text = 1;

Returns
Type Description
ResponseMessage.Text

The text.

getTextOrBuilder()

public abstract ResponseMessage.TextOrBuilder getTextOrBuilder()

Returns a text response.

.google.cloud.dialogflow.v2beta1.ResponseMessage.Text text = 1;

Returns
Type Description
ResponseMessage.TextOrBuilder

hasEndInteraction()

public abstract boolean hasEndInteraction()

A signal that indicates the interaction with the Dialogflow agent has ended.

.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;

Returns
Type Description
boolean

Whether the endInteraction field is set.

hasLiveAgentHandoff()

public abstract boolean hasLiveAgentHandoff()

Hands off conversation to a live agent.

.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;

Returns
Type Description
boolean

Whether the liveAgentHandoff field is set.

hasMixedAudio()

public abstract 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;

Returns
Type Description
boolean

Whether the mixedAudio field is set.

hasPayload()

public abstract boolean hasPayload()

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

.google.protobuf.Struct payload = 2;

Returns
Type Description
boolean

Whether the payload 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.v2beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6;

Returns
Type Description
boolean

Whether the telephonyTransferCall field is set.

hasText()

public abstract boolean hasText()

Returns a text response.

.google.cloud.dialogflow.v2beta1.ResponseMessage.Text text = 1;

Returns
Type Description
boolean

Whether the text field is set.