Class BasicSli.LatencyCriteria.Builder (3.84.0)

public static final class BasicSli.LatencyCriteria.Builder extends GeneratedMessage.Builder<BasicSli.LatencyCriteria.Builder> implements BasicSli.LatencyCriteriaOrBuilder

Parameters for a latency threshold SLI.

Protobuf type google.monitoring.v3.BasicSli.LatencyCriteria

Static Methods

getDescriptor()

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

Methods

build()

public BasicSli.LatencyCriteria build()
Returns
Type Description
BasicSli.LatencyCriteria

buildPartial()

public BasicSli.LatencyCriteria buildPartial()
Returns
Type Description
BasicSli.LatencyCriteria

clear()

public BasicSli.LatencyCriteria.Builder clear()
Returns
Type Description
BasicSli.LatencyCriteria.Builder
Overrides

clearThreshold()

public BasicSli.LatencyCriteria.Builder clearThreshold()

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
Type Description
BasicSli.LatencyCriteria.Builder

getDefaultInstanceForType()

public BasicSli.LatencyCriteria getDefaultInstanceForType()
Returns
Type Description
BasicSli.LatencyCriteria

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
Duration

The threshold.

getThresholdBuilder()

public Duration.Builder getThresholdBuilder()

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
Type Description
Builder

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
Type Description
DurationOrBuilder

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
Type Description
boolean

Whether the threshold field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BasicSli.LatencyCriteria other)

public BasicSli.LatencyCriteria.Builder mergeFrom(BasicSli.LatencyCriteria other)
Parameter
Name Description
other BasicSli.LatencyCriteria
Returns
Type Description
BasicSli.LatencyCriteria.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BasicSli.LatencyCriteria.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BasicSli.LatencyCriteria.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BasicSli.LatencyCriteria.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BasicSli.LatencyCriteria.Builder
Overrides

mergeThreshold(Duration value)

public BasicSli.LatencyCriteria.Builder mergeThreshold(Duration value)

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;

Parameter
Name Description
value Duration
Returns
Type Description
BasicSli.LatencyCriteria.Builder

setThreshold(Duration value)

public BasicSli.LatencyCriteria.Builder setThreshold(Duration value)

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;

Parameter
Name Description
value Duration
Returns
Type Description
BasicSli.LatencyCriteria.Builder

setThreshold(Duration.Builder builderForValue)

public BasicSli.LatencyCriteria.Builder setThreshold(Duration.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BasicSli.LatencyCriteria.Builder