Interface Intent.Message.BasicCardOrBuilder

    • Method Detail

      • getTitle

        String getTitle()
         Optional. The title of the card.
         
        string title = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The title.
      • getTitleBytes

        com.google.protobuf.ByteString getTitleBytes()
         Optional. The title of the card.
         
        string title = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for title.
      • getSubtitle

        String getSubtitle()
         Optional. The subtitle of the card.
         
        string subtitle = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The subtitle.
      • getSubtitleBytes

        com.google.protobuf.ByteString getSubtitleBytes()
         Optional. The subtitle of the card.
         
        string subtitle = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for subtitle.
      • getFormattedText

        String getFormattedText()
         Required, unless image is present. The body text of the card.
         
        string formatted_text = 3;
        Returns:
        The formattedText.
      • getFormattedTextBytes

        com.google.protobuf.ByteString getFormattedTextBytes()
         Required, unless image is present. The body text of the card.
         
        string formatted_text = 3;
        Returns:
        The bytes for formattedText.
      • hasImage

        boolean hasImage()
         Optional. The image for the card.
         
        .google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the image field is set.
      • getImage

        Intent.Message.Image getImage()
         Optional. The image for the card.
         
        .google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The image.
      • getImageOrBuilder

        Intent.Message.ImageOrBuilder getImageOrBuilder()
         Optional. The image for the card.
         
        .google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getButtonsList

        List<Intent.Message.BasicCard.Button> getButtonsList()
         Optional. The collection of card buttons.
         
        repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getButtons

        Intent.Message.BasicCard.Button getButtons​(int index)
         Optional. The collection of card buttons.
         
        repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getButtonsCount

        int getButtonsCount()
         Optional. The collection of card buttons.
         
        repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getButtonsOrBuilderList

        List<? extends Intent.Message.BasicCard.ButtonOrBuilder> getButtonsOrBuilderList()
         Optional. The collection of card buttons.
         
        repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getButtonsOrBuilder

        Intent.Message.BasicCard.ButtonOrBuilder getButtonsOrBuilder​(int index)
         Optional. The collection of card buttons.
         
        repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 5 [(.google.api.field_behavior) = OPTIONAL];