Interface ResponseMessageOrBuilder (4.5.11)

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ResponseMessage.LiveAgentHandoffOrBuilder

getMessageCase()

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

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

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

Returns
TypeDescription
ResponseMessage.TelephonyTransferCallOrBuilder

getText()

public abstract ResponseMessage.Text getText()

Returns a text response.

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

Returns
TypeDescription
ResponseMessage.Text

The text.

getTextOrBuilder()

public abstract ResponseMessage.TextOrBuilder getTextOrBuilder()

Returns a text response.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the liveAgentHandoff 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.

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
TypeDescription
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
TypeDescription
boolean

Whether the text field is set.