public final class DisplayData 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 Dataflow 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 |
|---|
DisplayData() |
| Modifier and Type | Method and Description |
|---|---|
DisplayData |
clone() |
Boolean |
getBoolValue()
Contains value if the data is of a boolean type.
|
String |
getDurationValue()
Contains value if the data is of duration type.
|
Float |
getFloatValue()
Contains value if the data is of float type.
|
Long |
getInt64Value()
Contains value if the data is of int64 type.
|
String |
getJavaClassValue()
Contains value if the data is of java class type.
|
String |
getKey()
The key identifying the display data.
|
String |
getLabel()
An optional label to display in a dax UI for the element.
|
String |
getNamespace()
The namespace for the key.
|
String |
getShortStrValue()
A possible additional shorter value to display.
|
String |
getStrValue()
Contains value if the data is of string type.
|
String |
getTimestampValue()
Contains value if the data is of timestamp type.
|
String |
getUrl()
An optional full URL.
|
DisplayData |
set(String fieldName,
Object value) |
DisplayData |
setBoolValue(Boolean boolValue)
Contains value if the data is of a boolean type.
|
DisplayData |
setDurationValue(String durationValue)
Contains value if the data is of duration type.
|
DisplayData |
setFloatValue(Float floatValue)
Contains value if the data is of float type.
|
DisplayData |
setInt64Value(Long int64Value)
Contains value if the data is of int64 type.
|
DisplayData |
setJavaClassValue(String javaClassValue)
Contains value if the data is of java class type.
|
DisplayData |
setKey(String key)
The key identifying the display data.
|
DisplayData |
setLabel(String label)
An optional label to display in a dax UI for the element.
|
DisplayData |
setNamespace(String namespace)
The namespace for the key.
|
DisplayData |
setShortStrValue(String shortStrValue)
A possible additional shorter value to display.
|
DisplayData |
setStrValue(String strValue)
Contains value if the data is of string type.
|
DisplayData |
setTimestampValue(String timestampValue)
Contains value if the data is of timestamp type.
|
DisplayData |
setUrl(String url)
An optional full URL.
|
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 DisplayData setBoolValue(Boolean boolValue)
boolValue - boolValue or null for nonepublic String getDurationValue()
null for nonepublic DisplayData setDurationValue(String durationValue)
durationValue - durationValue or null for nonepublic Float getFloatValue()
null for nonepublic DisplayData setFloatValue(Float floatValue)
floatValue - floatValue or null for nonepublic Long getInt64Value()
null for nonepublic DisplayData setInt64Value(Long int64Value)
int64Value - int64Value or null for nonepublic String getJavaClassValue()
null for nonepublic DisplayData setJavaClassValue(String javaClassValue)
javaClassValue - javaClassValue or null for nonepublic String getKey()
null for nonepublic DisplayData setKey(String key)
key - key or null for nonepublic String getLabel()
null for nonepublic DisplayData setLabel(String label)
label - label or null for nonepublic String getNamespace()
null for nonepublic DisplayData setNamespace(String namespace)
namespace - namespace or null for nonepublic String getShortStrValue()
null for nonepublic DisplayData setShortStrValue(String shortStrValue)
shortStrValue - shortStrValue or null for nonepublic String getStrValue()
null for nonepublic DisplayData setStrValue(String strValue)
strValue - strValue or null for nonepublic String getTimestampValue()
null for nonepublic DisplayData setTimestampValue(String timestampValue)
timestampValue - timestampValue or null for nonepublic String getUrl()
null for nonepublic DisplayData setUrl(String url)
url - url or null for nonepublic DisplayData set(String fieldName, Object value)
set in class GenericJsonpublic DisplayData clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.