Interface MosaicLayout.TileOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MosaicLayout.Tile,MosaicLayout.Tile.Builder
- Enclosing class:
- MosaicLayout
public static interface MosaicLayout.TileOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe height of the tile, measured in grid blocks.The informational widget contained in the tile.The informational widget contained in the tile.intgetWidth()The width of the tile, measured in grid blocks.intgetXPos()The zero-indexed position of the tile in grid blocks relative to the left edge of the grid.intgetYPos()The zero-indexed position of the tile in grid blocks relative to the top edge of the grid.booleanThe informational widget contained in the tile.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getXPos
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:
- The xPos.
-
getYPos
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:
- The yPos.
-
getWidth
int getWidth()The width of the tile, measured in grid blocks. Tiles must have a minimum width of 1.
int32 width = 3;- Returns:
- The width.
-
getHeight
int getHeight()The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1.
int32 height = 4;- Returns:
- The height.
-
hasWidget
boolean hasWidget()The informational widget contained in the tile. For example an `XyChart`.
.google.monitoring.dashboard.v1.Widget widget = 5;- Returns:
- Whether the widget field is set.
-
getWidget
Widget getWidget()The informational widget contained in the tile. For example an `XyChart`.
.google.monitoring.dashboard.v1.Widget widget = 5;- Returns:
- The widget.
-
getWidgetOrBuilder
WidgetOrBuilder getWidgetOrBuilder()The informational widget contained in the tile. For example an `XyChart`.
.google.monitoring.dashboard.v1.Widget widget = 5;
-