- 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.PieChartDataSet.Builder extends GeneratedMessage.Builder<PieChart.PieChartDataSet.Builder> implements PieChart.PieChartDataSetOrBuilderGroups a time series query definition.
Protobuf type google.monitoring.dashboard.v1.PieChart.PieChartDataSet
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PieChart.PieChartDataSet.BuilderImplements
PieChart.PieChartDataSetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PieChart.PieChartDataSet build()| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet |
|
buildPartial()
public PieChart.PieChartDataSet buildPartial()| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet |
|
clear()
public PieChart.PieChartDataSet.Builder clear()| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
|
clearMinAlignmentPeriod()
public PieChart.PieChartDataSet.Builder clearMinAlignmentPeriod() 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 | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
|
clearSliceNameTemplate()
public PieChart.PieChartDataSet.Builder clearSliceNameTemplate() 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 | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
This builder for chaining. |
clearTimeSeriesQuery()
public PieChart.PieChartDataSet.Builder clearTimeSeriesQuery() 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 | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
|
getDefaultInstanceForType()
public PieChart.PieChartDataSet getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMinAlignmentPeriod()
public 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 | |
|---|---|
| Type | Description |
Duration |
The minAlignmentPeriod. |
getMinAlignmentPeriodBuilder()
public Duration.Builder getMinAlignmentPeriodBuilder() 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 | |
|---|---|
| Type | Description |
Builder |
|
getMinAlignmentPeriodOrBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getSliceNameTemplate()
public 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 | |
|---|---|
| Type | Description |
String |
The sliceNameTemplate. |
getSliceNameTemplateBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for sliceNameTemplate. |
getTimeSeriesQuery()
public 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 | |
|---|---|
| Type | Description |
TimeSeriesQuery |
The timeSeriesQuery. |
getTimeSeriesQueryBuilder()
public TimeSeriesQuery.Builder getTimeSeriesQueryBuilder() 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 | |
|---|---|
| Type | Description |
TimeSeriesQuery.Builder |
|
getTimeSeriesQueryOrBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
TimeSeriesQueryOrBuilder |
|
hasMinAlignmentPeriod()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the minAlignmentPeriod field is set. |
hasTimeSeriesQuery()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the timeSeriesQuery field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PieChart.PieChartDataSet other)
public PieChart.PieChartDataSet.Builder mergeFrom(PieChart.PieChartDataSet other)| Parameter | |
|---|---|
| Name | Description |
other |
PieChart.PieChartDataSet |
| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PieChart.PieChartDataSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PieChart.PieChartDataSet.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
|
mergeMinAlignmentPeriod(Duration value)
public PieChart.PieChartDataSet.Builder mergeMinAlignmentPeriod(Duration value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
|
mergeTimeSeriesQuery(TimeSeriesQuery value)
public PieChart.PieChartDataSet.Builder mergeTimeSeriesQuery(TimeSeriesQuery value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
TimeSeriesQuery |
| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
|
setMinAlignmentPeriod(Duration value)
public PieChart.PieChartDataSet.Builder setMinAlignmentPeriod(Duration value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
|
setMinAlignmentPeriod(Duration.Builder builderForValue)
public PieChart.PieChartDataSet.Builder setMinAlignmentPeriod(Duration.Builder builderForValue) 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
|
setSliceNameTemplate(String value)
public PieChart.PieChartDataSet.Builder setSliceNameTemplate(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sliceNameTemplate to set. |
| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
This builder for chaining. |
setSliceNameTemplateBytes(ByteString value)
public PieChart.PieChartDataSet.Builder setSliceNameTemplateBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sliceNameTemplate to set. |
| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
This builder for chaining. |
setTimeSeriesQuery(TimeSeriesQuery value)
public PieChart.PieChartDataSet.Builder setTimeSeriesQuery(TimeSeriesQuery value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
TimeSeriesQuery |
| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
|
setTimeSeriesQuery(TimeSeriesQuery.Builder builderForValue)
public PieChart.PieChartDataSet.Builder setTimeSeriesQuery(TimeSeriesQuery.Builder builderForValue) 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TimeSeriesQuery.Builder |
| Returns | |
|---|---|
| Type | Description |
PieChart.PieChartDataSet.Builder |
|