Interface PieChartOrBuilder (2.46.0)

public interface PieChartOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChartType()

public abstract PieChart.PieChartType getChartType()

Required. Indicates the visualization type for the PieChart.

.google.monitoring.dashboard.v1.PieChart.PieChartType chart_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PieChart.PieChartType

The chartType.

getChartTypeValue()

public abstract int getChartTypeValue()

Required. Indicates the visualization type for the PieChart.

.google.monitoring.dashboard.v1.PieChart.PieChartType chart_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for chartType.

getDataSets(int index)

public abstract PieChart.PieChartDataSet getDataSets(int index)

Required. The queries for the chart's data.

repeated .google.monitoring.dashboard.v1.PieChart.PieChartDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PieChart.PieChartDataSet

getDataSetsCount()

public abstract int getDataSetsCount()

Required. The queries for the chart's data.

repeated .google.monitoring.dashboard.v1.PieChart.PieChartDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getDataSetsList()

public abstract List<PieChart.PieChartDataSet> getDataSetsList()

Required. The queries for the chart's data.

repeated .google.monitoring.dashboard.v1.PieChart.PieChartDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<PieChartDataSet>

getDataSetsOrBuilder(int index)

public abstract PieChart.PieChartDataSetOrBuilder getDataSetsOrBuilder(int index)

Required. The queries for the chart's data.

repeated .google.monitoring.dashboard.v1.PieChart.PieChartDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PieChart.PieChartDataSetOrBuilder

getDataSetsOrBuilderList()

public abstract List<? extends PieChart.PieChartDataSetOrBuilder> getDataSetsOrBuilderList()

Required. The queries for the chart's data.

repeated .google.monitoring.dashboard.v1.PieChart.PieChartDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.monitoring.dashboard.v1.PieChart.PieChartDataSetOrBuilder>

getShowLabels()

public abstract boolean getShowLabels()

Optional. Indicates whether or not the pie chart should show slices' labels

bool show_labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The showLabels.