Class BasicSli.LatencyCriteria.Builder (3.44.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BasicSli.LatencyCriteria.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BasicSli.LatencyCriteria.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public BasicSli.LatencyCriteria.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BasicSli.LatencyCriteria.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BasicSli.LatencyCriteria.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BasicSli.LatencyCriteria.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BasicSli.LatencyCriteria.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BasicSli.LatencyCriteria.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BasicSli.LatencyCriteria.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BasicSli.LatencyCriteria.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BasicSli.LatencyCriteria.Builder
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
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

setUnknownFields(UnknownFieldSet unknownFields)

public final BasicSli.LatencyCriteria.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BasicSli.LatencyCriteria.Builder
Overrides