Class MosaicLayout (2.47.0)

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
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()
Returns
Type Description
MosaicLayout

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static MosaicLayout.Builder newBuilder()
Returns
Type Description
MosaicLayout.Builder

newBuilder(MosaicLayout prototype)

public static MosaicLayout.Builder newBuilder(MosaicLayout prototype)
Parameter
Name Description
prototype MosaicLayout
Returns
Type Description
MosaicLayout.Builder

parseDelimitedFrom(InputStream input)

public static MosaicLayout parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MosaicLayout
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MosaicLayout parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MosaicLayout
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MosaicLayout parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MosaicLayout
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MosaicLayout parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MosaicLayout
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MosaicLayout parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MosaicLayout
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MosaicLayout parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MosaicLayout
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MosaicLayout parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MosaicLayout
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MosaicLayout parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MosaicLayout
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MosaicLayout parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MosaicLayout
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MosaicLayout parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MosaicLayout
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MosaicLayout parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MosaicLayout
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MosaicLayout parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MosaicLayout
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MosaicLayout> parser()
Returns
Type Description
Parser<MosaicLayout>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getColumns()

public int 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
Type Description
MosaicLayout

getParserForType()

public Parser<MosaicLayout> getParserForType()
Returns
Type Description
Parser<MosaicLayout>
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
Returns
Type Description
MosaicLayout.Tile

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;

Returns
Type Description
List<Tile>

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
Returns
Type Description
MosaicLayout.TileOrBuilder

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MosaicLayout.Builder newBuilderForType()
Returns
Type Description
MosaicLayout.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MosaicLayout.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MosaicLayout.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MosaicLayout.Builder toBuilder()
Returns
Type Description
MosaicLayout.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException