Class RowLayout.Row (2.32.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
TypeDescription
int

WIDGETS_FIELD_NUMBER

public static final int WIDGETS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RowLayout.Row getDefaultInstance()
Returns
TypeDescription
RowLayout.Row

getDescriptor()

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

newBuilder()

public static RowLayout.Row.Builder newBuilder()
Returns
TypeDescription
RowLayout.Row.Builder

newBuilder(RowLayout.Row prototype)

public static RowLayout.Row.Builder newBuilder(RowLayout.Row prototype)
Parameter
NameDescription
prototypeRowLayout.Row
Returns
TypeDescription
RowLayout.Row.Builder

parseDelimitedFrom(InputStream input)

public static RowLayout.Row parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RowLayout.Row
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static RowLayout.Row parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RowLayout.Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static RowLayout.Row parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RowLayout.Row
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static RowLayout.Row parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RowLayout.Row
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static RowLayout.Row parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RowLayout.Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RowLayout.Row getDefaultInstanceForType()
Returns
TypeDescription
RowLayout.Row

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Widget

getWidgetsCount()

public int getWidgetsCount()

The display widgets arranged horizontally in this row.

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

Returns
TypeDescription
int

getWidgetsList()

public List<Widget> getWidgetsList()

The display widgets arranged horizontally in this row.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
WidgetOrBuilder

getWidgetsOrBuilderList()

public List<? extends WidgetOrBuilder> getWidgetsOrBuilderList()

The display widgets arranged horizontally in this row.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public RowLayout.Row.Builder toBuilder()
Returns
TypeDescription
RowLayout.Row.Builder

writeTo(CodedOutputStream output)

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