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