Class WindowsBasedSli.PerformanceThreshold (3.2.9)

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
TypeDescription
int

PERFORMANCE_FIELD_NUMBER

public static final int PERFORMANCE_FIELD_NUMBER
Field Value
TypeDescription
int

THRESHOLD_FIELD_NUMBER

public static final int THRESHOLD_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WindowsBasedSli.PerformanceThreshold getDefaultInstance()
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WindowsBasedSli.PerformanceThreshold.Builder newBuilder()
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold.Builder

newBuilder(WindowsBasedSli.PerformanceThreshold prototype)

public static WindowsBasedSli.PerformanceThreshold.Builder newBuilder(WindowsBasedSli.PerformanceThreshold prototype)
Parameter
NameDescription
prototypeWindowsBasedSli.PerformanceThreshold
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold.Builder

parseDelimitedFrom(InputStream input)

public static WindowsBasedSli.PerformanceThreshold parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.PerformanceThreshold parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WindowsBasedSli.PerformanceThreshold parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.PerformanceThreshold parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WindowsBasedSli.PerformanceThreshold parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.PerformanceThreshold parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WindowsBasedSli.PerformanceThreshold parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.PerformanceThreshold parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WindowsBasedSli.PerformanceThreshold parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.PerformanceThreshold parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WindowsBasedSli.PerformanceThreshold parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WindowsBasedSli.PerformanceThreshold parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

getParserForType()

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

getPerformance()

public RequestBasedSli getPerformance()

RequestBasedSli to evaluate to judge window quality.

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

Returns
TypeDescription
RequestBasedSli

The performance.

getPerformanceOrBuilder()

public RequestBasedSliOrBuilder getPerformanceOrBuilder()

RequestBasedSli to evaluate to judge window quality.

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

Returns
TypeDescription
RequestBasedSliOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WindowsBasedSli.PerformanceThreshold.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WindowsBasedSli.PerformanceThreshold.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException