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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
RANGE_FIELD_NUMBER
public static final int RANGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TIME_SERIES_FIELD_NUMBER
public static final int TIME_SERIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static WindowsBasedSli.MetricRange getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WindowsBasedSli.MetricRange.Builder newBuilder()
newBuilder(WindowsBasedSli.MetricRange prototype)
public static WindowsBasedSli.MetricRange.Builder newBuilder(WindowsBasedSli.MetricRange prototype)
public static WindowsBasedSli.MetricRange parseDelimitedFrom(InputStream input)
public static WindowsBasedSli.MetricRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WindowsBasedSli.MetricRange parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WindowsBasedSli.MetricRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WindowsBasedSli.MetricRange parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WindowsBasedSli.MetricRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WindowsBasedSli.MetricRange parseFrom(CodedInputStream input)
public static WindowsBasedSli.MetricRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WindowsBasedSli.MetricRange parseFrom(InputStream input)
public static WindowsBasedSli.MetricRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WindowsBasedSli.MetricRange parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WindowsBasedSli.MetricRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WindowsBasedSli.MetricRange> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public WindowsBasedSli.MetricRange getDefaultInstanceForType()
getParserForType()
public Parser<WindowsBasedSli.MetricRange> getParserForType()
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;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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.
|
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public WindowsBasedSli.MetricRange.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WindowsBasedSli.MetricRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public WindowsBasedSli.MetricRange.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides