Interface ResponseMessageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResponseMessage,ResponseMessage.Builder
@Generated
public interface ResponseMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA signal that indicates the interaction with the Dialogflow agent has ended.A signal that indicates the interaction with the Dialogflow agent has ended.Hands off conversation to a live agent.Hands off conversation to a live agent.An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client.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.StructReturns a response containing a custom, platform-specific payload.com.google.protobuf.StructOrBuilderReturns a response containing a custom, platform-specific payload.A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.getText()Returns a text response.Returns a text response.booleanA signal that indicates the interaction with the Dialogflow agent has ended.booleanHands off conversation to a live agent.booleanAn audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client.booleanReturns a response containing a custom, platform-specific payload.booleanA 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.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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()
-