public final class GoogleAppsCardV1DecoratedText
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Chat API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleAppsCardV1DecoratedText() |
| Modifier and Type | Method and Description |
|---|---|
GoogleAppsCardV1DecoratedText |
clone() |
String |
getBottomLabel()
The text that appears below `text`.
|
GoogleAppsCardV1TextParagraph |
getBottomLabelText()
`TextParagraph` equivalent of `bottom_label`.
|
GoogleAppsCardV1Button |
getButton()
A button that a user can click to trigger an action.
|
GoogleAppsCardV1TextParagraph |
getContentText()
`TextParagraph` equivalent of `text`.
|
GoogleAppsCardV1Icon |
getEndIcon()
An icon displayed after the text.
|
GoogleAppsCardV1Icon |
getIcon()
Deprecated in favor of `startIcon`.
|
GoogleAppsCardV1OnClick |
getOnClick()
This action is triggered when users click `topLabel` or `bottomLabel`.
|
GoogleAppsCardV1Icon |
getStartIcon()
The icon displayed in front of the text.
|
String |
getStartIconVerticalAlignment()
Optional.
|
GoogleAppsCardV1SwitchControl |
getSwitchControl()
A switch widget that a user can click to change its state and trigger an action.
|
String |
getText()
Required.
|
String |
getTopLabel()
The text that appears above `text`.
|
GoogleAppsCardV1TextParagraph |
getTopLabelText()
`TextParagraph` equivalent of `top_label`.
|
Boolean |
getWrapText()
The wrap text setting.
|
GoogleAppsCardV1DecoratedText |
set(String fieldName,
Object value) |
GoogleAppsCardV1DecoratedText |
setBottomLabel(String bottomLabel)
The text that appears below `text`.
|
GoogleAppsCardV1DecoratedText |
setBottomLabelText(GoogleAppsCardV1TextParagraph bottomLabelText)
`TextParagraph` equivalent of `bottom_label`.
|
GoogleAppsCardV1DecoratedText |
setButton(GoogleAppsCardV1Button button)
A button that a user can click to trigger an action.
|
GoogleAppsCardV1DecoratedText |
setContentText(GoogleAppsCardV1TextParagraph contentText)
`TextParagraph` equivalent of `text`.
|
GoogleAppsCardV1DecoratedText |
setEndIcon(GoogleAppsCardV1Icon endIcon)
An icon displayed after the text.
|
GoogleAppsCardV1DecoratedText |
setIcon(GoogleAppsCardV1Icon icon)
Deprecated in favor of `startIcon`.
|
GoogleAppsCardV1DecoratedText |
setOnClick(GoogleAppsCardV1OnClick onClick)
This action is triggered when users click `topLabel` or `bottomLabel`.
|
GoogleAppsCardV1DecoratedText |
setStartIcon(GoogleAppsCardV1Icon startIcon)
The icon displayed in front of the text.
|
GoogleAppsCardV1DecoratedText |
setStartIconVerticalAlignment(String startIconVerticalAlignment)
Optional.
|
GoogleAppsCardV1DecoratedText |
setSwitchControl(GoogleAppsCardV1SwitchControl switchControl)
A switch widget that a user can click to change its state and trigger an action.
|
GoogleAppsCardV1DecoratedText |
setText(String text)
Required.
|
GoogleAppsCardV1DecoratedText |
setTopLabel(String topLabel)
The text that appears above `text`.
|
GoogleAppsCardV1DecoratedText |
setTopLabelText(GoogleAppsCardV1TextParagraph topLabelText)
`TextParagraph` equivalent of `top_label`.
|
GoogleAppsCardV1DecoratedText |
setWrapText(Boolean wrapText)
The wrap text setting.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getBottomLabel()
null for nonepublic GoogleAppsCardV1DecoratedText setBottomLabel(String bottomLabel)
bottomLabel - bottomLabel or null for nonepublic GoogleAppsCardV1TextParagraph getBottomLabelText()
null for nonepublic GoogleAppsCardV1DecoratedText setBottomLabelText(GoogleAppsCardV1TextParagraph bottomLabelText)
bottomLabelText - bottomLabelText or null for nonepublic GoogleAppsCardV1Button getButton()
null for nonepublic GoogleAppsCardV1DecoratedText setButton(GoogleAppsCardV1Button button)
button - button or null for nonepublic GoogleAppsCardV1TextParagraph getContentText()
null for nonepublic GoogleAppsCardV1DecoratedText setContentText(GoogleAppsCardV1TextParagraph contentText)
contentText - contentText or null for nonepublic GoogleAppsCardV1Icon getEndIcon()
null for nonepublic GoogleAppsCardV1DecoratedText setEndIcon(GoogleAppsCardV1Icon endIcon)
endIcon - endIcon or null for nonepublic GoogleAppsCardV1Icon getIcon()
null for nonepublic GoogleAppsCardV1DecoratedText setIcon(GoogleAppsCardV1Icon icon)
icon - icon or null for nonepublic GoogleAppsCardV1OnClick getOnClick()
null for nonepublic GoogleAppsCardV1DecoratedText setOnClick(GoogleAppsCardV1OnClick onClick)
onClick - onClick or null for nonepublic GoogleAppsCardV1Icon getStartIcon()
null for nonepublic GoogleAppsCardV1DecoratedText setStartIcon(GoogleAppsCardV1Icon startIcon)
startIcon - startIcon or null for nonepublic String getStartIconVerticalAlignment()
null for nonepublic GoogleAppsCardV1DecoratedText setStartIconVerticalAlignment(String startIconVerticalAlignment)
startIconVerticalAlignment - startIconVerticalAlignment or null for nonepublic GoogleAppsCardV1SwitchControl getSwitchControl()
null for nonepublic GoogleAppsCardV1DecoratedText setSwitchControl(GoogleAppsCardV1SwitchControl switchControl)
switchControl - switchControl or null for nonepublic String getText()
null for nonepublic GoogleAppsCardV1DecoratedText setText(String text)
text - text or null for nonepublic String getTopLabel()
null for nonepublic GoogleAppsCardV1DecoratedText setTopLabel(String topLabel)
topLabel - topLabel or null for nonepublic GoogleAppsCardV1TextParagraph getTopLabelText()
null for nonepublic GoogleAppsCardV1DecoratedText setTopLabelText(GoogleAppsCardV1TextParagraph topLabelText)
topLabelText - topLabelText or null for nonepublic Boolean getWrapText()
null for nonepublic GoogleAppsCardV1DecoratedText setWrapText(Boolean wrapText)
wrapText - wrapText or null for nonepublic GoogleAppsCardV1DecoratedText set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleAppsCardV1DecoratedText clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.