Class WindowsBasedSli.Builder (3.3.6)

public static final class WindowsBasedSli.Builder extends GeneratedMessageV3.Builder<WindowsBasedSli.Builder> 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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WindowsBasedSli.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WindowsBasedSli.Builder
Overrides

build()

public WindowsBasedSli build()
Returns
TypeDescription
WindowsBasedSli

buildPartial()

public WindowsBasedSli buildPartial()
Returns
TypeDescription
WindowsBasedSli

clear()

public WindowsBasedSli.Builder clear()
Returns
TypeDescription
WindowsBasedSli.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public WindowsBasedSli.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
WindowsBasedSli.Builder
Overrides

clearGoodBadMetricFilter()

public WindowsBasedSli.Builder clearGoodBadMetricFilter()

A monitoring filter specifying a TimeSeries with ValueType = BOOL. The window is good if any true values appear in the window.

string good_bad_metric_filter = 5;

Returns
TypeDescription
WindowsBasedSli.Builder

This builder for chaining.

clearGoodTotalRatioThreshold()

public WindowsBasedSli.Builder clearGoodTotalRatioThreshold()

A window is good if its performance is high enough.

.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;

Returns
TypeDescription
WindowsBasedSli.Builder

clearMetricMeanInRange()

public WindowsBasedSli.Builder clearMetricMeanInRange()

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;

Returns
TypeDescription
WindowsBasedSli.Builder

clearMetricSumInRange()

public WindowsBasedSli.Builder clearMetricSumInRange()

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;

Returns
TypeDescription
WindowsBasedSli.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public WindowsBasedSli.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
WindowsBasedSli.Builder
Overrides

clearWindowCriterion()

public WindowsBasedSli.Builder clearWindowCriterion()
Returns
TypeDescription
WindowsBasedSli.Builder

clearWindowPeriod()

public WindowsBasedSli.Builder clearWindowPeriod()

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;

Returns
TypeDescription
WindowsBasedSli.Builder

clone()

public WindowsBasedSli.Builder clone()
Returns
TypeDescription
WindowsBasedSli.Builder
Overrides

getDefaultInstanceForType()

public WindowsBasedSli getDefaultInstanceForType()
Returns
TypeDescription
WindowsBasedSli

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGoodBadMetricFilter()

public String getGoodBadMetricFilter()

A monitoring filter specifying a TimeSeries with ValueType = BOOL. The window is good if any true values appear in the window.

string good_bad_metric_filter = 5;

Returns
TypeDescription
String

The goodBadMetricFilter.

getGoodBadMetricFilterBytes()

public ByteString getGoodBadMetricFilterBytes()

A monitoring filter specifying a TimeSeries with ValueType = BOOL. The window is good if any true values appear in the window.

string good_bad_metric_filter = 5;

Returns
TypeDescription
ByteString

The bytes for goodBadMetricFilter.

getGoodTotalRatioThreshold()

public WindowsBasedSli.PerformanceThreshold getGoodTotalRatioThreshold()

A window is good if its performance is high enough.

.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;

Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold

The goodTotalRatioThreshold.

getGoodTotalRatioThresholdBuilder()

public WindowsBasedSli.PerformanceThreshold.Builder getGoodTotalRatioThresholdBuilder()

A window is good if its performance is high enough.

.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;

Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold.Builder

getGoodTotalRatioThresholdOrBuilder()

public WindowsBasedSli.PerformanceThresholdOrBuilder getGoodTotalRatioThresholdOrBuilder()

A window is good if its performance is high enough.

.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;

Returns
TypeDescription
WindowsBasedSli.PerformanceThresholdOrBuilder

getMetricMeanInRange()

public 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;

Returns
TypeDescription
WindowsBasedSli.MetricRange

The metricMeanInRange.

getMetricMeanInRangeBuilder()

public WindowsBasedSli.MetricRange.Builder getMetricMeanInRangeBuilder()

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;

Returns
TypeDescription
WindowsBasedSli.MetricRange.Builder

getMetricMeanInRangeOrBuilder()

public 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;

Returns
TypeDescription
WindowsBasedSli.MetricRangeOrBuilder

getMetricSumInRange()

public 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;

Returns
TypeDescription
WindowsBasedSli.MetricRange

The metricSumInRange.

getMetricSumInRangeBuilder()

public WindowsBasedSli.MetricRange.Builder getMetricSumInRangeBuilder()

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;

Returns
TypeDescription
WindowsBasedSli.MetricRange.Builder

getMetricSumInRangeOrBuilder()

public 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;

Returns
TypeDescription
WindowsBasedSli.MetricRangeOrBuilder

getWindowCriterionCase()

public WindowsBasedSli.WindowCriterionCase getWindowCriterionCase()
Returns
TypeDescription
WindowsBasedSli.WindowCriterionCase

getWindowPeriod()

public 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;

Returns
TypeDescription
Duration

The windowPeriod.

getWindowPeriodBuilder()

public Duration.Builder getWindowPeriodBuilder()

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;

Returns
TypeDescription
Builder

getWindowPeriodOrBuilder()

public 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;

Returns
TypeDescription
DurationOrBuilder

hasGoodBadMetricFilter()

public boolean hasGoodBadMetricFilter()

A monitoring filter specifying a TimeSeries with ValueType = BOOL. The window is good if any true values appear in the window.

string good_bad_metric_filter = 5;

Returns
TypeDescription
boolean

Whether the goodBadMetricFilter field is set.

hasGoodTotalRatioThreshold()

public boolean hasGoodTotalRatioThreshold()

A window is good if its performance is high enough.

.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;

Returns
TypeDescription
boolean

Whether the goodTotalRatioThreshold field is set.

hasMetricMeanInRange()

public 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;

Returns
TypeDescription
boolean

Whether the metricMeanInRange field is set.

hasMetricSumInRange()

public 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;

Returns
TypeDescription
boolean

Whether the metricSumInRange field is set.

hasWindowPeriod()

public 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;

Returns
TypeDescription
boolean

Whether the windowPeriod field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WindowsBasedSli other)

public WindowsBasedSli.Builder mergeFrom(WindowsBasedSli other)
Parameter
NameDescription
otherWindowsBasedSli
Returns
TypeDescription
WindowsBasedSli.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WindowsBasedSli.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsBasedSli.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public WindowsBasedSli.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
WindowsBasedSli.Builder
Overrides

mergeGoodTotalRatioThreshold(WindowsBasedSli.PerformanceThreshold value)

public WindowsBasedSli.Builder mergeGoodTotalRatioThreshold(WindowsBasedSli.PerformanceThreshold value)

A window is good if its performance is high enough.

.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;

Parameter
NameDescription
valueWindowsBasedSli.PerformanceThreshold
Returns
TypeDescription
WindowsBasedSli.Builder

mergeMetricMeanInRange(WindowsBasedSli.MetricRange value)

public WindowsBasedSli.Builder mergeMetricMeanInRange(WindowsBasedSli.MetricRange value)

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;

Parameter
NameDescription
valueWindowsBasedSli.MetricRange
Returns
TypeDescription
WindowsBasedSli.Builder

mergeMetricSumInRange(WindowsBasedSli.MetricRange value)

public WindowsBasedSli.Builder mergeMetricSumInRange(WindowsBasedSli.MetricRange value)

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;

Parameter
NameDescription
valueWindowsBasedSli.MetricRange
Returns
TypeDescription
WindowsBasedSli.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WindowsBasedSli.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WindowsBasedSli.Builder
Overrides

mergeWindowPeriod(Duration value)

public WindowsBasedSli.Builder mergeWindowPeriod(Duration value)

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;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
WindowsBasedSli.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public WindowsBasedSli.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WindowsBasedSli.Builder
Overrides

setGoodBadMetricFilter(String value)

public WindowsBasedSli.Builder setGoodBadMetricFilter(String value)

A monitoring filter specifying a TimeSeries with ValueType = BOOL. The window is good if any true values appear in the window.

string good_bad_metric_filter = 5;

Parameter
NameDescription
valueString

The goodBadMetricFilter to set.

Returns
TypeDescription
WindowsBasedSli.Builder

This builder for chaining.

setGoodBadMetricFilterBytes(ByteString value)

public WindowsBasedSli.Builder setGoodBadMetricFilterBytes(ByteString value)

A monitoring filter specifying a TimeSeries with ValueType = BOOL. The window is good if any true values appear in the window.

string good_bad_metric_filter = 5;

Parameter
NameDescription
valueByteString

The bytes for goodBadMetricFilter to set.

Returns
TypeDescription
WindowsBasedSli.Builder

This builder for chaining.

setGoodTotalRatioThreshold(WindowsBasedSli.PerformanceThreshold value)

public WindowsBasedSli.Builder setGoodTotalRatioThreshold(WindowsBasedSli.PerformanceThreshold value)

A window is good if its performance is high enough.

.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;

Parameter
NameDescription
valueWindowsBasedSli.PerformanceThreshold
Returns
TypeDescription
WindowsBasedSli.Builder

setGoodTotalRatioThreshold(WindowsBasedSli.PerformanceThreshold.Builder builderForValue)

public WindowsBasedSli.Builder setGoodTotalRatioThreshold(WindowsBasedSli.PerformanceThreshold.Builder builderForValue)

A window is good if its performance is high enough.

.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;

Parameter
NameDescription
builderForValueWindowsBasedSli.PerformanceThreshold.Builder
Returns
TypeDescription
WindowsBasedSli.Builder

setMetricMeanInRange(WindowsBasedSli.MetricRange value)

public WindowsBasedSli.Builder setMetricMeanInRange(WindowsBasedSli.MetricRange value)

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;

Parameter
NameDescription
valueWindowsBasedSli.MetricRange
Returns
TypeDescription
WindowsBasedSli.Builder

setMetricMeanInRange(WindowsBasedSli.MetricRange.Builder builderForValue)

public WindowsBasedSli.Builder setMetricMeanInRange(WindowsBasedSli.MetricRange.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueWindowsBasedSli.MetricRange.Builder
Returns
TypeDescription
WindowsBasedSli.Builder

setMetricSumInRange(WindowsBasedSli.MetricRange value)

public WindowsBasedSli.Builder setMetricSumInRange(WindowsBasedSli.MetricRange value)

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;

Parameter
NameDescription
valueWindowsBasedSli.MetricRange
Returns
TypeDescription
WindowsBasedSli.Builder

setMetricSumInRange(WindowsBasedSli.MetricRange.Builder builderForValue)

public WindowsBasedSli.Builder setMetricSumInRange(WindowsBasedSli.MetricRange.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueWindowsBasedSli.MetricRange.Builder
Returns
TypeDescription
WindowsBasedSli.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WindowsBasedSli.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WindowsBasedSli.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WindowsBasedSli.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WindowsBasedSli.Builder
Overrides

setWindowPeriod(Duration value)

public WindowsBasedSli.Builder setWindowPeriod(Duration value)

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;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
WindowsBasedSli.Builder

setWindowPeriod(Duration.Builder builderForValue)

public WindowsBasedSli.Builder setWindowPeriod(Duration.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
WindowsBasedSli.Builder