Class TimeSeriesFilterRatio.Builder (2.47.0)

public static final class TimeSeriesFilterRatio.Builder extends GeneratedMessageV3.Builder<TimeSeriesFilterRatio.Builder> implements TimeSeriesFilterRatioOrBuilder

A pair of time series filters that define a ratio computation. The output time series is the pair-wise division of each aligned element from the numerator and denominator time series.

Protobuf type google.monitoring.dashboard.v1.TimeSeriesFilterRatio

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesFilterRatio.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TimeSeriesFilterRatio.Builder
Overrides

build()

public TimeSeriesFilterRatio build()
Returns
Type Description
TimeSeriesFilterRatio

buildPartial()

public TimeSeriesFilterRatio buildPartial()
Returns
Type Description
TimeSeriesFilterRatio

clear()

public TimeSeriesFilterRatio.Builder clear()
Returns
Type Description
TimeSeriesFilterRatio.Builder
Overrides

clearDenominator()

public TimeSeriesFilterRatio.Builder clearDenominator()

The denominator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart denominator = 2;

Returns
Type Description
TimeSeriesFilterRatio.Builder

clearField(Descriptors.FieldDescriptor field)

public TimeSeriesFilterRatio.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TimeSeriesFilterRatio.Builder
Overrides

clearNumerator()

public TimeSeriesFilterRatio.Builder clearNumerator()

The numerator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart numerator = 1;

Returns
Type Description
TimeSeriesFilterRatio.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TimeSeriesFilterRatio.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TimeSeriesFilterRatio.Builder
Overrides

clearOutputFilter()

public TimeSeriesFilterRatio.Builder clearOutputFilter()
Returns
Type Description
TimeSeriesFilterRatio.Builder

clearPickTimeSeriesFilter()

public TimeSeriesFilterRatio.Builder clearPickTimeSeriesFilter()

Ranking based time series filter.

.google.monitoring.dashboard.v1.PickTimeSeriesFilter pick_time_series_filter = 4;

Returns
Type Description
TimeSeriesFilterRatio.Builder

clearSecondaryAggregation()

public TimeSeriesFilterRatio.Builder clearSecondaryAggregation()

Apply a second aggregation after the ratio is computed.

.google.monitoring.dashboard.v1.Aggregation secondary_aggregation = 3;

Returns
Type Description
TimeSeriesFilterRatio.Builder

clearStatisticalTimeSeriesFilter() (deprecated)

public TimeSeriesFilterRatio.Builder clearStatisticalTimeSeriesFilter()

Statistics based time series filter. Note: This field is deprecated and completely ignored by the API.

.google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter statistical_time_series_filter = 5 [deprecated = true];

Returns
Type Description
TimeSeriesFilterRatio.Builder

clone()

public TimeSeriesFilterRatio.Builder clone()
Returns
Type Description
TimeSeriesFilterRatio.Builder
Overrides

getDefaultInstanceForType()

public TimeSeriesFilterRatio getDefaultInstanceForType()
Returns
Type Description
TimeSeriesFilterRatio

getDenominator()

public TimeSeriesFilterRatio.RatioPart getDenominator()

The denominator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart denominator = 2;

Returns
Type Description
TimeSeriesFilterRatio.RatioPart

The denominator.

getDenominatorBuilder()

public TimeSeriesFilterRatio.RatioPart.Builder getDenominatorBuilder()

The denominator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart denominator = 2;

Returns
Type Description
TimeSeriesFilterRatio.RatioPart.Builder

getDenominatorOrBuilder()

public TimeSeriesFilterRatio.RatioPartOrBuilder getDenominatorOrBuilder()

The denominator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart denominator = 2;

Returns
Type Description
TimeSeriesFilterRatio.RatioPartOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNumerator()

public TimeSeriesFilterRatio.RatioPart getNumerator()

The numerator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart numerator = 1;

Returns
Type Description
TimeSeriesFilterRatio.RatioPart

The numerator.

getNumeratorBuilder()

public TimeSeriesFilterRatio.RatioPart.Builder getNumeratorBuilder()

The numerator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart numerator = 1;

Returns
Type Description
TimeSeriesFilterRatio.RatioPart.Builder

getNumeratorOrBuilder()

public TimeSeriesFilterRatio.RatioPartOrBuilder getNumeratorOrBuilder()

The numerator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart numerator = 1;

Returns
Type Description
TimeSeriesFilterRatio.RatioPartOrBuilder

getOutputFilterCase()

public TimeSeriesFilterRatio.OutputFilterCase getOutputFilterCase()
Returns
Type Description
TimeSeriesFilterRatio.OutputFilterCase

getPickTimeSeriesFilter()

public PickTimeSeriesFilter getPickTimeSeriesFilter()

Ranking based time series filter.

.google.monitoring.dashboard.v1.PickTimeSeriesFilter pick_time_series_filter = 4;

Returns
Type Description
PickTimeSeriesFilter

The pickTimeSeriesFilter.

getPickTimeSeriesFilterBuilder()

public PickTimeSeriesFilter.Builder getPickTimeSeriesFilterBuilder()

Ranking based time series filter.

.google.monitoring.dashboard.v1.PickTimeSeriesFilter pick_time_series_filter = 4;

Returns
Type Description
PickTimeSeriesFilter.Builder

getPickTimeSeriesFilterOrBuilder()

public PickTimeSeriesFilterOrBuilder getPickTimeSeriesFilterOrBuilder()

Ranking based time series filter.

.google.monitoring.dashboard.v1.PickTimeSeriesFilter pick_time_series_filter = 4;

Returns
Type Description
PickTimeSeriesFilterOrBuilder

getSecondaryAggregation()

public Aggregation getSecondaryAggregation()

Apply a second aggregation after the ratio is computed.

.google.monitoring.dashboard.v1.Aggregation secondary_aggregation = 3;

Returns
Type Description
Aggregation

The secondaryAggregation.

getSecondaryAggregationBuilder()

public Aggregation.Builder getSecondaryAggregationBuilder()

Apply a second aggregation after the ratio is computed.

.google.monitoring.dashboard.v1.Aggregation secondary_aggregation = 3;

Returns
Type Description
Aggregation.Builder

getSecondaryAggregationOrBuilder()

public AggregationOrBuilder getSecondaryAggregationOrBuilder()

Apply a second aggregation after the ratio is computed.

.google.monitoring.dashboard.v1.Aggregation secondary_aggregation = 3;

Returns
Type Description
AggregationOrBuilder

getStatisticalTimeSeriesFilter() (deprecated)

public StatisticalTimeSeriesFilter getStatisticalTimeSeriesFilter()

Deprecated. google.monitoring.dashboard.v1.TimeSeriesFilterRatio.statistical_time_series_filter is deprecated. See google/monitoring/dashboard/v1/metrics.proto;l=129

Statistics based time series filter. Note: This field is deprecated and completely ignored by the API.

.google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter statistical_time_series_filter = 5 [deprecated = true];

Returns
Type Description
StatisticalTimeSeriesFilter

The statisticalTimeSeriesFilter.

getStatisticalTimeSeriesFilterBuilder() (deprecated)

public StatisticalTimeSeriesFilter.Builder getStatisticalTimeSeriesFilterBuilder()

Statistics based time series filter. Note: This field is deprecated and completely ignored by the API.

.google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter statistical_time_series_filter = 5 [deprecated = true];

Returns
Type Description
StatisticalTimeSeriesFilter.Builder

getStatisticalTimeSeriesFilterOrBuilder() (deprecated)

public StatisticalTimeSeriesFilterOrBuilder getStatisticalTimeSeriesFilterOrBuilder()

Statistics based time series filter. Note: This field is deprecated and completely ignored by the API.

.google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter statistical_time_series_filter = 5 [deprecated = true];

Returns
Type Description
StatisticalTimeSeriesFilterOrBuilder

hasDenominator()

public boolean hasDenominator()

The denominator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart denominator = 2;

Returns
Type Description
boolean

Whether the denominator field is set.

hasNumerator()

public boolean hasNumerator()

The numerator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart numerator = 1;

Returns
Type Description
boolean

Whether the numerator field is set.

hasPickTimeSeriesFilter()

public boolean hasPickTimeSeriesFilter()

Ranking based time series filter.

