Interface PieChart.PieChartDataSetOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PieChart.PieChartDataSet, PieChart.PieChartDataSet.Builder
Enclosing class:
PieChart

public static interface PieChart.PieChartDataSetOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasTimeSeriesQuery

      boolean hasTimeSeriesQuery()
       Required. The query for the PieChart. See,
       `google.monitoring.dashboard.v1.TimeSeriesQuery`.
       
      .google.monitoring.dashboard.v1.TimeSeriesQuery time_series_query = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the timeSeriesQuery field is set.
    • getTimeSeriesQuery

      TimeSeriesQuery getTimeSeriesQuery()
       Required. The query for the PieChart. See,
       `google.monitoring.dashboard.v1.TimeSeriesQuery`.
       
      .google.monitoring.dashboard.v1.TimeSeriesQuery time_series_query = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The timeSeriesQuery.
    • getTimeSeriesQueryOrBuilder

      TimeSeriesQueryOrBuilder getTimeSeriesQueryOrBuilder()
       Required. The query for the PieChart. See,
       `google.monitoring.dashboard.v1.TimeSeriesQuery`.
       
      .google.monitoring.dashboard.v1.TimeSeriesQuery time_series_query = 1 [(.google.api.field_behavior) = REQUIRED];
    • getSliceNameTemplate

      String getSliceNameTemplate()
       Optional. A template for the name of the slice. This name will be
       displayed in the legend and the tooltip of the pie chart. It replaces the
       auto-generated names for the slices. For example, if the template is set
       to
       `${resource.labels.zone}`, the zone's value will be used for the name
       instead of the default name.
       
      string slice_name_template = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The sliceNameTemplate.
    • getSliceNameTemplateBytes

      com.google.protobuf.ByteString getSliceNameTemplateBytes()
       Optional. A template for the name of the slice. This name will be
       displayed in the legend and the tooltip of the pie chart. It replaces the
       auto-generated names for the slices. For example, if the template is set
       to
       `${resource.labels.zone}`, the zone's value will be used for the name
       instead of the default name.
       
      string slice_name_template = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for sliceNameTemplate.
    • hasMinAlignmentPeriod

      boolean hasMinAlignmentPeriod()
       Optional. The lower bound on data point frequency for this data set,
       implemented by specifying the minimum alignment period to use in a time
       series query. For example, if the data is published once every 10
       minutes, the `min_alignment_period` should be at least 10 minutes. It
       would not make sense to fetch and align data at one minute intervals.
       
      .google.protobuf.Duration min_alignment_period = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the minAlignmentPeriod field is set.
    • getMinAlignmentPeriod

      com.google.protobuf.Duration getMinAlignmentPeriod()
       Optional. The lower bound on data point frequency for this data set,
       implemented by specifying the minimum alignment period to use in a time
       series query. For example, if the data is published once every 10
       minutes, the `min_alignment_period` should be at least 10 minutes. It
       would not make sense to fetch and align data at one minute intervals.
       
      .google.protobuf.Duration min_alignment_period = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The minAlignmentPeriod.
    • getMinAlignmentPeriodOrBuilder

      com.google.protobuf.DurationOrBuilder getMinAlignmentPeriodOrBuilder()
       Optional. The lower bound on data point frequency for this data set,
       implemented by specifying the minimum alignment period to use in a time
       series query. For example, if the data is published once every 10
       minutes, the `min_alignment_period` should be at least 10 minutes. It
       would not make sense to fetch and align data at one minute intervals.
       
      .google.protobuf.Duration min_alignment_period = 3 [(.google.api.field_behavior) = OPTIONAL];