Send feedback
Class ColumnLayout.Column.Builder (2.2.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.6 keyboard_arrow_down
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
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 >
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ColumnLayout . Column . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public ColumnLayout . Column . Builder addWidgets ( Widget value )
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Parameter
Returns
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
Returns
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
Returns
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
Returns
public Widget . Builder addWidgetsBuilder ()
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Returns
public Widget . Builder addWidgetsBuilder ( int index )
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Parameter
Returns
build()
public ColumnLayout . Column build ()
Returns
buildPartial()
public ColumnLayout . Column buildPartial ()
Returns
clear()
public ColumnLayout . Column . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ColumnLayout . Column . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ColumnLayout . Column . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
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
public ColumnLayout . Column . Builder clearWidgets ()
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Returns
clone()
public ColumnLayout . Column . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ColumnLayout . Column getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
Returns
public Widget . Builder getWidgetsBuilder ( int index )
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Parameter
Returns
public List<Widget . Builder > getWidgetsBuilderList ()
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Returns
public int getWidgetsCount ()
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Returns
public List<Widget> getWidgetsList ()
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Returns
public WidgetOrBuilder getWidgetsOrBuilder ( int index )
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Parameter
Returns
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 GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ColumnLayout.Column other)
public ColumnLayout . Column . Builder mergeFrom ( ColumnLayout . Column other )
Parameter
Returns
public ColumnLayout . Column . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ColumnLayout . Column . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ColumnLayout . Column . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ColumnLayout . Column . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ColumnLayout . Column . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ColumnLayout . Column . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
Name Description value long
The weight to set.
Returns
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
Returns
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
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]