Class DashboardChart.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DashboardChart.Builder>
com.google.cloud.chronicle.v1.DashboardChart.Builder
All Implemented Interfaces:
DashboardChartOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DashboardChart

public static final class DashboardChart.Builder extends com.google.protobuf.GeneratedMessage.Builder<DashboardChart.Builder> implements DashboardChartOrBuilder
 DashboardChart resource.
 
Protobuf type google.cloud.chronicle.v1.DashboardChart
  • 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<DashboardChart.Builder>
    • clear

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

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

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

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

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

      public DashboardChart.Builder mergeFrom(DashboardChart other)
    • isInitialized

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

      public DashboardChart.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<DashboardChart.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. Name of the dashboardChart.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface DashboardChartOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Name of the dashboardChart.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface DashboardChartOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DashboardChart.Builder setName(String value)
       Output only. Name of the dashboardChart.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DashboardChart.Builder clearName()
       Output only. Name of the dashboardChart.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public DashboardChart.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Name of the dashboardChart.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. Display name/Title of the dashboardChart visible to users.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface DashboardChartOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. Display name/Title of the dashboardChart visible to users.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface DashboardChartOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public DashboardChart.Builder setDisplayName(String value)
       Required. Display name/Title of the dashboardChart visible to users.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public DashboardChart.Builder clearDisplayName()
       Required. Display name/Title of the dashboardChart visible to users.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public DashboardChart.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. Display name/Title of the dashboardChart visible to users.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. Description of the dashboardChart.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface DashboardChartOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of the dashboardChart.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface DashboardChartOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public DashboardChart.Builder setDescription(String value)
       Optional. Description of the dashboardChart.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public DashboardChart.Builder clearDescription()
       Optional. Description of the dashboardChart.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public DashboardChart.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. Description of the dashboardChart.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getNativeDashboard

      public String getNativeDashboard()
       Output only. NativeDashboard this chart belongs to.
       
      string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNativeDashboard in interface DashboardChartOrBuilder
      Returns:
      The nativeDashboard.
    • getNativeDashboardBytes

      public com.google.protobuf.ByteString getNativeDashboardBytes()
       Output only. NativeDashboard this chart belongs to.
       
      string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNativeDashboardBytes in interface DashboardChartOrBuilder
      Returns:
      The bytes for nativeDashboard.
    • setNativeDashboard

      public DashboardChart.Builder setNativeDashboard(String value)
       Output only. NativeDashboard this chart belongs to.
       
      string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The nativeDashboard to set.
      Returns:
      This builder for chaining.
    • clearNativeDashboard

      public DashboardChart.Builder clearNativeDashboard()
       Output only. NativeDashboard this chart belongs to.
       
      string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNativeDashboardBytes

      public DashboardChart.Builder setNativeDashboardBytes(com.google.protobuf.ByteString value)
       Output only. NativeDashboard this chart belongs to.
       
      string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for nativeDashboard to set.
      Returns:
      This builder for chaining.
    • getTileTypeValue

      public int getTileTypeValue()
       Optional. Type of tile i.e., visualization, button or text.
       
      .google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTileTypeValue in interface DashboardChartOrBuilder
      Returns:
      The enum numeric value on the wire for tileType.
    • setTileTypeValue

      public DashboardChart.Builder setTileTypeValue(int value)
       Optional. Type of tile i.e., visualization, button or text.
       
      .google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for tileType to set.
      Returns:
      This builder for chaining.
    • getTileType

      public TileType getTileType()
       Optional. Type of tile i.e., visualization, button or text.
       
      .google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTileType in interface DashboardChartOrBuilder
      Returns:
      The tileType.
    • setTileType

      public DashboardChart.Builder setTileType(TileType value)
       Optional. Type of tile i.e., visualization, button or text.
       
      .google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The tileType to set.
      Returns:
      This builder for chaining.
    • clearTileType

      public DashboardChart.Builder clearTileType()
       Optional. Type of tile i.e., visualization, button or text.
       
      .google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasChartDatasource

      public boolean hasChartDatasource()
       Optional. Query and datasource used in the chart. Should be empty for
       Button Tiles.
       
      .google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasChartDatasource in interface DashboardChartOrBuilder
      Returns:
      Whether the chartDatasource field is set.
    • getChartDatasource

      public DashboardChart.ChartDatasource getChartDatasource()
       Optional. Query and datasource used in the chart. Should be empty for
       Button Tiles.
       
      .google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getChartDatasource in interface DashboardChartOrBuilder
      Returns:
      The chartDatasource.
    • setChartDatasource

      public DashboardChart.Builder setChartDatasource(DashboardChart.ChartDatasource value)
       Optional. Query and datasource used in the chart. Should be empty for
       Button Tiles.
       
      .google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];
    • setChartDatasource

      public DashboardChart.Builder setChartDatasource(DashboardChart.ChartDatasource.Builder builderForValue)
       Optional. Query and datasource used in the chart. Should be empty for
       Button Tiles.
       
      .google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];
    • mergeChartDatasource

      public DashboardChart.Builder mergeChartDatasource(DashboardChart.ChartDatasource value)
       Optional. Query and datasource used in the chart. Should be empty for
       Button Tiles.
       
      .google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];
    • clearChartDatasource

      public DashboardChart.Builder clearChartDatasource()
       Optional. Query and datasource used in the chart. Should be empty for
       Button Tiles.
       
      .google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getChartDatasourceBuilder

      public DashboardChart.ChartDatasource.Builder getChartDatasourceBuilder()
       Optional. Query and datasource used in the chart. Should be empty for
       Button Tiles.
       
      .google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getChartDatasourceOrBuilder

      public DashboardChart.ChartDatasourceOrBuilder getChartDatasourceOrBuilder()
       Optional. Query and datasource used in the chart. Should be empty for
       Button Tiles.
       
      .google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getChartDatasourceOrBuilder in interface DashboardChartOrBuilder
    • hasVisualization

      public boolean hasVisualization()
       Required. Depending on tile_type one of below fields will be required.
       
      .google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasVisualization in interface DashboardChartOrBuilder
      Returns:
      Whether the visualization field is set.
    • getVisualization

      public DashboardChart.Visualization getVisualization()
       Required. Depending on tile_type one of below fields will be required.
       
      .google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getVisualization in interface DashboardChartOrBuilder
      Returns:
      The visualization.
    • setVisualization

      public DashboardChart.Builder setVisualization(DashboardChart.Visualization value)
       Required. Depending on tile_type one of below fields will be required.
       
      .google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];
    • setVisualization

      public DashboardChart.Builder setVisualization(DashboardChart.Visualization.Builder builderForValue)
       Required. Depending on tile_type one of below fields will be required.
       
      .google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];
    • mergeVisualization

      public DashboardChart.Builder mergeVisualization(DashboardChart.Visualization value)
       Required. Depending on tile_type one of below fields will be required.
       
      .google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];
    • clearVisualization

      public DashboardChart.Builder clearVisualization()
       Required. Depending on tile_type one of below fields will be required.
       
      .google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];
    • getVisualizationBuilder

      public DashboardChart.Visualization.Builder getVisualizationBuilder()
       Required. Depending on tile_type one of below fields will be required.
       
      .google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];
    • getVisualizationOrBuilder

      public DashboardChart.VisualizationOrBuilder getVisualizationOrBuilder()
       Required. Depending on tile_type one of below fields will be required.
       
      .google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getVisualizationOrBuilder in interface DashboardChartOrBuilder
    • getEtag

      public String getEtag()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtag in interface DashboardChartOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtagBytes in interface DashboardChartOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public DashboardChart.Builder setEtag(String value)
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public DashboardChart.Builder clearEtag()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public DashboardChart.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • hasDrillDownConfig

      public boolean hasDrillDownConfig()
       Optional. Drill down configuration.
       
      .google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDrillDownConfig in interface DashboardChartOrBuilder
      Returns:
      Whether the drillDownConfig field is set.
    • getDrillDownConfig

      public DashboardChart.DrillDownConfig getDrillDownConfig()
       Optional. Drill down configuration.
       
      .google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDrillDownConfig in interface DashboardChartOrBuilder
      Returns:
      The drillDownConfig.
    • setDrillDownConfig

      public DashboardChart.Builder setDrillDownConfig(DashboardChart.DrillDownConfig value)
       Optional. Drill down configuration.
       
      .google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
    • setDrillDownConfig

      public DashboardChart.Builder setDrillDownConfig(DashboardChart.DrillDownConfig.Builder builderForValue)
       Optional. Drill down configuration.
       
      .google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDrillDownConfig

      public DashboardChart.Builder mergeDrillDownConfig(DashboardChart.DrillDownConfig value)
       Optional. Drill down configuration.
       
      .google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
    • clearDrillDownConfig

      public DashboardChart.Builder clearDrillDownConfig()
       Optional. Drill down configuration.
       
      .google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getDrillDownConfigBuilder

      public DashboardChart.DrillDownConfig.Builder getDrillDownConfigBuilder()
       Optional. Drill down configuration.
       
      .google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getDrillDownConfigOrBuilder

      public DashboardChart.DrillDownConfigOrBuilder getDrillDownConfigOrBuilder()
       Optional. Drill down configuration.
       
      .google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDrillDownConfigOrBuilder in interface DashboardChartOrBuilder
    • getTokensList

      public com.google.protobuf.ProtocolStringList getTokensList()
       Optional. List of Advanced Filter tokens used in this chart's query (e.g.,
       "hostname", "ip"). This allows the UI to identify dependencies without
       parsing the query text. The tokens are stored without the wrapping '$'
       characters.
       The number of tokens are not expected to be more than 10.
       
      repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTokensList in interface DashboardChartOrBuilder
      Returns:
      A list containing the tokens.
    • getTokensCount

      public int getTokensCount()
       Optional. List of Advanced Filter tokens used in this chart's query (e.g.,
       "hostname", "ip"). This allows the UI to identify dependencies without
       parsing the query text. The tokens are stored without the wrapping '$'
       characters.
       The number of tokens are not expected to be more than 10.
       
      repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTokensCount in interface DashboardChartOrBuilder
      Returns:
      The count of tokens.
    • getTokens

      public String getTokens(int index)
       Optional. List of Advanced Filter tokens used in this chart's query (e.g.,
       "hostname", "ip"). This allows the UI to identify dependencies without
       parsing the query text. The tokens are stored without the wrapping '$'
       characters.
       The number of tokens are not expected to be more than 10.
       
      repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTokens in interface DashboardChartOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tokens at the given index.
    • getTokensBytes

      public com.google.protobuf.ByteString getTokensBytes(int index)
       Optional. List of Advanced Filter tokens used in this chart's query (e.g.,
       "hostname", "ip"). This allows the UI to identify dependencies without
       parsing the query text. The tokens are stored without the wrapping '$'
       characters.
       The number of tokens are not expected to be more than 10.
       
      repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTokensBytes in interface DashboardChartOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tokens at the given index.
    • setTokens

      public DashboardChart.Builder setTokens(int index, String value)
       Optional. List of Advanced Filter tokens used in this chart's query (e.g.,
       "hostname", "ip"). This allows the UI to identify dependencies without
       parsing the query text. The tokens are stored without the wrapping '$'
       characters.
       The number of tokens are not expected to be more than 10.
       
      repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The tokens to set.
      Returns:
      This builder for chaining.
    • addTokens

      public DashboardChart.Builder addTokens(String value)
       Optional. List of Advanced Filter tokens used in this chart's query (e.g.,
       "hostname", "ip"). This allows the UI to identify dependencies without
       parsing the query text. The tokens are stored without the wrapping '$'
       characters.
       The number of tokens are not expected to be more than 10.
       
      repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The tokens to add.
      Returns:
      This builder for chaining.
    • addAllTokens

      public DashboardChart.Builder addAllTokens(Iterable<String> values)
       Optional. List of Advanced Filter tokens used in this chart's query (e.g.,
       "hostname", "ip"). This allows the UI to identify dependencies without
       parsing the query text. The tokens are stored without the wrapping '$'
       characters.
       The number of tokens are not expected to be more than 10.
       
      repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The tokens to add.
      Returns:
      This builder for chaining.
    • clearTokens

      public DashboardChart.Builder clearTokens()
       Optional. List of Advanced Filter tokens used in this chart's query (e.g.,
       "hostname", "ip"). This allows the UI to identify dependencies without
       parsing the query text. The tokens are stored without the wrapping '$'
       characters.
       The number of tokens are not expected to be more than 10.
       
      repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addTokensBytes

      public DashboardChart.Builder addTokensBytes(com.google.protobuf.ByteString value)
       Optional. List of Advanced Filter tokens used in this chart's query (e.g.,
       "hostname", "ip"). This allows the UI to identify dependencies without
       parsing the query text. The tokens are stored without the wrapping '$'
       characters.
       The number of tokens are not expected to be more than 10.
       
      repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the tokens to add.
      Returns:
      This builder for chaining.