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