Class PickTimeSeriesFilter.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PickTimeSeriesFilter.Builder>
com.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Builder
- All Implemented Interfaces:
PickTimeSeriesFilterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PickTimeSeriesFilter
public static final class PickTimeSeriesFilter.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()How to use the ranking to select time series that pass through the filter.Select the top N streams/time series within this time intervalHow many time series to allow to pass through the filter.`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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHow to use the ranking to select time series that pass through the filter.intHow to use the ranking to select time series that pass through the filter.Select the top N streams/time series within this time intervalSelect the top N streams/time series within this time intervalSelect the top N streams/time series within this time intervalintHow many time series to allow to pass through the filter.`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.int`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.booleanSelect the top N streams/time series within this time intervalprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(PickTimeSeriesFilter other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInterval(Interval value) Select the top N streams/time series within this time intervalHow to use the ranking to select time series that pass through the filter.setDirectionValue(int value) How to use the ranking to select time series that pass through the filter.setInterval(Interval value) Select the top N streams/time series within this time intervalsetInterval(Interval.Builder builderForValue) Select the top N streams/time series within this time intervalsetNumTimeSeries(int value) How many time series to allow to pass through the filter.`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.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PickTimeSeriesFilter.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PickTimeSeriesFilter.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PickTimeSeriesFilter.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PickTimeSeriesFilter.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PickTimeSeriesFilter.Builder>
-
mergeFrom
public PickTimeSeriesFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PickTimeSeriesFilter.Builder>- Throws:
IOException
-
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;- Specified by:
getRankingMethodValuein interfacePickTimeSeriesFilterOrBuilder- Returns:
- The enum numeric value on the wire for rankingMethod.
-
setRankingMethodValue
`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;- Parameters:
value- The enum numeric value on the wire for rankingMethod to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getRankingMethodin interfacePickTimeSeriesFilterOrBuilder- Returns:
- The rankingMethod.
-
setRankingMethod
`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;- Parameters:
value- The rankingMethod to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getNumTimeSeries
public int getNumTimeSeries()How many time series to allow to pass through the filter.
int32 num_time_series = 2;- Specified by:
getNumTimeSeriesin interfacePickTimeSeriesFilterOrBuilder- Returns:
- The numTimeSeries.
-
setNumTimeSeries
How many time series to allow to pass through the filter.
int32 num_time_series = 2;- Parameters:
value- The numTimeSeries to set.- Returns:
- This builder for chaining.
-
clearNumTimeSeries
How many time series to allow to pass through the filter.
int32 num_time_series = 2;- Returns:
- This builder for chaining.
-
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;- Specified by:
getDirectionValuein interfacePickTimeSeriesFilterOrBuilder- Returns:
- The enum numeric value on the wire for direction.
-
setDirectionValue
How to use the ranking to select time series that pass through the filter.
.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Direction direction = 3;- Parameters:
value- The enum numeric value on the wire for direction to set.- Returns:
- This builder for chaining.
-
getDirection
How to use the ranking to select time series that pass through the filter.
.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Direction direction = 3;- Specified by:
getDirectionin interfacePickTimeSeriesFilterOrBuilder- Returns:
- The direction.
-
setDirection
How to use the ranking to select time series that pass through the filter.
.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Direction direction = 3;- Parameters:
value- The direction to set.- Returns:
- This builder for chaining.
-
clearDirection
How to use the ranking to select time series that pass through the filter.
.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Direction direction = 3;- Returns:
- This builder for chaining.
-
hasInterval
public boolean hasInterval()Select the top N streams/time series within this time interval
.google.type.Interval interval = 4;- Specified by:
hasIntervalin interfacePickTimeSeriesFilterOrBuilder- Returns:
- Whether the interval field is set.
-
getInterval
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4;- Specified by:
getIntervalin interfacePickTimeSeriesFilterOrBuilder- Returns:
- The interval.
-
setInterval
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4; -
setInterval
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4; -
mergeInterval
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4; -
clearInterval
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4; -
getIntervalBuilder
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4; -
getIntervalOrBuilder
Select the top N streams/time series within this time interval
.google.type.Interval interval = 4;- Specified by:
getIntervalOrBuilderin interfacePickTimeSeriesFilterOrBuilder
-