- 2.87.0 (latest)
- 2.85.0
- 2.84.0
- 2.82.0
- 2.80.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.72.0
- 2.70.0
- 2.69.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.0
- 2.3.0
- 2.2.6
public static final class PieChart.Builder extends GeneratedMessage.Builder<PieChart.Builder> implements PieChartOrBuilderA widget that displays timeseries data as a pie or a donut.
Protobuf type google.monitoring.dashboard.v1.PieChart
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PieChart.BuilderImplements
PieChartOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDataSets(Iterable<? extends PieChart.PieChartDataSet> values)
public PieChart.Builder addAllDataSets(Iterable<? extends PieChart.PieChartDataSet> values)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 |
values |
Iterable<? extends com.google.monitoring.dashboard.v1.PieChart.PieChartDataSet> |
| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
|
addDataSets(PieChart.PieChartDataSet value)
public PieChart.Builder addDataSets(PieChart.PieChartDataSet value)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 |
value |
PieChart.PieChartDataSet |
| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
|
addDataSets(PieChart.PieChartDataSet.Builder builderForValue)
public PieChart.Builder addDataSets(PieChart.PieChartDataSet.Builder builderForValue)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 |
builderForValue |
PieChart.PieChartDataSet.Builder |
| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
|
addDataSets(int index, PieChart.PieChartDataSet value)
public PieChart.Builder addDataSets(int index, PieChart.PieChartDataSet value)Required. The queries for the chart's data.
repeated .google.monitoring.dashboard.v1.PieChart.PieChartDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PieChart.PieChartDataSet |
| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
|
addDataSets(int index, PieChart.PieChartDataSet.Builder builderForValue)
public PieChart.Builder addDataSets(int index, PieChart.PieChartDataSet.Builder builderForValue)Required. The queries for the chart's data.
repeated .google.monitoring.dashboard.v1.PieChart.PieChartDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PieChart.PieChartDataSet.Builder |
| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
|
addDataSetsBuilder()
public PieChart.PieChartDataSet.Builder addDataSetsBuilder()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 |
PieChart.PieChartDataSet.Builder |
|
addDataSetsBuilder(int index)
public PieChart.PieChartDataSet.Builder addDataSetsBuilder(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.Builder |
|
build()
public PieChart build()| Returns | |
|---|---|
| Type | Description |
PieChart |
|
buildPartial()
public PieChart buildPartial()| Returns | |
|---|---|
| Type | Description |
PieChart |
|
clear()
public PieChart.Builder clear()| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
|
clearChartType()
public PieChart.Builder clearChartType()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.Builder |
This builder for chaining. |
clearDataSets()
public PieChart.Builder clearDataSets()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 |
PieChart.Builder |
|
clearShowLabels()
public PieChart.Builder clearShowLabels()Optional. Indicates whether or not the pie chart should show slices' labels
bool show_labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
This builder for chaining. |
getChartType()
public 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 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 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 |
|
getDataSetsBuilder(int index)
public PieChart.PieChartDataSet.Builder getDataSetsBuilder(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.Builder |
|
getDataSetsBuilderList()
public List<PieChart.PieChartDataSet.Builder> getDataSetsBuilderList()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<Builder> |
|
getDataSetsCount()
public 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 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 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 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> |
|
getDefaultInstanceForType()
public PieChart getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PieChart |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getShowLabels()
public 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PieChart other)
public PieChart.Builder mergeFrom(PieChart other)| Parameter | |
|---|---|
| Name | Description |
other |
PieChart |
| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PieChart.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PieChart.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
|
removeDataSets(int index)
public PieChart.Builder removeDataSets(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.Builder |
|
setChartType(PieChart.PieChartType value)
public PieChart.Builder setChartType(PieChart.PieChartType value)Required. Indicates the visualization type for the PieChart.
.google.monitoring.dashboard.v1.PieChart.PieChartType chart_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
PieChart.PieChartTypeThe chartType to set. |
| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
This builder for chaining. |
setChartTypeValue(int value)
public PieChart.Builder setChartTypeValue(int value)Required. Indicates the visualization type for the PieChart.
.google.monitoring.dashboard.v1.PieChart.PieChartType chart_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for chartType to set. |
| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
This builder for chaining. |
setDataSets(int index, PieChart.PieChartDataSet value)
public PieChart.Builder setDataSets(int index, PieChart.PieChartDataSet value)Required. The queries for the chart's data.
repeated .google.monitoring.dashboard.v1.PieChart.PieChartDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PieChart.PieChartDataSet |
| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
|
setDataSets(int index, PieChart.PieChartDataSet.Builder builderForValue)
public PieChart.Builder setDataSets(int index, PieChart.PieChartDataSet.Builder builderForValue)Required. The queries for the chart's data.
repeated .google.monitoring.dashboard.v1.PieChart.PieChartDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PieChart.PieChartDataSet.Builder |
| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
|
setShowLabels(boolean value)
public PieChart.Builder setShowLabels(boolean value)Optional. Indicates whether or not the pie chart should show slices' labels
bool show_labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe showLabels to set. |
| Returns | |
|---|---|
| Type | Description |
PieChart.Builder |
This builder for chaining. |