public final class TypedValue 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 Cloud Monitoring 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 |
|---|
TypedValue() |
| Modifier and Type | Method and Description |
|---|---|
TypedValue |
clone() |
Boolean |
getBoolValue()
A Boolean value: true or false.
|
Distribution |
getDistributionValue()
A distribution value.
|
Double |
getDoubleValue()
A 64-bit double-precision floating-point number.
|
Long |
getInt64Value()
A 64-bit integer.
|
String |
getStringValue()
A variable-length string value.
|
TypedValue |
set(String fieldName,
Object value) |
TypedValue |
setBoolValue(Boolean boolValue)
A Boolean value: true or false.
|
TypedValue |
setDistributionValue(Distribution distributionValue)
A distribution value.
|
TypedValue |
setDoubleValue(Double doubleValue)
A 64-bit double-precision floating-point number.
|
TypedValue |
setInt64Value(Long int64Value)
A 64-bit integer.
|
TypedValue |
setStringValue(String stringValue)
A variable-length 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 Boolean getBoolValue()
null for nonepublic TypedValue setBoolValue(Boolean boolValue)
boolValue - boolValue or null for nonepublic Distribution getDistributionValue()
null for nonepublic TypedValue setDistributionValue(Distribution distributionValue)
distributionValue - distributionValue or null for nonepublic Double getDoubleValue()
null for nonepublic TypedValue setDoubleValue(Double doubleValue)
doubleValue - doubleValue or null for nonepublic Long getInt64Value()
null for nonepublic TypedValue setInt64Value(Long int64Value)
int64Value - int64Value or null for nonepublic String getStringValue()
null for nonepublic TypedValue setStringValue(String stringValue)
stringValue - stringValue or null for nonepublic TypedValue set(String fieldName, Object value)
set in class GenericJsonpublic TypedValue clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.