Interface Card.CardActionOrBuilder

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

public static interface Card.CardActionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The label that displays as the action menu item.
    com.google.protobuf.ByteString
    The label that displays as the action menu item.
    The `onClick` action for this action item.
    The `onClick` action for this action item.
    boolean
    The `onClick` action for this action item.

    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

    • getActionLabel

      String getActionLabel()
       The label that displays as the action menu item.
       
      string action_label = 1;
      Returns:
      The actionLabel.
    • getActionLabelBytes

      com.google.protobuf.ByteString getActionLabelBytes()
       The label that displays as the action menu item.
       
      string action_label = 1;
      Returns:
      The bytes for actionLabel.
    • hasOnClick

      boolean hasOnClick()
       The `onClick` action for this action item.
       
      .google.apps.card.v1.OnClick on_click = 2;
      Returns:
      Whether the onClick field is set.
    • getOnClick

      OnClick getOnClick()
       The `onClick` action for this action item.
       
      .google.apps.card.v1.OnClick on_click = 2;
      Returns:
      The onClick.
    • getOnClickOrBuilder

      OnClickOrBuilder getOnClickOrBuilder()
       The `onClick` action for this action item.
       
      .google.apps.card.v1.OnClick on_click = 2;