Class RequestBasedSli.Builder (3.2.9)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RequestBasedSli build()
Returns
TypeDescription
RequestBasedSli

buildPartial()

public RequestBasedSli buildPartial()
Returns
TypeDescription
RequestBasedSli

clear()

public RequestBasedSli.Builder clear()
Returns
TypeDescription
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
TypeDescription
RequestBasedSli.Builder

clearField(Descriptors.FieldDescriptor field)

public RequestBasedSli.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
RequestBasedSli.Builder

clearMethod()

public RequestBasedSli.Builder clearMethod()
Returns
TypeDescription
RequestBasedSli.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RequestBasedSli.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RequestBasedSli.Builder
Overrides

clone()

public RequestBasedSli.Builder clone()
Returns
TypeDescription
RequestBasedSli.Builder
Overrides

getDefaultInstanceForType()

public RequestBasedSli getDefaultInstanceForType()
Returns
TypeDescription
RequestBasedSli

getDescriptorForType()

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

getMethodCase()

public RequestBasedSli.MethodCase getMethodCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the goodTotalRatio field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDistributionCut
Returns
TypeDescription
RequestBasedSli.Builder

mergeFrom(RequestBasedSli other)

public RequestBasedSli.Builder mergeFrom(RequestBasedSli other)
Parameter
NameDescription
otherRequestBasedSli
Returns
TypeDescription
RequestBasedSli.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RequestBasedSli.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDistributionCut
Returns
TypeDescription
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
NameDescription
builderForValueDistributionCut.Builder
Returns
TypeDescription
RequestBasedSli.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public RequestBasedSli.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RequestBasedSli.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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