public static final class PieChart.PieChartDataSet.Builder extends GeneratedMessageV3.Builder<PieChart.PieChartDataSet.Builder> implements PieChart.PieChartDataSetOrBuilder
Groups a time series query definition.
Protobuf type google.monitoring.dashboard.v1.PieChart.PieChartDataSet
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PieChart.PieChartDataSet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PieChart.PieChartDataSet build()
buildPartial()
public PieChart.PieChartDataSet buildPartial()
clear()
public PieChart.PieChartDataSet.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PieChart.PieChartDataSet.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public PieChart.PieChartDataSet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
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];
clone()
public PieChart.PieChartDataSet.Builder clone()
Overrides
getDefaultInstanceForType()
public PieChart.PieChartDataSet getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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];
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];
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];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PieChart.PieChartDataSet other)
public PieChart.PieChartDataSet.Builder mergeFrom(PieChart.PieChartDataSet other)
public PieChart.PieChartDataSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PieChart.PieChartDataSet.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
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];
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PieChart.PieChartDataSet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PieChart.PieChartDataSet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PieChart.PieChartDataSet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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 | String
The sliceNameTemplate to set.
|
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 | ByteString
The bytes for sliceNameTemplate to set.
|
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final PieChart.PieChartDataSet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides