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 Summary

    Modifier and Type
    Method
    Description
    If specified, an action is triggered by this `onClick`.
    If specified, an action is triggered by this `onClick`.
    A new card is pushed to the card stack after clicking if specified.
    A new card is pushed to the card stack after clicking if specified.
     
    An add-on triggers this action when the action needs to open a link.
    An add-on triggers this action when the action needs to open a link.
    If specified, this `onClick` triggers an open link action.
    If specified, this `onClick` triggers an open link action.
    boolean
    If specified, an action is triggered by this `onClick`.
    boolean
    A new card is pushed to the card stack after clicking if specified.
    boolean
    An add-on triggers this action when the action needs to open a link.
    boolean
    If specified, this `onClick` triggers an open link action.

    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

    • 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;
    • getDataCase

      OnClick.DataCase getDataCase()