Class ColumnLayout.Column.Builder (2.4.0)

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

Defines the layout properties and content for a column.

Protobuf type google.monitoring.dashboard.v1.ColumnLayout.Column

Static Methods

getDescriptor()

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

Methods

addAllWidgets(Iterable<? extends Widget> values)

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

The display widgets arranged vertically in this column.

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

Parameter
NameDescription
valuesIterable<? extends com.google.monitoring.dashboard.v1.Widget>
Returns
TypeDescription
ColumnLayout.Column.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addWidgets(Widget value)

public ColumnLayout.Column.Builder addWidgets(Widget value)

The display widgets arranged vertically in this column.

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

Parameter
NameDescription
valueWidget
Returns
TypeDescription
ColumnLayout.Column.Builder

addWidgets(Widget.Builder builderForValue)

public ColumnLayout.Column.Builder addWidgets(Widget.Builder builderForValue)

The display widgets arranged vertically in this column.

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

Parameter
NameDescription
builderForValueWidget.Builder
Returns
TypeDescription
ColumnLayout.Column.Builder

addWidgets(int index, Widget value)

public ColumnLayout.Column.Builder addWidgets(int index, Widget value)

The display widgets arranged vertically in this column.

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

Parameters
NameDescription
indexint
valueWidget
Returns
TypeDescription
ColumnLayout.Column.Builder

addWidgets(int index, Widget.Builder builderForValue)

public ColumnLayout.Column.Builder addWidgets(int index, Widget.Builder builderForValue)

The display widgets arranged vertically in this column.

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

Parameters
NameDescription
indexint
builderForValueWidget.Builder
Returns
TypeDescription
ColumnLayout.Column.Builder

addWidgetsBuilder()

public Widget.Builder addWidgetsBuilder()

The display widgets arranged vertically in this column.

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

Returns
TypeDescription
Widget.Builder

addWidgetsBuilder(int index)

public Widget.Builder addWidgetsBuilder(int index)

The display widgets arranged vertically in this column.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Widget.Builder

build()

public ColumnLayout.Column build()
Returns
TypeDescription
ColumnLayout.Column

buildPartial()

public ColumnLayout.Column buildPartial()
Returns
TypeDescription
ColumnLayout.Column

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWeight()

public ColumnLayout.Column.Builder clearWeight()

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

int64 weight = 1;

Returns
TypeDescription
ColumnLayout.Column.Builder

This builder for chaining.

clearWidgets()

public ColumnLayout.Column.Builder clearWidgets()

The display widgets arranged vertically in this column.

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

Returns
TypeDescription
ColumnLayout.Column.Builder

clone()

public ColumnLayout.Column.Builder clone()
Returns
TypeDescription
ColumnLayout.Column.Builder
Overrides

getDefaultInstanceForType()

public ColumnLayout.Column getDefaultInstanceForType()
Returns
TypeDescription
ColumnLayout.Column

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getWeight()

public long getWeight()

The relative weight of this column. The column weight is used to adjust the width of columns on the screen (relative to peers). Greater the weight, greater the width of the column 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 vertically in this column.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Widget

getWidgetsBuilder(int index)

public Widget.Builder getWidgetsBuilder(int index)

The display widgets arranged vertically in this column.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Widget.Builder

getWidgetsBuilderList()

public List<Widget.Builder> getWidgetsBuilderList()

The display widgets arranged vertically in this column.

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

Returns
TypeDescription
List<Builder>

getWidgetsCount()

public int getWidgetsCount()

The display widgets arranged vertically in this column.

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

Returns
TypeDescription
int

getWidgetsList()

public List<Widget> getWidgetsList()

The display widgets arranged vertically in this column.

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

Returns
TypeDescription
List<Widget>

getWidgetsOrBuilder(int index)

public WidgetOrBuilder getWidgetsOrBuilder(int index)

The display widgets arranged vertically in this column.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WidgetOrBuilder

getWidgetsOrBuilderList()

public List<? extends WidgetOrBuilder> getWidgetsOrBuilderList()

The display widgets arranged vertically in this column.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ColumnLayout.Column other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeWidgets(int index)

public ColumnLayout.Column.Builder removeWidgets(int index)

The display widgets arranged vertically in this column.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ColumnLayout.Column.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWeight(long value)

public ColumnLayout.Column.Builder setWeight(long value)

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

int64 weight = 1;

Parameter
NameDescription
valuelong

The weight to set.

Returns
TypeDescription
ColumnLayout.Column.Builder

This builder for chaining.

setWidgets(int index, Widget value)

public ColumnLayout.Column.Builder setWidgets(int index, Widget value)

The display widgets arranged vertically in this column.

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

Parameters
NameDescription
indexint
valueWidget
Returns
TypeDescription
ColumnLayout.Column.Builder

setWidgets(int index, Widget.Builder builderForValue)

public ColumnLayout.Column.Builder setWidgets(int index, Widget.Builder builderForValue)

The display widgets arranged vertically in this column.

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

Parameters
NameDescription
indexint
builderForValueWidget.Builder
Returns
TypeDescription
ColumnLayout.Column.Builder