Interface OnClickOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OnClick, OnClick.Builder

public interface OnClickOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasAction

      boolean hasAction()
       If specified, an action is triggered by this `onClick`.
       
      .google.apps.card.v1.Action action = 1;
      Returns:
      Whether the action field is set.
    • getAction

      Action getAction()
       If specified, an action is triggered by this `onClick`.
       
      .google.apps.card.v1.Action action = 1;
      Returns:
      The action.
    • getActionOrBuilder

      ActionOrBuilder getActionOrBuilder()
       If specified, an action is triggered by this `onClick`.
       
      .google.apps.card.v1.Action action = 1;
    • hasOpenLink

      boolean hasOpenLink()
       If specified, this `onClick` triggers an open link action.
       
      .google.apps.card.v1.OpenLink open_link = 2;
      Returns:
      Whether the openLink field is set.
    • getOpenLink

      OpenLink getOpenLink()
       If specified, this `onClick` triggers an open link action.
       
      .google.apps.card.v1.OpenLink open_link = 2;
      Returns:
      The openLink.
    • getOpenLinkOrBuilder

      OpenLinkOrBuilder getOpenLinkOrBuilder()
       If specified, this `onClick` triggers an open link action.
       
      .google.apps.card.v1.OpenLink open_link = 2;
    • hasOpenDynamicLinkAction

      boolean hasOpenDynamicLinkAction()
       An add-on triggers this action when the action needs to open a
       link. This differs from the `open_link` above in that this needs to talk
       to server to get the link. Thus some preparation work is required for
       web client to do before the open link action response comes back.
      
       [Google Workspace
       add-ons](https://developers.google.com/workspace/add-ons):
       
      .google.apps.card.v1.Action open_dynamic_link_action = 3;
      Returns:
      Whether the openDynamicLinkAction field is set.
    • getOpenDynamicLinkAction

      Action getOpenDynamicLinkAction()
       An add-on triggers this action when the action needs to open a
       link. This differs from the `open_link` above in that this needs to talk
       to server to get the link. Thus some preparation work is required for
       web client to do before the open link action response comes back.
      
       [Google Workspace
       add-ons](https://developers.google.com/workspace/add-ons):
       
      .google.apps.card.v1.Action open_dynamic_link_action = 3;
      Returns:
      The openDynamicLinkAction.
    • getOpenDynamicLinkActionOrBuilder

      ActionOrBuilder getOpenDynamicLinkActionOrBuilder()
       An add-on triggers this action when the action needs to open a
       link. This differs from the `open_link` above in that this needs to talk
       to server to get the link. Thus some preparation work is required for
       web client to do before the open link action response comes back.
      
       [Google Workspace
       add-ons](https://developers.google.com/workspace/add-ons):
       
      .google.apps.card.v1.Action open_dynamic_link_action = 3;
    • hasCard

      boolean hasCard()
       A new card is pushed to the card stack after clicking if specified.
      
       [Google Workspace
       add-ons](https://developers.google.com/workspace/add-ons):
       
      .google.apps.card.v1.Card card = 4;
      Returns:
      Whether the card field is set.
    • getCard

      Card getCard()
       A new card is pushed to the card stack after clicking if specified.
      
       [Google Workspace
       add-ons](https://developers.google.com/workspace/add-ons):
       
      .google.apps.card.v1.Card card = 4;
      Returns:
      The card.
    • getCardOrBuilder

      CardOrBuilder getCardOrBuilder()
       A new card is pushed to the card stack after clicking if specified.
      
       [Google Workspace
       add-ons](https://developers.google.com/workspace/add-ons):
       
      .google.apps.card.v1.Card card = 4;
    • hasOverflowMenu

      boolean hasOverflowMenu()
       If specified, this `onClick` opens an overflow menu.
       
      .google.apps.card.v1.OverflowMenu overflow_menu = 8;
      Returns:
      Whether the overflowMenu field is set.
    • getOverflowMenu

      OverflowMenu getOverflowMenu()
       If specified, this `onClick` opens an overflow menu.
       
      .google.apps.card.v1.OverflowMenu overflow_menu = 8;
      Returns:
      The overflowMenu.
    • getOverflowMenuOrBuilder

      OverflowMenuOrBuilder getOverflowMenuOrBuilder()
       If specified, this `onClick` opens an overflow menu.
       
      .google.apps.card.v1.OverflowMenu overflow_menu = 8;
    • getDataCase

      OnClick.DataCase getDataCase()