Interface Intent.Message.RbmSuggestedActionOrBuilder

    • Method Detail

      • getText

        String getText()
         Text to display alongside the action.
         
        string text = 1;
        Returns:
        The text.
      • getTextBytes

        com.google.protobuf.ByteString getTextBytes()
         Text to display alongside the action.
         
        string text = 1;
        Returns:
        The bytes for text.
      • getPostbackData

        String getPostbackData()
         Opaque payload that the Dialogflow receives in a user event
         when the user taps the suggested action. This data will be also
         forwarded to webhook to allow performing custom business logic.
         
        string postback_data = 2;
        Returns:
        The postbackData.
      • getPostbackDataBytes

        com.google.protobuf.ByteString getPostbackDataBytes()
         Opaque payload that the Dialogflow receives in a user event
         when the user taps the suggested action. This data will be also
         forwarded to webhook to allow performing custom business logic.
         
        string postback_data = 2;
        Returns:
        The bytes for postbackData.
      • hasDial

        boolean hasDial()
         Suggested client side action: Dial a phone number
         
        .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;
        Returns:
        Whether the dial field is set.
      • hasOpenUrl

        boolean hasOpenUrl()
         Suggested client side action: Open a URI on device
         
        .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri open_url = 4;
        Returns:
        Whether the openUrl field is set.
      • hasShareLocation

        boolean hasShareLocation()
         Suggested client side action: Share user location
         
        .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;
        Returns:
        Whether the shareLocation field is set.