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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MosaicLayout.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
addTilesBuilder()
public MosaicLayout.Tile.Builder addTilesBuilder()
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
addTilesBuilder(int index)
public MosaicLayout.Tile.Builder addTilesBuilder(int index)
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameter |
Name |
Description |
index |
int
|
build()
public MosaicLayout build()
buildPartial()
public MosaicLayout buildPartial()
clear()
public MosaicLayout.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public MosaicLayout.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MosaicLayout.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTiles()
public MosaicLayout.Builder clearTiles()
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
clone()
public MosaicLayout.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTiles(int index)
public MosaicLayout.Tile getTiles(int index)
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameter |
Name |
Description |
index |
int
|
getTilesBuilder(int index)
public MosaicLayout.Tile.Builder getTilesBuilder(int index)
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameter |
Name |
Description |
index |
int
|
getTilesBuilderList()
public List<MosaicLayout.Tile.Builder> getTilesBuilderList()
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
getTilesCount()
public int getTilesCount()
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Returns |
Type |
Description |
int |
|
getTilesList()
public List<MosaicLayout.Tile> getTilesList()
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
getTilesOrBuilder(int index)
public MosaicLayout.TileOrBuilder getTilesOrBuilder(int index)
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MosaicLayout other)
public MosaicLayout.Builder mergeFrom(MosaicLayout other)
public MosaicLayout.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MosaicLayout.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MosaicLayout.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeTiles(int index)
public MosaicLayout.Builder removeTiles(int index)
The tiles to display.
repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;
Parameter |
Name |
Description |
index |
int
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public MosaicLayout.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MosaicLayout.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final MosaicLayout.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides