Packages

object SelectionInput extends GeneratedMessageCompanion[SelectionInput]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SelectionInput
  2. GeneratedMessageCompanion
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait MultiSelectDataSource extends GeneratedOneof
  2. final case class PlatformDataSource(dataSource: DataSource = com.google.apps.card.v1.card.SelectionInput.PlatformDataSource.DataSource.Empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[PlatformDataSource] with Product with Serializable

    For a [SelectionInput][google.apps.card.v1.SelectionInput] widget that uses a multiselect menu, a data source from Google Workspace.

    For a [SelectionInput][google.apps.card.v1.SelectionInput] widget that uses a multiselect menu, a data source from Google Workspace. Used to populate items in a multiselect menu.

    [Google Chat apps](https://developers.google.com/workspace/chat):

    Annotations
    @SerialVersionUID()
  3. implicit class SelectionInputLens[UpperPB] extends ObjectLens[UpperPB, SelectionInput]
  4. final case class SelectionItem(text: String = "", value: String = "", selected: Boolean = false, startIconUri: String = "", bottomText: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[SelectionItem] with Product with Serializable

    An item that users can select in a selection input, such as a checkbox or switch.

    An item that users can select in a selection input, such as a checkbox or switch.

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

    text

    The text that identifies or describes the item to users.

    value

    The value associated with this item. The client should use this as a form input value. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).

    selected

    Whether the item is selected by default. If the selection input only accepts one value (such as for radio buttons or a dropdown menu), only set this field for one item.

    startIconUri

    For multiselect menus, the URL for the icon displayed next to the item's text field. Supports PNG and JPEG files. Must be an HTTPS URL. For example, https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png.

    bottomText

    For multiselect menus, a text description or label that's displayed below the item's text field.

    Annotations
    @SerialVersionUID()
  5. sealed abstract class SelectionType extends GeneratedEnum

    The format for the items that users can select.

    The format for the items that users can select. Different options support different types of interactions. For example, users can select multiple checkboxes, but can only select one item from a dropdown menu.

    Each selection input supports one type of selection. Mixing checkboxes and switches, for example, isn't supported.

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

  6. type ValueType = SelectionInput
    Definition Classes
    GeneratedMessageCompanion

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 val EXTERNAL_DATA_SOURCE_FIELD_NUMBER: Int(8)
  5. final val ITEMS_FIELD_NUMBER: Int(4)
  6. final val LABEL_FIELD_NUMBER: Int(2)
  7. final val MULTI_SELECT_MAX_SELECTED_ITEMS_FIELD_NUMBER: Int(6)
  8. final val MULTI_SELECT_MIN_QUERY_LENGTH_FIELD_NUMBER: Int(7)
  9. final val NAME_FIELD_NUMBER: Int(1)
  10. final val ON_CHANGE_ACTION_FIELD_NUMBER: Int(5)
  11. final val PLATFORM_DATA_SOURCE_FIELD_NUMBER: Int(9)
  12. final val TYPE_FIELD_NUMBER: Int(3)
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  15. lazy val defaultInstance: SelectionInput
    Definition Classes
    SelectionInput → GeneratedMessageCompanion
  16. def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
    Definition Classes
    GeneratedMessageCompanion
  17. def enumCompanionForFieldNumber(__fieldNumber: Int): GeneratedEnumCompanion[_]
    Definition Classes
    SelectionInput → GeneratedMessageCompanion
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. def fromAscii(s: String): SelectionInput
    Definition Classes
    GeneratedMessageCompanion
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def javaDescriptor: Descriptor
    Definition Classes
    SelectionInput → GeneratedMessageCompanion
  26. def merge(a: SelectionInput, input: CodedInputStream): SelectionInput
    Definition Classes
    GeneratedMessageCompanion
  27. implicit def messageCompanion: GeneratedMessageCompanion[SelectionInput]
  28. def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]
    Definition Classes
    GeneratedMessageCompanion
  29. def messageCompanionForFieldNumber(__number: Int): GeneratedMessageCompanion[_]
    Definition Classes
    SelectionInput → GeneratedMessageCompanion
  30. implicit def messageReads: Reads[SelectionInput]
    Definition Classes
    SelectionInput → GeneratedMessageCompanion
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]
    Definition Classes
    SelectionInput → GeneratedMessageCompanion
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. def of(name: String, label: String, type: SelectionType, items: Seq[SelectionItem], onChangeAction: Option[Action], multiSelectMaxSelectedItems: Int, multiSelectMinQueryLength: Int, multiSelectDataSource: MultiSelectDataSource): SelectionInput
  36. def parseDelimitedFrom(input: InputStream): Option[SelectionInput]
    Definition Classes
    GeneratedMessageCompanion
  37. def parseDelimitedFrom(input: CodedInputStream): Option[SelectionInput]
    Definition Classes
    GeneratedMessageCompanion
  38. def parseFrom(_input__: CodedInputStream): SelectionInput
    Definition Classes
    SelectionInput → GeneratedMessageCompanion
  39. def parseFrom(s: Array[Byte]): SelectionInput
    Definition Classes
    GeneratedMessageCompanion
  40. def parseFrom(input: InputStream): SelectionInput
    Definition Classes
    GeneratedMessageCompanion
  41. def scalaDescriptor: Descriptor
    Definition Classes
    SelectionInput → GeneratedMessageCompanion
  42. def streamFromDelimitedInput(input: InputStream): Stream[SelectionInput]
    Definition Classes
    GeneratedMessageCompanion
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def toByteArray(a: SelectionInput): Array[Byte]
    Definition Classes
    GeneratedMessageCompanion
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. def validate(s: Array[Byte]): Try[SelectionInput]
    Definition Classes
    GeneratedMessageCompanion
  47. def validateAscii(s: String): Either[TextFormatError, SelectionInput]
    Definition Classes
    GeneratedMessageCompanion
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  51. object MultiSelectDataSource extends Serializable
  52. object PlatformDataSource extends GeneratedMessageCompanion[PlatformDataSource]
  53. object SelectionItem extends GeneratedMessageCompanion[SelectionItem]
  54. object SelectionType extends GeneratedEnumCompanion[SelectionType]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped