Class WindowsBasedSli.PerformanceThreshold.Builder (3.46.0)

public static final class WindowsBasedSli.PerformanceThreshold.Builder extends GeneratedMessageV3.Builder<WindowsBasedSli.PerformanceThreshold.Builder> implements WindowsBasedSli.PerformanceThresholdOrBuilder

A PerformanceThreshold is used when each window is good when that window has a sufficiently high performance.

Protobuf type google.monitoring.v3.WindowsBasedSli.PerformanceThreshold

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WindowsBasedSli.PerformanceThreshold.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder
Overrides

build()

public WindowsBasedSli.PerformanceThreshold build()
Returns
Type Description
WindowsBasedSli.PerformanceThreshold

buildPartial()

public WindowsBasedSli.PerformanceThreshold buildPartial()
Returns
Type Description
WindowsBasedSli.PerformanceThreshold

clear()

public WindowsBasedSli.PerformanceThreshold.Builder clear()
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder
Overrides

clearBasicSliPerformance()

public WindowsBasedSli.PerformanceThreshold.Builder clearBasicSliPerformance()

BasicSli to evaluate to judge window quality.

.google.monitoring.v3.BasicSli basic_sli_performance = 3;

Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder

clearField(Descriptors.FieldDescriptor field)

public WindowsBasedSli.PerformanceThreshold.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public WindowsBasedSli.PerformanceThreshold.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder
Overrides

clearPerformance()

public WindowsBasedSli.PerformanceThreshold.Builder clearPerformance()

RequestBasedSli to evaluate to judge window quality.

.google.monitoring.v3.RequestBasedSli performance = 1;

Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder

clearThreshold()

public WindowsBasedSli.PerformanceThreshold.Builder clearThreshold()

If window performance >= threshold, the window is counted as good.

double threshold = 2;

Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder

This builder for chaining.

clearType()

public WindowsBasedSli.PerformanceThreshold.Builder clearType()
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder

clone()

public WindowsBasedSli.PerformanceThreshold.Builder clone()
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder
Overrides

getBasicSliPerformance()

public BasicSli getBasicSliPerformance()

BasicSli to evaluate to judge window quality.

.google.monitoring.v3.BasicSli basic_sli_performance = 3;

Returns
Type Description
BasicSli

The basicSliPerformance.

getBasicSliPerformanceBuilder()

public BasicSli.Builder getBasicSliPerformanceBuilder()

BasicSli to evaluate to judge window quality.

.google.monitoring.v3.BasicSli basic_sli_performance = 3;

Returns
Type Description
BasicSli.Builder

getBasicSliPerformanceOrBuilder()

public BasicSliOrBuilder getBasicSliPerformanceOrBuilder()

BasicSli to evaluate to judge window quality.

.google.monitoring.v3.BasicSli basic_sli_performance = 3;

Returns
Type Description
BasicSliOrBuilder

getDefaultInstanceForType()

public WindowsBasedSli.PerformanceThreshold getDefaultInstanceForType()
Returns
Type Description
WindowsBasedSli.PerformanceThreshold

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPerformance()

public RequestBasedSli getPerformance()

RequestBasedSli to evaluate to judge window quality.

.google.monitoring.v3.RequestBasedSli performance = 1;

Returns
Type Description
RequestBasedSli

The performance.

getPerformanceBuilder()

public RequestBasedSli.Builder getPerformanceBuilder()

RequestBasedSli to evaluate to judge window quality.

.google.monitoring.v3.RequestBasedSli performance = 1;

Returns
Type Description
RequestBasedSli.Builder

getPerformanceOrBuilder()

public RequestBasedSliOrBuilder getPerformanceOrBuilder()

RequestBasedSli to evaluate to judge window quality.

.google.monitoring.v3.RequestBasedSli performance = 1;

Returns
Type Description
RequestBasedSliOrBuilder

getThreshold()

public double getThreshold()

If window performance >= threshold, the window is counted as good.

double threshold = 2;

Returns
Type Description
double

The threshold.

getTypeCase()

public WindowsBasedSli.PerformanceThreshold.TypeCase getTypeCase()
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.TypeCase

hasBasicSliPerformance()

public boolean hasBasicSliPerformance()

BasicSli to evaluate to judge window quality.

.google.monitoring.v3.BasicSli basic_sli_performance = 3;

Returns
Type Description
boolean

Whether the basicSliPerformance field is set.

hasPerformance()

public boolean hasPerformance()

RequestBasedSli to evaluate to judge window quality.

.google.monitoring.v3.RequestBasedSli performance = 1;

Returns
Type Description
boolean

Whether the performance field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBasicSliPerformance(BasicSli value)

public WindowsBasedSli.PerformanceThreshold.Builder mergeBasicSliPerformance(BasicSli value)

BasicSli to evaluate to judge window quality.

.google.monitoring.v3.BasicSli basic_sli_performance = 3;

Parameter
Name Description
value BasicSli
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder

mergeFrom(WindowsBasedSli.PerformanceThreshold other)

public WindowsBasedSli.PerformanceThreshold.Builder mergeFrom(WindowsBasedSli.PerformanceThreshold other)
Parameter
Name Description
other WindowsBasedSli.PerformanceThreshold
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WindowsBasedSli.PerformanceThreshold.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WindowsBasedSli.PerformanceThreshold.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder
Overrides

mergePerformance(RequestBasedSli value)

public WindowsBasedSli.PerformanceThreshold.Builder mergePerformance(RequestBasedSli value)

RequestBasedSli to evaluate to judge window quality.

.google.monitoring.v3.RequestBasedSli performance = 1;

Parameter
Name Description
value RequestBasedSli
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WindowsBasedSli.PerformanceThreshold.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder
Overrides

setBasicSliPerformance(BasicSli value)

public WindowsBasedSli.PerformanceThreshold.Builder setBasicSliPerformance(BasicSli value)

BasicSli to evaluate to judge window quality.

.google.monitoring.v3.BasicSli basic_sli_performance = 3;

Parameter
Name Description
value BasicSli
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder

setBasicSliPerformance(BasicSli.Builder builderForValue)

public WindowsBasedSli.PerformanceThreshold.Builder setBasicSliPerformance(BasicSli.Builder builderForValue)

BasicSli to evaluate to judge window quality.

.google.monitoring.v3.BasicSli basic_sli_performance = 3;

Parameter
Name Description
builderForValue BasicSli.Builder
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public WindowsBasedSli.PerformanceThreshold.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder
Overrides

setPerformance(RequestBasedSli value)

public WindowsBasedSli.PerformanceThreshold.Builder setPerformance(RequestBasedSli value)

RequestBasedSli to evaluate to judge window quality.

.google.monitoring.v3.RequestBasedSli performance = 1;

Parameter
Name Description
value RequestBasedSli
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder

setPerformance(RequestBasedSli.Builder builderForValue)

public WindowsBasedSli.PerformanceThreshold.Builder setPerformance(RequestBasedSli.Builder builderForValue)

RequestBasedSli to evaluate to judge window quality.

.google.monitoring.v3.RequestBasedSli performance = 1;

Parameter
Name Description
builderForValue RequestBasedSli.Builder
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder

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

public WindowsBasedSli.PerformanceThreshold.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder
Overrides

setThreshold(double value)

public WindowsBasedSli.PerformanceThreshold.Builder setThreshold(double value)

If window performance >= threshold, the window is counted as good.

double threshold = 2;

Parameter
Name Description
value double

The threshold to set.

Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final WindowsBasedSli.PerformanceThreshold.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder
Overrides