Interface Intent.Message.Card.ButtonOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Intent.Message.Card.Button, Intent.Message.Card.Button.Builder
Enclosing class:
Intent.Message.Card

public static interface Intent.Message.Card.ButtonOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getText

      String getText()
       Optional. The text to show on the button.
       
      string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       Optional. The text to show on the button.
       
      string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for text.
    • getPostback

      String getPostback()
       Optional. The text to send back to the Dialogflow API or a URI to
       open.
       
      string postback = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The postback.
    • getPostbackBytes

      com.google.protobuf.ByteString getPostbackBytes()
       Optional. The text to send back to the Dialogflow API or a URI to
       open.
       
      string postback = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for postback.