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