public final class Value extends 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 Fitness API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Value() |
| Modifier and Type | Method and Description |
|---|---|
Value |
clone() |
Double |
getFpVal()
Floating point value.
|
Integer |
getIntVal()
Integer value.
|
List<ValueMapValEntry> |
getMapVal()
Map value.
|
String |
getStringVal()
String value.
|
Value |
set(String fieldName,
Object value) |
Value |
setFpVal(Double fpVal)
Floating point value.
|
Value |
setIntVal(Integer intVal)
Integer value.
|
Value |
setMapVal(List<ValueMapValEntry> mapVal)
Map value.
|
Value |
setStringVal(String stringVal)
String 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 Double getFpVal()
null for nonepublic Value setFpVal(Double fpVal)
fpVal - fpVal or null for nonepublic Integer getIntVal()
null for nonepublic Value setIntVal(Integer intVal)
intVal - intVal or null for nonepublic List<ValueMapValEntry> getMapVal()
null for nonepublic Value setMapVal(List<ValueMapValEntry> mapVal)
mapVal - mapVal or null for nonepublic String getStringVal()
null for nonepublic Value setStringVal(String stringVal)
stringVal - stringVal or null for nonepublic Value set(String fieldName, Object value)
set in class GenericJsonpublic Value clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.