Class RowLayout.Row (2.51.0)

public static final class RowLayout.Row extends GeneratedMessageV3 implements RowLayout.RowOrBuilder

Defines the layout properties and content for a row.

Protobuf type google.monitoring.dashboard.v1.RowLayout.Row

Static Fields

WEIGHT_FIELD_NUMBER

public static final int WEIGHT_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 RowLayout.Row getDefaultInstance()
Returns
Type Description
RowLayout.Row

getDescriptor()

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

newBuilder()

public static RowLayout.Row.Builder newBuilder()
Returns
Type Description
RowLayout.Row.Builder

newBuilder(RowLayout.Row prototype)

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

parseDelimitedFrom(InputStream input)

public static RowLayout.Row parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RowLayout.Row
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static RowLayout.Row parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RowLayout.Row
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static RowLayout.Row parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RowLayout.Row
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static RowLayout.Row parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RowLayout.Row
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static RowLayout.Row parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RowLayout.Row
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<RowLayout.Row> parser()
Returns
Type Description
Parser<Row>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RowLayout.Row getDefaultInstanceForType()
Returns
Type Description
RowLayout.Row

getParserForType()

public Parser<RowLayout.Row> getParserForType()
Returns
Type Description
Parser<Row>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWeight()

public long getWeight()

The relative weight of this row. The row weight is used to adjust the height of rows on the screen (relative to peers). Greater the weight, greater the height of the row on the screen. If omitted, a value of 1 is used while rendering.

int64 weight = 1;

Returns
Type Description
long

The weight.

getWidgets(int index)

public Widget getWidgets(int index)

The display widgets arranged horizontally in this row.

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

Parameter
Name Description
index int
Returns
Type Description
Widget

getWidgetsCount()

public int getWidgetsCount()

The display widgets arranged horizontally in this row.

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

Returns
Type Description
int

getWidgetsList()

public List<Widget> getWidgetsList()

The display widgets arranged horizontally in this row.

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

Returns
Type Description
List<Widget>

getWidgetsOrBuilder(int index)

public WidgetOrBuilder getWidgetsOrBuilder(int index)

The display widgets arranged horizontally in this row.

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

Parameter
Name Description
index int
Returns
Type Description
WidgetOrBuilder

getWidgetsOrBuilderList()

public List<? extends WidgetOrBuilder> getWidgetsOrBuilderList()

The display widgets arranged horizontally in this row.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public RowLayout.Row.Builder toBuilder()
Returns
Type Description
RowLayout.Row.Builder

writeTo(CodedOutputStream output)

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