Class WindowsBasedSli.PerformanceThreshold.Builder (3.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WindowsBasedSli.PerformanceThreshold build()
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold

buildPartial()

public WindowsBasedSli.PerformanceThreshold buildPartial()
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold

clear()

public WindowsBasedSli.PerformanceThreshold.Builder clear()
Returns
TypeDescription
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
TypeDescription
WindowsBasedSli.PerformanceThreshold.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPerformance()

public WindowsBasedSli.PerformanceThreshold.Builder clearPerformance()

RequestBasedSli to evaluate to judge window quality.

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

Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold.Builder

clearThreshold()

public WindowsBasedSli.PerformanceThreshold.Builder clearThreshold()

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

double threshold = 2;

Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold.Builder

This builder for chaining.

clearType()

public WindowsBasedSli.PerformanceThreshold.Builder clearType()
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold.Builder

clone()

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

getBasicSliPerformance()

public BasicSli getBasicSliPerformance()

BasicSli to evaluate to judge window quality.

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

Returns
TypeDescription
BasicSli

The basicSliPerformance.

getBasicSliPerformanceBuilder()

public BasicSli.Builder getBasicSliPerformanceBuilder()

BasicSli to evaluate to judge window quality.

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

Returns
TypeDescription
BasicSli.Builder

getBasicSliPerformanceOrBuilder()

public BasicSliOrBuilder getBasicSliPerformanceOrBuilder()

BasicSli to evaluate to judge window quality.

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

Returns
TypeDescription
BasicSliOrBuilder

getDefaultInstanceForType()

public WindowsBasedSli.PerformanceThreshold getDefaultInstanceForType()
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPerformance()

public RequestBasedSli getPerformance()

RequestBasedSli to evaluate to judge window quality.

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

Returns
TypeDescription
RequestBasedSli

The performance.

getPerformanceBuilder()

public RequestBasedSli.Builder getPerformanceBuilder()

RequestBasedSli to evaluate to judge window quality.

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

Returns
TypeDescription
RequestBasedSli.Builder

getPerformanceOrBuilder()

public RequestBasedSliOrBuilder getPerformanceOrBuilder()

RequestBasedSli to evaluate to judge window quality.

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

Returns
TypeDescription
RequestBasedSliOrBuilder

getThreshold()

public double getThreshold()

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

double threshold = 2;

Returns
TypeDescription
double

The threshold.

getTypeCase()

public WindowsBasedSli.PerformanceThreshold.TypeCase getTypeCase()
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold.TypeCase

hasBasicSliPerformance()

public boolean hasBasicSliPerformance()

BasicSli to evaluate to judge window quality.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the performance field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueBasicSli
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold.Builder

mergeFrom(WindowsBasedSli.PerformanceThreshold other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public WindowsBasedSli.PerformanceThreshold.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueRequestBasedSli
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WindowsBasedSli.PerformanceThreshold.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueBasicSli
Returns
TypeDescription
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
NameDescription
builderForValueBasicSli.Builder
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public WindowsBasedSli.PerformanceThreshold.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRequestBasedSli
Returns
TypeDescription
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
NameDescription
builderForValueRequestBasedSli.Builder
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold.Builder

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

public WindowsBasedSli.PerformanceThreshold.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuedouble

The threshold to set.

Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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