public final class Widget 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 |
|---|
Widget() |
| Modifier and Type | Method and Description |
|---|---|
Widget |
clone() |
Empty |
getBlank()
A blank space.
|
Scorecard |
getScorecard()
A scorecard summarizing time series data.
|
Text |
getText()
A raw string or markdown displaying textual content.
|
String |
getTitle()
Optional.
|
XyChart |
getXyChart()
A chart of time series data.
|
Widget |
set(String fieldName,
Object value) |
Widget |
setBlank(Empty blank)
A blank space.
|
Widget |
setScorecard(Scorecard scorecard)
A scorecard summarizing time series data.
|
Widget |
setText(Text text)
A raw string or markdown displaying textual content.
|
Widget |
setTitle(String title)
Optional.
|
Widget |
setXyChart(XyChart xyChart)
A chart of time series data.
|
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 Empty getBlank()
null for nonepublic Widget setBlank(Empty blank)
blank - blank or null for nonepublic Scorecard getScorecard()
null for nonepublic Widget setScorecard(Scorecard scorecard)
scorecard - scorecard or null for nonepublic Text getText()
null for nonepublic Widget setText(Text text)
text - text or null for nonepublic String getTitle()
null for nonepublic Widget setTitle(String title)
title - title or null for nonepublic XyChart getXyChart()
null for nonepublic Widget setXyChart(XyChart xyChart)
xyChart - xyChart or null for nonepublic Widget set(String fieldName, Object value)
set in class GenericJsonpublic Widget clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.