Class RowLayout.Builder (2.38.0)

public static final class RowLayout.Builder extends GeneratedMessageV3.Builder<RowLayout.Builder> implements RowLayoutOrBuilder

A simplified layout that divides the available space into rows and arranges a set of widgets horizontally in each row.

Protobuf type google.monitoring.dashboard.v1.RowLayout

Implements

RowLayoutOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllRows(Iterable<? extends RowLayout.Row> values)

public RowLayout.Builder addAllRows(Iterable<? extends RowLayout.Row> values)

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.monitoring.dashboard.v1.RowLayout.Row>
Returns
TypeDescription
RowLayout.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RowLayout.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RowLayout.Builder
Overrides

addRows(RowLayout.Row value)

public RowLayout.Builder addRows(RowLayout.Row value)

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Parameter
NameDescription
valueRowLayout.Row
Returns
TypeDescription
RowLayout.Builder

addRows(RowLayout.Row.Builder builderForValue)

public RowLayout.Builder addRows(RowLayout.Row.Builder builderForValue)

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Parameter
NameDescription
builderForValueRowLayout.Row.Builder
Returns
TypeDescription
RowLayout.Builder

addRows(int index, RowLayout.Row value)

public RowLayout.Builder addRows(int index, RowLayout.Row value)

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Parameters
NameDescription
indexint
valueRowLayout.Row
Returns
TypeDescription
RowLayout.Builder

addRows(int index, RowLayout.Row.Builder builderForValue)

public RowLayout.Builder addRows(int index, RowLayout.Row.Builder builderForValue)

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Parameters
NameDescription
indexint
builderForValueRowLayout.Row.Builder
Returns
TypeDescription
RowLayout.Builder

addRowsBuilder()

public RowLayout.Row.Builder addRowsBuilder()

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Returns
TypeDescription
RowLayout.Row.Builder

addRowsBuilder(int index)

public RowLayout.Row.Builder addRowsBuilder(int index)

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RowLayout.Row.Builder

build()

public RowLayout build()
Returns
TypeDescription
RowLayout

buildPartial()

public RowLayout buildPartial()
Returns
TypeDescription
RowLayout

clear()

public RowLayout.Builder clear()
Returns
TypeDescription
RowLayout.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RowLayout.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RowLayout.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RowLayout.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RowLayout.Builder
Overrides

clearRows()

public RowLayout.Builder clearRows()

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Returns
TypeDescription
RowLayout.Builder

clone()

public RowLayout.Builder clone()
Returns
TypeDescription
RowLayout.Builder
Overrides

getDefaultInstanceForType()

public RowLayout getDefaultInstanceForType()
Returns
TypeDescription
RowLayout

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRows(int index)

public RowLayout.Row getRows(int index)

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RowLayout.Row

getRowsBuilder(int index)

public RowLayout.Row.Builder getRowsBuilder(int index)

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RowLayout.Row.Builder

getRowsBuilderList()

public List<RowLayout.Row.Builder> getRowsBuilderList()

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Returns
TypeDescription
List<Builder>

getRowsCount()

public int getRowsCount()

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Returns
TypeDescription
int

getRowsList()

public List<RowLayout.Row> getRowsList()

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Returns
TypeDescription
List<Row>

getRowsOrBuilder(int index)

public RowLayout.RowOrBuilder getRowsOrBuilder(int index)

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RowLayout.RowOrBuilder

getRowsOrBuilderList()

public List<? extends RowLayout.RowOrBuilder> getRowsOrBuilderList()

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Returns
TypeDescription
List<? extends com.google.monitoring.dashboard.v1.RowLayout.RowOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RowLayout other)

public RowLayout.Builder mergeFrom(RowLayout other)
Parameter
NameDescription
otherRowLayout
Returns
TypeDescription
RowLayout.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RowLayout.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RowLayout.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RowLayout.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RowLayout.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RowLayout.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RowLayout.Builder
Overrides

removeRows(int index)

public RowLayout.Builder removeRows(int index)

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RowLayout.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RowLayout.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RowLayout.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RowLayout.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RowLayout.Builder
Overrides

setRows(int index, RowLayout.Row value)

public RowLayout.Builder setRows(int index, RowLayout.Row value)

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Parameters
NameDescription
indexint
valueRowLayout.Row
Returns
TypeDescription
RowLayout.Builder

setRows(int index, RowLayout.Row.Builder builderForValue)

public RowLayout.Builder setRows(int index, RowLayout.Row.Builder builderForValue)

The rows of content to display.

repeated .google.monitoring.dashboard.v1.RowLayout.Row rows = 1;

Parameters
NameDescription
indexint
builderForValueRowLayout.Row.Builder
Returns
TypeDescription
RowLayout.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RowLayout.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RowLayout.Builder
Overrides