Class Dashboard.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Dashboard.Builder>
com.google.monitoring.dashboard.v1.Dashboard.Builder
All Implemented Interfaces:
DashboardOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Dashboard

public static final class Dashboard.Builder extends com.google.protobuf.GeneratedMessage.Builder<Dashboard.Builder> implements DashboardOrBuilder
 A Google Stackdriver dashboard. Dashboards define the content and layout
 of pages in the Stackdriver web application.
 
Protobuf type google.monitoring.dashboard.v1.Dashboard
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Dashboard.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Dashboard.Builder>
    • internalGetFieldAccessorTable

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

      public Dashboard.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<Dashboard.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<Dashboard.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Dashboard.Builder mergeFrom(Dashboard other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Dashboard.Builder>
    • mergeFrom

      public Dashboard.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<Dashboard.Builder>
      Throws:
      IOException
    • getLayoutCase

      public Dashboard.LayoutCase getLayoutCase()
      Specified by:
      getLayoutCase in interface DashboardOrBuilder
    • clearLayout

      public Dashboard.Builder clearLayout()
    • getName

      public String getName()
       Identifier. The resource name of the dashboard.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface DashboardOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the dashboard.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface DashboardOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Dashboard.Builder setName(String value)
       Identifier. The resource name of the dashboard.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Dashboard.Builder clearName()
       Identifier. The resource name of the dashboard.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Dashboard.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The resource name of the dashboard.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. The mutable, human-readable name.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface DashboardOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The mutable, human-readable name.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface DashboardOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Dashboard.Builder setDisplayName(String value)
       Required. The mutable, human-readable name.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Dashboard.Builder clearDisplayName()
       Required. The mutable, human-readable name.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Dashboard.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. The mutable, human-readable name.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getEtag

      public String getEtag()
       `etag` is used for optimistic concurrency control as a way to help
       prevent simultaneous updates of a policy from overwriting each other.
       An `etag` is returned in the response to `GetDashboard`, and
       users are expected to put that etag in the request to `UpdateDashboard` to
       ensure that their change will be applied to the same version of the
       Dashboard configuration. The field should not be passed during
       dashboard creation.
       
      string etag = 4;
      Specified by:
      getEtag in interface DashboardOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       `etag` is used for optimistic concurrency control as a way to help
       prevent simultaneous updates of a policy from overwriting each other.
       An `etag` is returned in the response to `GetDashboard`, and
       users are expected to put that etag in the request to `UpdateDashboard` to
       ensure that their change will be applied to the same version of the
       Dashboard configuration. The field should not be passed during
       dashboard creation.
       
      string etag = 4;
      Specified by:
      getEtagBytes in interface DashboardOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public Dashboard.Builder setEtag(String value)
       `etag` is used for optimistic concurrency control as a way to help
       prevent simultaneous updates of a policy from overwriting each other.
       An `etag` is returned in the response to `GetDashboard`, and
       users are expected to put that etag in the request to `UpdateDashboard` to
       ensure that their change will be applied to the same version of the
       Dashboard configuration. The field should not be passed during
       dashboard creation.
       
      string etag = 4;
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public Dashboard.Builder clearEtag()
       `etag` is used for optimistic concurrency control as a way to help
       prevent simultaneous updates of a policy from overwriting each other.
       An `etag` is returned in the response to `GetDashboard`, and
       users are expected to put that etag in the request to `UpdateDashboard` to
       ensure that their change will be applied to the same version of the
       Dashboard configuration. The field should not be passed during
       dashboard creation.
       
      string etag = 4;
      Returns:
      This builder for chaining.
    • setEtagBytes

      public Dashboard.Builder setEtagBytes(com.google.protobuf.ByteString value)
       `etag` is used for optimistic concurrency control as a way to help
       prevent simultaneous updates of a policy from overwriting each other.
       An `etag` is returned in the response to `GetDashboard`, and
       users are expected to put that etag in the request to `UpdateDashboard` to
       ensure that their change will be applied to the same version of the
       Dashboard configuration. The field should not be passed during
       dashboard creation.
       
      string etag = 4;
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • hasGridLayout

      public boolean hasGridLayout()
       Content is arranged with a basic layout that re-flows a simple list of
       informational elements like widgets or tiles.
       
      .google.monitoring.dashboard.v1.GridLayout grid_layout = 5;
      Specified by:
      hasGridLayout in interface DashboardOrBuilder
      Returns:
      Whether the gridLayout field is set.
    • getGridLayout

      public GridLayout getGridLayout()
       Content is arranged with a basic layout that re-flows a simple list of
       informational elements like widgets or tiles.
       
      .google.monitoring.dashboard.v1.GridLayout grid_layout = 5;
      Specified by:
      getGridLayout in interface DashboardOrBuilder
      Returns:
      The gridLayout.
    • setGridLayout

      public Dashboard.Builder setGridLayout(GridLayout value)
       Content is arranged with a basic layout that re-flows a simple list of
       informational elements like widgets or tiles.
       
      .google.monitoring.dashboard.v1.GridLayout grid_layout = 5;
    • setGridLayout

      public Dashboard.Builder setGridLayout(GridLayout.Builder builderForValue)
       Content is arranged with a basic layout that re-flows a simple list of
       informational elements like widgets or tiles.
       
      .google.monitoring.dashboard.v1.GridLayout grid_layout = 5;
    • mergeGridLayout

      public Dashboard.Builder mergeGridLayout(GridLayout value)
       Content is arranged with a basic layout that re-flows a simple list of
       informational elements like widgets or tiles.
       
      .google.monitoring.dashboard.v1.GridLayout grid_layout = 5;
    • clearGridLayout

      public Dashboard.Builder clearGridLayout()
       Content is arranged with a basic layout that re-flows a simple list of
       informational elements like widgets or tiles.
       
      .google.monitoring.dashboard.v1.GridLayout grid_layout = 5;
    • getGridLayoutBuilder

      public GridLayout.Builder getGridLayoutBuilder()
       Content is arranged with a basic layout that re-flows a simple list of
       informational elements like widgets or tiles.
       
      .google.monitoring.dashboard.v1.GridLayout grid_layout = 5;
    • getGridLayoutOrBuilder

      public GridLayoutOrBuilder getGridLayoutOrBuilder()
       Content is arranged with a basic layout that re-flows a simple list of
       informational elements like widgets or tiles.
       
      .google.monitoring.dashboard.v1.GridLayout grid_layout = 5;
      Specified by:
      getGridLayoutOrBuilder in interface DashboardOrBuilder
    • hasMosaicLayout

      public boolean hasMosaicLayout()
       The content is arranged as a grid of tiles, with each content widget
       occupying one or more grid blocks.
       
      .google.monitoring.dashboard.v1.MosaicLayout mosaic_layout = 6;
      Specified by:
      hasMosaicLayout in interface DashboardOrBuilder
      Returns:
      Whether the mosaicLayout field is set.
    • getMosaicLayout

      public MosaicLayout getMosaicLayout()
       The content is arranged as a grid of tiles, with each content widget
       occupying one or more grid blocks.
       
      .google.monitoring.dashboard.v1.MosaicLayout mosaic_layout = 6;
      Specified by:
      getMosaicLayout in interface DashboardOrBuilder
      Returns:
      The mosaicLayout.
    • setMosaicLayout

      public Dashboard.Builder setMosaicLayout(MosaicLayout value)
       The content is arranged as a grid of tiles, with each content widget
       occupying one or more grid blocks.
       
      .google.monitoring.dashboard.v1.MosaicLayout mosaic_layout = 6;
    • setMosaicLayout

      public Dashboard.Builder setMosaicLayout(MosaicLayout.Builder builderForValue)
       The content is arranged as a grid of tiles, with each content widget
       occupying one or more grid blocks.
       
      .google.monitoring.dashboard.v1.MosaicLayout mosaic_layout = 6;
    • mergeMosaicLayout

      public Dashboard.Builder mergeMosaicLayout(MosaicLayout value)
       The content is arranged as a grid of tiles, with each content widget
       occupying one or more grid blocks.
       
      .google.monitoring.dashboard.v1.MosaicLayout mosaic_layout = 6;
    • clearMosaicLayout

      public Dashboard.Builder clearMosaicLayout()
       The content is arranged as a grid of tiles, with each content widget
       occupying one or more grid blocks.
       
      .google.monitoring.dashboard.v1.MosaicLayout mosaic_layout = 6;
    • getMosaicLayoutBuilder

      public MosaicLayout.Builder getMosaicLayoutBuilder()
       The content is arranged as a grid of tiles, with each content widget
       occupying one or more grid blocks.
       
      .google.monitoring.dashboard.v1.MosaicLayout mosaic_layout = 6;
    • getMosaicLayoutOrBuilder

      public MosaicLayoutOrBuilder getMosaicLayoutOrBuilder()
       The content is arranged as a grid of tiles, with each content widget
       occupying one or more grid blocks.
       
      .google.monitoring.dashboard.v1.MosaicLayout mosaic_layout = 6;
      Specified by:
      getMosaicLayoutOrBuilder in interface DashboardOrBuilder
    • hasRowLayout

      public boolean hasRowLayout()
       The content is divided into equally spaced rows and the widgets are
       arranged horizontally.
       
      .google.monitoring.dashboard.v1.RowLayout row_layout = 8;
      Specified by:
      hasRowLayout in interface DashboardOrBuilder
      Returns:
      Whether the rowLayout field is set.
    • getRowLayout

      public RowLayout getRowLayout()
       The content is divided into equally spaced rows and the widgets are
       arranged horizontally.
       
      .google.monitoring.dashboard.v1.RowLayout row_layout = 8;
      Specified by:
      getRowLayout in interface DashboardOrBuilder
      Returns:
      The rowLayout.
    • setRowLayout

      public Dashboard.Builder setRowLayout(RowLayout value)
       The content is divided into equally spaced rows and the widgets are
       arranged horizontally.
       
      .google.monitoring.dashboard.v1.RowLayout row_layout = 8;
    • setRowLayout

      public Dashboard.Builder setRowLayout(RowLayout.Builder builderForValue)
       The content is divided into equally spaced rows and the widgets are
       arranged horizontally.
       
      .google.monitoring.dashboard.v1.RowLayout row_layout = 8;
    • mergeRowLayout

      public Dashboard.Builder mergeRowLayout(RowLayout value)
       The content is divided into equally spaced rows and the widgets are
       arranged horizontally.
       
      .google.monitoring.dashboard.v1.RowLayout row_layout = 8;
    • clearRowLayout

      public Dashboard.Builder clearRowLayout()
       The content is divided into equally spaced rows and the widgets are
       arranged horizontally.
       
      .google.monitoring.dashboard.v1.RowLayout row_layout = 8;
    • getRowLayoutBuilder

      public RowLayout.Builder getRowLayoutBuilder()
       The content is divided into equally spaced rows and the widgets are
       arranged horizontally.
       
      .google.monitoring.dashboard.v1.RowLayout row_layout = 8;
    • getRowLayoutOrBuilder

      public RowLayoutOrBuilder getRowLayoutOrBuilder()
       The content is divided into equally spaced rows and the widgets are
       arranged horizontally.
       
      .google.monitoring.dashboard.v1.RowLayout row_layout = 8;
      Specified by:
      getRowLayoutOrBuilder in interface DashboardOrBuilder
    • hasColumnLayout

      public boolean hasColumnLayout()
       The content is divided into equally spaced columns and the widgets are
       arranged vertically.
       
      .google.monitoring.dashboard.v1.ColumnLayout column_layout = 9;
      Specified by:
      hasColumnLayout in interface DashboardOrBuilder
      Returns:
      Whether the columnLayout field is set.
    • getColumnLayout

      public ColumnLayout getColumnLayout()
       The content is divided into equally spaced columns and the widgets are
       arranged vertically.
       
      .google.monitoring.dashboard.v1.ColumnLayout column_layout = 9;
      Specified by:
      getColumnLayout in interface DashboardOrBuilder
      Returns:
      The columnLayout.
    • setColumnLayout

      public Dashboard.Builder setColumnLayout(ColumnLayout value)
       The content is divided into equally spaced columns and the widgets are
       arranged vertically.
       
      .google.monitoring.dashboard.v1.ColumnLayout column_layout = 9;
    • setColumnLayout

      public Dashboard.Builder setColumnLayout(ColumnLayout.Builder builderForValue)
       The content is divided into equally spaced columns and the widgets are
       arranged vertically.
       
      .google.monitoring.dashboard.v1.ColumnLayout column_layout = 9;
    • mergeColumnLayout

      public Dashboard.Builder mergeColumnLayout(ColumnLayout value)
       The content is divided into equally spaced columns and the widgets are
       arranged vertically.
       
      .google.monitoring.dashboard.v1.ColumnLayout column_layout = 9;
    • clearColumnLayout

      public Dashboard.Builder clearColumnLayout()
       The content is divided into equally spaced columns and the widgets are
       arranged vertically.
       
      .google.monitoring.dashboard.v1.ColumnLayout column_layout = 9;
    • getColumnLayoutBuilder

      public ColumnLayout.Builder getColumnLayoutBuilder()
       The content is divided into equally spaced columns and the widgets are
       arranged vertically.
       
      .google.monitoring.dashboard.v1.ColumnLayout column_layout = 9;
    • getColumnLayoutOrBuilder

      public ColumnLayoutOrBuilder getColumnLayoutOrBuilder()
       The content is divided into equally spaced columns and the widgets are
       arranged vertically.
       
      .google.monitoring.dashboard.v1.ColumnLayout column_layout = 9;
      Specified by:
      getColumnLayoutOrBuilder in interface DashboardOrBuilder
    • getDashboardFiltersList

      public List<DashboardFilter> getDashboardFiltersList()
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
      Specified by:
      getDashboardFiltersList in interface DashboardOrBuilder
    • getDashboardFiltersCount

      public int getDashboardFiltersCount()
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
      Specified by:
      getDashboardFiltersCount in interface DashboardOrBuilder
    • getDashboardFilters

      public DashboardFilter getDashboardFilters(int index)
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
      Specified by:
      getDashboardFilters in interface DashboardOrBuilder
    • setDashboardFilters

      public Dashboard.Builder setDashboardFilters(int index, DashboardFilter value)
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
    • setDashboardFilters

      public Dashboard.Builder setDashboardFilters(int index, DashboardFilter.Builder builderForValue)
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
    • addDashboardFilters

      public Dashboard.Builder addDashboardFilters(DashboardFilter value)
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
    • addDashboardFilters

      public Dashboard.Builder addDashboardFilters(int index, DashboardFilter value)
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
    • addDashboardFilters

      public Dashboard.Builder addDashboardFilters(DashboardFilter.Builder builderForValue)
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
    • addDashboardFilters

      public Dashboard.Builder addDashboardFilters(int index, DashboardFilter.Builder builderForValue)
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
    • addAllDashboardFilters

      public Dashboard.Builder addAllDashboardFilters(Iterable<? extends DashboardFilter> values)
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
    • clearDashboardFilters

      public Dashboard.Builder clearDashboardFilters()
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
    • removeDashboardFilters

      public Dashboard.Builder removeDashboardFilters(int index)
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
    • getDashboardFiltersBuilder

      public DashboardFilter.Builder getDashboardFiltersBuilder(int index)
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
    • getDashboardFiltersOrBuilder

      public DashboardFilterOrBuilder getDashboardFiltersOrBuilder(int index)
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
      Specified by:
      getDashboardFiltersOrBuilder in interface DashboardOrBuilder
    • getDashboardFiltersOrBuilderList

      public List<? extends DashboardFilterOrBuilder> getDashboardFiltersOrBuilderList()
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
      Specified by:
      getDashboardFiltersOrBuilderList in interface DashboardOrBuilder
    • addDashboardFiltersBuilder

      public DashboardFilter.Builder addDashboardFiltersBuilder()
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
    • addDashboardFiltersBuilder

      public DashboardFilter.Builder addDashboardFiltersBuilder(int index)
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
    • getDashboardFiltersBuilderList

      public List<DashboardFilter.Builder> getDashboardFiltersBuilderList()
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: DashboardOrBuilder
       Labels applied to the dashboard
       
      map<string, string> labels = 12;
      Specified by:
      getLabelsCount in interface DashboardOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels applied to the dashboard
       
      map<string, string> labels = 12;
      Specified by:
      containsLabels in interface DashboardOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface DashboardOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels applied to the dashboard
       
      map<string, string> labels = 12;
      Specified by:
      getLabelsMap in interface DashboardOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels applied to the dashboard
       
      map<string, string> labels = 12;
      Specified by:
      getLabelsOrDefault in interface DashboardOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels applied to the dashboard
       
      map<string, string> labels = 12;
      Specified by:
      getLabelsOrThrow in interface DashboardOrBuilder
    • clearLabels

      public Dashboard.Builder clearLabels()
    • removeLabels

      public Dashboard.Builder removeLabels(String key)
       Labels applied to the dashboard
       
      map<string, string> labels = 12;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Dashboard.Builder putLabels(String key, String value)
       Labels applied to the dashboard
       
      map<string, string> labels = 12;
    • putAllLabels

      public Dashboard.Builder putAllLabels(Map<String,String> values)
       Labels applied to the dashboard
       
      map<string, string> labels = 12;