public final class PropertyValue
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 Play Games Services 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 |
|---|
PropertyValue() |
| Modifier and Type | Method and Description |
|---|---|
PropertyValue |
clone() |
Boolean |
getBoolValue()
A boolean value.
|
Double |
getDoubleValue()
A double value.
|
String |
getDurationValue()
A duration value.
|
Long |
getIntValue()
An integer value.
|
String |
getStringValue()
A string value.
|
String |
getTimestampValue()
A timestamp value.
|
PropertyValue |
set(String fieldName,
Object value) |
PropertyValue |
setBoolValue(Boolean boolValue)
A boolean value.
|
PropertyValue |
setDoubleValue(Double doubleValue)
A double value.
|
PropertyValue |
setDurationValue(String durationValue)
A duration value.
|
PropertyValue |
setIntValue(Long intValue)
An integer value.
|
PropertyValue |
setStringValue(String stringValue)
A string value.
|
PropertyValue |
setTimestampValue(String timestampValue)
A timestamp value.
|
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 Boolean getBoolValue()
null for nonepublic PropertyValue setBoolValue(Boolean boolValue)
boolValue - boolValue or null for nonepublic Double getDoubleValue()
null for nonepublic PropertyValue setDoubleValue(Double doubleValue)
doubleValue - doubleValue or null for nonepublic String getDurationValue()
null for nonepublic PropertyValue setDurationValue(String durationValue)
durationValue - durationValue or null for nonepublic Long getIntValue()
null for nonepublic PropertyValue setIntValue(Long intValue)
intValue - intValue or null for nonepublic String getStringValue()
null for nonepublic PropertyValue setStringValue(String stringValue)
stringValue - stringValue or null for nonepublic String getTimestampValue()
null for nonepublic PropertyValue setTimestampValue(String timestampValue)
timestampValue - timestampValue or null for nonepublic PropertyValue set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PropertyValue clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.