![JAR search and dependency download from the Maven repository](/logo.png)
com.google.apps.card.v1.OnClickOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/apps/card/v1/card.proto
// Protobuf Java Version: 3.25.5
package com.google.apps.card.v1;
public interface OnClickOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.apps.card.v1.OnClick)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* If specified, an action is triggered by this `onClick`.
*
*
* .google.apps.card.v1.Action action = 1;
*
* @return Whether the action field is set.
*/
boolean hasAction();
/**
*
*
*
* If specified, an action is triggered by this `onClick`.
*
*
* .google.apps.card.v1.Action action = 1;
*
* @return The action.
*/
com.google.apps.card.v1.Action getAction();
/**
*
*
*
* If specified, an action is triggered by this `onClick`.
*
*
* .google.apps.card.v1.Action action = 1;
*/
com.google.apps.card.v1.ActionOrBuilder getActionOrBuilder();
/**
*
*
*
* If specified, this `onClick` triggers an open link action.
*
*
* .google.apps.card.v1.OpenLink open_link = 2;
*
* @return Whether the openLink field is set.
*/
boolean hasOpenLink();
/**
*
*
*
* If specified, this `onClick` triggers an open link action.
*
*
* .google.apps.card.v1.OpenLink open_link = 2;
*
* @return The openLink.
*/
com.google.apps.card.v1.OpenLink getOpenLink();
/**
*
*
*
* If specified, this `onClick` triggers an open link action.
*
*
* .google.apps.card.v1.OpenLink open_link = 2;
*/
com.google.apps.card.v1.OpenLinkOrBuilder getOpenLinkOrBuilder();
/**
*
*
*
* 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;
*
* @return Whether the openDynamicLinkAction field is set.
*/
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;
*
* @return The openDynamicLinkAction.
*/
com.google.apps.card.v1.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;
*/
com.google.apps.card.v1.ActionOrBuilder getOpenDynamicLinkActionOrBuilder();
/**
*
*
*
* 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;
*
* @return Whether the card field is set.
*/
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;
*
* @return The card.
*/
com.google.apps.card.v1.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;
*/
com.google.apps.card.v1.CardOrBuilder getCardOrBuilder();
com.google.apps.card.v1.OnClick.DataCase getDataCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy