t

com.google.apps.card.v1

DecoratedTextOrBuilder

trait DecoratedTextOrBuilder extends MessageOrBuilder

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DecoratedTextOrBuilder
  2. MessageOrBuilder
  3. MessageLiteOrBuilder
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def findInitializationErrors(): List[String]
    Definition Classes
    MessageOrBuilder
  2. abstract def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    MessageOrBuilder
  3. 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.

  4. 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.

  5. 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.

  6. 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;

  7. abstract def getControlCase(): ControlCase
  8. abstract def getDefaultInstanceForType(): Message
    Definition Classes
    MessageOrBuilder → MessageLiteOrBuilder
  9. abstract def getDescriptorForType(): Descriptor
    Definition Classes
    MessageOrBuilder
  10. 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.

  11. 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;

  12. abstract def getField(arg0: FieldDescriptor): AnyRef
    Definition Classes
    MessageOrBuilder
  13. abstract def getInitializationErrorString(): String
    Definition Classes
    MessageOrBuilder
  14. 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.

  15. 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;

  16. abstract def getOneofFieldDescriptor(arg0: OneofDescriptor): FieldDescriptor
    Definition Classes
    MessageOrBuilder
  17. abstract def getRepeatedField(arg0: FieldDescriptor, arg1: Int): AnyRef
    Definition Classes
    MessageOrBuilder
  18. abstract def getRepeatedFieldCount(arg0: FieldDescriptor): Int
    Definition Classes
    MessageOrBuilder
  19. 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.

  20. 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;

  21. 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.

  22. 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;

  23. 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.

  24. 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.

  25. 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.

  26. 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.

  27. abstract def getUnknownFields(): UnknownFieldSet
    Definition Classes
    MessageOrBuilder
  28. 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.

  29. 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.

  30. 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.

  31. abstract def hasField(arg0: FieldDescriptor): Boolean
    Definition Classes
    MessageOrBuilder
  32. 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.

  33. abstract def hasOneof(arg0: OneofDescriptor): Boolean
    Definition Classes
    MessageOrBuilder
  34. 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.

  35. 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.

  36. abstract def isInitialized(): Boolean
    Definition Classes
    MessageLiteOrBuilder
  37. 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
  38. 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
  39. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from MessageOrBuilder

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped