Interface PieChartOrBuilder (2.39.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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The showLabels.