public final class MosaicLayout extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
COLUMNS_FIELD_NUMBER
public static final int COLUMNS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TILES_FIELD_NUMBER
public static final int TILES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static MosaicLayout getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MosaicLayout.Builder newBuilder()
newBuilder(MosaicLayout prototype)
public static MosaicLayout.Builder newBuilder(MosaicLayout prototype)
public static MosaicLayout parseDelimitedFrom(InputStream input)
public static MosaicLayout parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MosaicLayout parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MosaicLayout parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MosaicLayout parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MosaicLayout parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MosaicLayout parseFrom(CodedInputStream input)
public static MosaicLayout parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MosaicLayout parseFrom(InputStream input)
public static MosaicLayout parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MosaicLayout parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MosaicLayout parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MosaicLayout> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
getParserForType()
public Parser<MosaicLayout> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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
|
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> | |
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MosaicLayout.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MosaicLayout.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public MosaicLayout.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides