Class ColumnLayout.Column.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ColumnLayout.Column.Builder>
com.google.monitoring.dashboard.v1.ColumnLayout.Column.Builder
- All Implemented Interfaces:
ColumnLayout.ColumnOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ColumnLayout.Column
public static final class ColumnLayout.Column.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllWidgets(Iterable<? extends Widget> values) The display widgets arranged vertically in this column.addWidgets(int index, Widget value) The display widgets arranged vertically in this column.addWidgets(int index, Widget.Builder builderForValue) The display widgets arranged vertically in this column.addWidgets(Widget value) The display widgets arranged vertically in this column.addWidgets(Widget.Builder builderForValue) The display widgets arranged vertically in this column.The display widgets arranged vertically in this column.addWidgetsBuilder(int index) The display widgets arranged vertically in this column.build()clear()The relative weight of this column.The display widgets arranged vertically in this column.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongThe relative weight of this column.getWidgets(int index) The display widgets arranged vertically in this column.getWidgetsBuilder(int index) The display widgets arranged vertically in this column.The display widgets arranged vertically in this column.intThe display widgets arranged vertically in this column.The display widgets arranged vertically in this column.getWidgetsOrBuilder(int index) The display widgets arranged vertically in this column.List<? extends WidgetOrBuilder>The display widgets arranged vertically in this column.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ColumnLayout.Column other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeWidgets(int index) The display widgets arranged vertically in this column.setWeight(long value) The relative weight of this column.setWidgets(int index, Widget value) The display widgets arranged vertically in this column.setWidgets(int index, Widget.Builder builderForValue) The display widgets arranged vertically in this column.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ColumnLayout.Column.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ColumnLayout.Column.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ColumnLayout.Column.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ColumnLayout.Column.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ColumnLayout.Column.Builder>
-
mergeFrom
public ColumnLayout.Column.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ColumnLayout.Column.Builder>- Throws:
IOException
-
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;- Specified by:
getWeightin interfaceColumnLayout.ColumnOrBuilder- Returns:
- The weight.
-
setWeight
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;- Parameters:
value- The weight to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getWidgetsList
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;- Specified by:
getWidgetsListin interfaceColumnLayout.ColumnOrBuilder
-
getWidgetsCount
public int getWidgetsCount()The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;- Specified by:
getWidgetsCountin interfaceColumnLayout.ColumnOrBuilder
-
getWidgets
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;- Specified by:
getWidgetsin interfaceColumnLayout.ColumnOrBuilder
-
setWidgets
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
setWidgets
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
addWidgets
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
addWidgets
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
addWidgets
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
addWidgets
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
addAllWidgets
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
clearWidgets
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
removeWidgets
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
getWidgetsBuilder
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
getWidgetsOrBuilder
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;- Specified by:
getWidgetsOrBuilderin interfaceColumnLayout.ColumnOrBuilder
-
getWidgetsOrBuilderList
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;- Specified by:
getWidgetsOrBuilderListin interfaceColumnLayout.ColumnOrBuilder
-
addWidgetsBuilder
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
addWidgetsBuilder
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
getWidgetsBuilderList
The display widgets arranged vertically in this column.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
-