public static final class WindowsBasedSli.PerformanceThreshold extends GeneratedMessageV3 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 Fields
public static final int BASIC_SLI_PERFORMANCE_FIELD_NUMBER
Field Value
public static final int PERFORMANCE_FIELD_NUMBER
Field Value
public static final int THRESHOLD_FIELD_NUMBER
Field Value
Static Methods
public static WindowsBasedSli.PerformanceThreshold getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static WindowsBasedSli.PerformanceThreshold.Builder newBuilder()
Returns
public static WindowsBasedSli.PerformanceThreshold.Builder newBuilder(WindowsBasedSli.PerformanceThreshold prototype)
Parameter
Returns
public static WindowsBasedSli.PerformanceThreshold parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static WindowsBasedSli.PerformanceThreshold parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WindowsBasedSli.PerformanceThreshold parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static WindowsBasedSli.PerformanceThreshold parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WindowsBasedSli.PerformanceThreshold parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static WindowsBasedSli.PerformanceThreshold parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WindowsBasedSli.PerformanceThreshold parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static WindowsBasedSli.PerformanceThreshold parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WindowsBasedSli.PerformanceThreshold parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static WindowsBasedSli.PerformanceThreshold parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WindowsBasedSli.PerformanceThreshold parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static WindowsBasedSli.PerformanceThreshold parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<WindowsBasedSli.PerformanceThreshold> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
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 BasicSliOrBuilder getBasicSliPerformanceOrBuilder()
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Returns
public WindowsBasedSli.PerformanceThreshold getDefaultInstanceForType()
Returns
public Parser<WindowsBasedSli.PerformanceThreshold> getParserForType()
Returns
Overrides
public RequestBasedSli getPerformance()
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 int getSerializedSize()
Returns
Overrides
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 final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder newBuilderForType()
Returns
protected WindowsBasedSli.PerformanceThreshold.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions