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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 PickTimeSeriesFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PickTimeSeriesFilter build()
buildPartial()
public PickTimeSeriesFilter buildPartial()
clear()
public PickTimeSeriesFilter.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public PickTimeSeriesFilter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNumTimeSeries()
public PickTimeSeriesFilter.Builder clearNumTimeSeries()
How many time series to allow to pass through the filter.
int32 num_time_series = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public PickTimeSeriesFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public PickTimeSeriesFilter.Builder clone()
Overrides
getDefaultInstanceForType()
public PickTimeSeriesFilter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PickTimeSeriesFilter other)
public PickTimeSeriesFilter.Builder mergeFrom(PickTimeSeriesFilter other)
public PickTimeSeriesFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PickTimeSeriesFilter.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PickTimeSeriesFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public PickTimeSeriesFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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;
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PickTimeSeriesFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PickTimeSeriesFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides