public static final class PickTimeSeriesFilter.Builder extends GeneratedMessageV3.Builder<PickTimeSeriesFilter.Builder> implements PickTimeSeriesFilterOrBuilder
Describes a ranking-based time series filter. Each input time series is
ranked with an aligner. The filter will allow up to num_time_series
time
series to pass through it, selecting them based on the relative ranking.
For example, if ranking_method
is METHOD_MEAN
,direction
is BOTTOM
,
and num_time_series
is 3, then the 3 times series with the lowest mean
values will pass through the filter.
Protobuf type google.monitoring.dashboard.v1.PickTimeSeriesFilter
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PickTimeSeriesFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PickTimeSeriesFilter build()
Returns
buildPartial()
public PickTimeSeriesFilter buildPartial()
Returns
clear()
public PickTimeSeriesFilter.Builder clear()
Returns
Overrides
clearDirection()
public PickTimeSeriesFilter.Builder clearDirection()
How to use the ranking to select time series that pass through the filter.
.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Direction direction = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public PickTimeSeriesFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNumTimeSeries()
public PickTimeSeriesFilter.Builder clearNumTimeSeries()
How many time series to allow to pass through the filter.
int32 num_time_series = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public PickTimeSeriesFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRankingMethod()
public PickTimeSeriesFilter.Builder clearRankingMethod()
ranking_method
is applied to each time series independently to produce
the value which will be used to compare the time series to other time
series.
.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Method ranking_method = 1;
Returns
clone()
public PickTimeSeriesFilter.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PickTimeSeriesFilter getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDirection()
public PickTimeSeriesFilter.Direction getDirection()
How to use the ranking to select time series that pass through the filter.
.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Direction direction = 3;
Returns
getDirectionValue()
public int getDirectionValue()
How to use the ranking to select time series that pass through the filter.
.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Direction direction = 3;
Returns
Type | Description |
int | The enum numeric value on the wire for direction.
|
getNumTimeSeries()
public int getNumTimeSeries()
How many time series to allow to pass through the filter.
int32 num_time_series = 2;
Returns
Type | Description |
int | The numTimeSeries.
|
getRankingMethod()
public PickTimeSeriesFilter.Method getRankingMethod()
ranking_method
is applied to each time series independently to produce
the value which will be used to compare the time series to other time
series.
.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Method ranking_method = 1;
Returns
getRankingMethodValue()
public int getRankingMethodValue()
ranking_method
is applied to each time series independently to produce
the value which will be used to compare the time series to other time
series.
.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Method ranking_method = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for rankingMethod.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PickTimeSeriesFilter other)
public PickTimeSeriesFilter.Builder mergeFrom(PickTimeSeriesFilter other)
Parameter
Returns
public PickTimeSeriesFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PickTimeSeriesFilter.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PickTimeSeriesFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDirection(PickTimeSeriesFilter.Direction value)
public PickTimeSeriesFilter.Builder setDirection(PickTimeSeriesFilter.Direction value)
How to use the ranking to select time series that pass through the filter.
.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Direction direction = 3;
Parameter
Returns
setDirectionValue(int value)
public PickTimeSeriesFilter.Builder setDirectionValue(int value)
How to use the ranking to select time series that pass through the filter.
.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Direction direction = 3;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for direction to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PickTimeSeriesFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNumTimeSeries(int value)
public PickTimeSeriesFilter.Builder setNumTimeSeries(int value)
How many time series to allow to pass through the filter.
int32 num_time_series = 2;
Parameter
Name | Description |
value | int
The numTimeSeries to set.
|
Returns
setRankingMethod(PickTimeSeriesFilter.Method value)
public PickTimeSeriesFilter.Builder setRankingMethod(PickTimeSeriesFilter.Method value)
ranking_method
is applied to each time series independently to produce
the value which will be used to compare the time series to other time
series.
.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Method ranking_method = 1;
Parameter
Returns
setRankingMethodValue(int value)
public PickTimeSeriesFilter.Builder setRankingMethodValue(int value)
ranking_method
is applied to each time series independently to produce
the value which will be used to compare the time series to other time
series.
.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Method ranking_method = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for rankingMethod to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PickTimeSeriesFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PickTimeSeriesFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides