Interface MosaicLayout.TileOrBuilder (2.51.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the widget field is set.