Class TimeSeriesFilterRatio (2.10.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
TypeDescription
int

NUMERATOR_FIELD_NUMBER

public static final int NUMERATOR_FIELD_NUMBER
Field Value
TypeDescription
int

PICK_TIME_SERIES_FILTER_FIELD_NUMBER

public static final int PICK_TIME_SERIES_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

SECONDARY_AGGREGATION_FIELD_NUMBER

public static final int SECONDARY_AGGREGATION_FIELD_NUMBER
Field Value
TypeDescription
int

STATISTICAL_TIME_SERIES_FILTER_FIELD_NUMBER

public static final int STATISTICAL_TIME_SERIES_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TimeSeriesFilterRatio getDefaultInstance()
Returns
TypeDescription
TimeSeriesFilterRatio

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TimeSeriesFilterRatio.Builder newBuilder()
Returns
TypeDescription
TimeSeriesFilterRatio.Builder

newBuilder(TimeSeriesFilterRatio prototype)

public static TimeSeriesFilterRatio.Builder newBuilder(TimeSeriesFilterRatio prototype)
Parameter
NameDescription
prototypeTimeSeriesFilterRatio
Returns
TypeDescription
TimeSeriesFilterRatio.Builder

parseDelimitedFrom(InputStream input)

public static TimeSeriesFilterRatio parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TimeSeriesFilterRatio
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesFilterRatio
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TimeSeriesFilterRatio parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TimeSeriesFilterRatio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesFilterRatio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TimeSeriesFilterRatio parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TimeSeriesFilterRatio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesFilterRatio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TimeSeriesFilterRatio parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TimeSeriesFilterRatio
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesFilterRatio
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TimeSeriesFilterRatio parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TimeSeriesFilterRatio
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesFilterRatio
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TimeSeriesFilterRatio parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TimeSeriesFilterRatio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesFilterRatio
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TimeSeriesFilterRatio> parser()
Returns
TypeDescription
Parser<TimeSeriesFilterRatio>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

getDenominatorOrBuilder()

public TimeSeriesFilterRatio.RatioPartOrBuilder getDenominatorOrBuilder()

The denominator of the ratio.

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

Returns
TypeDescription
TimeSeriesFilterRatio.RatioPartOrBuilder

getNumerator()

public TimeSeriesFilterRatio.RatioPart getNumerator()

The numerator of the ratio.

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

Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart

The numerator.

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

getParserForType()

public Parser<TimeSeriesFilterRatio> getParserForType()
Returns
TypeDescription
Parser<TimeSeriesFilterRatio>
Overrides

getPickTimeSeriesFilter()

public PickTimeSeriesFilter getPickTimeSeriesFilter()

Ranking based time series filter.

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

Returns
TypeDescription
PickTimeSeriesFilter

The pickTimeSeriesFilter.

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.

getSecondaryAggregationOrBuilder()

public AggregationOrBuilder getSecondaryAggregationOrBuilder()

Apply a second aggregation after the ratio is computed.

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

Returns
TypeDescription
AggregationOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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=120

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.

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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=120

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TimeSeriesFilterRatio.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TimeSeriesFilterRatio.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException