Send feedback
Class WindowsBasedSli.PerformanceThreshold.Builder (3.4.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.4.1 keyboard_arrow_down
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
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public WindowsBasedSli . PerformanceThreshold . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public WindowsBasedSli . PerformanceThreshold build ()
Returns
public WindowsBasedSli . PerformanceThreshold buildPartial ()
Returns
public WindowsBasedSli . PerformanceThreshold . Builder clear ()
Returns
Overrides
public WindowsBasedSli . PerformanceThreshold . Builder clearBasicSliPerformance ()
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Returns
public WindowsBasedSli . PerformanceThreshold . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public WindowsBasedSli . PerformanceThreshold . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public WindowsBasedSli . PerformanceThreshold . Builder clearPerformance ()
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Returns
public WindowsBasedSli . PerformanceThreshold . Builder clearThreshold ()
If window performance >= threshold
, the window is counted as good.
double threshold = 2;
Returns
public WindowsBasedSli . PerformanceThreshold . Builder clearType ()
Returns
public WindowsBasedSli . PerformanceThreshold . Builder clone ()
Returns
Overrides
public BasicSli getBasicSliPerformance ()
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Returns
Type Description BasicSli The basicSliPerformance.
public BasicSli . Builder getBasicSliPerformanceBuilder ()
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Returns
public BasicSliOrBuilder getBasicSliPerformanceOrBuilder ()
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Returns
public WindowsBasedSli . PerformanceThreshold getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public RequestBasedSli getPerformance ()
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Returns
public RequestBasedSli . Builder getPerformanceBuilder ()
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Returns
public RequestBasedSliOrBuilder getPerformanceOrBuilder ()
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Returns
public double getThreshold ()
If window performance >= threshold
, the window is counted as good.
double threshold = 2;
Returns
Type Description double The threshold.
public WindowsBasedSli . PerformanceThreshold . TypeCase getTypeCase ()
Returns
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.
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.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public WindowsBasedSli . PerformanceThreshold . Builder mergeBasicSliPerformance ( BasicSli value )
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Parameter
Returns
public WindowsBasedSli . PerformanceThreshold . Builder mergeFrom ( WindowsBasedSli . PerformanceThreshold other )
Parameter
Returns
public WindowsBasedSli . PerformanceThreshold . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public WindowsBasedSli . PerformanceThreshold . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public WindowsBasedSli . PerformanceThreshold . Builder mergePerformance ( RequestBasedSli value )
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Parameter
Returns
public final WindowsBasedSli . PerformanceThreshold . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public WindowsBasedSli . PerformanceThreshold . Builder setBasicSliPerformance ( BasicSli value )
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Parameter
Returns
public WindowsBasedSli . PerformanceThreshold . Builder setBasicSliPerformance ( BasicSli . Builder builderForValue )
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Parameter
Returns
public WindowsBasedSli . PerformanceThreshold . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public WindowsBasedSli . PerformanceThreshold . Builder setPerformance ( RequestBasedSli value )
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Parameter
Returns
public WindowsBasedSli . PerformanceThreshold . Builder setPerformance ( RequestBasedSli . Builder builderForValue )
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Parameter
Returns
public WindowsBasedSli . PerformanceThreshold . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
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
public final WindowsBasedSli . PerformanceThreshold . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]