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
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 prototype)
public static GridLayout.Builder newBuilder(GridLayout prototype)
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.dashboard.v1.Widget widgets = 2;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Widget |
|
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 |
|
public List<Widget> getWidgetsList()
The informational elements that are arranged into the columns row-first.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
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
|
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 |
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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public GridLayout.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides