Class MosaicLayout (2.5.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
TypeDescription
int

TILES_FIELD_NUMBER

public static final int TILES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MosaicLayout getDefaultInstance()
Returns
TypeDescription
MosaicLayout

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MosaicLayout.Builder newBuilder()
Returns
TypeDescription
MosaicLayout.Builder

newBuilder(MosaicLayout prototype)

public static MosaicLayout.Builder newBuilder(MosaicLayout prototype)
Parameter
NameDescription
prototypeMosaicLayout
Returns
TypeDescription
MosaicLayout.Builder

parseDelimitedFrom(InputStream input)

public static MosaicLayout parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MosaicLayout
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MosaicLayout parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MosaicLayout
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MosaicLayout parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MosaicLayout
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MosaicLayout parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MosaicLayout
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MosaicLayout parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MosaicLayout
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MosaicLayout parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MosaicLayout
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MosaicLayout parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MosaicLayout
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MosaicLayout parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MosaicLayout
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MosaicLayout parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MosaicLayout
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MosaicLayout parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MosaicLayout
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MosaicLayout parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MosaicLayout
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MosaicLayout parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MosaicLayout
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MosaicLayout> parser()
Returns
TypeDescription
Parser<MosaicLayout>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
int

The columns.

getDefaultInstanceForType()

public MosaicLayout getDefaultInstanceForType()
Returns
TypeDescription
MosaicLayout

getParserForType()

public Parser<MosaicLayout> getParserForType()
Returns
TypeDescription
Parser<MosaicLayout>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MosaicLayout.Tile

getTilesCount()

public int getTilesCount()

The tiles to display.

repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;

Returns
TypeDescription
int

getTilesList()

public List<MosaicLayout.Tile> getTilesList()

The tiles to display.

repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MosaicLayout.TileOrBuilder

getTilesOrBuilderList()

public List<? extends MosaicLayout.TileOrBuilder> getTilesOrBuilderList()

The tiles to display.

repeated .google.monitoring.dashboard.v1.MosaicLayout.Tile tiles = 3;

Returns
TypeDescription
List<? extends com.google.monitoring.dashboard.v1.MosaicLayout.TileOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MosaicLayout.Builder newBuilderForType()
Returns
TypeDescription
MosaicLayout.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MosaicLayout.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MosaicLayout.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MosaicLayout.Builder toBuilder()
Returns
TypeDescription
MosaicLayout.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException