Package com.google.apps.card.v1
Interface ValidationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Validation,Validation.Builder
public interface ValidationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintSpecify the character limit for text input widgets.Specify the type of the input widgets.intSpecify the type of the input widgets.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCharacterLimit
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](https://developers.google.com/workspace/extend):
int32 character_limit = 1;- Returns:
- The characterLimit.
-
getInputTypeValue
int getInputTypeValue()Specify the type of the input widgets. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):
.google.apps.card.v1.Validation.InputType input_type = 2;- Returns:
- The enum numeric value on the wire for inputType.
-
getInputType
Validation.InputType getInputType()Specify the type of the input widgets. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):
.google.apps.card.v1.Validation.InputType input_type = 2;- Returns:
- The inputType.
-