public static final class ColumnLayout.Column.Builder extends GeneratedMessage.Builder<ColumnLayout.Column.Builder> implements ColumnLayout.ColumnOrBuilder
Defines the layout properties and content for a column.
Protobuf type google.monitoring.dashboard.v1.ColumnLayout.Column
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
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 |
| Name |
Description |
values |
Iterable<? extends com.google.monitoring.dashboard.v1.Widget>
|
public ColumnLayout.Column.Builder addWidgets(Widget value)
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
| Parameter |
| Name |
Description |
value |
Widget
|
public ColumnLayout.Column.Builder addWidgets(Widget.Builder builderForValue)
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
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 |
| Name |
Description |
index |
int
|
value |
Widget
|
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;
public Widget.Builder addWidgetsBuilder()
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
public Widget.Builder addWidgetsBuilder(int index)
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
| Parameter |
| Name |
Description |
index |
int
|
build()
public ColumnLayout.Column build()
buildPartial()
public ColumnLayout.Column buildPartial()
clear()
public ColumnLayout.Column.Builder clear()
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;
public ColumnLayout.Column.Builder clearWidgets()
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
getDefaultInstanceForType()
public ColumnLayout.Column getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
| Type |
Description |
long |
The weight.
|
public Widget getWidgets(int index)
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Widget |
|
public Widget.Builder getWidgetsBuilder(int index)
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
| Parameter |
| Name |
Description |
index |
int
|
public List<Widget.Builder> getWidgetsBuilderList()
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
public int getWidgetsCount()
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
| Returns |
| Type |
Description |
int |
|
public List<Widget> getWidgetsList()
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
public WidgetOrBuilder getWidgetsOrBuilder(int index)
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends WidgetOrBuilder> getWidgetsOrBuilderList()
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
| Returns |
| Type |
Description |
List<? extends com.google.monitoring.dashboard.v1.WidgetOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ColumnLayout.Column other)
public ColumnLayout.Column.Builder mergeFrom(ColumnLayout.Column other)
public ColumnLayout.Column.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ColumnLayout.Column.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public ColumnLayout.Column.Builder removeWidgets(int index)
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
| Parameter |
| Name |
Description |
index |
int
|
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 |
| Name |
Description |
value |
long
The weight to set.
|
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 |
| Name |
Description |
index |
int
|
value |
Widget
|
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;