Class TimeSeriesFilterRatio (2.46.0)

public final class TimeSeriesFilterRatio extends GeneratedMessageV3 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 Fields

DENOMINATOR_FIELD_NUMBER

public static final int DENOMINATOR_FIELD_NUMBER
Field Value
Type Description
int

NUMERATOR_FIELD_NUMBER

public static final int NUMERATOR_FIELD_NUMBER
Field Value
Type Description
int

PICK_TIME_SERIES_FILTER_FIELD_NUMBER

public static final int PICK_TIME_SERIES_FILTER_FIELD_NUMBER
Field Value
Type Description
int

SECONDARY_AGGREGATION_FIELD_NUMBER

public static final int SECONDARY_AGGREGATION_FIELD_NUMBER
Field Value
Type Description
int

STATISTICAL_TIME_SERIES_FILTER_FIELD_NUMBER

public static final int STATISTICAL_TIME_SERIES_FILTER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TimeSeriesFilterRatio getDefaultInstance()
Returns
Type Description
TimeSeriesFilterRatio

getDescriptor()

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

newBuilder()

public static TimeSeriesFilterRatio.Builder newBuilder()
Returns
Type Description
TimeSeriesFilterRatio.Builder

newBuilder(TimeSeriesFilterRatio prototype)

public static TimeSeriesFilterRatio.Builder newBuilder(TimeSeriesFilterRatio prototype)
Parameter
Name Description
prototype TimeSeriesFilterRatio
Returns
Type Description
TimeSeriesFilterRatio.Builder

parseDelimitedFrom(InputStream input)

public static TimeSeriesFilterRatio parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TimeSeriesFilterRatio
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesFilterRatio
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TimeSeriesFilterRatio parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TimeSeriesFilterRatio
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesFilterRatio
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TimeSeriesFilterRatio parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TimeSeriesFilterRatio
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesFilterRatio
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TimeSeriesFilterRatio parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TimeSeriesFilterRatio
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesFilterRatio
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TimeSeriesFilterRatio parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TimeSeriesFilterRatio
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesFilterRatio
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TimeSeriesFilterRatio parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TimeSeriesFilterRatio
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesFilterRatio
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TimeSeriesFilterRatio> parser()
Returns
Type Description
Parser<TimeSeriesFilterRatio>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

getDenominatorOrBuilder()

public TimeSeriesFilterRatio.RatioPartOrBuilder getDenominatorOrBuilder()

The denominator of the ratio.

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

Returns
Type Description
TimeSeriesFilterRatio.RatioPartOrBuilder

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.

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

getParserForType()

public Parser<TimeSeriesFilterRatio> getParserForType()
Returns
Type Description
Parser<TimeSeriesFilterRatio>
Overrides

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.

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TimeSeriesFilterRatio.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TimeSeriesFilterRatio.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException