public static final class BasicSli.LatencyCriteria.Builder extends GeneratedMessageV3.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.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BasicSli.LatencyCriteria.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BasicSli.LatencyCriteria build()
Returns
buildPartial()
public BasicSli.LatencyCriteria buildPartial()
Returns
clear()
public BasicSli.LatencyCriteria.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BasicSli.LatencyCriteria.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BasicSli.LatencyCriteria.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public BasicSli.LatencyCriteria.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BasicSli.LatencyCriteria getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BasicSli.LatencyCriteria other)
public BasicSli.LatencyCriteria.Builder mergeFrom(BasicSli.LatencyCriteria other)
Parameter
Returns
public BasicSli.LatencyCriteria.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BasicSli.LatencyCriteria.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BasicSli.LatencyCriteria.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BasicSli.LatencyCriteria.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BasicSli.LatencyCriteria.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final BasicSli.LatencyCriteria.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides