- 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 final class PickTimeSeriesFilter extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PickTimeSeriesFilterImplements
PickTimeSeriesFilterOrBuilderStatic Fields
DIRECTION_FIELD_NUMBER
public static final int DIRECTION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
INTERVAL_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NUM_TIME_SERIES_FIELD_NUMBER
public static final int NUM_TIME_SERIES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RANKING_METHOD_FIELD_NUMBER
public static final int RANKING_METHOD_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static PickTimeSeriesFilter getDefaultInstance()
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static PickTimeSeriesFilter.Builder newBuilder()
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
newBuilder(PickTimeSeriesFilter prototype)
public static PickTimeSeriesFilter.Builder newBuilder(PickTimeSeriesFilter prototype)
Parameter | |
---|---|
Name | Description |
prototype |
PickTimeSeriesFilter |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
parseDelimitedFrom(InputStream input)
public static PickTimeSeriesFilter parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PickTimeSeriesFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static PickTimeSeriesFilter parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PickTimeSeriesFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PickTimeSeriesFilter parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PickTimeSeriesFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PickTimeSeriesFilter parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PickTimeSeriesFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static PickTimeSeriesFilter parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PickTimeSeriesFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PickTimeSeriesFilter parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PickTimeSeriesFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PickTimeSeriesFilter> parser()
Returns | |
---|---|
Type | Description |
Parser<PickTimeSeriesFilter> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public PickTimeSeriesFilter getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter |
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. |
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. |
getParserForType()
public Parser<PickTimeSeriesFilter> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<PickTimeSeriesFilter> |
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. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public PickTimeSeriesFilter.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PickTimeSeriesFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public PickTimeSeriesFilter.Builder toBuilder()
Returns | |
---|---|
Type | Description |
PickTimeSeriesFilter.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |