Class BasicSli.LatencyCriteria.Builder (3.3.6)

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 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
NameDescription
fieldFieldDescriptor
Returns Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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