Class WindowsBasedSli.PerformanceThreshold (3.48.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > WindowsBasedSli.PerformanceThreshold

Static Fields

BASIC_SLI_PERFORMANCE_FIELD_NUMBER

public static final int BASIC_SLI_PERFORMANCE_FIELD_NUMBER
Field Value
Type Description
int

PERFORMANCE_FIELD_NUMBER

public static final int PERFORMANCE_FIELD_NUMBER
Field Value
Type Description
int

THRESHOLD_FIELD_NUMBER

public static final int THRESHOLD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WindowsBasedSli.PerformanceThreshold getDefaultInstance()
Returns
Type Description
WindowsBasedSli.PerformanceThreshold

getDescriptor()

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

newBuilder()

public static WindowsBasedSli.PerformanceThreshold.Builder newBuilder()
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder

newBuilder(WindowsBasedSli.PerformanceThreshold prototype)

public static WindowsBasedSli.PerformanceThreshold.Builder newBuilder(WindowsBasedSli.PerformanceThreshold prototype)
Parameter
Name Description
prototype WindowsBasedSli.PerformanceThreshold
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder

parseDelimitedFrom(InputStream input)

public static WindowsBasedSli.PerformanceThreshold parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WindowsBasedSli.PerformanceThreshold
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.PerformanceThreshold parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsBasedSli.PerformanceThreshold
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WindowsBasedSli.PerformanceThreshold parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WindowsBasedSli.PerformanceThreshold
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.PerformanceThreshold parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsBasedSli.PerformanceThreshold
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WindowsBasedSli.PerformanceThreshold parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WindowsBasedSli.PerformanceThreshold
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.PerformanceThreshold parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsBasedSli.PerformanceThreshold
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WindowsBasedSli.PerformanceThreshold parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WindowsBasedSli.PerformanceThreshold
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.PerformanceThreshold parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsBasedSli.PerformanceThreshold
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WindowsBasedSli.PerformanceThreshold parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WindowsBasedSli.PerformanceThreshold
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.PerformanceThreshold parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsBasedSli.PerformanceThreshold
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WindowsBasedSli.PerformanceThreshold parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WindowsBasedSli.PerformanceThreshold
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.PerformanceThreshold parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsBasedSli.PerformanceThreshold
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WindowsBasedSli.PerformanceThreshold> parser()
Returns
Type Description
Parser<PerformanceThreshold>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

getParserForType()

public Parser<WindowsBasedSli.PerformanceThreshold> getParserForType()
Returns
Type Description
Parser<PerformanceThreshold>
Overrides

getPerformance()

public RequestBasedSli getPerformance()

RequestBasedSli to evaluate to judge window quality.

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

Returns
Type Description
RequestBasedSli

The performance.

getPerformanceOrBuilder()

public RequestBasedSliOrBuilder getPerformanceOrBuilder()

RequestBasedSli to evaluate to judge window quality.

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

Returns
Type Description
RequestBasedSliOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WindowsBasedSli.PerformanceThreshold.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WindowsBasedSli.PerformanceThreshold.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException