Interface ValidationOrBuilder (2.63.1)

public interface ValidationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCharacterLimit()

public abstract int getCharacterLimit()

Specify the character limit for text input widgets. Note that this is only used for text input and is ignored for other widgets.

Google Workspace add-ons and Chat apps:

int32 character_limit = 1;

Returns
Type Description
int

The characterLimit.

getInputType()

public abstract Validation.InputType getInputType()

Specify the type of the input widgets.

Google Workspace add-ons and Chat apps:

.google.apps.card.v1.Validation.InputType input_type = 2;

Returns
Type Description
Validation.InputType

The inputType.

getInputTypeValue()

public abstract int getInputTypeValue()

Specify the type of the input widgets.

Google Workspace add-ons and Chat apps:

.google.apps.card.v1.Validation.InputType input_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for inputType.