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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RowLayout.Row.Builder>
    • clear

      public RowLayout.Row.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RowLayout.Row.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RowLayout.Row.Builder>
    • getDefaultInstanceForType

      public RowLayout.Row getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RowLayout.Row build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RowLayout.Row buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RowLayout.Row.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RowLayout.Row.Builder>
    • mergeFrom

      public RowLayout.Row.Builder mergeFrom(RowLayout.Row other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getWeight in interface RowLayout.RowOrBuilder
      Returns:
      The weight.
    • setWeight

      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;
      Parameters:
      value - The weight to set.
      Returns:
      This builder for chaining.
    • 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;
      Returns:
      This builder for chaining.
    • getWidgetsList

      public List<Widget> getWidgetsList()
       The display widgets arranged horizontally in this row.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
      Specified by:
      getWidgetsList in interface RowLayout.RowOrBuilder
    • getWidgetsCount

      public int getWidgetsCount()
       The display widgets arranged horizontally in this row.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
      Specified by:
      getWidgetsCount in interface RowLayout.RowOrBuilder
    • getWidgets

      public Widget getWidgets(int index)
       The display widgets arranged horizontally in this row.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
      Specified by:
      getWidgets in interface RowLayout.RowOrBuilder
    • setWidgets

      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;
    • setWidgets

      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;
    • addWidgets

      public RowLayout.Row.Builder addWidgets(Widget value)
       The display widgets arranged horizontally in this row.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
    • addWidgets

      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;
    • addWidgets

      public RowLayout.Row.Builder addWidgets(Widget.Builder builderForValue)
       The display widgets arranged horizontally in this row.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
    • addWidgets

      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;
    • addAllWidgets

      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;
    • clearWidgets

      public RowLayout.Row.Builder clearWidgets()
       The display widgets arranged horizontally in this row.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
    • removeWidgets

      public RowLayout.Row.Builder removeWidgets(int index)
       The display widgets arranged horizontally in this row.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
    • getWidgetsBuilder

      public Widget.Builder getWidgetsBuilder(int index)
       The display widgets arranged horizontally in this row.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
    • getWidgetsOrBuilder

      public WidgetOrBuilder getWidgetsOrBuilder(int index)
       The display widgets arranged horizontally in this row.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
      Specified by:
      getWidgetsOrBuilder in interface RowLayout.RowOrBuilder
    • getWidgetsOrBuilderList

      public List<? extends WidgetOrBuilder> getWidgetsOrBuilderList()
       The display widgets arranged horizontally in this row.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
      Specified by:
      getWidgetsOrBuilderList in interface RowLayout.RowOrBuilder
    • addWidgetsBuilder

      public Widget.Builder addWidgetsBuilder()
       The display widgets arranged horizontally in this row.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
    • addWidgetsBuilder

      public Widget.Builder addWidgetsBuilder(int index)
       The display widgets arranged horizontally in this row.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
    • getWidgetsBuilderList

      public List<Widget.Builder> getWidgetsBuilderList()
       The display widgets arranged horizontally in this row.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;