Interface MosaicLayout.TileOrBuilder (2.32.0)

public static interface MosaicLayout.TileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHeight()

public abstract int getHeight()

The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1.

int32 height = 4;

Returns
TypeDescription
int

The height.

getWidget()

public abstract Widget getWidget()

The informational widget contained in the tile. For example an XyChart.

.google.monitoring.dashboard.v1.Widget widget = 5;

Returns
TypeDescription
Widget

The widget.

getWidgetOrBuilder()

public abstract WidgetOrBuilder getWidgetOrBuilder()

The informational widget contained in the tile. For example an XyChart.

.google.monitoring.dashboard.v1.Widget widget = 5;

Returns
TypeDescription
WidgetOrBuilder

getWidth()

public abstract int getWidth()

The width of the tile, measured in grid blocks. Tiles must have a minimum width of 1.

int32 width = 3;

Returns
TypeDescription
int

The width.

getXPos()

public abstract int getXPos()

The zero-indexed position of the tile in grid blocks relative to the left edge of the grid. Tiles must be contained within the specified number of columns. x_pos cannot be negative.

int32 x_pos = 1;

Returns
TypeDescription
int

The xPos.

getYPos()

public abstract int getYPos()

The zero-indexed position of the tile in grid blocks relative to the top edge of the grid. y_pos cannot be negative.

int32 y_pos = 2;

Returns
TypeDescription
int

The yPos.

hasWidget()

public abstract boolean hasWidget()

The informational widget contained in the tile. For example an XyChart.

.google.monitoring.dashboard.v1.Widget widget = 5;

Returns
TypeDescription
boolean

Whether the widget field is set.