Packages

final case class GridItem(id: String = "", image: Option[ImageComponent] = _root_.scala.None, title: String = "", subtitle: String = "", layout: GridItemLayout = com.google.apps.card.v1.card.Grid.GridItem.GridItemLayout.GRID_ITEM_LAYOUT_UNSPECIFIED, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[GridItem] with Product with Serializable

Represents an item in a grid layout. Items can contain text, an image, or both text and an image.

[Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):

id

A user-specified identifier for this grid item. This identifier is returned in the parent grid's onClick callback parameters.

image

The image that displays in the grid item.

title

The grid item's title.

subtitle

The grid item's subtitle.

layout

The layout to use for the grid item.

Annotations
@SerialVersionUID()
Source
Grid.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GridItem
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GridItem(id: String = "", image: Option[ImageComponent] = _root_.scala.None, title: String = "", subtitle: String = "", layout: GridItemLayout = com.google.apps.card.v1.card.Grid.GridItem.GridItemLayout.GRID_ITEM_LAYOUT_UNSPECIFIED, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    id

    A user-specified identifier for this grid item. This identifier is returned in the parent grid's onClick callback parameters.

    image

    The image that displays in the grid item.

    title

    The grid item's title.

    subtitle

    The grid item's subtitle.

    layout

    The layout to use for the grid item.

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 clearImage: GridItem
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  7. def companion: GridItem.type
    Definition Classes
    GridItem → GeneratedMessage
  8. def discardUnknownFields: GridItem
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    GridItem → GeneratedMessage
  12. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    GridItem → GeneratedMessage
  13. def getImage: ImageComponent
  14. val id: String
  15. val image: Option[ImageComponent]
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val layout: GridItemLayout
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. def productElementNames: Iterator[String]
    Definition Classes
    Product
  22. def serializedSize: Int
    Definition Classes
    GridItem → GeneratedMessage
  23. val subtitle: String
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. val title: String
  26. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  27. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  28. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  29. def toProtoString: String
    Definition Classes
    GridItem → GeneratedMessage
  30. val unknownFields: UnknownFieldSet
  31. def update(ms: (Lens[GridItem, GridItem]) => Mutation[GridItem]*): GridItem
    Definition Classes
    Updatable
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. def withId(__v: String): GridItem
  36. def withImage(__v: ImageComponent): GridItem
  37. def withLayout(__v: GridItemLayout): GridItem
  38. def withSubtitle(__v: String): GridItem
  39. def withTitle(__v: String): GridItem
  40. def withUnknownFields(__v: UnknownFieldSet): GridItem
  41. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  42. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    GridItem → GeneratedMessage
  43. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Updatable[GridItem]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped