- 2.55.0 (latest)
- 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 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PickTimeSeriesFilter.BuilderImplements
PickTimeSeriesFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PickTimeSeriesFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
build()
public PickTimeSeriesFilter build()
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
buildPartial()
public PickTimeSeriesFilter buildPartial()
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
clear()
public PickTimeSeriesFilter.Builder clear()
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
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 | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PickTimeSeriesFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
clearInterval()
public PickTimeSeriesFilter.Builder clearInterval()
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4;
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
clearNumTimeSeries()
public PickTimeSeriesFilter.Builder clearNumTimeSeries()
How many time series to allow to pass through the filter.
int32 num_time_series = 2;
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PickTimeSeriesFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
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 | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder | This builder for chaining. |
clone()
public PickTimeSeriesFilter.Builder clone()
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
getDefaultInstanceForType()
public PickTimeSeriesFilter getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
PickTimeSeriesFilter.Direction | The direction. |
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. |
getInterval()
public Interval getInterval()
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4;
Returns | |
---|---|
Type | Description |
com.google.type.Interval | The interval. |
getIntervalBuilder()
public Interval.Builder getIntervalBuilder()
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4;
Returns | |
---|---|
Type | Description |
com.google.type.Interval.Builder |
getIntervalOrBuilder()
public IntervalOrBuilder getIntervalOrBuilder()
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4;
Returns | |
---|---|
Type | Description |
com.google.type.IntervalOrBuilder |
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 | |
---|---|
Type | Description |
PickTimeSeriesFilter.Method | The rankingMethod. |
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. |
hasInterval()
public boolean hasInterval()
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the interval field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PickTimeSeriesFilter other)
public PickTimeSeriesFilter.Builder mergeFrom(PickTimeSeriesFilter other)
Parameter | |
---|---|
Name | Description |
other | PickTimeSeriesFilter |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PickTimeSeriesFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PickTimeSeriesFilter.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
mergeInterval(Interval value)
public PickTimeSeriesFilter.Builder mergeInterval(Interval value)
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Interval |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PickTimeSeriesFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
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 | |
---|---|
Name | Description |
value | PickTimeSeriesFilter.Direction The direction to set. |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder | This builder for chaining. |
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 | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PickTimeSeriesFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
setInterval(Interval value)
public PickTimeSeriesFilter.Builder setInterval(Interval value)
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Interval |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
setInterval(Interval.Builder builderForValue)
public PickTimeSeriesFilter.Builder setInterval(Interval.Builder builderForValue)
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.type.Interval.Builder |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
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 | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder | This builder for chaining. |
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 | |
---|---|
Name | Description |
value | PickTimeSeriesFilter.Method The rankingMethod to set. |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder | This builder for chaining. |
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 | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PickTimeSeriesFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PickTimeSeriesFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |