Class GridLayout (2.13.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
TypeDescription
int

WIDGETS_FIELD_NUMBER

public static final int WIDGETS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GridLayout getDefaultInstance()
Returns
TypeDescription
GridLayout

getDescriptor()

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

newBuilder()

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

newBuilder(GridLayout prototype)

public static GridLayout.Builder newBuilder(GridLayout prototype)
Parameter
NameDescription
prototypeGridLayout
Returns
TypeDescription
GridLayout.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

The columns.

getDefaultInstanceForType()

public GridLayout getDefaultInstanceForType()
Returns
TypeDescription
GridLayout

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.monitoring.dashboard.v1.WidgetOrBuilder>

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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