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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BasicSli.LatencyCriteria.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BasicSli.LatencyCriteria build()
buildPartial()
public BasicSli.LatencyCriteria buildPartial()
clear()
public BasicSli.LatencyCriteria.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BasicSli.LatencyCriteria.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BasicSli.LatencyCriteria.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public BasicSli.LatencyCriteria.Builder clone()
Overrides
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 GeneratedMessageV3.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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BasicSli.LatencyCriteria.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BasicSli.LatencyCriteria.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BasicSli.LatencyCriteria.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final BasicSli.LatencyCriteria.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides