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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WindowsBasedSli.MetricRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WindowsBasedSli.MetricRange build()
buildPartial()
public WindowsBasedSli.MetricRange buildPartial()
clear()
public WindowsBasedSli.MetricRange.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public WindowsBasedSli.MetricRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WindowsBasedSli.MetricRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clearTimeSeries()
public WindowsBasedSli.MetricRange.Builder clearTimeSeries()
A monitoring filter
specifying the TimeSeries
to use for evaluating window quality.
string time_series = 1;
clone()
public WindowsBasedSli.MetricRange.Builder clone()
Overrides
getDefaultInstanceForType()
public WindowsBasedSli.MetricRange getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WindowsBasedSli.MetricRange other)
public WindowsBasedSli.MetricRange.Builder mergeFrom(WindowsBasedSli.MetricRange other)
public WindowsBasedSli.MetricRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WindowsBasedSli.MetricRange.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WindowsBasedSli.MetricRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WindowsBasedSli.MetricRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WindowsBasedSli.MetricRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final WindowsBasedSli.MetricRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides