public final class WindowsBasedSli extends com.google.protobuf.GeneratedMessageV3 implements WindowsBasedSliOrBuilder
A `WindowsBasedSli` defines `good_service` as the count of time windows for which the provided service was of good quality. Criteria for determining if service was good are embedded in the `window_criterion`.Protobuf type
google.monitoring.v3.WindowsBasedSli| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsBasedSli.Builder
A `WindowsBasedSli` defines `good_service` as the count of time windows for
which the provided service was of good quality.
|
static class |
WindowsBasedSli.MetricRange
A `MetricRange` is used when each window is good when the value x of a
single `TimeSeries` satisfies `range.min <= x <= range.max`.
|
static interface |
WindowsBasedSli.MetricRangeOrBuilder |
static class |
WindowsBasedSli.PerformanceThreshold
A `PerformanceThreshold` is used when each window is good when that window
has a sufficiently high `performance`.
|
static interface |
WindowsBasedSli.PerformanceThresholdOrBuilder |
static class |
WindowsBasedSli.WindowCriterionCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
GOOD_BAD_METRIC_FILTER_FIELD_NUMBER |
static int |
GOOD_TOTAL_RATIO_THRESHOLD_FIELD_NUMBER |
static int |
METRIC_MEAN_IN_RANGE_FIELD_NUMBER |
static int |
METRIC_SUM_IN_RANGE_FIELD_NUMBER |
static int |
WINDOW_PERIOD_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static WindowsBasedSli |
getDefaultInstance() |
WindowsBasedSli |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getGoodBadMetricFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` with `ValueType = BOOL`.
|
com.google.protobuf.ByteString |
getGoodBadMetricFilterBytes()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` with `ValueType = BOOL`.
|
WindowsBasedSli.PerformanceThreshold |
getGoodTotalRatioThreshold()
A window is good if its `performance` is high enough.
|
WindowsBasedSli.PerformanceThresholdOrBuilder |
getGoodTotalRatioThresholdOrBuilder()
A window is good if its `performance` is high enough.
|
WindowsBasedSli.MetricRange |
getMetricMeanInRange()
A window is good if the metric's value is in a good range, averaged
across returned streams.
|
WindowsBasedSli.MetricRangeOrBuilder |
getMetricMeanInRangeOrBuilder()
A window is good if the metric's value is in a good range, averaged
across returned streams.
|
WindowsBasedSli.MetricRange |
getMetricSumInRange()
A window is good if the metric's value is in a good range, summed across
returned streams.
|
WindowsBasedSli.MetricRangeOrBuilder |
getMetricSumInRangeOrBuilder()
A window is good if the metric's value is in a good range, summed across
returned streams.
|
com.google.protobuf.Parser<WindowsBasedSli> |
getParserForType() |
int |
getSerializedSize() |
WindowsBasedSli.WindowCriterionCase |
getWindowCriterionCase() |
com.google.protobuf.Duration |
getWindowPeriod()
Duration over which window quality is evaluated.
|
com.google.protobuf.DurationOrBuilder |
getWindowPeriodOrBuilder()
Duration over which window quality is evaluated.
|
boolean |
hasGoodBadMetricFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` with `ValueType = BOOL`.
|
boolean |
hasGoodTotalRatioThreshold()
A window is good if its `performance` is high enough.
|
int |
hashCode() |
boolean |
hasMetricMeanInRange()
A window is good if the metric's value is in a good range, averaged
across returned streams.
|
boolean |
hasMetricSumInRange()
A window is good if the metric's value is in a good range, summed across
returned streams.
|
boolean |
hasWindowPeriod()
Duration over which window quality is evaluated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WindowsBasedSli.Builder |
newBuilder() |
static WindowsBasedSli.Builder |
newBuilder(WindowsBasedSli prototype) |
WindowsBasedSli.Builder |
newBuilderForType() |
protected WindowsBasedSli.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static WindowsBasedSli |
parseDelimitedFrom(InputStream input) |
static WindowsBasedSli |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WindowsBasedSli |
parseFrom(byte[] data) |
static WindowsBasedSli |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WindowsBasedSli |
parseFrom(ByteBuffer data) |
static WindowsBasedSli |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WindowsBasedSli |
parseFrom(com.google.protobuf.ByteString data) |
static WindowsBasedSli |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WindowsBasedSli |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WindowsBasedSli |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WindowsBasedSli |
parseFrom(InputStream input) |
static WindowsBasedSli |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WindowsBasedSli> |
parser() |
WindowsBasedSli.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int GOOD_BAD_METRIC_FILTER_FIELD_NUMBER
public static final int GOOD_TOTAL_RATIO_THRESHOLD_FIELD_NUMBER
public static final int METRIC_MEAN_IN_RANGE_FIELD_NUMBER
public static final int METRIC_SUM_IN_RANGE_FIELD_NUMBER
public static final int WINDOW_PERIOD_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public WindowsBasedSli.WindowCriterionCase getWindowCriterionCase()
getWindowCriterionCase in interface WindowsBasedSliOrBuilderpublic boolean hasGoodBadMetricFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if any `true` values appear in the window.
string good_bad_metric_filter = 5;hasGoodBadMetricFilter in interface WindowsBasedSliOrBuilderpublic String getGoodBadMetricFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if any `true` values appear in the window.
string good_bad_metric_filter = 5;getGoodBadMetricFilter in interface WindowsBasedSliOrBuilderpublic com.google.protobuf.ByteString getGoodBadMetricFilterBytes()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if any `true` values appear in the window.
string good_bad_metric_filter = 5;getGoodBadMetricFilterBytes in interface WindowsBasedSliOrBuilderpublic boolean hasGoodTotalRatioThreshold()
A window is good if its `performance` is high enough.
.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;
hasGoodTotalRatioThreshold in interface WindowsBasedSliOrBuilderpublic WindowsBasedSli.PerformanceThreshold getGoodTotalRatioThreshold()
A window is good if its `performance` is high enough.
.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;
getGoodTotalRatioThreshold in interface WindowsBasedSliOrBuilderpublic WindowsBasedSli.PerformanceThresholdOrBuilder getGoodTotalRatioThresholdOrBuilder()
A window is good if its `performance` is high enough.
.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;
getGoodTotalRatioThresholdOrBuilder in interface WindowsBasedSliOrBuilderpublic boolean hasMetricMeanInRange()
A window is good if the metric's value is in a good range, averaged across returned streams.
.google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;hasMetricMeanInRange in interface WindowsBasedSliOrBuilderpublic WindowsBasedSli.MetricRange getMetricMeanInRange()
A window is good if the metric's value is in a good range, averaged across returned streams.
.google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;getMetricMeanInRange in interface WindowsBasedSliOrBuilderpublic WindowsBasedSli.MetricRangeOrBuilder getMetricMeanInRangeOrBuilder()
A window is good if the metric's value is in a good range, averaged across returned streams.
.google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;getMetricMeanInRangeOrBuilder in interface WindowsBasedSliOrBuilderpublic boolean hasMetricSumInRange()
A window is good if the metric's value is in a good range, summed across returned streams.
.google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;hasMetricSumInRange in interface WindowsBasedSliOrBuilderpublic WindowsBasedSli.MetricRange getMetricSumInRange()
A window is good if the metric's value is in a good range, summed across returned streams.
.google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;getMetricSumInRange in interface WindowsBasedSliOrBuilderpublic WindowsBasedSli.MetricRangeOrBuilder getMetricSumInRangeOrBuilder()
A window is good if the metric's value is in a good range, summed across returned streams.
.google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;getMetricSumInRangeOrBuilder in interface WindowsBasedSliOrBuilderpublic boolean hasWindowPeriod()
Duration over which window quality is evaluated. Must be an integer fraction of a day and at least `60s`.
.google.protobuf.Duration window_period = 4;hasWindowPeriod in interface WindowsBasedSliOrBuilderpublic com.google.protobuf.Duration getWindowPeriod()
Duration over which window quality is evaluated. Must be an integer fraction of a day and at least `60s`.
.google.protobuf.Duration window_period = 4;getWindowPeriod in interface WindowsBasedSliOrBuilderpublic com.google.protobuf.DurationOrBuilder getWindowPeriodOrBuilder()
Duration over which window quality is evaluated. Must be an integer fraction of a day and at least `60s`.
.google.protobuf.Duration window_period = 4;getWindowPeriodOrBuilder in interface WindowsBasedSliOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static WindowsBasedSli parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WindowsBasedSli parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WindowsBasedSli parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WindowsBasedSli parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WindowsBasedSli parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WindowsBasedSli parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WindowsBasedSli parseFrom(InputStream input) throws IOException
IOExceptionpublic static WindowsBasedSli parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WindowsBasedSli parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static WindowsBasedSli parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WindowsBasedSli parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static WindowsBasedSli parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic WindowsBasedSli.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WindowsBasedSli.Builder newBuilder()
public static WindowsBasedSli.Builder newBuilder(WindowsBasedSli prototype)
public WindowsBasedSli.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WindowsBasedSli.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WindowsBasedSli getDefaultInstance()
public static com.google.protobuf.Parser<WindowsBasedSli> parser()
public com.google.protobuf.Parser<WindowsBasedSli> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WindowsBasedSli getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.