public final class InputField
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 Content API for Shopping. 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 |
|---|
InputField() |
| Modifier and Type | Method and Description |
|---|---|
InputField |
clone() |
InputFieldCheckboxInput |
getCheckboxInput()
Input field to provide a boolean value.
|
InputFieldChoiceInput |
getChoiceInput()
Input field to select one of the offered choices.
|
String |
getId()
Not for display but need to be sent back for the given input field.
|
TextWithTooltip |
getLabel()
Input field label.
|
Boolean |
getRequired()
Whether the field is required.
|
InputFieldTextInput |
getTextInput()
Input field to provide text information.
|
InputField |
set(String fieldName,
Object value) |
InputField |
setCheckboxInput(InputFieldCheckboxInput checkboxInput)
Input field to provide a boolean value.
|
InputField |
setChoiceInput(InputFieldChoiceInput choiceInput)
Input field to select one of the offered choices.
|
InputField |
setId(String id)
Not for display but need to be sent back for the given input field.
|
InputField |
setLabel(TextWithTooltip label)
Input field label.
|
InputField |
setRequired(Boolean required)
Whether the field is required.
|
InputField |
setTextInput(InputFieldTextInput textInput)
Input field to provide text information.
|
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 InputFieldCheckboxInput getCheckboxInput()
null for nonepublic InputField setCheckboxInput(InputFieldCheckboxInput checkboxInput)
checkboxInput - checkboxInput or null for nonepublic InputFieldChoiceInput getChoiceInput()
null for nonepublic InputField setChoiceInput(InputFieldChoiceInput choiceInput)
choiceInput - choiceInput or null for nonepublic String getId()
null for nonepublic InputField setId(String id)
id - id or null for nonepublic TextWithTooltip getLabel()
null for nonepublic InputField setLabel(TextWithTooltip label)
label - label or null for nonepublic Boolean getRequired()
null for nonepublic InputField setRequired(Boolean required)
required - required or null for nonepublic InputFieldTextInput getTextInput()
null for nonepublic InputField setTextInput(InputFieldTextInput textInput)
textInput - textInput or null for nonepublic InputField set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic InputField clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.