public static final class RowLayout.Row.Builder extends GeneratedMessageV3.Builder<RowLayout.Row.Builder> implements RowLayout.RowOrBuilder
Defines the layout properties and content for a row.
Protobuf type google.monitoring.dashboard.v1.RowLayout.Row
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
public RowLayout.Row.Builder addAllWidgets(Iterable<? extends Widget> values)
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.monitoring.dashboard.v1.Widget>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RowLayout.Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RowLayout.Row.Builder addWidgets(Widget value)
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Parameter |
Name |
Description |
value |
Widget
|
public RowLayout.Row.Builder addWidgets(Widget.Builder builderForValue)
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
public RowLayout.Row.Builder addWidgets(int index, Widget value)
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Parameters |
Name |
Description |
index |
int
|
value |
Widget
|
public RowLayout.Row.Builder addWidgets(int index, Widget.Builder builderForValue)
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
public Widget.Builder addWidgetsBuilder()
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
public Widget.Builder addWidgetsBuilder(int index)
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Parameter |
Name |
Description |
index |
int
|
build()
public RowLayout.Row build()
buildPartial()
public RowLayout.Row buildPartial()
clear()
public RowLayout.Row.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RowLayout.Row.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RowLayout.Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearWeight()
public RowLayout.Row.Builder clearWeight()
The relative weight of this row. The row weight is used to adjust the
height of rows on the screen (relative to peers). Greater the weight,
greater the height of the row on the screen. If omitted, a value
of 1 is used while rendering.
int64 weight = 1;
public RowLayout.Row.Builder clearWidgets()
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
clone()
public RowLayout.Row.Builder clone()
Overrides
getDefaultInstanceForType()
public RowLayout.Row getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getWeight()
The relative weight of this row. The row weight is used to adjust the
height of rows on the screen (relative to peers). Greater the weight,
greater the height of the row 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 horizontally in this row.
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 horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Parameter |
Name |
Description |
index |
int
|
public List<Widget.Builder> getWidgetsBuilderList()
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
public int getWidgetsCount()
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Returns |
Type |
Description |
int |
|
public List<Widget> getWidgetsList()
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
public WidgetOrBuilder getWidgetsOrBuilder(int index)
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Parameter |
Name |
Description |
index |
int
|
public List<? extends WidgetOrBuilder> getWidgetsOrBuilderList()
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Returns |
Type |
Description |
List<? extends com.google.monitoring.dashboard.v1.WidgetOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RowLayout.Row other)
public RowLayout.Row.Builder mergeFrom(RowLayout.Row other)
public RowLayout.Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RowLayout.Row.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RowLayout.Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RowLayout.Row.Builder removeWidgets(int index)
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public RowLayout.Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RowLayout.Row.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RowLayout.Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setWeight(long value)
public RowLayout.Row.Builder setWeight(long value)
The relative weight of this row. The row weight is used to adjust the
height of rows on the screen (relative to peers). Greater the weight,
greater the height of the row 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 RowLayout.Row.Builder setWidgets(int index, Widget value)
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
Parameters |
Name |
Description |
index |
int
|
value |
Widget
|
public RowLayout.Row.Builder setWidgets(int index, Widget.Builder builderForValue)
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;