Send feedback
Class MosaicLayout.Builder (2.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.5.0 keyboard_arrow_down
public static final class MosaicLayout . Builder extends GeneratedMessageV3 . Builder<MosaicLayout . Builder > implements MosaicLayoutOrBuilder
A mosaic layout divides the available space into a grid of blocks, and
overlays the grid with tiles. Unlike GridLayout
, tiles may span multiple
grid blocks and can be placed at arbitrary locations in the grid.
Protobuf type google.monitoring.dashboard.v1.MosaicLayout
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllTiles(Iterable<? extends MosaicLayout.Tile> values)
public MosaicLayout . Builder addAllTiles ( Iterable <? extends MosaicLayout . Tile > values )
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameter
Name Description values Iterable <? extends com.google.monitoring.dashboard.v1.MosaicLayout.Tile >
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MosaicLayout . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
addTiles(MosaicLayout.Tile value)
public MosaicLayout . Builder addTiles ( MosaicLayout . Tile value )
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameter
Returns
addTiles(MosaicLayout.Tile.Builder builderForValue)
public MosaicLayout . Builder addTiles ( MosaicLayout . Tile . Builder builderForValue )
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameter
Returns
addTiles(int index, MosaicLayout.Tile value)
public MosaicLayout . Builder addTiles ( int index , MosaicLayout . Tile value )
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameters
Returns
addTiles(int index, MosaicLayout.Tile.Builder builderForValue)
public MosaicLayout . Builder addTiles ( int index , MosaicLayout . Tile . Builder builderForValue )
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameters
Returns
addTilesBuilder()
public MosaicLayout . Tile . Builder addTilesBuilder ()
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Returns
addTilesBuilder(int index)
public MosaicLayout . Tile . Builder addTilesBuilder ( int index )
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameter
Returns
build()
public MosaicLayout build ()
Returns
buildPartial()
public MosaicLayout buildPartial ()
Returns
clear()
public MosaicLayout . Builder clear ()
Returns
Overrides
clearColumns()
public MosaicLayout . Builder clearColumns ()
The number of columns in the mosaic grid. The number of columns must be
between 1 and 12, inclusive.
int32 columns = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public MosaicLayout . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MosaicLayout . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearTiles()
public MosaicLayout . Builder clearTiles ()
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Returns
clone()
public MosaicLayout . Builder clone ()
Returns
Overrides
getColumns()
The number of columns in the mosaic grid. The number of columns must be
between 1 and 12, inclusive.
int32 columns = 1;
Returns
Type Description int The columns.
getDefaultInstanceForType()
public MosaicLayout getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getTiles(int index)
public MosaicLayout . Tile getTiles ( int index )
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameter
Returns
getTilesBuilder(int index)
public MosaicLayout . Tile . Builder getTilesBuilder ( int index )
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameter
Returns
getTilesBuilderList()
public List<MosaicLayout . Tile . Builder > getTilesBuilderList ()
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Returns
getTilesCount()
public int getTilesCount ()
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Returns
getTilesList()
public List<MosaicLayout . Tile > getTilesList ()
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Returns
getTilesOrBuilder(int index)
public MosaicLayout . TileOrBuilder getTilesOrBuilder ( int index )
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameter
Returns
getTilesOrBuilderList()
public List <? extends MosaicLayout . TileOrBuilder > getTilesOrBuilderList ()
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Returns
Type Description List <? extends com.google.monitoring.dashboard.v1.MosaicLayout.TileOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(MosaicLayout other)
public MosaicLayout . Builder mergeFrom ( MosaicLayout other )
Parameter
Returns
public MosaicLayout . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MosaicLayout . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MosaicLayout . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeTiles(int index)
public MosaicLayout . Builder removeTiles ( int index )
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameter
Returns
setColumns(int value)
public MosaicLayout . Builder setColumns ( int value )
The number of columns in the mosaic grid. The number of columns must be
between 1 and 12, inclusive.
int32 columns = 1;
Parameter
Name Description value int
The columns to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MosaicLayout . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MosaicLayout . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setTiles(int index, MosaicLayout.Tile value)
public MosaicLayout . Builder setTiles ( int index , MosaicLayout . Tile value )
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameters
Returns
setTiles(int index, MosaicLayout.Tile.Builder builderForValue)
public MosaicLayout . Builder setTiles ( int index , MosaicLayout . Tile . Builder builderForValue )
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final MosaicLayout . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]