public final class Tile 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 |
|---|
Tile() |
| Modifier and Type | Method and Description |
|---|---|
Tile |
clone() |
Integer |
getHeight()
The height of the tile, measured in grid blocks.
|
Widget |
getWidget()
The informational widget contained in the tile.
|
Integer |
getWidth()
The width of the tile, measured in grid blocks.
|
Integer |
getXPos()
The zero-indexed position of the tile in grid blocks relative to the left edge of the grid.
|
Integer |
getYPos()
The zero-indexed position of the tile in grid blocks relative to the top edge of the grid.
|
Tile |
set(String fieldName,
Object value) |
Tile |
setHeight(Integer height)
The height of the tile, measured in grid blocks.
|
Tile |
setWidget(Widget widget)
The informational widget contained in the tile.
|
Tile |
setWidth(Integer width)
The width of the tile, measured in grid blocks.
|
Tile |
setXPos(Integer xPos)
The zero-indexed position of the tile in grid blocks relative to the left edge of the grid.
|
Tile |
setYPos(Integer yPos)
The zero-indexed position of the tile in grid blocks relative to the top edge of the grid.
|
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 Integer getHeight()
null for nonepublic Tile setHeight(Integer height)
height - height or null for nonepublic Widget getWidget()
null for nonepublic Tile setWidget(Widget widget)
widget - widget or null for nonepublic Integer getWidth()
null for nonepublic Tile setWidth(Integer width)
width - width or null for nonepublic Integer getXPos()
null for nonepublic Tile setXPos(Integer xPos)
xPos - xPos or null for nonepublic Integer getYPos()
null for nonepublic Tile setYPos(Integer yPos)
yPos - yPos or null for nonepublic Tile set(String fieldName, Object value)
set in class GenericJsonpublic Tile clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.