Class BasicSli.LatencyCriteria (3.17.0)

public static final class BasicSli.LatencyCriteria extends GeneratedMessageV3 implements BasicSli.LatencyCriteriaOrBuilder

Parameters for a latency threshold SLI.

Protobuf type google.monitoring.v3.BasicSli.LatencyCriteria

Static Fields

THRESHOLD_FIELD_NUMBER

public static final int THRESHOLD_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BasicSli.LatencyCriteria getDefaultInstance()
Returns
TypeDescription
BasicSli.LatencyCriteria

getDescriptor()

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

newBuilder()

public static BasicSli.LatencyCriteria.Builder newBuilder()
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder

newBuilder(BasicSli.LatencyCriteria prototype)

public static BasicSli.LatencyCriteria.Builder newBuilder(BasicSli.LatencyCriteria prototype)
Parameter
NameDescription
prototypeBasicSli.LatencyCriteria
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder

parseDelimitedFrom(InputStream input)

public static BasicSli.LatencyCriteria parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BasicSli.LatencyCriteria
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static BasicSli.LatencyCriteria parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BasicSli.LatencyCriteria
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static BasicSli.LatencyCriteria parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BasicSli.LatencyCriteria
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static BasicSli.LatencyCriteria parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BasicSli.LatencyCriteria
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static BasicSli.LatencyCriteria parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BasicSli.LatencyCriteria
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<BasicSli.LatencyCriteria> parser()
Returns
TypeDescription
Parser<LatencyCriteria>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BasicSli.LatencyCriteria getDefaultInstanceForType()
Returns
TypeDescription
BasicSli.LatencyCriteria

getParserForType()

public Parser<BasicSli.LatencyCriteria> getParserForType()
Returns
TypeDescription
Parser<LatencyCriteria>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getThreshold()

public Duration getThreshold()

Good service is defined to be the count of requests made to this service that return in no more than threshold.

.google.protobuf.Duration threshold = 3;

Returns
TypeDescription
Duration

The threshold.

getThresholdOrBuilder()

public DurationOrBuilder getThresholdOrBuilder()

Good service is defined to be the count of requests made to this service that return in no more than threshold.

.google.protobuf.Duration threshold = 3;

Returns
TypeDescription
DurationOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasThreshold()

public boolean hasThreshold()

Good service is defined to be the count of requests made to this service that return in no more than threshold.

.google.protobuf.Duration threshold = 3;

Returns
TypeDescription
boolean

Whether the threshold 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 BasicSli.LatencyCriteria.Builder newBuilderForType()
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BasicSli.LatencyCriteria.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public BasicSli.LatencyCriteria.Builder toBuilder()
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder

writeTo(CodedOutputStream output)

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