trait DecoratedTextOrBuilder extends MessageOrBuilder
- Alphabetic
- By Inheritance
- DecoratedTextOrBuilder
- MessageOrBuilder
- MessageLiteOrBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def findInitializationErrors(): List[String]
- Definition Classes
- MessageOrBuilder
- abstract def getAllFields(): Map[FieldDescriptor, AnyRef]
- Definition Classes
- MessageOrBuilder
- abstract def getBottomLabel(): String
The text that appears below `text`. Always wraps.
The text that appears below `text`. Always wraps.
string bottom_label = 6;
- returns
The bottomLabel.
- abstract def getBottomLabelBytes(): ByteString
The text that appears below `text`. Always wraps.
The text that appears below `text`. Always wraps.
string bottom_label = 6;
- returns
The bytes for bottomLabel.
- abstract def getButton(): Button
A button that a user can click to trigger an action.
A button that a user can click to trigger an action.
.google.apps.card.v1.Button button = 8;
- returns
The button.
- abstract def getButtonOrBuilder(): ButtonOrBuilder
A button that a user can click to trigger an action.
A button that a user can click to trigger an action.
.google.apps.card.v1.Button button = 8;
- abstract def getControlCase(): ControlCase
- abstract def getDefaultInstanceForType(): Message
- Definition Classes
- MessageOrBuilder → MessageLiteOrBuilder
- abstract def getDescriptorForType(): Descriptor
- Definition Classes
- MessageOrBuilder
- abstract def getEndIcon(): Icon
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.
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;
- returns
The endIcon.
- abstract def getEndIconOrBuilder(): IconOrBuilder
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.
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;
- abstract def getField(arg0: FieldDescriptor): AnyRef
- Definition Classes
- MessageOrBuilder
- abstract def getInitializationErrorString(): String
- Definition Classes
- MessageOrBuilder
- abstract def getOnClick(): OnClick
This action is triggered when users click `topLabel` or `bottomLabel`.
This action is triggered when users click `topLabel` or `bottomLabel`.
.google.apps.card.v1.OnClick on_click = 7;
- returns
The onClick.
- abstract def getOnClickOrBuilder(): OnClickOrBuilder
This action is triggered when users click `topLabel` or `bottomLabel`.
This action is triggered when users click `topLabel` or `bottomLabel`.
.google.apps.card.v1.OnClick on_click = 7;
- abstract def getOneofFieldDescriptor(arg0: OneofDescriptor): FieldDescriptor
- Definition Classes
- MessageOrBuilder
- abstract def getRepeatedField(arg0: FieldDescriptor, arg1: Int): AnyRef
- Definition Classes
- MessageOrBuilder
- abstract def getRepeatedFieldCount(arg0: FieldDescriptor): Int
- Definition Classes
- MessageOrBuilder
- abstract def getStartIcon(): Icon
The icon displayed in front of the text.
The icon displayed in front of the text.
.google.apps.card.v1.Icon start_icon = 12;
- returns
The startIcon.
- abstract def getStartIconOrBuilder(): IconOrBuilder
The icon displayed in front of the text.
The icon displayed in front of the text.
.google.apps.card.v1.Icon start_icon = 12;
- abstract def getSwitchControl(): SwitchControl
A switch widget that a user can click to change its state and trigger an action.
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;
- returns
The switchControl.
- abstract def getSwitchControlOrBuilder(): SwitchControlOrBuilder
A switch widget that a user can click to change its state and trigger an action.
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;
- abstract def getText(): String
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).
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;
- returns
The text.
- abstract def getTextBytes(): ByteString
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).
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;
- returns
The bytes for text.
- abstract def getTopLabel(): String
The text that appears above `text`. Always truncates.
The text that appears above `text`. Always truncates.
string top_label = 3;
- returns
The topLabel.
- abstract def getTopLabelBytes(): ByteString
The text that appears above `text`. Always truncates.
The text that appears above `text`. Always truncates.
string top_label = 3;
- returns
The bytes for topLabel.
- abstract def getUnknownFields(): UnknownFieldSet
- Definition Classes
- MessageOrBuilder
- abstract def getWrapText(): Boolean
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`.
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;
- returns
The wrapText.
- abstract def hasButton(): Boolean
A button that a user can click to trigger an action.
A button that a user can click to trigger an action.
.google.apps.card.v1.Button button = 8;
- returns
Whether the button field is set.
- abstract def hasEndIcon(): Boolean
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.
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;
- returns
Whether the endIcon field is set.
- abstract def hasField(arg0: FieldDescriptor): Boolean
- Definition Classes
- MessageOrBuilder
- abstract def hasOnClick(): Boolean
This action is triggered when users click `topLabel` or `bottomLabel`.
This action is triggered when users click `topLabel` or `bottomLabel`.
.google.apps.card.v1.OnClick on_click = 7;
- returns
Whether the onClick field is set.
- abstract def hasOneof(arg0: OneofDescriptor): Boolean
- Definition Classes
- MessageOrBuilder
- abstract def hasStartIcon(): Boolean
The icon displayed in front of the text.
The icon displayed in front of the text.
.google.apps.card.v1.Icon start_icon = 12;
- returns
Whether the startIcon field is set.
- abstract def hasSwitchControl(): Boolean
A switch widget that a user can click to change its state and trigger an action.
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;
- returns
Whether the switchControl field is set.
- abstract def isInitialized(): Boolean
- Definition Classes
- MessageLiteOrBuilder
- abstract def getIcon(): Icon
Deprecated in favor of `startIcon`.
Deprecated in favor of `startIcon`.
.google.apps.card.v1.Icon icon = 1 [deprecated = true];
- returns
The icon.
- Annotations
- @Deprecated
- Deprecated
- abstract def getIconOrBuilder(): IconOrBuilder
Deprecated in favor of `startIcon`.
Deprecated in favor of `startIcon`.
.google.apps.card.v1.Icon icon = 1 [deprecated = true];
- Annotations
- @Deprecated
- Deprecated
- abstract def hasIcon(): Boolean
Deprecated in favor of `startIcon`.
Deprecated in favor of `startIcon`.
.google.apps.card.v1.Icon icon = 1 [deprecated = true];
- returns
Whether the icon field is set.
- Annotations
- @Deprecated
- Deprecated
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()