Class BasicSli.LatencyCriteria.Builder (3.96.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public BasicSli.LatencyCriteria build()
buildPartial()
public BasicSli.LatencyCriteria buildPartial()
clear()
public BasicSli.LatencyCriteria.Builder clear()
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;
getDefaultInstanceForType()
public BasicSli.LatencyCriteria getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BasicSli.LatencyCriteria other)
public BasicSli.LatencyCriteria.Builder mergeFrom(BasicSli.LatencyCriteria other)
public BasicSli.LatencyCriteria.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BasicSli.LatencyCriteria.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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
|
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
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-05 UTC.
[null,null,["Last updated 2026-08-05 UTC."],[],[]]