Class ColumnLayout.Builder (2.56.0)

public static final class ColumnLayout.Builder extends GeneratedMessageV3.Builder<ColumnLayout.Builder> implements ColumnLayoutOrBuilder

A simplified layout that divides the available space into vertical columns and arranges a set of widgets vertically in each column.

Protobuf type google.monitoring.dashboard.v1.ColumnLayout

Static Methods

getDescriptor()

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

Methods

addAllColumns(Iterable<? extends ColumnLayout.Column> values)

public ColumnLayout.Builder addAllColumns(Iterable<? extends ColumnLayout.Column> values)

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Parameter
Name Description
values Iterable<? extends com.google.monitoring.dashboard.v1.ColumnLayout.Column>
Returns
Type Description
ColumnLayout.Builder

addColumns(ColumnLayout.Column value)

public ColumnLayout.Builder addColumns(ColumnLayout.Column value)

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Parameter
Name Description
value ColumnLayout.Column
Returns
Type Description
ColumnLayout.Builder

addColumns(ColumnLayout.Column.Builder builderForValue)

public ColumnLayout.Builder addColumns(ColumnLayout.Column.Builder builderForValue)

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Parameter
Name Description
builderForValue ColumnLayout.Column.Builder
Returns
Type Description
ColumnLayout.Builder

addColumns(int index, ColumnLayout.Column value)

public ColumnLayout.Builder addColumns(int index, ColumnLayout.Column value)

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Parameters
Name Description
index int
value ColumnLayout.Column
Returns
Type Description
ColumnLayout.Builder

addColumns(int index, ColumnLayout.Column.Builder builderForValue)

public ColumnLayout.Builder addColumns(int index, ColumnLayout.Column.Builder builderForValue)

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Parameters
Name Description
index int
builderForValue ColumnLayout.Column.Builder
Returns
Type Description
ColumnLayout.Builder

addColumnsBuilder()

public ColumnLayout.Column.Builder addColumnsBuilder()

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Returns
Type Description
ColumnLayout.Column.Builder

addColumnsBuilder(int index)

public ColumnLayout.Column.Builder addColumnsBuilder(int index)

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Parameter
Name Description
index int
Returns
Type Description
ColumnLayout.Column.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ColumnLayout.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ColumnLayout.Builder
Overrides

build()

public ColumnLayout build()
Returns
Type Description
ColumnLayout

buildPartial()

public ColumnLayout buildPartial()
Returns
Type Description
ColumnLayout

clear()

public ColumnLayout.Builder clear()
Returns
Type Description
ColumnLayout.Builder
Overrides

clearColumns()

public ColumnLayout.Builder clearColumns()

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Returns
Type Description
ColumnLayout.Builder

clearField(Descriptors.FieldDescriptor field)

public ColumnLayout.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ColumnLayout.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ColumnLayout.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ColumnLayout.Builder
Overrides

clone()

public ColumnLayout.Builder clone()
Returns
Type Description
ColumnLayout.Builder
Overrides

getColumns(int index)

public ColumnLayout.Column getColumns(int index)

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Parameter
Name Description
index int
Returns
Type Description
ColumnLayout.Column

getColumnsBuilder(int index)

public ColumnLayout.Column.Builder getColumnsBuilder(int index)

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Parameter
Name Description
index int
Returns
Type Description
ColumnLayout.Column.Builder

getColumnsBuilderList()

public List<ColumnLayout.Column.Builder> getColumnsBuilderList()

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Returns
Type Description
List<Builder>

getColumnsCount()

public int getColumnsCount()

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Returns
Type Description
int

getColumnsList()

public List<ColumnLayout.Column> getColumnsList()

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Returns
Type Description
List<Column>

getColumnsOrBuilder(int index)

public ColumnLayout.ColumnOrBuilder getColumnsOrBuilder(int index)

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Parameter
Name Description
index int
Returns
Type Description
ColumnLayout.ColumnOrBuilder

getColumnsOrBuilderList()

public List<? extends ColumnLayout.ColumnOrBuilder> getColumnsOrBuilderList()

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Returns
Type Description
List<? extends com.google.monitoring.dashboard.v1.ColumnLayout.ColumnOrBuilder>

getDefaultInstanceForType()

public ColumnLayout getDefaultInstanceForType()
Returns
Type Description
ColumnLayout

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ColumnLayout other)

public ColumnLayout.Builder mergeFrom(ColumnLayout other)
Parameter
Name Description
other ColumnLayout
Returns
Type Description
ColumnLayout.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ColumnLayout.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnLayout.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ColumnLayout.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ColumnLayout.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ColumnLayout.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ColumnLayout.Builder
Overrides

removeColumns(int index)

public ColumnLayout.Builder removeColumns(int index)

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Parameter
Name Description
index int
Returns
Type Description
ColumnLayout.Builder

setColumns(int index, ColumnLayout.Column value)

public ColumnLayout.Builder setColumns(int index, ColumnLayout.Column value)

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Parameters
Name Description
index int
value ColumnLayout.Column
Returns
Type Description
ColumnLayout.Builder

setColumns(int index, ColumnLayout.Column.Builder builderForValue)

public ColumnLayout.Builder setColumns(int index, ColumnLayout.Column.Builder builderForValue)

The columns of content to display.

repeated .google.monitoring.dashboard.v1.ColumnLayout.Column columns = 1;

Parameters
Name Description
index int
builderForValue ColumnLayout.Column.Builder
Returns
Type Description
ColumnLayout.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ColumnLayout.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ColumnLayout.Builder
Overrides

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

public ColumnLayout.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ColumnLayout.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ColumnLayout.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ColumnLayout.Builder
Overrides