Class GridLayout (2.48.0)

public final class GridLayout extends GeneratedMessageV3 implements GridLayoutOrBuilder

A basic layout divides the available space into vertical columns of equal width and arranges a list of widgets using a row-first strategy.

Protobuf type google.monitoring.dashboard.v1.GridLayout

Implements

GridLayoutOrBuilder

Static Fields

COLUMNS_FIELD_NUMBER

public static final int COLUMNS_FIELD_NUMBER
Field Value
Type Description
int

WIDGETS_FIELD_NUMBER

public static final int WIDGETS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GridLayout getDefaultInstance()
Returns
Type Description
GridLayout

getDescriptor()

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

newBuilder()

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

newBuilder(GridLayout prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getColumns()

public long getColumns()

The number of columns into which the view's width is divided. If omitted or set to zero, a system default will be used while rendering.

int64 columns = 1;

Returns
Type Description
long

The columns.

getDefaultInstanceForType()

public GridLayout getDefaultInstanceForType()
Returns
Type Description
GridLayout

getParserForType()

public Parser<GridLayout> getParserForType()
Returns
Type Description
Parser<GridLayout>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWidgets(int index)

public Widget getWidgets(int index)

The informational elements that are arranged into the columns row-first.

repeated .google.monitoring.dashboard.v1.Widget widgets = 2;

Parameter
Name Description
index int
Returns
Type Description
Widget

getWidgetsCount()

public int getWidgetsCount()

The informational elements that are arranged into the columns row-first.

repeated .google.monitoring.dashboard.v1.Widget widgets = 2;

Returns
Type Description
int

getWidgetsList()

public List<Widget> getWidgetsList()

The informational elements that are arranged into the columns row-first.

repeated .google.monitoring.dashboard.v1.Widget widgets = 2;

Returns
Type Description
List<Widget>

getWidgetsOrBuilder(int index)

public WidgetOrBuilder getWidgetsOrBuilder(int index)

The informational elements that are arranged into the columns row-first.

repeated .google.monitoring.dashboard.v1.Widget widgets = 2;

Parameter
Name Description
index int
Returns
Type Description
WidgetOrBuilder

getWidgetsOrBuilderList()

public List<? extends WidgetOrBuilder> getWidgetsOrBuilderList()

The informational elements that are arranged into the columns row-first.

repeated .google.monitoring.dashboard.v1.Widget widgets = 2;

Returns
Type Description
List<? extends com.google.monitoring.dashboard.v1.WidgetOrBuilder>

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 GridLayout.Builder newBuilderForType()
Returns
Type Description
GridLayout.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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