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 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<ColumnLayout.Column.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<ColumnLayout.Column.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<ColumnLayout.Column.Builder>
    • getDefaultInstanceForType

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

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

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

      public ColumnLayout.Column.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<ColumnLayout.Column.Builder>
    • mergeFrom

    • isInitialized

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

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

      public List<Widget> getWidgetsList()
       The display widgets arranged vertically in this column.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
      Specified by:
      getWidgetsList in interface ColumnLayout.ColumnOrBuilder
    • getWidgetsCount

      public int getWidgetsCount()
       The display widgets arranged vertically in this column.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
      Specified by:
      getWidgetsCount in interface ColumnLayout.ColumnOrBuilder
    • getWidgets

      public Widget getWidgets(int index)
       The display widgets arranged vertically in this column.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
      Specified by:
      getWidgets in interface ColumnLayout.ColumnOrBuilder
    • setWidgets

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

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

      public ColumnLayout.Column.Builder addWidgets(Widget value)
       The display widgets arranged vertically in this column.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
    • addWidgets

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

      public ColumnLayout.Column.Builder addWidgets(Widget.Builder builderForValue)
       The display widgets arranged vertically in this column.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
    • addWidgets

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

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

      public ColumnLayout.Column.Builder clearWidgets()
       The display widgets arranged vertically in this column.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
    • removeWidgets

      public ColumnLayout.Column.Builder removeWidgets(int index)
       The display widgets arranged vertically in this column.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
    • getWidgetsBuilder

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

      public WidgetOrBuilder getWidgetsOrBuilder(int index)
       The display widgets arranged vertically in this column.
       
      repeated .google.monitoring.dashboard.v1.Widget widgets = 2;
      Specified by:
      getWidgetsOrBuilder in interface ColumnLayout.ColumnOrBuilder
    • getWidgetsOrBuilderList

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

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

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

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