Interface TimeSeriesQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimeSeriesQuery,TimeSeriesQuery.Builder
@Generated
public interface TimeSeriesQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.A query used to fetch time series with PromQL.com.google.protobuf.ByteStringA query used to fetch time series with PromQL.Filter parameters to fetch time series.Filter parameters to fetch time series.Parameters to fetch a ratio between two time series filters.Parameters to fetch a ratio between two time series filters.A query used to fetch time series with MQL.com.google.protobuf.ByteStringA query used to fetch time series with MQL.The unit of data contained in fetched time series.com.google.protobuf.ByteStringThe unit of data contained in fetched time series.booleanA query used to fetch time series with PromQL.booleanFilter parameters to fetch time series.booleanParameters to fetch a ratio between two time series filters.booleanA query used to fetch time series with MQL.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTimeSeriesFilter
boolean hasTimeSeriesFilter()Filter parameters to fetch time series.
.google.monitoring.dashboard.v1.TimeSeriesFilter time_series_filter = 1;- Returns:
- Whether the timeSeriesFilter field is set.
-
getTimeSeriesFilter
TimeSeriesFilter getTimeSeriesFilter()Filter parameters to fetch time series.
.google.monitoring.dashboard.v1.TimeSeriesFilter time_series_filter = 1;- Returns:
- The timeSeriesFilter.
-
getTimeSeriesFilterOrBuilder
TimeSeriesFilterOrBuilder getTimeSeriesFilterOrBuilder()Filter parameters to fetch time series.
.google.monitoring.dashboard.v1.TimeSeriesFilter time_series_filter = 1; -
hasTimeSeriesFilterRatio
boolean hasTimeSeriesFilterRatio()Parameters to fetch a ratio between two time series filters.
.google.monitoring.dashboard.v1.TimeSeriesFilterRatio time_series_filter_ratio = 2;- Returns:
- Whether the timeSeriesFilterRatio field is set.
-
getTimeSeriesFilterRatio
TimeSeriesFilterRatio getTimeSeriesFilterRatio()Parameters to fetch a ratio between two time series filters.
.google.monitoring.dashboard.v1.TimeSeriesFilterRatio time_series_filter_ratio = 2;- Returns:
- The timeSeriesFilterRatio.
-
getTimeSeriesFilterRatioOrBuilder
TimeSeriesFilterRatioOrBuilder getTimeSeriesFilterRatioOrBuilder()Parameters to fetch a ratio between two time series filters.
.google.monitoring.dashboard.v1.TimeSeriesFilterRatio time_series_filter_ratio = 2; -
hasTimeSeriesQueryLanguage
boolean hasTimeSeriesQueryLanguage()A query used to fetch time series with MQL.
string time_series_query_language = 3;- Returns:
- Whether the timeSeriesQueryLanguage field is set.
-
getTimeSeriesQueryLanguage
String getTimeSeriesQueryLanguage()A query used to fetch time series with MQL.
string time_series_query_language = 3;- Returns:
- The timeSeriesQueryLanguage.
-
getTimeSeriesQueryLanguageBytes
com.google.protobuf.ByteString getTimeSeriesQueryLanguageBytes()A query used to fetch time series with MQL.
string time_series_query_language = 3;- Returns:
- The bytes for timeSeriesQueryLanguage.
-
hasPrometheusQuery
boolean hasPrometheusQuery()A query used to fetch time series with PromQL.
string prometheus_query = 6;- Returns:
- Whether the prometheusQuery field is set.
-
getPrometheusQuery
String getPrometheusQuery()A query used to fetch time series with PromQL.
string prometheus_query = 6;- Returns:
- The prometheusQuery.
-
getPrometheusQueryBytes
com.google.protobuf.ByteString getPrometheusQueryBytes()A query used to fetch time series with PromQL.
string prometheus_query = 6;- Returns:
- The bytes for prometheusQuery.
-
getUnitOverride
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`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in `MetricDescriptor`.
string unit_override = 5;- Returns:
- The unitOverride.
-
getUnitOverrideBytes
com.google.protobuf.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`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in `MetricDescriptor`.
string unit_override = 5;- Returns:
- The bytes for unitOverride.
-
getOutputFullDuration
boolean getOutputFullDuration()Optional. If set, Cloud Monitoring will treat the full query duration as the alignment period so that there will be only 1 output value. *Note: This could override the configured alignment period except for the cases where a series of data points are expected, like - XyChart - Scorecard's spark chart
bool output_full_duration = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The outputFullDuration.
-
getSourceCase
TimeSeriesQuery.SourceCase getSourceCase()
-