Interface Intent.Message.Card.ButtonOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getPostback()
      Optional.
      com.google.protobuf.ByteString getPostbackBytes()
      Optional.
      String getText()
      Optional.
      com.google.protobuf.ByteString getTextBytes()
      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 Detail

      • 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.