Enum TextInput.Type (0.1.0)

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

ProtocolMessageEnum

Static Fields

NameDescription
MULTIPLE_LINE

The text input field has a fixed height of multiple lines.

MULTIPLE_LINE = 1;

MULTIPLE_LINE_VALUE

The text input field has a fixed height of multiple lines.

MULTIPLE_LINE = 1;

SINGLE_LINE

The text input field has a fixed height of one line.

SINGLE_LINE = 0;

SINGLE_LINE_VALUE

The text input field has a fixed height of one line.

SINGLE_LINE = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()