.google.monitoring.dashboard.v1.PickTimeSeriesFilter pick_time_series_filter = 4;

Returns
Type Description
boolean

Whether the pickTimeSeriesFilter field is set.

hasSecondaryAggregation()

public boolean hasSecondaryAggregation()

Apply a second aggregation after the ratio is computed.

.google.monitoring.dashboard.v1.Aggregation secondary_aggregation = 3;

Returns
Type Description
boolean

Whether the secondaryAggregation field is set.

hasStatisticalTimeSeriesFilter() (deprecated)

public boolean hasStatisticalTimeSeriesFilter()

Deprecated. google.monitoring.dashboard.v1.TimeSeriesFilterRatio.statistical_time_series_filter is deprecated. See google/monitoring/dashboard/v1/metrics.proto;l=129

Statistics based time series filter. Note: This field is deprecated and completely ignored by the API.

.google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter statistical_time_series_filter = 5 [deprecated = true];

Returns
Type Description
boolean

Whether the statisticalTimeSeriesFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDenominator(TimeSeriesFilterRatio.RatioPart value)

public TimeSeriesFilterRatio.Builder mergeDenominator(TimeSeriesFilterRatio.RatioPart value)

The denominator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart denominator = 2;

Parameter
Name Description
value TimeSeriesFilterRatio.RatioPart
Returns
Type Description
TimeSeriesFilterRatio.Builder

mergeFrom(TimeSeriesFilterRatio other)

public TimeSeriesFilterRatio.Builder mergeFrom(TimeSeriesFilterRatio other)
Parameter
Name Description
other TimeSeriesFilterRatio
Returns
Type Description
TimeSeriesFilterRatio.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimeSeriesFilterRatio.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesFilterRatio.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TimeSeriesFilterRatio.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TimeSeriesFilterRatio.Builder
Overrides

mergeNumerator(TimeSeriesFilterRatio.RatioPart value)

public TimeSeriesFilterRatio.Builder mergeNumerator(TimeSeriesFilterRatio.RatioPart value)

The numerator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart numerator = 1;

Parameter
Name Description
value TimeSeriesFilterRatio.RatioPart
Returns
Type Description
TimeSeriesFilterRatio.Builder

mergePickTimeSeriesFilter(PickTimeSeriesFilter value)

public TimeSeriesFilterRatio.Builder mergePickTimeSeriesFilter(PickTimeSeriesFilter value)

Ranking based time series filter.

.google.monitoring.dashboard.v1.PickTimeSeriesFilter pick_time_series_filter = 4;

Parameter
Name Description
value PickTimeSeriesFilter
Returns
Type Description
TimeSeriesFilterRatio.Builder

mergeSecondaryAggregation(Aggregation value)

public TimeSeriesFilterRatio.Builder mergeSecondaryAggregation(Aggregation value)

Apply a second aggregation after the ratio is computed.

.google.monitoring.dashboard.v1.Aggregation secondary_aggregation = 3;

Parameter
Name Description
value Aggregation
Returns
Type Description
TimeSeriesFilterRatio.Builder

mergeStatisticalTimeSeriesFilter(StatisticalTimeSeriesFilter value) (deprecated)

public TimeSeriesFilterRatio.Builder mergeStatisticalTimeSeriesFilter(StatisticalTimeSeriesFilter value)

Statistics based time series filter. Note: This field is deprecated and completely ignored by the API.

.google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter statistical_time_series_filter = 5 [deprecated = true];

Parameter
Name Description
value StatisticalTimeSeriesFilter
Returns
Type Description
TimeSeriesFilterRatio.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesFilterRatio.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimeSeriesFilterRatio.Builder
Overrides

setDenominator(TimeSeriesFilterRatio.RatioPart value)

public TimeSeriesFilterRatio.Builder setDenominator(TimeSeriesFilterRatio.RatioPart value)

The denominator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart denominator = 2;

Parameter
Name Description
value TimeSeriesFilterRatio.RatioPart
Returns
Type Description
TimeSeriesFilterRatio.Builder

setDenominator(TimeSeriesFilterRatio.RatioPart.Builder builderForValue)

public TimeSeriesFilterRatio.Builder setDenominator(TimeSeriesFilterRatio.RatioPart.Builder builderForValue)

The denominator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart denominator = 2;

Parameter
Name Description
builderForValue TimeSeriesFilterRatio.RatioPart.Builder
Returns
Type Description
TimeSeriesFilterRatio.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesFilterRatio.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TimeSeriesFilterRatio.Builder
Overrides

setNumerator(TimeSeriesFilterRatio.RatioPart value)

public TimeSeriesFilterRatio.Builder setNumerator(TimeSeriesFilterRatio.RatioPart value)

The numerator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart numerator = 1;

Parameter
Name Description
value TimeSeriesFilterRatio.RatioPart
Returns
Type Description
TimeSeriesFilterRatio.Builder

setNumerator(TimeSeriesFilterRatio.RatioPart.Builder builderForValue)

public TimeSeriesFilterRatio.Builder setNumerator(TimeSeriesFilterRatio.RatioPart.Builder builderForValue)

The numerator of the ratio.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart numerator = 1;

Parameter
Name Description
builderForValue TimeSeriesFilterRatio.RatioPart.Builder
Returns
Type Description
TimeSeriesFilterRatio.Builder

setPickTimeSeriesFilter(PickTimeSeriesFilter value)

public TimeSeriesFilterRatio.Builder setPickTimeSeriesFilter(PickTimeSeriesFilter value)

Ranking based time series filter.

.google.monitoring.dashboard.v1.PickTimeSeriesFilter pick_time_series_filter = 4;

Parameter
Name Description
value PickTimeSeriesFilter
Returns
Type Description
TimeSeriesFilterRatio.Builder

setPickTimeSeriesFilter(PickTimeSeriesFilter.Builder builderForValue)

public TimeSeriesFilterRatio.Builder setPickTimeSeriesFilter(PickTimeSeriesFilter.Builder builderForValue)

Ranking based time series filter.

.google.monitoring.dashboard.v1.PickTimeSeriesFilter pick_time_series_filter = 4;

Parameter
Name Description
builderForValue PickTimeSeriesFilter.Builder
Returns
Type Description
TimeSeriesFilterRatio.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TimeSeriesFilterRatio.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TimeSeriesFilterRatio.Builder
Overrides

setSecondaryAggregation(Aggregation value)

public TimeSeriesFilterRatio.Builder setSecondaryAggregation(Aggregation value)

Apply a second aggregation after the ratio is computed.

.google.monitoring.dashboard.v1.Aggregation secondary_aggregation = 3;

Parameter
Name Description
value Aggregation
Returns
Type Description
TimeSeriesFilterRatio.Builder

setSecondaryAggregation(Aggregation.Builder builderForValue)

public TimeSeriesFilterRatio.Builder setSecondaryAggregation(Aggregation.Builder builderForValue)

Apply a second aggregation after the ratio is computed.

.google.monitoring.dashboard.v1.Aggregation secondary_aggregation = 3;

Parameter
Name Description
builderForValue Aggregation.Builder
Returns
Type Description
TimeSeriesFilterRatio.Builder

setStatisticalTimeSeriesFilter(StatisticalTimeSeriesFilter value) (deprecated)

public TimeSeriesFilterRatio.Builder setStatisticalTimeSeriesFilter(StatisticalTimeSeriesFilter value)

Statistics based time series filter. Note: This field is deprecated and completely ignored by the API.

.google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter statistical_time_series_filter = 5 [deprecated = true];

Parameter
Name Description
value StatisticalTimeSeriesFilter
Returns
Type Description
TimeSeriesFilterRatio.Builder

setStatisticalTimeSeriesFilter(StatisticalTimeSeriesFilter.Builder builderForValue) (deprecated)

public TimeSeriesFilterRatio.Builder setStatisticalTimeSeriesFilter(StatisticalTimeSeriesFilter.Builder builderForValue)

Statistics based time series filter. Note: This field is deprecated and completely ignored by the API.

.google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter statistical_time_series_filter = 5 [deprecated = true];

Parameter
Name Description
builderForValue StatisticalTimeSeriesFilter.Builder
Returns
Type Description
TimeSeriesFilterRatio.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesFilterRatio.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimeSeriesFilterRatio.Builder
Overrides