All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.apps.card.v1.DecoratedTextOrBuilder 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.3
package com.google.apps.card.v1;

public interface DecoratedTextOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.apps.card.v1.DecoratedText)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Deprecated in favor of `startIcon`.
   * 
* * .google.apps.card.v1.Icon icon = 1 [deprecated = true]; * * @deprecated google.apps.card.v1.DecoratedText.icon is deprecated. See * google/apps/card/v1/card.proto;l=796 * @return Whether the icon field is set. */ @java.lang.Deprecated boolean hasIcon(); /** * * *
   * Deprecated in favor of `startIcon`.
   * 
* * .google.apps.card.v1.Icon icon = 1 [deprecated = true]; * * @deprecated google.apps.card.v1.DecoratedText.icon is deprecated. See * google/apps/card/v1/card.proto;l=796 * @return The icon. */ @java.lang.Deprecated com.google.apps.card.v1.Icon getIcon(); /** * * *
   * Deprecated in favor of `startIcon`.
   * 
* * .google.apps.card.v1.Icon icon = 1 [deprecated = true]; */ @java.lang.Deprecated com.google.apps.card.v1.IconOrBuilder getIconOrBuilder(); /** * * *
   * The icon displayed in front of the text.
   * 
* * .google.apps.card.v1.Icon start_icon = 12; * * @return Whether the startIcon field is set. */ boolean hasStartIcon(); /** * * *
   * The icon displayed in front of the text.
   * 
* * .google.apps.card.v1.Icon start_icon = 12; * * @return The startIcon. */ com.google.apps.card.v1.Icon getStartIcon(); /** * * *
   * The icon displayed in front of the text.
   * 
* * .google.apps.card.v1.Icon start_icon = 12; */ com.google.apps.card.v1.IconOrBuilder getStartIconOrBuilder(); /** * * *
   * The text that appears above `text`. Always truncates.
   * 
* * string top_label = 3; * * @return The topLabel. */ java.lang.String getTopLabel(); /** * * *
   * The text that appears above `text`. Always truncates.
   * 
* * string top_label = 3; * * @return The bytes for topLabel. */ com.google.protobuf.ByteString getTopLabelBytes(); /** * * *
   * Required. The primary text.
   *
   * Supports simple formatting. For more information
   * about formatting text, see
   * [Formatting text in Google Chat
   * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
   * and
   * [Formatting
   * text in Google Workspace
   * Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
   * 
* * string text = 4; * * @return The text. */ java.lang.String getText(); /** * * *
   * Required. The primary text.
   *
   * Supports simple formatting. For more information
   * about formatting text, see
   * [Formatting text in Google Chat
   * apps](https://developers.google.com/workspace/chat/format-messages#card-formatting)
   * and
   * [Formatting
   * text in Google Workspace
   * Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
   * 
* * string text = 4; * * @return The bytes for text. */ com.google.protobuf.ByteString getTextBytes(); /** * * *
   * The wrap text setting. If `true`, the text wraps and displays on
   * multiple lines. Otherwise, the text is truncated.
   *
   * Only applies to `text`, not `topLabel` and `bottomLabel`.
   * 
* * bool wrap_text = 5; * * @return The wrapText. */ boolean getWrapText(); /** * * *
   * The text that appears below `text`. Always wraps.
   * 
* * string bottom_label = 6; * * @return The bottomLabel. */ java.lang.String getBottomLabel(); /** * * *
   * The text that appears below `text`. Always wraps.
   * 
* * string bottom_label = 6; * * @return The bytes for bottomLabel. */ com.google.protobuf.ByteString getBottomLabelBytes(); /** * * *
   * This action is triggered when users click `topLabel` or `bottomLabel`.
   * 
* * .google.apps.card.v1.OnClick on_click = 7; * * @return Whether the onClick field is set. */ boolean hasOnClick(); /** * * *
   * This action is triggered when users click `topLabel` or `bottomLabel`.
   * 
* * .google.apps.card.v1.OnClick on_click = 7; * * @return The onClick. */ com.google.apps.card.v1.OnClick getOnClick(); /** * * *
   * This action is triggered when users click `topLabel` or `bottomLabel`.
   * 
* * .google.apps.card.v1.OnClick on_click = 7; */ com.google.apps.card.v1.OnClickOrBuilder getOnClickOrBuilder(); /** * * *
   * A button that a user can click to trigger an action.
   * 
* * .google.apps.card.v1.Button button = 8; * * @return Whether the button field is set. */ boolean hasButton(); /** * * *
   * A button that a user can click to trigger an action.
   * 
* * .google.apps.card.v1.Button button = 8; * * @return The button. */ com.google.apps.card.v1.Button getButton(); /** * * *
   * A button that a user can click to trigger an action.
   * 
* * .google.apps.card.v1.Button button = 8; */ com.google.apps.card.v1.ButtonOrBuilder getButtonOrBuilder(); /** * * *
   * A switch widget that a user can click to change its state and trigger an
   * action.
   * 
* * .google.apps.card.v1.DecoratedText.SwitchControl switch_control = 9; * * @return Whether the switchControl field is set. */ boolean hasSwitchControl(); /** * * *
   * A switch widget that a user can click to change its state and trigger an
   * action.
   * 
* * .google.apps.card.v1.DecoratedText.SwitchControl switch_control = 9; * * @return The switchControl. */ com.google.apps.card.v1.DecoratedText.SwitchControl getSwitchControl(); /** * * *
   * A switch widget that a user can click to change its state and trigger an
   * action.
   * 
* * .google.apps.card.v1.DecoratedText.SwitchControl switch_control = 9; */ com.google.apps.card.v1.DecoratedText.SwitchControlOrBuilder getSwitchControlOrBuilder(); /** * * *
   * An icon displayed after the text.
   *
   * Supports
   * [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons)
   * and
   * [custom](https://developers.google.com/workspace/chat/format-messages#customicons)
   * icons.
   * 
* * .google.apps.card.v1.Icon end_icon = 11; * * @return Whether the endIcon field is set. */ boolean hasEndIcon(); /** * * *
   * An icon displayed after the text.
   *
   * Supports
   * [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons)
   * and
   * [custom](https://developers.google.com/workspace/chat/format-messages#customicons)
   * icons.
   * 
* * .google.apps.card.v1.Icon end_icon = 11; * * @return The endIcon. */ com.google.apps.card.v1.Icon getEndIcon(); /** * * *
   * An icon displayed after the text.
   *
   * Supports
   * [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons)
   * and
   * [custom](https://developers.google.com/workspace/chat/format-messages#customicons)
   * icons.
   * 
* * .google.apps.card.v1.Icon end_icon = 11; */ com.google.apps.card.v1.IconOrBuilder getEndIconOrBuilder(); com.google.apps.card.v1.DecoratedText.ControlCase getControlCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy