Interface TimeSeriesQueryOrBuilder (2.10.0)

public interface TimeSeriesQueryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPrometheusQuery()

public abstract String getPrometheusQuery()

A query used to fetch time series with PromQL.

string prometheus_query = 6;

Returns
TypeDescription
String

The prometheusQuery.

getPrometheusQueryBytes()

public abstract ByteString getPrometheusQueryBytes()

A query used to fetch time series with PromQL.

string prometheus_query = 6;

Returns
TypeDescription
ByteString

The bytes for prometheusQuery.

getSourceCase()

public abstract TimeSeriesQuery.SourceCase getSourceCase()
Returns
TypeDescription
TimeSeriesQuery.SourceCase

getTimeSeriesFilter()

public abstract TimeSeriesFilter getTimeSeriesFilter()

Filter parameters to fetch time series.

.google.monitoring.dashboard.v1.TimeSeriesFilter time_series_filter = 1;

Returns
TypeDescription
TimeSeriesFilter

The timeSeriesFilter.

getTimeSeriesFilterOrBuilder()

public abstract TimeSeriesFilterOrBuilder getTimeSeriesFilterOrBuilder()

Filter parameters to fetch time series.

.google.monitoring.dashboard.v1.TimeSeriesFilter time_series_filter = 1;

Returns
TypeDescription
TimeSeriesFilterOrBuilder

getTimeSeriesFilterRatio()

public abstract TimeSeriesFilterRatio getTimeSeriesFilterRatio()

Parameters to fetch a ratio between two time series filters.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio time_series_filter_ratio = 2;

Returns
TypeDescription
TimeSeriesFilterRatio

The timeSeriesFilterRatio.

getTimeSeriesFilterRatioOrBuilder()

public abstract TimeSeriesFilterRatioOrBuilder getTimeSeriesFilterRatioOrBuilder()

Parameters to fetch a ratio between two time series filters.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio time_series_filter_ratio = 2;

Returns
TypeDescription
TimeSeriesFilterRatioOrBuilder

getTimeSeriesQueryLanguage()

public abstract String getTimeSeriesQueryLanguage()

A query used to fetch time series with MQL.

string time_series_query_language = 3;

Returns
TypeDescription
String

The timeSeriesQueryLanguage.

getTimeSeriesQueryLanguageBytes()

public abstract ByteString getTimeSeriesQueryLanguageBytes()

A query used to fetch time series with MQL.

string time_series_query_language = 3;

Returns
TypeDescription
ByteString

The bytes for timeSeriesQueryLanguage.

getUnitOverride()

public abstract String getUnitOverride()

The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the unit field in MetricDescriptor.

string unit_override = 5;

Returns
TypeDescription
String

The unitOverride.

getUnitOverrideBytes()

public abstract ByteString getUnitOverrideBytes()

The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the unit field in MetricDescriptor.

string unit_override = 5;

Returns
TypeDescription
ByteString

The bytes for unitOverride.

hasPrometheusQuery()

public abstract boolean hasPrometheusQuery()

A query used to fetch time series with PromQL.

string prometheus_query = 6;

Returns
TypeDescription
boolean

Whether the prometheusQuery field is set.

hasTimeSeriesFilter()

public abstract boolean hasTimeSeriesFilter()

Filter parameters to fetch time series.

.google.monitoring.dashboard.v1.TimeSeriesFilter time_series_filter = 1;

Returns
TypeDescription
boolean

Whether the timeSeriesFilter field is set.

hasTimeSeriesFilterRatio()

public abstract boolean hasTimeSeriesFilterRatio()

Parameters to fetch a ratio between two time series filters.

.google.monitoring.dashboard.v1.TimeSeriesFilterRatio time_series_filter_ratio = 2;

Returns
TypeDescription
boolean

Whether the timeSeriesFilterRatio field is set.

hasTimeSeriesQueryLanguage()

public abstract boolean hasTimeSeriesQueryLanguage()

A query used to fetch time series with MQL.

string time_series_query_language = 3;

Returns
TypeDescription
boolean

Whether the timeSeriesQueryLanguage field is set.