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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static 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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PickTimeSeriesFilter.Builder newBuilder()
newBuilder(PickTimeSeriesFilter prototype)
public static PickTimeSeriesFilter.Builder newBuilder(PickTimeSeriesFilter prototype)
public static PickTimeSeriesFilter parseDelimitedFrom(InputStream input)
public static PickTimeSeriesFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PickTimeSeriesFilter parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PickTimeSeriesFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PickTimeSeriesFilter parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PickTimeSeriesFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PickTimeSeriesFilter parseFrom(CodedInputStream input)
public static PickTimeSeriesFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PickTimeSeriesFilter parseFrom(InputStream input)
public static PickTimeSeriesFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PickTimeSeriesFilter parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PickTimeSeriesFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PickTimeSeriesFilter> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public PickTimeSeriesFilter getDefaultInstanceForType()
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.
|
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()
Overrides
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PickTimeSeriesFilter.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PickTimeSeriesFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public PickTimeSeriesFilter.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides