Class WindowsBasedSli.MetricRange (3.3.6)

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
TypeDescription
int

TIME_SERIES_FIELD_NUMBER

public static final int TIME_SERIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WindowsBasedSli.MetricRange getDefaultInstance()
Returns
TypeDescription
WindowsBasedSli.MetricRange

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WindowsBasedSli.MetricRange.Builder newBuilder()
Returns
TypeDescription
WindowsBasedSli.MetricRange.Builder

newBuilder(WindowsBasedSli.MetricRange prototype)

public static WindowsBasedSli.MetricRange.Builder newBuilder(WindowsBasedSli.MetricRange prototype)
Parameter
NameDescription
prototypeWindowsBasedSli.MetricRange
Returns
TypeDescription
WindowsBasedSli.MetricRange.Builder

parseDelimitedFrom(InputStream input)

public static WindowsBasedSli.MetricRange parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WindowsBasedSli.MetricRange
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.MetricRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsBasedSli.MetricRange
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WindowsBasedSli.MetricRange parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WindowsBasedSli.MetricRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.MetricRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsBasedSli.MetricRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WindowsBasedSli.MetricRange parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WindowsBasedSli.MetricRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.MetricRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsBasedSli.MetricRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WindowsBasedSli.MetricRange parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WindowsBasedSli.MetricRange
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.MetricRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsBasedSli.MetricRange
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WindowsBasedSli.MetricRange parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WindowsBasedSli.MetricRange
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.MetricRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsBasedSli.MetricRange
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WindowsBasedSli.MetricRange parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WindowsBasedSli.MetricRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.MetricRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsBasedSli.MetricRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WindowsBasedSli.MetricRange> parser()
Returns
TypeDescription
Parser<MetricRange>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public WindowsBasedSli.MetricRange getDefaultInstanceForType()
Returns
TypeDescription
WindowsBasedSli.MetricRange

getParserForType()

public Parser<WindowsBasedSli.MetricRange> getParserForType()
Returns
TypeDescription
Parser<MetricRange>
Overrides

getRange()

public Range 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
TypeDescription
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
TypeDescription
RangeOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTimeSeries()

public String getTimeSeries()

A monitoring filter specifying the TimeSeries to use for evaluating window quality.

string time_series = 1;

Returns
TypeDescription
String

The timeSeries.

getTimeSeriesBytes()

public ByteString getTimeSeriesBytes()

A monitoring filter specifying the TimeSeries to use for evaluating window quality.

string time_series = 1;

Returns
TypeDescription
ByteString

The bytes for timeSeries.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
boolean

Whether the range field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WindowsBasedSli.MetricRange.Builder newBuilderForType()
Returns
TypeDescription
WindowsBasedSli.MetricRange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WindowsBasedSli.MetricRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WindowsBasedSli.MetricRange.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WindowsBasedSli.MetricRange.Builder toBuilder()
Returns
TypeDescription
WindowsBasedSli.MetricRange.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException