Class BasicSli.LatencyCriteria.Builder (3.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BasicSli.LatencyCriteria.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder
Overrides

build()

public BasicSli.LatencyCriteria build()
Returns
TypeDescription
BasicSli.LatencyCriteria

buildPartial()

public BasicSli.LatencyCriteria buildPartial()
Returns
TypeDescription
BasicSli.LatencyCriteria

clear()

public BasicSli.LatencyCriteria.Builder clear()
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BasicSli.LatencyCriteria.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BasicSli.LatencyCriteria.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
BasicSli.LatencyCriteria.Builder

clone()

public BasicSli.LatencyCriteria.Builder clone()
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder
Overrides

getDefaultInstanceForType()

public BasicSli.LatencyCriteria getDefaultInstanceForType()
Returns
TypeDescription
BasicSli.LatencyCriteria

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the threshold field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BasicSli.LatencyCriteria other)

public BasicSli.LatencyCriteria.Builder mergeFrom(BasicSli.LatencyCriteria other)
Parameter
NameDescription
otherBasicSli.LatencyCriteria
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BasicSli.LatencyCriteria.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BasicSli.LatencyCriteria.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BasicSli.LatencyCriteria.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BasicSli.LatencyCriteria.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BasicSli.LatencyCriteria.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BasicSli.LatencyCriteria.Builder
Overrides