Class RequestBasedSli.Builder (3.55.0)

public static final class RequestBasedSli.Builder extends GeneratedMessageV3.Builder<RequestBasedSli.Builder> implements RequestBasedSliOrBuilder

Service Level Indicators for which atomic units of service are counted directly.

Protobuf type google.monitoring.v3.RequestBasedSli

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RequestBasedSli build()
Returns
Type Description
RequestBasedSli

buildPartial()

public RequestBasedSli buildPartial()
Returns
Type Description
RequestBasedSli

clear()

public RequestBasedSli.Builder clear()
Returns
Type Description
RequestBasedSli.Builder
Overrides

clearDistributionCut()

public RequestBasedSli.Builder clearDistributionCut()

distribution_cut is used when good_service is a count of values aggregated in a Distribution that fall into a good range. The total_service is the total count of all values aggregated in the Distribution.

.google.monitoring.v3.DistributionCut distribution_cut = 3;

Returns
Type Description
RequestBasedSli.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGoodTotalRatio()

public RequestBasedSli.Builder clearGoodTotalRatio()

good_total_ratio is used when the ratio of good_service to total_service is computed from two TimeSeries.

.google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;

Returns
Type Description
RequestBasedSli.Builder

clearMethod()

public RequestBasedSli.Builder clearMethod()
Returns
Type Description
RequestBasedSli.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RequestBasedSli.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RequestBasedSli.Builder
Overrides

clone()

public RequestBasedSli.Builder clone()
Returns
Type Description
RequestBasedSli.Builder
Overrides

getDefaultInstanceForType()

public RequestBasedSli getDefaultInstanceForType()
Returns
Type Description
RequestBasedSli

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDistributionCut()

public DistributionCut getDistributionCut()

distribution_cut is used when good_service is a count of values aggregated in a Distribution that fall into a good range. The total_service is the total count of all values aggregated in the Distribution.

.google.monitoring.v3.DistributionCut distribution_cut = 3;

Returns
Type Description
DistributionCut

The distributionCut.

getDistributionCutBuilder()

public DistributionCut.Builder getDistributionCutBuilder()

distribution_cut is used when good_service is a count of values aggregated in a Distribution that fall into a good range. The total_service is the total count of all values aggregated in the Distribution.

.google.monitoring.v3.DistributionCut distribution_cut = 3;

Returns
Type Description
DistributionCut.Builder

getDistributionCutOrBuilder()

public DistributionCutOrBuilder getDistributionCutOrBuilder()

distribution_cut is used when good_service is a count of values aggregated in a Distribution that fall into a good range. The total_service is the total count of all values aggregated in the Distribution.

.google.monitoring.v3.DistributionCut distribution_cut = 3;

Returns
Type Description
DistributionCutOrBuilder

getGoodTotalRatio()

public TimeSeriesRatio getGoodTotalRatio()

good_total_ratio is used when the ratio of good_service to total_service is computed from two TimeSeries.

.google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;

Returns
Type Description
TimeSeriesRatio

The goodTotalRatio.

getGoodTotalRatioBuilder()

public TimeSeriesRatio.Builder getGoodTotalRatioBuilder()

good_total_ratio is used when the ratio of good_service to total_service is computed from two TimeSeries.

.google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;

Returns
Type Description
TimeSeriesRatio.Builder

getGoodTotalRatioOrBuilder()

public TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuilder()

good_total_ratio is used when the ratio of good_service to total_service is computed from two TimeSeries.

.google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;

Returns
Type Description
TimeSeriesRatioOrBuilder

getMethodCase()

public RequestBasedSli.MethodCase getMethodCase()
Returns
Type Description
RequestBasedSli.MethodCase

hasDistributionCut()

public boolean hasDistributionCut()

distribution_cut is used when good_service is a count of values aggregated in a Distribution that fall into a good range. The total_service is the total count of all values aggregated in the Distribution.

.google.monitoring.v3.DistributionCut distribution_cut = 3;

Returns
Type Description
boolean

Whether the distributionCut field is set.

hasGoodTotalRatio()

public boolean hasGoodTotalRatio()

good_total_ratio is used when the ratio of good_service to total_service is computed from two TimeSeries.

.google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;

Returns
Type Description
boolean

Whether the goodTotalRatio field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDistributionCut(DistributionCut value)

public RequestBasedSli.Builder mergeDistributionCut(DistributionCut value)

distribution_cut is used when good_service is a count of values aggregated in a Distribution that fall into a good range. The total_service is the total count of all values aggregated in the Distribution.

.google.monitoring.v3.DistributionCut distribution_cut = 3;

Parameter
Name Description
value DistributionCut
Returns
Type Description
RequestBasedSli.Builder

mergeFrom(RequestBasedSli other)

public RequestBasedSli.Builder mergeFrom(RequestBasedSli other)
Parameter
Name Description
other RequestBasedSli
Returns
Type Description
RequestBasedSli.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RequestBasedSli.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestBasedSli.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RequestBasedSli.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RequestBasedSli.Builder
Overrides

mergeGoodTotalRatio(TimeSeriesRatio value)

public RequestBasedSli.Builder mergeGoodTotalRatio(TimeSeriesRatio value)

good_total_ratio is used when the ratio of good_service to total_service is computed from two TimeSeries.

.google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;

Parameter
Name Description
value TimeSeriesRatio
Returns
Type Description
RequestBasedSli.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDistributionCut(DistributionCut value)

public RequestBasedSli.Builder setDistributionCut(DistributionCut value)

distribution_cut is used when good_service is a count of values aggregated in a Distribution that fall into a good range. The total_service is the total count of all values aggregated in the Distribution.

.google.monitoring.v3.DistributionCut distribution_cut = 3;

Parameter
Name Description
value DistributionCut
Returns
Type Description
RequestBasedSli.Builder

setDistributionCut(DistributionCut.Builder builderForValue)

public RequestBasedSli.Builder setDistributionCut(DistributionCut.Builder builderForValue)

distribution_cut is used when good_service is a count of values aggregated in a Distribution that fall into a good range. The total_service is the total count of all values aggregated in the Distribution.

.google.monitoring.v3.DistributionCut distribution_cut = 3;

Parameter
Name Description
builderForValue DistributionCut.Builder
Returns
Type Description
RequestBasedSli.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGoodTotalRatio(TimeSeriesRatio value)

public RequestBasedSli.Builder setGoodTotalRatio(TimeSeriesRatio value)

good_total_ratio is used when the ratio of good_service to total_service is computed from two TimeSeries.

.google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;

Parameter
Name Description
value TimeSeriesRatio
Returns
Type Description
RequestBasedSli.Builder

setGoodTotalRatio(TimeSeriesRatio.Builder builderForValue)

public RequestBasedSli.Builder setGoodTotalRatio(TimeSeriesRatio.Builder builderForValue)

good_total_ratio is used when the ratio of good_service to total_service is computed from two TimeSeries.

.google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;

Parameter
Name Description
builderForValue TimeSeriesRatio.Builder
Returns
Type Description
RequestBasedSli.Builder

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

public RequestBasedSli.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RequestBasedSli.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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