public final class FieldValue
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 Admin SDK 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 |
|---|
FieldValue() |
| Modifier and Type | Method and Description |
|---|---|
FieldValue |
clone() |
Date |
getDateValue()
Setting a date value.
|
String |
getDisplayName()
Display name of the field
|
String |
getId()
Identifier of the field
|
Long |
getIntegerValue()
Setting an integer value.
|
String |
getLongTextValue()
Setting a long text value.
|
Reason |
getReason()
The reason why the field was applied to the label.
|
FieldValueSelectionListValue |
getSelectionListValue()
Setting a selection list value by selecting multiple values from a dropdown.
|
FieldValueSelectionValue |
getSelectionValue()
Setting a selection value by selecting a single value from a dropdown.
|
FieldValueTextListValue |
getTextListValue()
Setting a text list value.
|
String |
getTextValue()
Setting a text value.
|
String |
getType()
Type of the field
|
Boolean |
getUnsetValue()
If the field is unset, this will be true.
|
FieldValueUserListValue |
getUserListValue()
Setting a user list value by selecting multiple users.
|
FieldValueUserValue |
getUserValue()
Setting a user value by selecting a single user.
|
FieldValue |
set(String fieldName,
Object value) |
FieldValue |
setDateValue(Date dateValue)
Setting a date value.
|
FieldValue |
setDisplayName(String displayName)
Display name of the field
|
FieldValue |
setId(String id)
Identifier of the field
|
FieldValue |
setIntegerValue(Long integerValue)
Setting an integer value.
|
FieldValue |
setLongTextValue(String longTextValue)
Setting a long text value.
|
FieldValue |
setReason(Reason reason)
The reason why the field was applied to the label.
|
FieldValue |
setSelectionListValue(FieldValueSelectionListValue selectionListValue)
Setting a selection list value by selecting multiple values from a dropdown.
|
FieldValue |
setSelectionValue(FieldValueSelectionValue selectionValue)
Setting a selection value by selecting a single value from a dropdown.
|
FieldValue |
setTextListValue(FieldValueTextListValue textListValue)
Setting a text list value.
|
FieldValue |
setTextValue(String textValue)
Setting a text value.
|
FieldValue |
setType(String type)
Type of the field
|
FieldValue |
setUnsetValue(Boolean unsetValue)
If the field is unset, this will be true.
|
FieldValue |
setUserListValue(FieldValueUserListValue userListValue)
Setting a user list value by selecting multiple users.
|
FieldValue |
setUserValue(FieldValueUserValue userValue)
Setting a user value by selecting a single user.
|
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 Date getDateValue()
null for nonepublic FieldValue setDateValue(Date dateValue)
dateValue - dateValue or null for nonepublic String getDisplayName()
null for nonepublic FieldValue setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getId()
null for nonepublic FieldValue setId(String id)
id - id or null for nonepublic Long getIntegerValue()
null for nonepublic FieldValue setIntegerValue(Long integerValue)
integerValue - integerValue or null for nonepublic String getLongTextValue()
null for nonepublic FieldValue setLongTextValue(String longTextValue)
longTextValue - longTextValue or null for nonepublic Reason getReason()
null for nonepublic FieldValue setReason(Reason reason)
reason - reason or null for nonepublic FieldValueSelectionListValue getSelectionListValue()
null for nonepublic FieldValue setSelectionListValue(FieldValueSelectionListValue selectionListValue)
selectionListValue - selectionListValue or null for nonepublic FieldValueSelectionValue getSelectionValue()
null for nonepublic FieldValue setSelectionValue(FieldValueSelectionValue selectionValue)
selectionValue - selectionValue or null for nonepublic FieldValueTextListValue getTextListValue()
null for nonepublic FieldValue setTextListValue(FieldValueTextListValue textListValue)
textListValue - textListValue or null for nonepublic String getTextValue()
null for nonepublic FieldValue setTextValue(String textValue)
textValue - textValue or null for nonepublic String getType()
null for nonepublic FieldValue setType(String type)
type - type or null for nonepublic Boolean getUnsetValue()
null for nonepublic FieldValue setUnsetValue(Boolean unsetValue)
unsetValue - unsetValue or null for nonepublic FieldValueUserListValue getUserListValue()
null for nonepublic FieldValue setUserListValue(FieldValueUserListValue userListValue)
userListValue - userListValue or null for nonepublic FieldValueUserValue getUserValue()
null for nonepublic FieldValue setUserValue(FieldValueUserValue userValue)
userValue - userValue or null for nonepublic FieldValue set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic FieldValue clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.