public final class GoogleAppsCardV1TextInput
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Chat API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleAppsCardV1TextInput() |
| Modifier and Type | Method and Description |
|---|---|
GoogleAppsCardV1TextInput |
clone() |
GoogleAppsCardV1Action |
getAutoCompleteAction()
Optional.
|
String |
getHintText()
Text that appears below the text input field meant to assist users by prompting them to enter a
certain value.
|
HostAppDataSourceMarkup |
getHostAppDataSource()
A data source that's unique to a Google Workspace host application, such as Gmail emails,
Google Calendar events, or Google Chat messages.
|
GoogleAppsCardV1Suggestions |
getInitialSuggestions()
Suggested values that users can enter.
|
String |
getLabel()
The text that appears above the text input field in the user interface.
|
String |
getName()
The name by which the text input is identified in a form input event.
|
GoogleAppsCardV1Action |
getOnChangeAction()
What to do when a change occurs in the text input field.
|
String |
getPlaceholderText()
Text that appears in the text input field when the field is empty.
|
String |
getType()
How a text input field appears in the user interface.
|
GoogleAppsCardV1Validation |
getValidation()
Specify the input format validation necessary for this text field.
|
String |
getValue()
The value entered by a user, returned as part of a form input event.
|
GoogleAppsCardV1TextInput |
set(String fieldName,
Object value) |
GoogleAppsCardV1TextInput |
setAutoCompleteAction(GoogleAppsCardV1Action autoCompleteAction)
Optional.
|
GoogleAppsCardV1TextInput |
setHintText(String hintText)
Text that appears below the text input field meant to assist users by prompting them to enter a
certain value.
|
GoogleAppsCardV1TextInput |
setHostAppDataSource(HostAppDataSourceMarkup hostAppDataSource)
A data source that's unique to a Google Workspace host application, such as Gmail emails,
Google Calendar events, or Google Chat messages.
|
GoogleAppsCardV1TextInput |
setInitialSuggestions(GoogleAppsCardV1Suggestions initialSuggestions)
Suggested values that users can enter.
|
GoogleAppsCardV1TextInput |
setLabel(String label)
The text that appears above the text input field in the user interface.
|
GoogleAppsCardV1TextInput |
setName(String name)
The name by which the text input is identified in a form input event.
|
GoogleAppsCardV1TextInput |
setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
What to do when a change occurs in the text input field.
|
GoogleAppsCardV1TextInput |
setPlaceholderText(String placeholderText)
Text that appears in the text input field when the field is empty.
|
GoogleAppsCardV1TextInput |
setType(String type)
How a text input field appears in the user interface.
|
GoogleAppsCardV1TextInput |
setValidation(GoogleAppsCardV1Validation validation)
Specify the input format validation necessary for this text field.
|
GoogleAppsCardV1TextInput |
setValue(String value)
The value entered by a user, returned as part of a form input event.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GoogleAppsCardV1Action getAutoCompleteAction()
null for nonepublic GoogleAppsCardV1TextInput setAutoCompleteAction(GoogleAppsCardV1Action autoCompleteAction)
autoCompleteAction - autoCompleteAction or null for nonepublic String getHintText()
null for nonepublic GoogleAppsCardV1TextInput setHintText(String hintText)
hintText - hintText or null for nonepublic HostAppDataSourceMarkup getHostAppDataSource()
null for nonepublic GoogleAppsCardV1TextInput setHostAppDataSource(HostAppDataSourceMarkup hostAppDataSource)
hostAppDataSource - hostAppDataSource or null for nonepublic GoogleAppsCardV1Suggestions getInitialSuggestions()
null for nonepublic GoogleAppsCardV1TextInput setInitialSuggestions(GoogleAppsCardV1Suggestions initialSuggestions)
initialSuggestions - initialSuggestions or null for nonepublic String getLabel()
null for nonepublic GoogleAppsCardV1TextInput setLabel(String label)
label - label or null for nonepublic String getName()
null for nonepublic GoogleAppsCardV1TextInput setName(String name)
name - name or null for nonepublic GoogleAppsCardV1Action getOnChangeAction()
null for nonepublic GoogleAppsCardV1TextInput setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
onChangeAction - onChangeAction or null for nonepublic String getPlaceholderText()
null for nonepublic GoogleAppsCardV1TextInput setPlaceholderText(String placeholderText)
placeholderText - placeholderText or null for nonepublic String getType()
null for nonepublic GoogleAppsCardV1TextInput setType(String type)
type - type or null for nonepublic GoogleAppsCardV1Validation getValidation()
null for nonepublic GoogleAppsCardV1TextInput setValidation(GoogleAppsCardV1Validation validation)
validation - validation or null for nonepublic String getValue()
null for nonepublic GoogleAppsCardV1TextInput setValue(String value)
value - value or null for nonepublic GoogleAppsCardV1TextInput set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleAppsCardV1TextInput clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.