public enum TextInput.Type extends Enum<TextInput.Type> implements ProtocolMessageEnum
How a text input field appears in the user interface. For example,
whether it's a single line input field, or a multi-line input. If
initialSuggestions
is specified, type
is always SINGLE_LINE
,
even if it's set to MULTIPLE_LINE
.
Google Workspace Add-ons and Chat apps:
Protobuf enum google.apps.card.v1.TextInput.Type
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
MULTIPLE_LINE | The text input field has a fixed height of multiple lines. |
MULTIPLE_LINE_VALUE | The text input field has a fixed height of multiple lines. |
SINGLE_LINE | The text input field has a fixed height of one line. |
SINGLE_LINE_VALUE | The text input field has a fixed height of one line. |
UNRECOGNIZED |
Static Methods | |
---|---|
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods | |
---|---|
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |