public static final class WindowsBasedSli.MetricRange extends GeneratedMessageV3 implements WindowsBasedSli.MetricRangeOrBuilder
A MetricRange
is used when each window is good when the value x of a
single TimeSeries
satisfies range.min <= x <= range.max
. The provided
TimeSeries
must have ValueType = INT64
or ValueType = DOUBLE
and
MetricKind = GAUGE
.
Protobuf type google.monitoring.v3.WindowsBasedSli.MetricRange
Static Fields
RANGE_FIELD_NUMBER
public static final int RANGE_FIELD_NUMBER
Field Value
TIME_SERIES_FIELD_NUMBER
public static final int TIME_SERIES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static WindowsBasedSli.MetricRange getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static WindowsBasedSli.MetricRange.Builder newBuilder()
Returns
newBuilder(WindowsBasedSli.MetricRange prototype)
public static WindowsBasedSli.MetricRange.Builder newBuilder(WindowsBasedSli.MetricRange prototype)
Parameter
Returns
public static WindowsBasedSli.MetricRange parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static WindowsBasedSli.MetricRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static WindowsBasedSli.MetricRange parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WindowsBasedSli.MetricRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static WindowsBasedSli.MetricRange parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WindowsBasedSli.MetricRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WindowsBasedSli.MetricRange parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static WindowsBasedSli.MetricRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WindowsBasedSli.MetricRange parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static WindowsBasedSli.MetricRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static WindowsBasedSli.MetricRange parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WindowsBasedSli.MetricRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<WindowsBasedSli.MetricRange> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public WindowsBasedSli.MetricRange getDefaultInstanceForType()
Returns
getParserForType()
public Parser<WindowsBasedSli.MetricRange> getParserForType()
Returns
Overrides
getRange()
Range of values considered "good." For a one-sided range, set one bound
to an infinite value.
.google.monitoring.v3.Range range = 4;
Returns
Type | Description |
Range | The range.
|
getRangeOrBuilder()
public RangeOrBuilder getRangeOrBuilder()
Range of values considered "good." For a one-sided range, set one bound
to an infinite value.
.google.monitoring.v3.Range range = 4;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTimeSeries()
public String getTimeSeries()
A monitoring filter
specifying the TimeSeries
to use for evaluating window quality.
string time_series = 1;
Returns
Type | Description |
String | The timeSeries.
|
getTimeSeriesBytes()
public ByteString getTimeSeriesBytes()
A monitoring filter
specifying the TimeSeries
to use for evaluating window quality.
string time_series = 1;
Returns
Type | Description |
ByteString | The bytes for timeSeries.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasRange()
public boolean hasRange()
Range of values considered "good." For a one-sided range, set one bound
to an infinite value.
.google.monitoring.v3.Range range = 4;
Returns
Type | Description |
boolean | Whether the range field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public WindowsBasedSli.MetricRange.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WindowsBasedSli.MetricRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public WindowsBasedSli.MetricRange.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions