Class TimeSeriesFilterRatio.Builder (2.8.0)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesFilterRatio.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimeSeriesFilterRatio.Builder
Overrides

build()

public TimeSeriesFilterRatio build()
Returns
TypeDescription
TimeSeriesFilterRatio

buildPartial()

public TimeSeriesFilterRatio buildPartial()
Returns
TypeDescription
TimeSeriesFilterRatio

clear()

public TimeSeriesFilterRatio.Builder clear()
Returns
TypeDescription
TimeSeriesFilterRatio.Builder
Overrides

clearDenominator()

public TimeSeriesFilterRatio.Builder clearDenominator()

The denominator of the ratio.

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

Returns
TypeDescription
TimeSeriesFilterRatio.Builder

clearField(Descriptors.FieldDescriptor field)

public TimeSeriesFilterRatio.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TimeSeriesFilterRatio.Builder
Overrides

clearNumerator()

public TimeSeriesFilterRatio.Builder clearNumerator()

The numerator of the ratio.

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

Returns
TypeDescription
TimeSeriesFilterRatio.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TimeSeriesFilterRatio.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TimeSeriesFilterRatio.Builder
Overrides

clearOutputFilter()

public TimeSeriesFilterRatio.Builder clearOutputFilter()
Returns
TypeDescription
TimeSeriesFilterRatio.Builder

clearPickTimeSeriesFilter()

public TimeSeriesFilterRatio.Builder clearPickTimeSeriesFilter()

Ranking based time series filter.

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

Returns
TypeDescription
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
TypeDescription
TimeSeriesFilterRatio.Builder

clearStatisticalTimeSeriesFilter()

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
TypeDescription
TimeSeriesFilterRatio.Builder

clone()

public TimeSeriesFilterRatio.Builder clone()
Returns
TypeDescription
TimeSeriesFilterRatio.Builder
Overrides

getDefaultInstanceForType()

public TimeSeriesFilterRatio getDefaultInstanceForType()
Returns
TypeDescription
TimeSeriesFilterRatio

getDenominator()

public TimeSeriesFilterRatio.RatioPart getDenominator()

The denominator of the ratio.

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

Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart

The denominator.

getDenominatorBuilder()

public TimeSeriesFilterRatio.RatioPart.Builder getDenominatorBuilder()

The denominator of the ratio.

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

Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder

getDenominatorOrBuilder()

public TimeSeriesFilterRatio.RatioPartOrBuilder getDenominatorOrBuilder()

The denominator of the ratio.

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

Returns
TypeDescription
TimeSeriesFilterRatio.RatioPartOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNumerator()

public TimeSeriesFilterRatio.RatioPart getNumerator()

The numerator of the ratio.

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

Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart

The numerator.

getNumeratorBuilder()

public TimeSeriesFilterRatio.RatioPart.Builder getNumeratorBuilder()

The numerator of the ratio.

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

Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder

getNumeratorOrBuilder()

public TimeSeriesFilterRatio.RatioPartOrBuilder getNumeratorOrBuilder()

The numerator of the ratio.

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

Returns
TypeDescription
TimeSeriesFilterRatio.RatioPartOrBuilder

getOutputFilterCase()

public TimeSeriesFilterRatio.OutputFilterCase getOutputFilterCase()
Returns
TypeDescription
TimeSeriesFilterRatio.OutputFilterCase

getPickTimeSeriesFilter()

public PickTimeSeriesFilter getPickTimeSeriesFilter()

Ranking based time series filter.

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

Returns
TypeDescription
PickTimeSeriesFilter

The pickTimeSeriesFilter.

getPickTimeSeriesFilterBuilder()

public PickTimeSeriesFilter.Builder getPickTimeSeriesFilterBuilder()

Ranking based time series filter.

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

Returns
TypeDescription
PickTimeSeriesFilter.Builder

getPickTimeSeriesFilterOrBuilder()

public PickTimeSeriesFilterOrBuilder getPickTimeSeriesFilterOrBuilder()

Ranking based time series filter.

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

Returns
TypeDescription
PickTimeSeriesFilterOrBuilder

getSecondaryAggregation()

public Aggregation getSecondaryAggregation()

Apply a second aggregation after the ratio is computed.

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

Returns
TypeDescription
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
TypeDescription
Aggregation.Builder

getSecondaryAggregationOrBuilder()

public AggregationOrBuilder getSecondaryAggregationOrBuilder()

Apply a second aggregation after the ratio is computed.

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

Returns
TypeDescription
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=118

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
TypeDescription
StatisticalTimeSeriesFilter

The statisticalTimeSeriesFilter.

getStatisticalTimeSeriesFilterBuilder()

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
TypeDescription
StatisticalTimeSeriesFilter.Builder

getStatisticalTimeSeriesFilterOrBuilder()

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
TypeDescription
StatisticalTimeSeriesFilterOrBuilder

hasDenominator()

public boolean hasDenominator()

The denominator of the ratio.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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=118

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
TypeDescription
boolean

Whether the statisticalTimeSeriesFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimeSeriesFilterRatio.RatioPart
Returns
TypeDescription
TimeSeriesFilterRatio.Builder

mergeFrom(TimeSeriesFilterRatio other)

public TimeSeriesFilterRatio.Builder mergeFrom(TimeSeriesFilterRatio other)
Parameter
NameDescription
otherTimeSeriesFilterRatio
Returns
TypeDescription
TimeSeriesFilterRatio.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimeSeriesFilterRatio.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesFilterRatio.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TimeSeriesFilterRatio.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimeSeriesFilterRatio.RatioPart
Returns
TypeDescription
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
NameDescription
valuePickTimeSeriesFilter
Returns
TypeDescription
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
NameDescription
valueAggregation
Returns
TypeDescription
TimeSeriesFilterRatio.Builder

mergeStatisticalTimeSeriesFilter(StatisticalTimeSeriesFilter value)

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
NameDescription
valueStatisticalTimeSeriesFilter
Returns
TypeDescription
TimeSeriesFilterRatio.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesFilterRatio.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimeSeriesFilterRatio.RatioPart
Returns
TypeDescription
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
NameDescription
builderForValueTimeSeriesFilterRatio.RatioPart.Builder
Returns
TypeDescription
TimeSeriesFilterRatio.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesFilterRatio.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTimeSeriesFilterRatio.RatioPart
Returns
TypeDescription
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
NameDescription
builderForValueTimeSeriesFilterRatio.RatioPart.Builder
Returns
TypeDescription
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
NameDescription
valuePickTimeSeriesFilter
Returns
TypeDescription
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
NameDescription
builderForValuePickTimeSeriesFilter.Builder
Returns
TypeDescription
TimeSeriesFilterRatio.Builder

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

public TimeSeriesFilterRatio.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueAggregation
Returns
TypeDescription
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
NameDescription
builderForValueAggregation.Builder
Returns
TypeDescription
TimeSeriesFilterRatio.Builder

setStatisticalTimeSeriesFilter(StatisticalTimeSeriesFilter value)

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
NameDescription
valueStatisticalTimeSeriesFilter
Returns
TypeDescription
TimeSeriesFilterRatio.Builder

setStatisticalTimeSeriesFilter(StatisticalTimeSeriesFilter.Builder builderForValue)

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
NameDescription
builderForValueStatisticalTimeSeriesFilter.Builder
Returns
TypeDescription
TimeSeriesFilterRatio.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesFilterRatio.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TimeSeriesFilterRatio.Builder
Overrides