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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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