Class RowLayout.Row.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RowLayout.Row.Builder>
com.google.monitoring.dashboard.v1.RowLayout.Row.Builder
- All Implemented Interfaces:
RowLayout.RowOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RowLayout.Row
public static final class RowLayout.Row.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RowLayout.Row.Builder>
implements RowLayout.RowOrBuilder
Defines the layout properties and content for a row.Protobuf type
google.monitoring.dashboard.v1.RowLayout.Row-
Method Summary
Modifier and TypeMethodDescriptionaddAllWidgets(Iterable<? extends Widget> values) The display widgets arranged horizontally in this row.addWidgets(int index, Widget value) The display widgets arranged horizontally in this row.addWidgets(int index, Widget.Builder builderForValue) The display widgets arranged horizontally in this row.addWidgets(Widget value) The display widgets arranged horizontally in this row.addWidgets(Widget.Builder builderForValue) The display widgets arranged horizontally in this row.The display widgets arranged horizontally in this row.addWidgetsBuilder(int index) The display widgets arranged horizontally in this row.build()clear()The relative weight of this row.The display widgets arranged horizontally in this row.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongThe relative weight of this row.getWidgets(int index) The display widgets arranged horizontally in this row.getWidgetsBuilder(int index) The display widgets arranged horizontally in this row.The display widgets arranged horizontally in this row.intThe display widgets arranged horizontally in this row.The display widgets arranged horizontally in this row.getWidgetsOrBuilder(int index) The display widgets arranged horizontally in this row.List<? extends WidgetOrBuilder>The display widgets arranged horizontally in this row.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RowLayout.Row 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 horizontally in this row.setWeight(long value) The relative weight of this row.setWidgets(int index, Widget value) The display widgets arranged horizontally in this row.setWidgets(int index, Widget.Builder builderForValue) The display widgets arranged horizontally in this row.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<RowLayout.Row.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<RowLayout.Row.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<RowLayout.Row.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<RowLayout.Row.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RowLayout.Row.Builder>
-
mergeFrom
public RowLayout.Row.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<RowLayout.Row.Builder>- Throws:
IOException
-
getWeight
public long 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;- Specified by:
getWeightin interfaceRowLayout.RowOrBuilder- Returns:
- The weight.
-
setWeight
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;- Parameters:
value- The weight to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getWidgetsList
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;- Specified by:
getWidgetsListin interfaceRowLayout.RowOrBuilder
-
getWidgetsCount
public int getWidgetsCount()The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;- Specified by:
getWidgetsCountin interfaceRowLayout.RowOrBuilder
-
getWidgets
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;- Specified by:
getWidgetsin interfaceRowLayout.RowOrBuilder
-
setWidgets
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
setWidgets
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
addWidgets
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
addWidgets
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
addWidgets
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
addWidgets
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
addAllWidgets
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
clearWidgets
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
removeWidgets
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
getWidgetsBuilder
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
getWidgetsOrBuilder
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;- Specified by:
getWidgetsOrBuilderin interfaceRowLayout.RowOrBuilder
-
getWidgetsOrBuilderList
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;- Specified by:
getWidgetsOrBuilderListin interfaceRowLayout.RowOrBuilder
-
addWidgetsBuilder
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
addWidgetsBuilder
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2; -
getWidgetsBuilderList
The display widgets arranged horizontally in this row.
repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
-