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
Static Fields
COLUMNS_FIELD_NUMBER
public static final int COLUMNS_FIELD_NUMBER
Field Value
public static final int WIDGETS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GridLayout getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GridLayout.Builder newBuilder()
Returns
newBuilder(GridLayout prototype)
public static GridLayout.Builder newBuilder(GridLayout prototype)
Parameter
Returns
public static GridLayout parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GridLayout parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GridLayout parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GridLayout parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GridLayout parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GridLayout parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GridLayout parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GridLayout parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GridLayout parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GridLayout parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GridLayout parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GridLayout parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GridLayout> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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()
Returns
getParserForType()
public Parser<GridLayout> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Returns
public int getWidgetsCount()
The informational elements that are arranged into the columns row-first.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Returns
public List<Widget> getWidgetsList()
The informational elements that are arranged into the columns row-first.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Returns
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
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GridLayout.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GridLayout.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GridLayout.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions