public final class NumericValue
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 Analytics Data 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 |
|---|
NumericValue() |
| Modifier and Type | Method and Description |
|---|---|
NumericValue |
clone() |
Double |
getDoubleValue()
Double value
|
Long |
getInt64Value()
Integer value
|
NumericValue |
set(String fieldName,
Object value) |
NumericValue |
setDoubleValue(Double doubleValue)
Double value
|
NumericValue |
setInt64Value(Long int64Value)
Integer 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 getDoubleValue()
null for nonepublic NumericValue setDoubleValue(Double doubleValue)
doubleValue - doubleValue or null for nonepublic Long getInt64Value()
null for nonepublic NumericValue setInt64Value(Long int64Value)
int64Value - int64Value or null for nonepublic NumericValue set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic NumericValue clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.