public final class TimeSeriesQuery extends GeneratedMessageV3 implements TimeSeriesQueryOrBuilder
TimeSeriesQuery collects the set of supported methods for querying time
series data from the Stackdriver metrics API.
Protobuf type google.monitoring.dashboard.v1.TimeSeriesQuery
Static Fields
TIME_SERIES_FILTER_FIELD_NUMBER
public static final int TIME_SERIES_FILTER_FIELD_NUMBER
Field Value
TIME_SERIES_FILTER_RATIO_FIELD_NUMBER
public static final int TIME_SERIES_FILTER_RATIO_FIELD_NUMBER
Field Value
TIME_SERIES_QUERY_LANGUAGE_FIELD_NUMBER
public static final int TIME_SERIES_QUERY_LANGUAGE_FIELD_NUMBER
Field Value
UNIT_OVERRIDE_FIELD_NUMBER
public static final int UNIT_OVERRIDE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TimeSeriesQuery getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TimeSeriesQuery.Builder newBuilder()
Returns
newBuilder(TimeSeriesQuery prototype)
public static TimeSeriesQuery.Builder newBuilder(TimeSeriesQuery prototype)
Parameter
Returns
public static TimeSeriesQuery parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TimeSeriesQuery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TimeSeriesQuery parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TimeSeriesQuery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TimeSeriesQuery parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimeSeriesQuery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TimeSeriesQuery parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TimeSeriesQuery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TimeSeriesQuery parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TimeSeriesQuery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TimeSeriesQuery parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TimeSeriesQuery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TimeSeriesQuery> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public TimeSeriesQuery getDefaultInstanceForType()
Returns
getParserForType()
public Parser<TimeSeriesQuery> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSourceCase()
public TimeSeriesQuery.SourceCase getSourceCase()
Returns
getTimeSeriesFilter()
public TimeSeriesFilter getTimeSeriesFilter()
Filter parameters to fetch time series.
.google.monitoring.dashboard.v1.TimeSeriesFilter time_series_filter = 1;
Returns
getTimeSeriesFilterOrBuilder()
public TimeSeriesFilterOrBuilder getTimeSeriesFilterOrBuilder()
Filter parameters to fetch time series.
.google.monitoring.dashboard.v1.TimeSeriesFilter time_series_filter = 1;
Returns
getTimeSeriesFilterRatio()
public TimeSeriesFilterRatio getTimeSeriesFilterRatio()
Parameters to fetch a ratio between two time series filters.
.google.monitoring.dashboard.v1.TimeSeriesFilterRatio time_series_filter_ratio = 2;
Returns
getTimeSeriesFilterRatioOrBuilder()
public TimeSeriesFilterRatioOrBuilder getTimeSeriesFilterRatioOrBuilder()
Parameters to fetch a ratio between two time series filters.
.google.monitoring.dashboard.v1.TimeSeriesFilterRatio time_series_filter_ratio = 2;
Returns
getTimeSeriesQueryLanguage()
public String getTimeSeriesQueryLanguage()
A query used to fetch time series.
string time_series_query_language = 3;
Returns
Type | Description |
String | The timeSeriesQueryLanguage.
|
getTimeSeriesQueryLanguageBytes()
public ByteString getTimeSeriesQueryLanguageBytes()
A query used to fetch time series.
string time_series_query_language = 3;
Returns
Type | Description |
ByteString | The bytes for timeSeriesQueryLanguage.
|
getUnitOverride()
public 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
Type | Description |
String | The unitOverride.
|
getUnitOverrideBytes()
public 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
Type | Description |
ByteString | The bytes for unitOverride.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasTimeSeriesFilter()
public boolean hasTimeSeriesFilter()
Filter parameters to fetch time series.
.google.monitoring.dashboard.v1.TimeSeriesFilter time_series_filter = 1;
Returns
Type | Description |
boolean | Whether the timeSeriesFilter field is set.
|
hasTimeSeriesFilterRatio()
public boolean hasTimeSeriesFilterRatio()
Parameters to fetch a ratio between two time series filters.
.google.monitoring.dashboard.v1.TimeSeriesFilterRatio time_series_filter_ratio = 2;
Returns
Type | Description |
boolean | Whether the timeSeriesFilterRatio field is set.
|
hasTimeSeriesQueryLanguage()
public boolean hasTimeSeriesQueryLanguage()
A query used to fetch time series.
string time_series_query_language = 3;
Returns
Type | Description |
boolean | Whether the timeSeriesQueryLanguage field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TimeSeriesQuery.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TimeSeriesQuery.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TimeSeriesQuery.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions