Send feedback Class GridLayout (2.49.0) Stay organized with collections Save and categorize content based on your preferences.
Version 2.49.0keyboard_arrow_down
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.dasard.v1.GridLayout
Inherited Members com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields COLUMNS_FIELD_NUMBER
public static final int COLUMNS_FIELD_NUMBER
Field Value Type Description int
public static final int WIDGETS_FIELD_NUMBER
Field Value Type Description int
Static Methods getDefaultInstance()
public static GridLayout getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static GridLayout . Builder newBuilder ()
newBuilder(GridLayout )
public static GridLayout . Builder newBuilder ( GridLayout )
public static GridLayout parseDelimitedFrom ( InputStream input )
public static GridLayout parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static GridLayout parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GridLayout parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static GridLayout parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GridLayout parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static GridLayout parseFrom ( CodedInputStream input )
public static GridLayout parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static GridLayout parseFrom ( InputStream input )
public static GridLayout parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static GridLayout parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GridLayout parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<GridLayout> parser ()
Methods equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides 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 ()
getParserForType()
public Parser<GridLayout> getParserForType ()
Overrides getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
public Widget getWidgets ( int index )
The informational elements that are arranged into the columns row-first.
repeated .google.monitoring.dasard.v1.Widget widgets = 2;
Parameter Name Description index
int
public int getWidgetsCount ()
The informational elements that are arranged into the columns row-first.
repeated .google.monitoring.dasard.v1.Widget widgets = 2;
Returns Type Description int
public List<Widget> getWidgetsList ()
The informational elements that are arranged into the columns row-first.
repeated .google.monitoring.dasard.v1.Widget widgets = 2;
public WidgetOrBuilder getWidgetsOrBuilder ( int index )
The informational elements that are arranged into the columns row-first.
repeated .google.monitoring.dasard.v1.Widget widgets = 2;
Parameter Name Description index
int
public List <? extends WidgetOrBuilder > getWidgetsOrBuilderList ()
The informational elements that are arranged into the columns row-first.
repeated .google.monitoring.dasard.v1.Widget widgets = 2;
Returns Type Description List <? extends com.google.monitoring.dasard.v1.WidgetOrBuilder >
hashCode() Returns Type Description int
Overrides internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides isInitialized()
public final boolean isInitialized ()
Overrides newBuilderForType()
public GridLayout . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GridLayout . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides toBuilder()
public GridLayout . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-05 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-05 UTC."],[],[]]