public static final class WindowsBasedSli.MetricRange.Builder extends GeneratedMessageV3.Builder<WindowsBasedSli.MetricRange.Builder> 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 Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WindowsBasedSli.MetricRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WindowsBasedSli.MetricRange build()
Returns
buildPartial()
public WindowsBasedSli.MetricRange buildPartial()
Returns
clear()
public WindowsBasedSli.MetricRange.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public WindowsBasedSli.MetricRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WindowsBasedSli.MetricRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRange()
public WindowsBasedSli.MetricRange.Builder clearRange()
Range of values considered "good." For a one-sided range, set one bound
to an infinite value.
.google.monitoring.v3.Range range = 4;
Returns
clearTimeSeries()
public WindowsBasedSli.MetricRange.Builder clearTimeSeries()
A monitoring filter
specifying the TimeSeries
to use for evaluating window quality.
string time_series = 1;
Returns
clone()
public WindowsBasedSli.MetricRange.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WindowsBasedSli.MetricRange getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
getRangeBuilder()
public Range.Builder getRangeBuilder()
Range of values considered "good." For a one-sided range, set one bound
to an infinite value.
.google.monitoring.v3.Range range = 4;
Returns
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
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(WindowsBasedSli.MetricRange other)
public WindowsBasedSli.MetricRange.Builder mergeFrom(WindowsBasedSli.MetricRange other)
Parameter
Returns
public WindowsBasedSli.MetricRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WindowsBasedSli.MetricRange.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeRange(Range value)
public WindowsBasedSli.MetricRange.Builder mergeRange(Range value)
Range of values considered "good." For a one-sided range, set one bound
to an infinite value.
.google.monitoring.v3.Range range = 4;
Parameter
Name | Description |
value | Range
|
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WindowsBasedSli.MetricRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WindowsBasedSli.MetricRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRange(Range value)
public WindowsBasedSli.MetricRange.Builder setRange(Range value)
Range of values considered "good." For a one-sided range, set one bound
to an infinite value.
.google.monitoring.v3.Range range = 4;
Parameter
Name | Description |
value | Range
|
Returns
setRange(Range.Builder builderForValue)
public WindowsBasedSli.MetricRange.Builder setRange(Range.Builder builderForValue)
Range of values considered "good." For a one-sided range, set one bound
to an infinite value.
.google.monitoring.v3.Range range = 4;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WindowsBasedSli.MetricRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTimeSeries(String value)
public WindowsBasedSli.MetricRange.Builder setTimeSeries(String value)
A monitoring filter
specifying the TimeSeries
to use for evaluating window quality.
string time_series = 1;
Parameter
Name | Description |
value | String
The timeSeries to set.
|
Returns
setTimeSeriesBytes(ByteString value)
public WindowsBasedSli.MetricRange.Builder setTimeSeriesBytes(ByteString value)
A monitoring filter
specifying the TimeSeries
to use for evaluating window quality.
string time_series = 1;
Parameter
Name | Description |
value | ByteString
The bytes for timeSeries to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final WindowsBasedSli.MetricRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides