Class ColumnLayout.Builder (2.5.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.monitoring.dashboard.v1.ColumnLayout.Column>
Returns
TypeDescription
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
NameDescription
valueColumnLayout.Column
Returns
TypeDescription
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
NameDescription
builderForValueColumnLayout.Column.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueColumnLayout.Column
Returns
TypeDescription
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
NameDescription
indexint
builderForValueColumnLayout.Column.Builder
Returns
TypeDescription
ColumnLayout.Builder

addColumnsBuilder()

public ColumnLayout.Column.Builder addColumnsBuilder()

The columns of content to display.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ColumnLayout.Column.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ColumnLayout build()
Returns
TypeDescription
ColumnLayout

buildPartial()

public ColumnLayout buildPartial()
Returns
TypeDescription
ColumnLayout

clear()

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

clearColumns()

public ColumnLayout.Builder clearColumns()

The columns of content to display.

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

Returns
TypeDescription
ColumnLayout.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ColumnLayout.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getColumnsCount()

public int getColumnsCount()

The columns of content to display.

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

Returns
TypeDescription
int

getColumnsList()

public List<ColumnLayout.Column> getColumnsList()

The columns of content to display.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.monitoring.dashboard.v1.ColumnLayout.ColumnOrBuilder>

getDefaultInstanceForType()

public ColumnLayout getDefaultInstanceForType()
Returns
TypeDescription
ColumnLayout

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ColumnLayout other)

public ColumnLayout.Builder mergeFrom(ColumnLayout other)
Parameter
NameDescription
otherColumnLayout
Returns
TypeDescription
ColumnLayout.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ColumnLayout.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueColumnLayout.Column
Returns
TypeDescription
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
NameDescription
indexint
builderForValueColumnLayout.Column.Builder
Returns
TypeDescription
ColumnLayout.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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