Interface ResponseMessageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResponseMessage,ResponseMessage.Builder
public interface ResponseMessageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponseMessage.EndInteractiongetEndInteraction()A signal that indicates the interaction with the Dialogflow agent has ended.ResponseMessage.EndInteractionOrBuildergetEndInteractionOrBuilder()A signal that indicates the interaction with the Dialogflow agent has ended.ResponseMessage.LiveAgentHandoffgetLiveAgentHandoff()Hands off conversation to a live agent.ResponseMessage.LiveAgentHandoffOrBuildergetLiveAgentHandoffOrBuilder()Hands off conversation to a live agent.ResponseMessage.MessageCasegetMessageCase()ResponseMessage.MixedAudiogetMixedAudio()An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client.ResponseMessage.MixedAudioOrBuildergetMixedAudioOrBuilder()An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client.com.google.protobuf.StructgetPayload()Returns a response containing a custom, platform-specific payload.com.google.protobuf.StructOrBuildergetPayloadOrBuilder()Returns a response containing a custom, platform-specific payload.ResponseMessage.TelephonyTransferCallgetTelephonyTransferCall()A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.ResponseMessage.TelephonyTransferCallOrBuildergetTelephonyTransferCallOrBuilder()A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.ResponseMessage.TextgetText()Returns a text response.ResponseMessage.TextOrBuildergetTextOrBuilder()Returns a text response.booleanhasEndInteraction()A signal that indicates the interaction with the Dialogflow agent has ended.booleanhasLiveAgentHandoff()Hands off conversation to a live agent.booleanhasMixedAudio()An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client.booleanhasPayload()Returns a response containing a custom, platform-specific payload.booleanhasTelephonyTransferCall()A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.booleanhasText()Returns a text response.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasText
boolean hasText()
Returns a text response.
.google.cloud.dialogflow.v2beta1.ResponseMessage.Text text = 1;- Returns:
- Whether the text field is set.
-
getText
ResponseMessage.Text getText()
Returns a text response.
.google.cloud.dialogflow.v2beta1.ResponseMessage.Text text = 1;- Returns:
- The text.
-
getTextOrBuilder
ResponseMessage.TextOrBuilder getTextOrBuilder()
Returns a text response.
.google.cloud.dialogflow.v2beta1.ResponseMessage.Text text = 1;
-
hasPayload
boolean hasPayload()
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2;- Returns:
- Whether the payload field is set.
-
getPayload
com.google.protobuf.Struct getPayload()
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2;- Returns:
- The payload.
-
getPayloadOrBuilder
com.google.protobuf.StructOrBuilder getPayloadOrBuilder()
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2;
-
hasLiveAgentHandoff
boolean hasLiveAgentHandoff()
Hands off conversation to a live agent.
.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;- Returns:
- Whether the liveAgentHandoff field is set.
-
getLiveAgentHandoff
ResponseMessage.LiveAgentHandoff getLiveAgentHandoff()
Hands off conversation to a live agent.
.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;- Returns:
- The liveAgentHandoff.
-
getLiveAgentHandoffOrBuilder
ResponseMessage.LiveAgentHandoffOrBuilder getLiveAgentHandoffOrBuilder()
Hands off conversation to a live agent.
.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;
-
hasEndInteraction
boolean hasEndInteraction()
A signal that indicates the interaction with the Dialogflow agent has ended.
.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;- Returns:
- Whether the endInteraction field is set.
-
getEndInteraction
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:
- The endInteraction.
-
getEndInteractionOrBuilder
ResponseMessage.EndInteractionOrBuilder getEndInteractionOrBuilder()
A signal that indicates the interaction with the Dialogflow agent has ended.
.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;
-
hasMixedAudio
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:
- Whether the mixedAudio field is set.
-
getMixedAudio
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:
- The mixedAudio.
-
getMixedAudioOrBuilder
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;
-
hasTelephonyTransferCall
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:
- Whether the telephonyTransferCall field is set.
-
getTelephonyTransferCall
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:
- The telephonyTransferCall.
-
getTelephonyTransferCallOrBuilder
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;
-
getMessageCase
ResponseMessage.MessageCase getMessageCase()
-
-